Commit graph

194 commits

Author SHA1 Message Date
git_girl
b6424cac9c feat(fields): improved error messages, switched to placeholder 2023-09-12 16:05:00 +02:00
sam
a1b2fce9af
fix(backend): invert error check in /api/v1/meta 2023-09-11 15:23:22 +02:00
sam
2da388df2e
add username cleanup 2023-09-10 17:44:35 +02:00
sam
f39a762072
add global notices 2023-09-09 17:20:18 +02:00
sam
cb563bc00b
remove debug prints 2023-09-09 04:45:04 +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
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
4377d38933
remove autogenerated docs, update API docs link 2023-09-02 04:07:36 +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
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
b826fb3ce6
chore: move backend routes to v1/ subdirectory 2023-08-16 03:12:25 +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
3e3ccd971b
feat: add timezone settings 2023-08-02 23:24:38 +02:00
sam
e10db2fa09
feat: display timezone 2023-07-30 23:13:35 +02:00
sam
bbd7623855
fix(backend): recognise firefish as misskey and hometown as mastodon 2023-07-30 21:33:16 +02:00
sam
c046ae57f2
fix(backend): invert api token check in /auth/warnings/{id}/ack 2023-07-27 00:55:51 +02:00
Sam
969e06e31e
*actually* cache counts 2023-06-25 15:55:44 +02:00
Sam
80cf699a73
feat(backend): cache user/member counts 2023-06-25 15:49:19 +02:00
Sam
836029cb7b
merge 2023-06-23 03:28:01 +02:00
Sam
c61186b22a
feat(backend): add request latency tracking 2023-06-23 03:27:09 +02:00
erin
fd58773472 fix: treat 'gotosocial' software as mastodon 2023-06-15 18:38:11 -04:00
Sam
0a012d75af
fix: treat 'glitchcafe' software as mastodon 2023-06-15 17:23:24 +02:00
Sam
fad5bd5e4a feat: add admin badge on profiles 2023-06-07 09:48:11 +02:00
Sam
d25545fa03
change import url 2023-06-03 16:18:47 +02:00
Sam
10dc59d3d4
feat: add short IDs + link shortener 2023-06-03 03:06:26 +02:00
Sam
7c94c088e0
raise flag limit from 100 to 500 2023-06-02 16:48:32 +02:00
Sam
3442f7a518
fix: work around cloudflare r2 not conforming to s3 api standards 2023-05-29 04:11:38 +02:00
Sam
52f9cfe881
fix: fix error in merge 2023-05-29 04:04:24 +02:00
Sam
c28df5fc7f
fix: enforce maximum number of flags on profile 2023-05-29 03:26:56 +02:00
Sam
21cce9c5af
fix: don't delete flag *objects* because flags can share hashes 2023-05-29 03:26:55 +02:00
Sam
8b03521382
feat: add list/upload flag UI 2023-05-29 03:26:54 +02:00
Sam
a4698e179a
feat: add DELETE /users/@me/flags/{id} 2023-05-29 03:26:54 +02:00
Sam
1360a52488
add PATCH /users/@me/flags/{id} 2023-05-29 03:26:54 +02:00
Sam
ea2ae94742
feat: add flags to PATCH /members/{id} 2023-05-29 03:26:53 +02:00
Sam
1b78462f50
feat: add flags to PATCH /users/@me 2023-05-29 03:26:53 +02:00
Sam
c69c777fc8
feat: GET /users/@me/flags, POST /users/@me/flags 2023-05-29 03:26:53 +02:00
Sam
5bac691d15
fix: allow all methods in CORS 2023-05-25 00:33:54 +02:00
Sam
9a70245c2d
feat: add /users/@me/members/{memberRef} route (closes #62) 2023-05-23 16:32:02 +02:00
Sam
23f79b0fec
fix: i missed one path 2023-05-22 16:02:00 +02:00
Sam
bf34c77269
fix: remove leading / from s3 paths 2023-05-22 15:59:49 +02:00
Sam
295b76aad2
fix cloudflare r2 support? 2023-05-22 15:00:05 +02:00
Sam
4123f957f0
fix: silence libvips 2023-05-22 00:36:21 +02:00
Sam
e0d08270bf
feat: add OpenAPI definition 2023-05-19 04:50:11 +02:00
Sam
c3291edd4f
feat: expose some more info in /settings 2023-05-19 03:13:46 +02:00
Sam
130a1996d7
feat: improve report ui 2023-05-17 13:26:23 +02:00
Sam
1319366637
feat(backend): switch to libvips for avatar resizing 2023-05-17 00:49:35 +02:00