forgejo/routers
Gusted fe71e32ace
[GITEA] Fix /issues/search endpoint
- The endpoint was moved from being an API endpoint to an web endpoint
with JSON result. However the API context isn't the same as the web
context, for example the `ctx.Error` only takes in the first two
arguments into consideration and doesn't do logging, which is not the
same behavior as the API context where there's three arguments and does
do logging and only reveal the function + error if the user is admin.
- Remove any details in the error message and do the logging seperatly,
this is somewhat consistent with how other API endpoints behave.
- Ref: https://codeberg.org/forgejo/forgejo/issues/1998
2023-12-30 14:19:32 +01:00
..
api [GITEA] Revert "Deprecate query string auth tokens (#28390)" 2023-12-25 13:41:50 +01:00
common Clean up template locale usage (#27856) 2023-10-31 22:11:48 +08:00
install [GITEA] Add password length check on install page 2023-12-25 13:30:06 +01:00
private [CLI] implement forgejo-cli 2023-12-25 10:25:16 +01:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web [GITEA] Fix /issues/search endpoint 2023-12-30 14:19:32 +01:00
init.go [API] Forgejo API /api/forgejo/v1 2023-12-25 11:00:49 +01:00