aboutsummaryrefslogtreecommitdiff
path: root/routers/repo
Commit message (Collapse)AuthorAge
...
* webhook: add issue comment eventUnknwon2017-03-09
|
* webhook: support Issues event (#2319)Unknwon2017-03-09
| | | | Also addresses #3485.
* repo/setting: fix admin cannot transfer organizational repositoryUnknwon2017-03-07
|
* repo/setting: fix admin cannot delete organizational repository wikiUnknwon2017-03-07
|
* git_hook: add new env var 'GOGS_AUTH_USER_EMAIL' (#4252)Unknwon2017-03-06
|
* routers/repo/http: only prompt HTTP Basic Authentication when intendedUnknwon2017-03-04
| | | | | | | | | Sometimes user could simply request wrong URL, but if that wrong URL has nothing related Git HTTP operations, HTTP Basic Authentication should not prompted. Instead, clean 404 page should be presented. The patch also supports Git HTTP operations without '.git' suffix to the repository name, which addresses #4226 and #4189.
* webhook: add fork eventUnknwon2017-02-27
|
* webhook: able to detect delete branch or tag (#2315)Unknwon2017-02-27
|
* repo: able to perform initial commit on behave of actual userUnknwon2017-02-27
|
* editor: fix compile errorUnknwon2017-02-27
|
* refactoring: modules/auth/*_form.go -> modules/formUnknwon2017-02-27
|
* repo: does not allow fork to original owner (#4182)Unknwon2017-02-25
| | | | But can still fork to organizations.
* repo: able to add organization member as repository collaboratorUnknwon2017-02-24
|
* protect_branch: only list teams have write accessUnknwon2017-02-24
| | | | | List teams without write access to the repository cause confusion to make users think members of team could push to the branch.
* repo: add protect branch whitelist (#4177)Unknwon2017-02-23
| | | | | Add options to add users and teams to whitelist of a protected branch. This is only available for organizational repositories.
* models/access: hasAccess only need userID not user objectUnknwon2017-02-23
|
* pull: fix split view on pull request page (#3695)Unknwon2017-02-23
|
* editor: fix cannot redirect to correct pull request URLUnknwon2017-02-23
| | | | | | | | Was only possible to correctly redirect to pull request page within same repository. And didn't take care of case when upstream has disabled pull request. Also add a new method 'PullRequestURL' to unify the code.
* release: fix unable to edit release of a fork repositoryUnknwon2017-02-23
|
* repo/setting: fix admin cannot delete organizational repositoryUnknwon2017-02-22
|
* webhook: also only enable certain types (#3356)Unknwon2017-02-21
| | | | Add new config option '[webhook] TYPES’.
* webhook: only trigger specific webhook for test delivery (#3030)Unknwon2017-02-21
|
* webhook: support color for DiscordUnknwon2017-02-21
|
* editor: redirect to new pull request page after create new branchUnknwon2017-02-20
|
* repo: several minor improvementsUnknwon2017-02-19
| | | | | | 1. Fix sample content didn't show up when hook doesn't exist. 2. Fix CSS 'word-break' to use 'break-word' not 'break-all'. 3. Fix single quote in 'locale_en-US.ini' file.
* this fix #3958 (#4153)huqiangit2017-02-18
| | | Deal with '/' in Wiki page title.
* commits: able to specify pageSize dynamically (#3965)Unknwon2017-02-18
| | | | | | | Usage: <url>?page={page}&pageSize={pageSize} Also avoid/removed getting total commits count for pagination, users are only allowed navigation by 'newer' and 'older'.
* webhook: add native Discord supportUnknwon2017-02-18
|
* repo: assignee can be anyone who has read access (#3739)Unknwon2017-02-17
|
* repo/release: add pagination (#2164)Unknwon2017-02-17
|
* Initial version of protected branches (#776)Unknwon2017-02-17
| | | | | - Able to restrict force push and deletion - Able to restrict direct push
* Security: fix XSS attack on milestoneUnknwon2017-02-17
| | | | Reported by Miguel Ángel Jimeno.
* refactoring: SSH and HTTP push procees is now unifiedUnknwon2017-02-16
| | | | | | | | | | | | | | We used to handle SSH and HTTP push separately which produces duplicated code, but now with post-receive hook, the process is unified to one single place and much cleaner. Thus, UpdateTask struct is removed. Narrow down the range of Git HTTP routes to reduce condufsing HTTP Basic Authentication window popup on browser. By detecting <old-commit, new-commit, ref-name> inside post-receive hook, Git HTTP doesn't need to read the whole content body anymore, which completely solve the RAM problem reported in #636.
* repo/editor: fix breadcrumb path cuts parent dirs (#3859)Unknwon2017-02-16
|
* repo/branch: force delete merged branch (#4128)Unknwon2017-02-15
|
* Fix compilation errorUnknwon2017-02-15
|
* Commits fetch concurrency (#3837)Thibault Meyer2017-02-15
|
* webhook: match email with real user in database for test delivery (#3652)Unknwon2017-02-14
|
* routers/repo: allow shorter SHA to download archive (#3834)Unknwon2017-02-12
| | | | SHA length from 7-40 is now supported.
* Improve Open Graph Meta tags (#3664)Unknwon2017-02-11
|
* Add more details on error reportUnknwon2017-02-10
| | | | [CI SKIP]
* models/ssh_key: fix SSH_KEYGEN_PATH not working (#3770)Unknwon2017-02-10
|
* log: start using gopkg.in/clog.v1Unknwon2017-02-09
|
* routers/repo/branch: fix can't delete branch with slashes after merge (#4089)Unknwon2017-02-09
|
* routers/repo/pull: fix 404 on PR compare (#4074)Unknwon2017-02-08
| | | | | | | | | | | | Due to recent code refactor, ctx.PullRequest is not initialized for route repo.CompareAndPullRequest, which leads the UI thinks the compare is not happening inside the same repository. The current fix is to allow compare URL to include redundant head user name so everything works fine again, but code logic isn't as clean as before. Made comments about possible future fix.
* IPythonNotebook: CSS adjustment for PR #4070Unknwon2017-02-07
|
* Ipython notebook support (#4070)Herbert2017-02-07
| | | | | | | | | | * added marked and notebookjs javascript libraries * added ipython notebook render support using javascript libraries * recompiled gogs.css to include ipynb-related css * removed superflous javascript library files
* routers/repo: minor code fix for PR #3758Unknwon2017-02-01
|
* Fix 500 when repo has invalid .editorconfig (#3758)Andrey Nering2017-02-01
| | | | | Creating a notice instead Fixes #3643
* Allow use to set an external tracker url and to redirect user when clicking ↵Rémy Boulanouar2017-01-31
| | | | in Issues same behavior as Wiki. (#3646)