1
0
Fork 0
forgejo/templates
Gustavo Marin af61b2249a
adds API endpoints to manage OAuth2 Application (list/create/delete) (#10437)
* add API endpoint to create OAuth2 Application.

* move endpoint to /user. Add swagger documentations and proper response type.

* change json tags to snake_case. add CreateOAuth2ApplicationOptions to swagger docs.

* change response status to Created (201)

* add methods to list OAuth2 apps and delete an existing OAuth2 app by ID.

* add APIFormat convert method and file header

* fixed header

* hide secret on oauth2 application list

* add Created time to API response

* add API integration tests for create/list/delete OAuth2 applications.

Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
2020-02-29 03:19:32 -03:00
..
admin Fix admin notices (#10480) 2020-02-26 10:25:54 -06:00
base head.tmpl og:image picture location (#10531) 2020-02-28 19:30:23 +08:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Fixed wrong AppSubUrl in multiple templates (#10447) 2020-02-25 09:58:37 -06:00
mail Style blockquote for default issue mail template (#10024) 2020-01-27 22:35:34 +00:00
org Org action fixes and form cleanup (#10512) 2020-02-27 16:00:13 -06:00
pwa move vue and vue-calendar-heatmap to webpack (#10188) 2020-02-23 21:34:28 +00:00
repo Set correct content_type value for Gogs/Gitea webhooks (#9504) (#10456) 2020-02-28 14:33:52 +00:00
status Improve 404 error message (#10214) 2020-02-10 21:23:35 +02:00
swagger adds API endpoints to manage OAuth2 Application (list/create/delete) (#10437) 2020-02-29 03:19:32 -03:00
user Org action fixes and form cleanup (#10512) 2020-02-27 16:00:13 -06:00
home.tmpl Add Octicon SVG spritemap (#10107) 2020-02-11 12:02:41 -05:00
install.tmpl Add support for database schema in PostgreSQL (#8819) 2020-01-20 16:45:14 +01:00