Commit Graph

785 Commits (e59adcde655aac0e8afd3249407c9a0a2b1b1d6b)

Author SHA1 Message Date
Adam Strzelecki 41fdaabcf7 commit.RefUrl expects AppUrl argument
This is fixup for ea375c0dcc. The bug was not
visible because commit.RefUrl was always returning empty url due regression
described in https://github.com/gogits/git-module/pull/4
Unknwon bcf6aed452 Merge pull request from andreynering/highlight-diff
Highlight diff
Unknwon cc8c67ff29 fix markdown autolink error
Andrey Nering 81ed5c4bee Declaring specific types for enums constants.
This makes the code more strict since you can't assign or compare
values of different types without proper cast.
Andrey Nering 73474c043b Highlighting differences of lines in the diff view.
Kim "BKC" Carlbäcker 2087156119 Removed opticon-fold
Kim "BKC" Carlbäcker 3870a7a3c8 merged split/unified templates
Kim "BKC" Carlbäcker 8fe5d887ae Changed name from inline to unified
Kim "BKC" Carlbäcker 4e6d048ba1 i18n-fix for split-view
Kim "BKC" Carlbäcker 0df39b33eb Implement Split Diff-View
- Unified/Inline Diff-View Selectable
Unknwon 93f03707a7 set text/plain for non-binary files in raw mode
Unknwon a49af93faf APIs: Users Followers
- User profile un/follow
- List user's followers/following
Unknwon c62a6b7a12 allow switch branches between two orgs in compose PR
Unknwon 5ff6eedf5e fix button name
Unknwon 3bcdb3855c Use HTTP/HTTPS as default clone option
Unknwon 6673dcb038 improvments of highlight class name
Unknwon eb918c2368 fix only admin can view milestone desc
Unknwon ea375c0dcc new template func
Unknwon 7509fa2c33 improve get commits performance
Unknwon 351dfc95a9 prepare release
Unknwon 40f3142264 External URL for wiki
Unknwon c3440c4dd3 Show author e-mail in commit diff
Angus Gibson df05134494 Break branch-selection dropdown into a template
We only handle branch selection for repo home and commits pages, so the
redirection URL is based on PageIsCommits
Angus Gibson 9bd3ebe207 Dropdown on commits page to choose branch
I've mostly duplicated the dropdown code from repo/home.tmpl, which
basically only required a change to the URL. This could probably be
broken out into something more modular.
Unknwon a576224d0e unified name: IsViewBranch, IsViewCommit and IsViewTag
Unknwon 120cd4e471 Better mirror repo management
Adam Strzelecki da2585c11e Indent all templates with tabs
This commit improves templates readability, since all of them use consistent
indent with all template command blocks indented too.

1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks
   such as {{if}} {{with}}

2. Cleans all trailing white-space

3. Adds trailing last line-break to each file
Adam Strzelecki e2ca53029e Render commit msg as header + verbatim description
Most commit in Git are expected to follow standard of single header line,
followed by description paragraphs, separated by empty line from previous block.

Previously Gogs were treating everything as single header. Now we are trying to
render only first line as header, but following lines (description chunks) as a
verbatim.
Unknwon 404867f206 fix and fix
Unknwon f0ee33267c fix
Unknwon 1ee7c33e93 template fix
Unknwon e538ff2770 fix and fix
Adam Strzelecki edbb67cb3f UI: Use more subtle grey SHA1 labels
Current green SHA1 labels are more pronounced than other UI elements attracting
attention as if they were most important thing in the UI, while they are not as
important, especially without real Git client.

Using grey SHA1 labels makes the UI more balanced, less aggressive and lets
user to focus on other content elements.

NOTE: Neither GitHub or Bitbucket uses so heavy pronunciation as Gogs.
Unknwon ec2423ad7c more UI minor fixes
Unknwon c4bab163cb Merge pull request from nanoant/patch/further-layout-fixes
Further layout fixes
Adam Strzelecki 2580e7b57e UI: Always show menu on repo pages
Merges repo/sidebar.tmpl with repo/header.tmpl and makes every repo page use
middleware.RepoRef() necessary to display information on this menu.
Unknwon 3d3498bda1 clean test data
Unknwon 29375059e1 minor CSS fix
Adam Strzelecki b73241ceb1 UI: Display last-commit header without 2nd column
This uses a CSS trick making first th to be relative block with width equal to
first two columns, effectively working around inability to use colspan="2" on
first row that was breaking "fixed-layout" for tables.

Also use grey header for last-commit SHA1 tag.
Adam Strzelecki 314664892c UI: Keep repo URL action right of ref combo & path
Just use secondary menu instead custom ".head.meta", which simplifies code.

Also do not display repo URL action when we are in subdirectory or viewing a
file.
Adam Strzelecki 3eae4ecde7 UI: Make repository menu divide header and content
This is more inline with way GitHub looks like and feels much more natural and
in style with rest of the interface.
Adam Strzelecki ec98deeb8c UI: Keep repository settings menu button right
Adam Strzelecki 61fdd8c571 Commits & files UI: SUI fixed single line table
Instead using own ellipsis, uses Semantic UI fixed single line table which
effectively applies ellipsis to all overflowing table cells.

NOTE: File list cannot use colspan="2" for 1st "Last commit" elements,
otherwise layout breaks with fixed table.
Adam Strzelecki 99b958db43 UI: Mark top menu icons blue only when non-zero
Unknwon 5572884c6b fix
Unknwon 830d000667 finish wiki
Unknwon 5d1f5f32d0 wiki: finish pages
Unknwon e42fcb033d wiki: finish edit
Unknwon 392f3ee210 wiki: finish new
Unknwon c50a3503e6 introduce git-shell
Unknwon 2b10fdc4dc Wiki: UI for page new
Unknwon 144663a3cf allow admin to migrate for any user/org
Unknwon b2fb7e3fd2 more HTTP clone word fix
Unknwon efaf60ba5a fix
Unknwon 52c8f69163 fix
Unknwon 987dcc5372 fix
Unknwon f04d773f4f UI: long organization name in create repository owner list
Unknwon 81d7359fdd fix
Unknwon ff5f14431e fix
Unknwon 9ab96172fc new watchers, stars and forks UI
Unknwon d370effca5 minor fix for
Unknwon 29ed7872f8 repo sidebar active class
Unknwon 5dc3dd1704 fix
Unknwon 134d8e7681 work on
Unknwon 951037c0ae remove test code
Unknwon 7046df6028 UI fix
Unknwon 1db3ae6601 UI fix
Unknwon 612d0d6d25 minor HTML fix
Unknwon 18de67380c fix
Unknwon 942284648e fix markdown padding
Unknwon 4f03b81ec7 Test patch does not checkout correct base branch
Unknwon b4970b3cc3 fix
Unknwon 7c80eba77f minor UI fix and fix ssh race
Unknwon 7b1c10ea7e new repo ui
- copy link button: , , ,
- synxtax highlight: , , , 
- z-index: 
Unknwon 6a664e88c7 show issue content
Unknwon 675cd997d8 minor tabindex fix
Unknwon 908f2924ce fix and fix
Alexey Makhov 7835c2212c issue add tabindex
Unknwon 3b62a0fe0e fix fix file histrory paging issue
Unknwon 1b5e1bebc2 fix
Unknwon 6f0a41b8b2 Allow local import only for admin users
Unknwon 0af035c37e not show bin when rename a file
Unknwon bc82157216 fix
Unknwon 022820103d allow forcing all private repos
Unknwon 0fbb8c8826 New push to head repo of head branch: regenerate patch and retest apply
Unknwon fc7959d3bc New/reopen PR checks if there is any unmerged and open PR
Steven Oud 280fde9b7c added links to forks/watchers/stars in new layout header
Unknwon 4465c58f4b new quick start page
kendaru 5c39d3fa7d changed integrated page number to GET
Steven 87d64acc9f fixed HTML indenting
Steven c8aa9c6cb1 implemented : see users who forked/starred/watched a repository
Steven ecd59deb27 implemented : see users who forked/starred/watched a repository
无闻 befed9c20c Merge pull request from SergioBenitez/develop
Commit messages now rendered with line breaks and prefix spacing.
Unknwon 69b1d65c9b remove unused file and update locale
Sergio Benitez 7acbcf9ddd Commit messages now rendered with line breaks and prefix spacing.
Unknwon 923873db85 fix possible XSS in view issue page
Unknwon c7ac237b57 fix css
Unknwon f432f1f41c suburl for release md preview
Unknwon 6f6f38e7c3 suburl for comment attachments
Unknwon 31e7b0f588 status button mrigin-right
Unknwon cc83043edc minor fix on template
Unknwon 24658fcbdd dix suburl
Unknwon 119dec51f2 Mirror repository should not allow fork
Unknwon 1c2dbd7183 fix dropdown style
Unknwon 5c5ccddb02 fix buttons style
Unknwon c0a899b151 css fix
Unknwon 83dc2468f5 finish initial version of pull request
Unknwon 953bb06857 basic PR feature
Unknwon 1abfe4e05f PR: nothing to commit and has pull request check
Unknwon 37e0cee877 finish PR UI
Unknwon ebf1bd4f51 add view pull desc
Unknwon 8c046073a8 work on PR conversation
Unknwon 670ade9a61 does not allow fork bare repo
Unknwon 398569f6f8 Forked repo unavailable after deleting original repo
Unknwon 17c2d1fc7c fix dashboard 500 when no issues at all
- update locales
- update README
Unknwon ee3e0c3c49 fix dropdown search
Unknwon 1ca257ad9f rename fields
Unknwon cb381078ff finish new repo options page
Unknwon c6b039c6f9 new repo options UI
Unknwon 9b9e5f0290 Cross reference the commit from the issue when it is closed by the commit
Unknwon 9ef063cbb0 change checkbox ui
Unknwon 55ddf225bb webhook APIs
Unknwon f509c59ac1 new create webhook event
Unknwon c7a4369db9 add readme template help link
Unknwon a00194e665 work on
Unknwon bb3b90fcd6 Readme Template
Unknwon 46bee50e45 complate list of gitignores and licenses
Unknwon 70e0153b93 add highlight js
Unknwon 23f42d92c9 add webhook recent deliveries
Unknwon ce386cfb61 fix suburl
Unknwon c08600c59b new edit webhook UI
Unknwon 4217c2333c new create webhook UI
Unknwon 2881456421 new webhooks list UI
Unknwon 1cb03135b7 new repo git hooks UI
Unknwon 2f2bf20aae fix menu overflow
Unknwon 45c2b4bd76 fix HTML
Unknwon f808df5a7b new user dahsboard issues
Unknwon 6821527c95 fix style
Unknwon 4275b3720a finsih diff and compare
Unknwon aa65761d81 new commits table
Unknwon 062adbed8a add confirmation to delete ssh key
Unknwon ac616c07de fix
Unknwon 371572cf5f allow edit issue and comment
Unknwon 87f5ca8e1f able edit issue title
Unknwon 4c7b6414eb new access token UI
Unknwon 2493454587 new delete account UI and password confirmation
Unknwon 81b8427438 new UI on admin/monitor
Unknwon 7bb5cb444c fix css styles
Unknwon 2e30b421b4 comletely remove v1 UI files of Gogs
Unknwon c8bb475abb fix autocomplete on migration
Unknwon c7d5e1f182 clean file and update locales
Unknwon e633425f27 and : migration
Unknwon a52324a5f9 able sort issues
Unknwon 4ce003dc15 Filter issues by assignee
Unknwon a24141ec9c more on
Unknwon 30b428bf0e : 500 when visit a issue with issue/comments of deleted user
Unknwon cec38f2a8c able edit issue labels/milestone/assignee
Unknwon 817b48ed1e Show owner/poster tags of comments and fix
Unknwon 1fb53067f4 finish close/reopen issue
Unknwon 133b19d0c5 finish view comments on issue page
Unknwon a01867cc1a Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
# Conflicts:
#	public/css/gogs.min.css
Unknwon 33f33e055a fix on
无闻 52933932d2 Merge pull request from manfer/semantic
modified repo header
Unknwon ab2d0b3b44 add comment form UI
Gogs 009d716a02 modified repo header
Unknwon b4c0b7b98b finish view issue without comments and ops
无闻 d1a82a82b4 Merge pull request from gustavopaes/bug/1453
Remove SSH button when SSH it is disabled
Unknwon 34f6cbfc2a finish attachments when create issue
Unknwon 89c2bd4a0d finish create issue attachment UI
Unknwon 887bc1b594 Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
# Conflicts:
#	modules/bindata/bindata.go
#	public/css/gogs.min.css
James Anderson b2bd6c4c5a Fix broken collaboration link in repo settings
Unknwon 75aff60c90 finish create issue with milestone and assignee
Unknwon 09a1b2a1f5 finish create issue with milestone
Unknwon 922f3f3062 finish create issue with labels
Unknwon 17de3ab0a3 add migrate from issue.label_ids to issue_label
Gustavo Paes 4564d13496 Remove SSH button when SSH is disabled
Unknwon 48f12d4ead upgrade new issue to SUI v2
Unknwon a79586cc54 Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
# Conflicts:
#	modules/bindata/bindata.go
#	public/css/gogs.min.css
#	templates/repo/header.tmpl
Unknwon 8a3ee795d2 finish transforming to v2
Unknwon 7372042441 list view: issue, label, milestone
Unknwon 590c464c56 UI: create issue with title and content
Unknwon 4b43ffc96c Generate random avatar based on e-mail when disable Gravatar
无闻 56a8d573b0 Merge pull request from jamesa/fix-owner-tag-on-issues
Add check to see if comments on an issue are by the repo owner
James Anderson fc63422caf Add check to see if comments on an issue are by the repo owner
Unknwon 43a87b0caf auto-redirect when finish filter branch
Unknwon dea3a8c6a4 WIP: create PR - choose branch
Unknwon e3bdfd51ff better fork permission check
Unknwon 9db4acc62e improve fork process
Unknwon 9d414d4dd9 remove Index field of milestone
Unknwon 39a3b768bc : Add Deployment Key Support
Unknwon 0705f55ce0 finish new milestone page
Unknwon 6d2f25b9f5 clean files
Unknwon 74bd6b939c milestone: edit
Unknwon cf90312b8f clean file
Unknwon 4081f86654 fix new milestone button visibility
Unknwon 3e4cdccf6b milestone: create page
Unknwon 9311a9858a milestone: pagination
Unknwon e7f015db8c fix template
Unknwon 04458d49a0 milestone: list view
Fernando San Julián b92bb77b54 autofocus for new and edit issue forms
Fernando San Julián 4bfc71c73f pagination in repo issues page only if needed
Vladimir Vissoultchev 2bb1fb8f44 Use EscapePound in link hrefs in diff/file views
无闻 678700b74d Merge pull request from wqweto/develop
Allow file and directory names to contain percent character
Vladimir Vissoultchev 167265d533 Allow file and directory names to contain percent character
Unknwon 589618c8a5 better paging
Unknwon 2e7b38db9f fix paging links and issue count
Unknwon 1ba837a055 new issue and label page
Unknwon 54b58e988d Merge branch 'develop' of github.com:gogits/gogs into feature/page_issues
无闻 e69f09f50e Merge pull request from jstasiak/develop
Add file permalink button
Unknwon dc4aab9925 UI: CURD labels
- fix update lable break connection with repository
Unknwon ac95f6d50f UI: basic label list
- create new label
Unknwon 86dbda0b42 UI: basci issue list without filters
- fix isRead check
- fix paging
Unknwon 4447a20f87 UI: issues - finish basic frame
Unknwon 03011ed307 fix suburl for js
Jakub Stasiak 562ad02a6d Add file permalink button
The button appears when a file is viewed in a branch or a tag. It points
to a URL containing the branch's (or tag's) current commit id so that
it'll always point to the same content.
Unknwon 5cf3732339 UI: install - new version
Unknwon 8061447f0e 'New Release' always visible
Unknwon 75cbb32b1e UI compatibility
Unknwon 4aecaf7488 : missing link for help
Unknwon 471b8a18ab Revert "Merge pull request from ndarilek/accessibility-fixes"
This reverts commit c226e92284, reversing
changes made to 80b23854bc.
Nolan Darilek 25dd6f8fa0 Add additional accessibility text to repository navbar.
Unknwon 34102f7889 remove unused scripts and simplify migrate form definition
Filippo Valsorda 5d5d774e03 Handle submodules without a .gitmodules entry - fix
Unknwon 10e4b5b6c6 Merge branch 'access' of github.com:gogits/gogs into access
Unknwon 059338139c routers: able to migrate repo from local path
- modules/middleware/context.go: add HandleAPI method
Alexey Makhov d2f439a241 fix typo mistake
Alexey Makhov c0ad512398 remove not using vars
Alexey Makhov 563e8b4ea9 gitlab-like hash naming
Stefan-Code b508fb041f Merge branch 'dev' of https://github.com/gogits/gogs into dev
Stefan-Code 1628ef4ba5 changed repo-clone-url behaviour for bare repo
Peter Smit e6fc58a744 Remove GoGet option from repository and handle it with ?go-get=1 instead
The normal go get protocol is to show the go-import meta tag when ?go-get=1 is appended to the url. This commit implements that behaviour and cleans the go-get option from the repository settings page.
Peter Smit ed89b39984 Updating context and fixing permission issues
The boolean flags in the repo context have been replaced with mode and two methods

Also, the permissions have been brought more in line with https://help.github.com/articles/permission-levels-for-an-organization-repository/ , Admin Team members are able to change settings of their repositories.
Stefan-Code e5d6f4ce56 Changes to repo-header-download-drop, different repo-clone-url input behaviour
无闻 6ed96b7a20 Merge pull request from TonyTsangHK/dev
Link to previous commited source file (diff.view_file button) instead of returning 404 for deleted files.
Unknwon 2a2596fe61 able to disable SSH for
Tony Tsang fc6d80d619 Link to previous commited source file (diff.view_file button) instead of returning 404 for deleted files.
Unknwon 7140f50637 public/ng/js: script fix on
Alexey Makhov e91b28eb9b little fix
Alexey Makhov 5d4425bbbc add multifile support to diff view highlighting
Alexey Makhov 7f71fe9dae fix diff lines highlighting
Unknwon faddaff90d templates: fix commit message render issue
Unknwon 37fcc8daf2 modules/base: add RenderCommitMessage with XSS-safe and special links
- update russian locale
Unknwon 8e384ce46c fix , may cause unintentional break in other features, but security is no.1
fuxiaohei c0cfd62b90 add label-edit and label-delete logic
Unknwon ac4a10456e api: able to create repo and fix
- POST /user/repos
- POST /org/:org/repos
Unknwon 2f3a7e53cb fix
Unknwon bc8721fb6c Finish new UI for release page
Unknwon 9a1fe801e5 fix
fuxiaohei 0daef29053 add label-create ui elements
dennis-smurf 528c075ad6 Added issue link rendering in commit messages
Tony Tsang d4a1d9f82a Display multi-line commit message on commit diff page.
fuxiaohei 0af3a5b603 add issue list filter ui
James Cracknell 4d123d0a93 Fix user links
fuxiaohei 23d53561d1 update milestone page design
fuxiaohei 79dae254cf add milestone page design
Unknwon 55dfe2c978 custom avatar upload
Unknwon 32dcaefafa fox
fuxiaohei d1a60e3643 add pull-request and labels page design
Unknwon 4f360d8f08 Fix and update Germeny locale
Unknwon e0de6cb5ad work on and update locales
Unknwon 35977cd34c continue work on
Unknwon 23eec25274 Fix , fix , fix
Unknwon 4e7eb5be9d Work on fork and fix
fuxiaohei b866dc92d7 finish issue list ui draft
Christopher Brickley 3794111460 update slack hook to use new format
Eryx 8209bf74f8 Fix
Unknwon a342d58d7e Able to fork repo to individuals
无闻 d7d167ac63 Merge pull request from evolvedlight/master
First cut of fork repo
fuxiaohei 9e3a1bc11a add nav bar in issue list
Unknwon 1aa12c7452 Fix
Unknwon 9ae92459a5 Fix repo css and rel path img in md
evolvedlight 8d2a6fc484 Merge remote-tracking branch 'upstream/dev'
Conflicts:
	models/repo.go
evolvedlight 29ac3980ff More changes
Unknwon 3005c4f6db Fix diff css style, hooks \r char
Unknwon 963354c5d7 Add raw, history file button, and other mirror fixes
Vyacheslav Bakhmutov 5103f16f78 add omitted lang
Unknwon b2632dec09 Page: Compare 2 commits
Vyacheslav Bakhmutov ce7422473a add omitted lang
Unknwon 64c68220d2 Fix
evolvedlight c9e5e38fcf Initial cut of git fork
Unknwon a046a31d2b UI: Confirmation box
Unknwon 3cfa4a581c Bug: 500 when transfer repository to collaborator
Unknwon 11af8658cf Simple fix
Unknwon e3b78c47e2 Merge branch 'master' of github.com:gogits/gogs
Conflicts:
	public/ng/less/gogs/repository.less
	templates/repo/home.tmpl
Unknwon 49193bebd2 UI: Confirmation box
fuxiaohei 7d48f811f1 add issue router for new issue page ui preview
fuxiaohei e3a27aeb25 template and ui fix
fuxiaohei dccc50e9d4 template and ui fix
Unknwon b8368f98ff Add directory level commit message
fundon 54724c33ec no neet for md5 email
fuxiaohei 7c30ae7002 is utils improvement
Unknwon 25268577a5 Fix download archive issue
Unknwon 5bbeeb0f1b Page: Commits and fix
Unknwon a1109e6fbc Page: Repository home page
fuxiaohei b3f0d25ce5 pull request ui review, change sidebar
fuxiaohei 8d5a4cc9eb pull request ui review, change sidebar
fuxiaohei 60c65415dd pull request page ui review, upgrade octicon icons
Unknwon 063aacd436 UI: Use tooltip not alert when copy clone URL
lunnyxiao 7df60af60e submodule support and closed
lunnyxiao 150eef93b2 add submodule basic support & buf fixed