aboutsummaryrefslogtreecommitdiff
path: root/routers/repo
Commit message (Collapse)AuthorAge
...
* 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)
* Fix can not save release draft as draft again (#3669)Unknwon2017-01-30
| | | | | But release was not saved as draft in the first time, is not possible to be draft afterwards because the Git tag was created.
* Move models/mail.go to modules/mail.goUnknwon2017-01-30
| | | | To use interface to replace *models.User in avoiding cycle import.
* Fix template error when rendering non-README markdown (#4063)Unknwon2017-01-27
|
* Fix unexpected rendering of README when it is not in MarkdownUnknwon2017-01-25
| | | | | This patch also handles case when a file name looks like README but is not a text file (e.g. image, PDF).
* Improve code for fix of #4006Unknwon2017-01-03
|
* Fix incorrect logic check for fork repo actionUnknwon2017-01-03
|
* Fix vulnerability reported in #4006Unknwon2017-01-03
|
* Minor code fix for PR #3560Unknwon2016-12-27
|
* Fix assigned/created issues in dashboard. (#3560)hgaiser2016-12-27
| | | | | | | | | | | | | | | | | | * Fix assigned/created issues in dashboard. * Use GetUserIssueStats for getting all Dashboard stats. * Use gofmt to format the file properly. * Replace &Issue{} with new(Issue). * Check if user has access to given repository. * Remove unnecessary filtering of issues. * Return 404 error if invalid repository is given. * Use correct number of issues in paginater.
* Code fix for PR #3748Unknwon2016-12-23
|
* Use temporary file to avoid out-of-memory when receiving big chunks. (#3748)typeless2016-12-23
| | | | | | | | | | * Use temporary file to avoid out-of-memory when receiving big chunk. Not perfect but I think it's a reasonable solution. For small request bodies, I suppose performance wouldn't be an issue. For large ones, this seems to be a necessary evil. * Must close the open file to avoid fd leaks
* Some code renamingUnknwon2016-12-22
|
* Fix reported vulnerabilityUnknwon2016-12-22
| | | | | | Ability to use labels from arbitrary repositories. Reported by Miguel Ángel Jimeno.
* Fix vulnerability reported in #3962Unknwon2016-12-22
|
* Minor fix for PR #3667Unknwon2016-12-22
|
* Feature #2583: Disable HTTP cloning (#3667)Thibault Meyer2016-12-22
| | | | | | | | * Can disable GIT interactions by HTTP protocol * rename variable + fix wiki link * missing space
* Code fix for PR #3547Unknwon2016-12-22
|