gotosocial/docs/admin
tobi 307cfd0fdb [bugfix] Fix nil ptr exception on creating user without running server first (#4094)
# Description

> If this is a code change, please include a summary of what you've coded, and link to the issue(s) it closes/implements.
>
> If this is a documentation change, please briefly describe what you've changed and why.

closes https://codeberg.org/superseriousbusiness/gotosocial/issues/4049 by removing the silly defer statement. Adds a test too, and a warning in the docs.

## Checklist

Please put an x inside each checkbox to indicate that you've read and followed it: `[ ]` -> `[x]`

If this is a documentation change, only the first checkbox must be filled (you can delete the others if you want).

- [x] I/we have read the [GoToSocial contribution guidelines](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md).
- [x] I/we have discussed the proposed changes already, either in an issue on the repository, or in the Matrix chat.
- [x] I/we have not leveraged AI to create the proposed changes.
- [x] I/we have performed a self-review of added code.
- [x] I/we have written code that is legible and maintainable by others.
- [x] I/we have commented the added code, particularly in hard-to-understand areas.
- [x] I/we have made any necessary changes to documentation.
- [x] I/we have added tests that cover new code.
- [x] I/we have run tests and they pass locally with the changes.
- [x] I/we have run `go fmt ./...` and `golangci-lint run`.

Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4094
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
Co-committed-by: tobi <tobi.smethurst@protonmail.com>
2025-05-05 12:03:07 +02:00
..
backup_and_restore.md [chore] Rewrite all remaining Github links 2025-05-05 12:01:45 +02:00
cli.md [bugfix] Fix nil ptr exception on creating user without running server first (#4094) 2025-05-05 12:03:07 +02:00
database_maintenance.md [docs] Add optional instructions for replicating SQLite for disaster recovery (#2981) 2024-06-13 15:09:51 +02:00
domain_blocks.md [feature] Fetch + create domain permissions from subscriptions nightly (#3635) 2025-01-08 11:29:40 +01:00
domain_permission_subscriptions.md [docs] Move docs links to codeberg (#4074) 2025-05-05 12:02:32 +02:00
federation_modes.md [docs] clearer structure for "combining blocks and allows" section (#4065) 2025-05-05 12:02:03 +02:00
media_caching.md [feature] Customizable media cleaner schedule (#2304) 2023-10-30 17:35:11 +00:00
request_filtering_modes.md [feature] Add HTTP header permission section to frontend (#2893) 2024-05-05 11:47:22 +00:00
robots.md [feature] Change instance-stats-randomize to instance-stats-mode with multiple options; implement nodeinfo 2.1 (#3734) 2025-02-04 16:52:42 +01:00
settings.md [chore] fix typo in docs (#3758) 2025-02-09 11:12:46 +01:00
signups.md [feature] make account sign-up / backlog limits configurable (#3768) 2025-02-10 15:46:36 +01:00
spam.md [feature] Add experimental instance-federation-spam-filter option (#2685) 2024-02-27 12:22:05 +00:00
themes.md [feature] User-selectable preset CSS themes for accounts (#2777) 2024-03-25 17:32:24 +00:00