Commit Graph

156 Commits

Author SHA1 Message Date
spiral
a20f0916ac
feat: add ASP.NET metrics tracking 2022-03-23 14:24:09 -04:00
spiral
982812333b
feat: rewrite database schema for localized autoproxy 2022-03-21 23:43:33 -04:00
spiral
26ef81e47a
fix build issue 2022-03-15 00:29:34 -04:00
spiral
8a124c67ae
feat(api): expose Discord statistics on /private/meta 2022-03-15 00:09:27 -04:00
spiral
c958307698
refactor: rename discord.proto to state.proto 2022-02-07 11:07:45 -05:00
spiral
1ec3663f63
feat: add cluster ID to shard state 2022-02-07 11:05:55 -05:00
spiral
f13c60a841
fix(api): 403 instead of 401 on API v1 member routes 2022-02-05 09:37:18 -05:00
spiral
af3702152f
fix(api): show full git commit hash in header 2022-01-24 08:18:34 -05:00
spiral
c38ca2e7fa
feat: add git commit hash to Serilog context 2022-01-24 08:13:59 -05:00
spiral
2e387ecee9
feat(api/private): add disconnection count to shard objects 2022-01-23 02:30:03 -05:00
spiral
d948d445ec
fix(api): order shards by ID 2022-01-23 02:17:13 -05:00
spiral
0419ced0d2
feat: store shard status in Redis 2022-01-22 03:52:52 -05:00
spiral
9f7c47b78e
feat(api): separate private endpoints from public API versioning 2022-01-19 19:29:51 -05:00
spiral
eb4f53c69e
refactor: remove asp.net versioning 2022-01-19 19:25:04 -05:00
spiral
6d1fd0e267
fix: fix crash in API v1 when message.System is null 2022-01-14 19:47:12 -05:00
spiral
34df19c551
fix: don't delete rows from messages table when the associated member is deleted 2022-01-11 09:43:55 -05:00
spiral
d28b67cb81
fix(api): show correct autoproxy member uuid 2021-12-01 17:28:52 -05:00
spiral
7bf6c2064f
feat(api): throw error when patching autoproxy member with autoproxy mode set to latch 2021-12-01 17:27:43 -05:00
spiral
7c37726afb
fix: replace broken private IP checker with IPNetwork library 2021-12-01 11:48:14 -05:00
spiral
a0d2773ef4
fix: missing systemRef in patch /system, crash when system not found 2021-12-01 08:43:16 -05:00
spiral
56d07e0f2d
feat: pk;config 2021-11-29 21:35:21 -05:00
spiral
318b9b5b66
fix(api): don't require '@me' string on own-system-only endpoints 2021-11-28 18:33:41 -05:00
spiral
e85073665e
fix(api): re-ignore PKErrors in Serilog 2021-11-28 18:28:10 -05:00
spiral
6919d10953
fix: correctly parse member data as v2 model in POST /members 2021-11-28 07:20:35 -05:00
spiral
4450ae4214
feat: go through some TODOs 2021-11-26 22:02:58 -05:00
spiral
1918c56937
feat: upgrade to .NET 6, refactor everything 2021-11-26 21:10:56 -05:00
spiral
a4a5f5c17a
feat: move PKMessage JSON to PluralKit.Core 2021-11-26 14:23:57 -05:00
spiral
b8e2ebd470
Merge branch 'feat/webhooks' into main 2021-11-25 17:15:42 -05:00
spiral
bc7e0df872
feat(webhooks): SUCCESSFUL_IMPORT event, better behaviour when creating entities 2021-11-25 15:33:02 -05:00
spiral
85c095a115
fix: check 'with_members' in /systems/:ref/groups against member list privacy 2021-11-19 10:18:12 -05:00
spiral
b4b83f2c94
fix(api): have correct behaviour for 'before' param 2021-11-17 09:52:58 -05:00
spiral
1d5943b6e1
fix(api): properly ignore exceptions that result in 400 status code 2021-11-17 09:45:34 -05:00
spiral
b273b49533
fix: throw SystemNotFound in SystemGet instead of 404ing 2021-11-07 13:56:15 -05:00
spiral
bdb6b61903
fix: asp.net doesn't automatically complete the response writer 2021-11-03 23:27:44 -04:00
spiral
e1a5310a3a
fix: check member/group limits before creating 2021-11-03 02:42:37 -04:00
spiral
44ccf01f93
feat: with_members query string on /systems/:ref/members endpoint 2021-11-01 00:12:11 -04:00
spiral
c7126840ed
refactor(apiv2): rewrite group member endpoints to be cleaner 2021-10-30 18:16:18 -04:00
spiral
93eef82a83
refactor(apiv2): fix nonsense behaviour with error objects/arrays 2021-10-29 20:06:09 -04:00
spiral
8e0e393f52
feat(apiv2): docs fixes 2021-10-22 17:54:47 -04:00
spiral
2bf1617737
feat(apiv2): reorganize controllers, add stats to meta endpoint 2021-10-15 07:08:41 -04:00
spiral
611fc65a99
fix(apiv2): don't erroneously expose helper methods as endpoints
asp.net why
2021-10-15 04:29:04 -04:00
spiral
8e1409bd17
fix(apiv2): get rid of large asp.net bad request errors
should also fix it for v1 :)
2021-10-14 10:24:44 -04:00
spiral
e367ed6808
feat(apiv2): post/patch endpoints 2021-10-14 09:35:20 -04:00
spiral
fd49e7e4ea
refactor(apiv2): rename APIErrors to Errors, move IsUserError to helper method 2021-10-13 09:08:17 -04:00
spiral
431f7e8931
fix(apiv2): correctly parse timestamp in SwitchPatch 2021-10-13 08:59:42 -04:00
spiral
098d804344
feat(apiv2): better model validation error UX 2021-10-13 08:37:34 -04:00
spiral
5add31c77e
feat(apiv2): switch endpoints 2021-10-13 05:29:33 -04:00
spiral
f602f22a3d
feat(apiv2): guild endpoints 2021-10-13 01:02:34 -04:00
spiral
eb05cbf76c
feat(apiv2): ignore exception caused by invalid user-provided JSON
return 400 bad request instead
2021-10-12 08:34:28 -04:00
spiral
a20276f6e6
feat(apiv2): group member endpoints 2021-10-12 08:33:31 -04:00