1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/routers
zeripath 00533d3870 Keys API changes (#4960)
* Add private information to the deploy keys api

This commit adds more information to the deploy keys to allow for back
reference in to the main keys list. It also adds information about the
repository that the key is referring to.

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Add private information to the user keys API

This adjusts the keys API to give out private information to user keys if
the current user is the owner or an admin.

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Add ability to search keys by fingerprint

This commit adds the functionality to search ssh-keys by fingerprint of
the ssh-key. Deploy keys per repository can also be searched. There is
no current clear API point to allow search of all deploy keys by
fingerprint or keyID.

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Add integration test
2018-10-31 23:40:49 -04:00
..
admin Allow admin toggle forcing a password change for newly created users (#4563) 2018-09-13 12:34:36 -04:00
api/v1 Keys API changes (#4960) 2018-10-31 23:40:49 -04:00
dev Make time diff translatable (#2057) 2017-06-28 13:43:28 +08:00
org Fixed bug where team with admin privelege type doesn't get any unit attached to the team (#4719) 2018-08-21 13:02:32 -04:00
private Make gitea serv use api/internal (#4886) 2018-10-30 14:20:13 +08:00
repo Serve audio files using HTML5 audio tag (#5221) 2018-10-30 10:17:26 +08:00
routes Add AutoHead functionality. (#5186) 2018-10-30 11:08:49 -04:00
user UX of link account (Step 1) (#5006) 2018-10-28 18:46:16 -04:00
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 2018-09-10 10:31:08 -04:00
home.go feat(repo): support search repository by topic name (#4505) 2018-09-13 10:33:48 +08:00
init.go Store OAuth2 session data in database (#3660) 2018-04-29 09:09:24 +03:00
install.go Remove traces of embedded TiDB (#4906) 2018-09-11 10:42:40 -04:00
swagger_json.go Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00