aboutsummaryrefslogtreecommitdiff
path: root/routes/api/v1/api.go
Commit message (Collapse)AuthorAge
* internal: move packages under this directory (#5836)Unknwon2019-10-24
| | | | | | | | | | | | | | | | | | * Rename pkg -> internal * Rename routes -> route * Move route -> internal/route * Rename models -> db * Move db -> internal/db * Fix route2 -> route * Move cmd -> internal/cmd * Bump version
* Enable Go modules (#5835)Unknwon2019-10-23
| | | | | | | | | | | | | | | | * Remove vendor * Enable Go modules * ci: add command to fetch dependencies * ci: update setting * ci: update settings * Require Go 1.11 * Rename module name to gogs.io/gogs
* routes/api/v1: codemodunknwon2019-08-10
|
* routes/api/v1: codemodunknwon2019-08-08
|
* routes/api: fix permission checks for routesunknwon2019-08-01
| | | | Reported by @ManassehZhou #5764
* routes/api: add missing permission checks for routesunknwon2019-08-01
| | | | | | Permission check not enforced for deploy keys, collaborators, and hooks. Reported by @ManassehZhou #5764
* api: add GetReferenceSHA (#5546)Unknwon2018-12-16
|
* api: add GetSingleCommit (#5546)Unknwon2018-12-15
|
* api/repo: support edit repository issue tracker (gogs/go-gogs-client#94)Unknwon2018-12-02
|
* routes/api: change status handle to new styleUnknwon2018-12-01
| | | | Also fixed one bug that did not catch team not found error.
* routes/api: allow get repository without login (#5475)Unknwon2018-12-01
|
* api: fix critical CSRF vulnerabilities on API routes (#5355)Unknwon2018-11-28
| | | | By explicitly requires token authentication.
* *: rename "gogits" to "gogs"Unknwon2018-05-27
|
* 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
* Refactoring: rename package routers -> routesUnknwon2017-06-11