1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-02 14:28:52 -05:00
forgejo/routers/api/v1/admin
Awiteb 70348e159f Ensure source_id parameter is not skipped when set to 0 and correctly filter users in /api/v1/admin/users endpoint (#6240)
Signed-off-by: Awiteb <a@4rs.nl>
Fixes: #6239

## Checklist

### Tests

- I added test coverage for Go changes...
  - [ ] in their respective `*_test.go` for unit tests.
  - [X] in the `tests/integration` directory if it involves interactions with a live Forgejo server.
- I added test coverage for JavaScript changes...
  - [ ] in `web_src/js/*.test.js` if it can be unit tested.
  - [ ] in `tests/e2e/*.test.e2e.js` if it requires interactions with a live Forgejo server (see also the [developer guide for JavaScript testing](https://codeberg.org/forgejo/forgejo/src/branch/forgejo/tests/e2e/README.md#end-to-end-tests)).

### Documentation

- [ ] I created a pull request [to the documentation](https://codeberg.org/forgejo/docs) to explain to Forgejo users how to use this change.
- [X] I did not document these changes and I do not expect someone else to do it.

### Release notes

- [ ] I do not want this change to show in the release notes.
- [X] I want the title to show in the release notes with a link to this pull request.
- [ ] I want the content of the `release-notes/<pull request number>.md` to be be used for the release notes instead of the title.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6240
Reviewed-by: Otto <otto@codeberg.org>
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Awiteb <a@4rs.nl>
Co-committed-by: Awiteb <a@4rs.nl>
2024-12-13 05:42:01 +00:00
..
adopt.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
cron.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
email.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
hooks.go webhook: add admin-hooks tests 2024-04-09 20:02:14 +02:00
org.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
quota.go feat(quota): Humble beginnings of a quota engine 2024-08-02 11:10:34 +02:00
quota_group.go fix(api): Correct descriptions for quota calls 2024-08-12 22:05:56 +02:00
quota_rule.go feat(quota): Humble beginnings of a quota engine 2024-08-02 11:10:34 +02:00
repo.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
runners.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
user.go Ensure source_id parameter is not skipped when set to 0 and correctly filter users in /api/v1/admin/users endpoint (#6240) 2024-12-13 05:42:01 +00:00