Commit Graph

205 Commits

Author SHA1 Message Date
sam 97391c51d8
fix: disallow * in member names, it breaks routing 2023-10-28 00:58:20 +02:00
sam cb8cfb9d2f
fix(backend): add environment variable to disable tracing 2023-09-20 17:03:12 +02:00
sam a297ec681e
fix(backend): tweak traces/profiles sample rate 2023-09-20 17:00:20 +02:00
sam 0e6f3a47f4
fix(backend): filter out context.Canceled errors 2023-09-20 15:15:43 +02:00
sam fc1f4d03f1
i forgot to change the debug setting 2023-09-20 03:42:45 +02:00
sam 9f266ee1a8
feat(backend): also add sentry tracing 2023-09-20 03:40:07 +02:00
sam b04ed68832
feat(backend): add sentry integration 2023-09-20 02:39:14 +02:00
sam a6d31d150c
Merge branch 'stable' 2023-09-20 02:38:48 +02:00
sam f424228fee
update icons.js 2023-09-20 02:29:06 +02:00
sam bb64378c13
remove unfinished discord bot endpoints 2023-09-20 02:03:20 +02:00
sam 364c008554
chore: format 2023-09-13 16:25:40 +02:00
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