aboutsummaryrefslogtreecommitdiff
path: root/routes
Commit message (Collapse)AuthorAge
* auth: support authentication source config file (#3142)Unknwon2018-04-12
|
* MISC: fix typo and grammarUnknwon2018-03-30
| | | | Reference: https://github.com/gogits/gogs/commit/932490d7f137a2adf896e4e9326f4e8f2b9a2b54#commitcomment-28344918
* conf: add option to rewrite authorized_keys file at start (#4435)Unknwon2018-03-30
| | | | Added config option '[server] REWRITE_AUTHORIZED_KEYS_AT_START'.
* models: rename RewriteAllPublicKeys -> RewriteAuthorizedKeysUnknwon2018-03-30
|
* 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
|
* admin/config: add UI for [http] section (#3987)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).
* api: add endpoint /api/v1/user/orgs (#4835)Anton Antonov2017-11-13
| | | | | | | | | | | * Add API endpoint /api/v1/user/orgs The difference between this endpoint and /api/v1/admin/users/<username>/orgs, is that here you're creating a repo with the `user` that corresponds to the API token you're using. * Extract duplicate API org creation
* user/auth: fix page not redirect after loginUnknwon2017-10-22
|
* SECURITY: HTML injection in user search APIUnknwon2017-10-14
| | | | Reported by Tim Hawes.
* 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
* routes/home: minor code improveUnknwon2017-07-18
|
* repo: fix panic on pull request submit (#4572)Unknwon2017-07-14
|
* issue_comment: fix pg syntax ambiguous (#4586)Unknwon2017-06-27
| | | | Also handle error related to time parsing.
* api/repo: load attributes when listing user repositories (#4565)Unknwon2017-06-21
|
* random: some code simplifyUnknwon2017-06-11
|
* Refactoring: rename package routers -> routesUnknwon2017-06-11