Commit Graph

437 Commits

Author SHA1 Message Date
Jake Fulmine
7efe6f1f97
feat: system pronouns (#429) 2022-03-23 14:20:16 -04:00
spiral
062835e0c5
fix: typo in migration 2022-03-21 23:58:25 -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
8909330db2
feat: aggregate cluster statistics and send to influx with scheduled tasks worker 2022-03-14 23:33:22 -04:00
spiral
fc8f1b7cd3
fix: don't require Redis for startup 2022-02-04 14:53:56 -05:00
spiral
c38ca2e7fa
feat: add git commit hash to Serilog context 2022-01-24 08:13:59 -05: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
db3d436ef5
fix: update target schema version in DatabaseMigrator 2022-01-19 17:59:53 -05:00
rladenson
f3869dbcbe
feat: rework group list into member list 2022-01-14 22:30:02 -05:00
spiral
2aead40449
feat: add Redis identify ratelimiter 2022-01-13 12:26:25 -05:00
spiral
e73af85e5c
fix typo in migration 2022-01-11 09:46:20 -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
e4bd8b4c9f
fix: respect group icon privacy in JSON models 2022-01-08 09:00:57 -05:00
spiral
fff8e179ba
fix: don't query the entire config table in message_context 2021-12-24 05:42:28 -05:00
Ske
2aa258acf4
Fix build on Windows 2021-12-23 21:22:38 -05:00
spiral
32bea51e18
feat: config setting to default show/hide private info 2021-12-06 04:01:42 -05:00
spiral
d11e84246d
fix crash when importing default latch timeout 2021-12-04 18:32:01 -05:00
spiral
c500e5d50c
fix: export system group list privacy 2021-12-01 17:07:35 -05:00
spiral
1ff6bb76cd
feat: config setting to automatically set members/groups to private when creating 2021-12-01 11:48:49 -05:00
spiral
7c37726afb
fix: replace broken private IP checker with IPNetwork library 2021-12-01 11:48:14 -05:00
spiral
fc7a6357c0
refactor: rename config table to system_config 2021-12-01 09:16:44 -05:00
spiral
bd166502cc
feat: remove tz in api v1, add deprecation notice 2021-11-30 17:25:36 -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
9dbc120bbc
fix: private IP checker wasn't working correctly for some reason 2021-11-29 21:35:56 -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
4450ae4214
feat: go through some TODOs 2021-11-26 22:02:58 -05:00
spiral
04d78e3348
refactor: remove some unused code 2021-11-26 21:14:09 -05:00
spiral
1918c56937
feat: upgrade to .NET 6, refactor everything 2021-11-26 21:10:56 -05:00
spiral
d28e99ba43
fix: get rid of top-level guild_id key in dispatch payloads 2021-11-26 14:45:58 -05:00
spiral
a4a5f5c17a
feat: move PKMessage JSON to PluralKit.Core 2021-11-26 14:23:57 -05:00
spiral
ddd966ad58
fix: specify application/json content-type in dispatch requests 2021-11-26 12:56:32 -05:00
spiral
28a199e507
fix: serialize guild_id as string in dispatch json 2021-11-26 12:45:15 -05:00
spiral
e8d9106543
fix: typo in GroupPatch json 2021-11-25 18:43:34 -05:00
spiral
b8e2ebd470
Merge branch 'feat/webhooks' into main 2021-11-25 17:15:42 -05:00
spiral
ece17f7470
feat(webhooks): verify that url is accessible before saving it 2021-11-25 16:45:00 -05:00
spiral
bc7e0df872
feat(webhooks): SUCCESSFUL_IMPORT event, better behaviour when creating entities 2021-11-25 15:33:02 -05:00
spiral
51c900a378
feat(webhooks): docs 2021-11-22 14:20:43 -05:00
spiral
9c95ca2ed9
fix: temporarily disable last message query in member_list 2021-11-21 09:03:47 -05:00
spiral
7b9d2a4e5e
feat(webhooks): add all events except group member events 2021-11-19 11:37:50 -05:00
spiral
f071485a82
fix(webhooks): always send event data, even if null 2021-11-19 11:23:23 -05:00
spiral
e48e39eeb1
fix(webhooks): add signing token to events that are missing it 2021-11-19 11:13:21 -05:00
spiral
e8beb245da
fix(webhooks): fix error when DNS entry has non-ipv4 addresses 2021-11-19 10:58:12 -05:00
Spectralitree
33195b7b93 fix(api): patch correct system privacy fields 2021-11-18 17:12:20 -05:00
spiral
2a7d4ff97d
fix: properly get long commit hash from git 2021-11-08 10:48:45 -05:00
spiral
d19f6456a7
feat: show full commit version hash in sentry logs 2021-11-07 03:09:45 -05:00
spiral
00b7f76a5b
fix(webhooks): actually correctly parse urls for DNS resolution 2021-11-03 02:02:07 -04:00
spiral
a81ffc3399
feat(webhooks): add basic commands 2021-11-03 02:01:35 -04: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
bb8d5dcf12
fix: actually export everything from PKSystem 2021-10-30 20:45:59 -04:00
spiral
f44f83c809 Merge branch 'feat/apiv2' into main 2021-10-30 18:18:08 -04:00
spiral
c7126840ed
refactor(apiv2): rewrite group member endpoints to be cleaner 2021-10-30 18:16:18 -04:00
spiral
9a34834ca9 Merge branch 'main' of ssh://github.com/xSke/pluralkit into main 2021-10-29 13:29:23 -04:00
spiral
456545efe8
fix: import nickname from Tupperbox 2021-10-29 12:59:19 -04:00
spiral
8e0e393f52
feat(apiv2): docs fixes 2021-10-22 17:54:47 -04:00
spiral
7d36a39a57
feat(apiv2): documentation, misc fixes 2021-10-22 11:20:26 -04:00
multiusersystem
ffe23829db fixed schema version 2021-10-19 18:18:08 -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
098d804344
feat(apiv2): better model validation error UX 2021-10-13 08:37:34 -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
11620d94c8
feat(apiv2): actually add UUIDs to JSON models 2021-10-12 04:25:06 -04:00
spiral
9d47bfe0d8
feat(apiv2): basic error handling 2021-10-12 03:01:02 -04:00
spiral
9bafc732ab Merge branch 'main' into feat/apiv2 2021-10-12 02:33:47 -04:00
spiral
c3e51d1a48
feat(apiv2): v2 json models 2021-10-12 02:19:42 -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
Grey Himmel
65b4f0e370
Add color to system JSON representation 2021-09-25 15:05:42 -04:00
spiral
c472a7f6df
lint/fixes, add group patch validation 2021-09-22 13:48:34 -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
spiral
dec228d5bd
feat: add limit reach warning to pk;group new 2021-09-13 02:46:40 -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
spiral
603123777d
add limits to switch members and proxy tag length 2021-08-25 13:42:08 -04:00
spiral
0d583a2a6b
fix: fetch guild settings for server tag in system card 2021-08-25 12:30:42 -04:00
Ske
83212b4bb2 Don't override maximum pool size from connection string 2021-08-24 11:22:41 +02:00
spiral
50776980e5
fix: use correct git commit abbrev 2021-08-08 16:19:31 -04:00
spiral
11bd66e8d8
refactor: move JsonModelExt to PluralKit.Core (in individual model/patch files) 2021-08-08 16:10:53 -04:00
spiral
26c18d2f48
refactor: move modeltypes to own folder, move IDs to file of respective type 2021-08-08 16:10:51 -04:00
Ske
4c17ee3d89 Fix proxying in channels without message history + reduce proxy latency 2021-08-08 21:56:24 +02:00
Ske
ffe7400539 Fix system tags defaulting to off on servers with no per-guild settings 2021-08-08 15:28:21 +02:00
spiral
34a1470d1f
fix shard fetch order 2021-08-03 18:57:10 -04:00
spiral
9d4006b056
Add server-specific system tag 2021-08-02 17:22:06 -04:00
spiral
e144571904
Add banner (large) image 2021-08-02 13:46:12 -04:00
Ske
7681978435 Handle null avatar URLs (the other place too) 2021-08-02 12:22:28 +02:00
spiral
1cb4bc9287
Expose git version in 'pk;stats' and '/v1/meta' 2021-08-01 15:22:23 -04:00