Commit Graph

473 Commits

Author SHA1 Message Date
sam e03c9827b9
readd rel and target attributes to profile links (fixes #93) 2023-09-09 13:41:56 +02:00
sam 6c8f2b648e
merge branch 'feature/snowflakes' into main
NOTES:
- After running the migration, you MUST manually run `database
  create-snowflakes`. The entire backend assumes snowflakes are never
  null, so if this isn't done, all requests will fail.
- Avatar and flag files are still saved with xids, this will change
  later.
2023-09-07 17:04:39 +02:00
sam b6cc5bb130
change frontend API calls to use snowflake IDs 2023-09-07 17:04:18 +02:00
sam 41f5d46891
add snowflake support to member reroll route 2023-09-07 17:01:31 +02:00
sam 04db0507ba
add snowflake support to report routes 2023-09-07 16:53:58 +02:00
sam 1b9a5deb78
make more member routes accept snowflakes + make flag routes accept snowflakes 2023-09-07 01:43:05 +02:00
sam 0171f54592
add snowflake support to some member routes 2023-09-02 16:34:51 +02:00
sam b5a6d51491
remove OpenAPI spec as it's way out of date 2023-09-02 04:07:57 +02:00
sam 4377d38933
remove autogenerated docs, update API docs link 2023-09-02 04:07:36 +02:00
sam 58eff3ef4b
merge: merge docs 2023-09-02 03:53:08 +02:00
sam c6195218c5
docs: add other endpoints 2023-09-02 03:52:38 +02:00
sam bc1948316c
docs: add member endpoints 2023-09-01 17:02:23 +02:00
sam 50b584c8ea
move docs-site to docs 2023-08-21 15:58:07 +02:00
sam 4aa4d35362
move self-hosting documentation to docs site 2023-08-21 15:57:23 +02:00
sam 4df9a4c368
update docs 2023-08-21 15:45:16 +02:00
sam 0595e8d5f5
fix(frontend): fix 'sticky' info message on edit fields page 2023-08-20 22:50:23 +02:00
sam 1cce0defca
feat(backend): make snowflake IDs usable in /users/{id}, /users/{id}/members 2023-08-20 22:45:14 +02:00
sam d05e1d241c start documentation site 2023-08-20 22:38:53 +02:00
sam b1a7ef89ca
feat(backend): add snowflake IDs 2023-08-17 18:49:32 +02:00
sam d97b3f8da1
feat(backend): add /api/v2/users/@me/settings 2023-08-17 00:49:46 +02:00
sam 0c2eeaf954
chore: add down migrations 2023-08-16 03:30:34 +02:00
sam b826fb3ce6
chore: move backend routes to v1/ subdirectory 2023-08-16 03:12:25 +02:00
sam b66188cbf9
update changelog 2023-08-14 03:02:10 +02:00
sam 49eb964ed8
feat: allow user to pick timezone manually 2023-08-14 02:32:58 +02:00
sam 9ee6f318c7
merge: reworked edit pages 2023-08-14 02:15:40 +02:00
sam 5fe5f09032
redirect from /edit/member/{id} to new page, add error page for redirects 2023-08-14 02:14:12 +02:00
sam 03311d7004
move member edit page to /@user/member/edit 2023-08-14 02:03:09 +02:00
sam 56c9270fdb
edit member page progress 2023-08-12 17:01:01 +02:00
sam 2f34cd20ba
merge: fix(prns): url encode unicode 2023-08-12 15:01:06 +02:00
sam cd3e4ef6c5
fix(prns): url encode unicode 2023-08-12 15:00:26 +02:00
sam b2b3fb37ec
fix: change frontend error object to APIError 2023-08-11 16:33:17 +02:00
sam b3e191f01a
move /edit/profile to /@username/edit 2023-08-10 21:03:13 +02:00
sam 785f94dd9f
split entire edit user profile page 2023-08-10 20:48:29 +02:00
sam c92f4c4ba7
feat(backend): disallow some names due to potential confusion or potential errors 2023-08-10 18:26:53 +02:00
sam 575aa01fa5
add fields and flags to new edit page 2023-08-10 18:09:10 +02:00
sam 61f1464e37
add bio and pronouns subpages 2023-08-07 03:10:46 +02:00
sam 93a113206f
tweak: always show 'save changes' button 2023-08-06 15:38:33 +02:00
sam e0069a9375
feat(frontend): start splitting edit profile page into subpages 2023-08-04 20:52:15 +02:00
sam eba31f8bda
update changelog 2023-08-02 23:50:44 +02:00
sam 846483ee17
update go.mod 2023-08-02 23:42:40 +02:00
sam 2a4ddaeea5
feat: add timezone display 2023-08-02 23:37:22 +02:00
sam 32ad02a260
tweak detect timezone button placement 2023-08-02 23:27:28 +02:00
sam 3e3ccd971b
feat: add timezone settings 2023-08-02 23:24:38 +02:00
sam 038de34f8f
feat: show max number of flags in settings 2023-07-31 02:17:50 +02:00
sam e10db2fa09
feat: display timezone 2023-07-30 23:13:35 +02:00
sam 309aa569f6
rename pronouns to pronounslib because the executable is already `pronouns` 2023-07-30 21:37:04 +02:00
sam bbd7623855
fix(backend): recognise firefish as misskey and hometown as mastodon 2023-07-30 21:33:16 +02:00
sam ccd546759b
feat: don't use shared models for prns
The shared models will eventually contain every field in the database,
but prns.cc only needs the fields they currently have, so to cut down on
memory usage it shouldn't use the shared models.
2023-07-28 21:01:36 +02:00
sam ca138efc8f
update Cargo.lock 2023-07-28 02:31:11 +02:00
sam 74ac9396c9
polish prns.cc code 2023-07-28 02:21:33 +02:00