Commit Graph

66 Commits

Author SHA1 Message Date
spiral
b13659817d fix(bot): try fetching messages from database before deleting 2023-01-15 17:34:40 +00:00
spiral
91f5e7c8f6
fix(bot): quick fix for timescaledb issues 2022-12-15 01:40:37 +00:00
spiral
a70b6f31fc
chore: lint 2022-12-14 14:47:48 +00:00
spiral
24db9f28c2
fix(bot): add callback to update message count after proxying
also re-add -with-last-message flag :D
2022-12-10 16:50:22 +00:00
spiral
b2e4ff38e3
feat: use sqlkata for a few more queries 2022-12-03 12:04:12 +00:00
spiral
bf7747ab34
feat: split out messages table from main database 2022-11-23 09:17:19 +00:00
spiral
4bf4197c2a
feat(stats): rewrite scheduled tasks runner, use timescaledb instead of influxdb 2022-06-26 14:19:46 -04:00
spiral
5c055871e3
feat(bot): store command message info in redis 2022-06-19 20:28:55 -04:00
spiral
9848b88d5b
feat(bot): don't query db message context when running commands 2022-06-15 19:28:34 -04:00
spiral
7cb3a3ea0f
feat(bot): remove hacky fix for extremely slow system deletes
they are no longer extremely slow
2022-06-15 18:52:50 -04:00
spiral
92ef6d4ec3
fix(api): return updated switch in PATCH /switches/:id 2022-06-11 17:16:53 -04:00
spiral
58a9206d5c
feat: re-enable message count stats updater 2022-06-10 18:48:00 -04:00
spiral
c87979ef03
feat(api): add autoproxy endpoints 2022-06-02 13:32:31 -04:00
spiral
b25d5f1b67
lint 2022-03-30 02:36:39 -04:00
spiral
be89f907a0
feat: block running commands / proxying when system is being deleted
Large systems take way too long to delete, which causes any insert for that system to block a connection, which exhausts the connection pool
2022-03-23 21:32:18 -04:00
spiral
982812333b
feat: rewrite database schema for localized autoproxy 2022-03-21 23:43:33 -04:00
spiral
6c6cb156d4
fix: temporarily remove message count statistics because postgres locks 2022-03-19 21:57:02 -04:00
spiral
0419ced0d2
feat: store shard status in Redis 2022-01-22 03:52:52 -05:00
spiral
89c44a3482
feat: cache Discord DM channels in database 2022-01-22 02:47:47 -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
fc7a6357c0
refactor: rename config table to system_config 2021-12-01 09:16:44 -05:00
spiral
cc4e659cec
feat: import/export system config 2021-11-30 17:04:42 -05:00
spiral
af626c3581
fix: typo causes crash when creating a system 2021-11-30 10:33:32 -05:00
spiral
56d07e0f2d
feat: pk;config 2021-11-29 21:35:21 -05:00
spiral
d195c80d92
feat: set shard status to offline when starting up 2021-11-28 20:50:13 -05:00
spiral
b9252ec615
feat: merge UPDATE_SWITCH_MEMBERS event into UPDATE_SWITCH event 2021-11-28 17:35:56 -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
bc7e0df872
feat(webhooks): SUCCESSFUL_IMPORT event, better behaviour when creating entities 2021-11-25 15:33:02 -05:00
spiral
7b9d2a4e5e
feat(webhooks): add all events except group member events 2021-11-19 11:37:50 -05:00
spiral
71aec0d419
feat(webhooks): init, add service/models, add JSON to patch objects 2021-11-02 06:08:17 -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
2bf1617737
feat(apiv2): reorganize controllers, add stats to meta endpoint 2021-10-15 07:08:41 -04:00
spiral
8fe688e4aa Merge branch 'main' into feat/apiv2 2021-10-15 06:32:50 -04:00
spiral
3bc451eb4b
feat: move scheduled tasks to separate project 2021-10-15 06:27:38 -04:00
spiral
f602f22a3d
feat(apiv2): guild endpoints 2021-10-13 01:02:34 -04:00
spiral
e2a56a198f
feat(apiv2): GET endpoints except guilds
- ResolveT methods in ControllerBase
- ContextFor methods in ControllerBase
2021-10-12 05:17:54 -04:00
spiral
2e89310129
fix(import): add AddAccount to tx 2021-10-06 20:24:29 -04:00
spiral
502265973c
fix: explicitly return * in Patch queries
This is needed because the API takes the object from the database query to return to the user
2021-10-03 12:02:26 -04:00
spiral
92e45a07ff
refactor: add SqlKata for SQL generation, move connection handling into ModelRepository 2021-09-29 21:51:38 -04:00
spiral
dbe040f852
feat(apiv2): database changes 2021-09-26 23:18:17 -04:00
spiral
fb4aaad19f
lint 2021-09-26 22:50:08 -04:00
spiral
0517c76abf
feat: delete command messages with pk;msg -delete 2021-09-26 22:49:43 -04:00
BeautifulPixel
7d60b3e7cf
Add switch editing functionality 2021-09-26 20:08:38 -04:00
spiral
bc2c198a82
group import/export 2021-09-21 21:42:41 -04:00
spiral
a2bf70b395
feat: don't try to match other systems' members in switch / group add commands 2021-09-13 03:14:59 -04:00
Ske
9bbe9df16d Clean up a few database pool uses 2021-09-03 22:20:07 +02:00
spiral
ac2671452d
run dotnet format 2021-08-27 11:03:47 -04:00
spiral
4b944e2b20
feat: refactor external input handling code
- refactor import/export code
- make import/export use the same JSON parsing as API
- make Patch.AssertIsValid actually useful
2021-08-25 21:43:31 -04:00