aboutsummaryrefslogtreecommitdiff
path: root/routes/repo
Commit message (Collapse)AuthorAge
* routes/repo: added deletion of an empty line at the end of file (#5261) (#5270)Alexey Terentyev2018-06-06
| | | | | | | | | | * Added deletion of an empty line at the end of file (#5261) Signed-off-by: Alexey Terentyev <axifnx@gmail.com> * Fix after feedback Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* mirror: show sync feeds on dashboard (#2017)Unknwon2018-05-30
|
* *: rename "gogits" to "gogs"Unknwon2018-05-27
|
* security: fix path cleanup for repository init and editor (#5207)Lauris BH2018-05-08
| | | Reported by Kacper Szurek https://security.szurek.pl/.
* templates/repo/issue: rework escape delete branch link after merged pull ↵Unknwon2018-04-16
| | | | request (#4601)
* auth: support authentication source config file (#3142)Unknwon2018-04-12
|
* repo/http: add CORS headers to allow clone/push from browser agents (#4970)William Hilton2018-03-14
|
* repo: improve error handling for PR #4803Unknwon2018-03-08
|
* models: move ErrBranchNotExist to errors packageUnknwon2018-03-08
|
* repo: disallow web ui to delete protected branch after PR merged (#4803)bayangan19912018-03-08
| | | | | | | | | | * Disallow web ui to delete protected branch * Fix for branches not yet protected Had to change how error was handled. If a branch had not yet been protected the error would be generated. Reworked to start as false and then use the protected if it was found.
* repo/commit: fix file commit history pagination (#4965)Douglas Thrift2018-03-06
| | | | | - The `commits_table.tmpl` pagination uses a `$.FileName` variable in order to generate the next/previous URLs, but it seems like that variable was no longer being populated in `renderCommits`.
* MISC: minor fixes in webhookUnknwon2017-11-18
|
* pull_request: able to ignore whitespace when check conflict (#4834)Unknwon2017-11-16
|
* repo/pull: allow rebase before merging (#4805)Unknwon2017-11-15
|
* pull: add an option to use rebase for merging pull requestsmharinder2017-11-15
| | | | | | | | | | | | | | | | For DVCS, either merge or rebase works for getting new code in a pull request in the main branch. The rebase workflow produces a linear history which is cleaner, and more bisect-able. This commit adds a repo-level option to enable the rebase workflow. Once enabled, "Merge Pull Request" will be replaced by "Rebase and Merge Pull Request" which does exactly what the user wants. It's unlikely a project wants a mixed-use of both rebase and merge workflows, therefore the feature is not implemented as a drop-down button like what GitHub does (https://github.com/blog/2243-rebase-and-merge-pull-requests).
* Add Dingtalk webhook support (#4773)Athurg Feng2017-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add dingtalk webhook into html template * Add Dingtalk's icon * Insert dingtalk into repo's webhook page template * Insert dingtalk into org's webhook page * Add dingtalk into default webhook config * Add locale string for add_dingtalk_hook_desc * Update bindata * Add dingtalk webhook form validator * Add dingtalk hook task * Add dingtalk hook create handler * Add dingtalk hook edit handler * Add dingtalk router * Add dingtalk webhook task skeleton * Add markdown link formatter * Add Dingtalk ActionCard create wrapper * Add support for dingtalk create event payload * Add support for dingtalk delete event payload * Add support for dingtalk fork event payload * Add support for dingtalk push event payload * Add support for dingtalk issue event payload * Add support for dingtalk issue comment payload * Add support for dingtalk pull event payload * Add support for dingtalk release event payload
* repo: fix panic on pull request submit (#4572)Unknwon2017-07-14
|
* random: some code simplifyUnknwon2017-06-11
|
* Refactoring: rename package routers -> routesUnknwon2017-06-11