Commit Graph

71 Commits

Author SHA1 Message Date
spiral dbe040f852 feat(apiv2): database changes 2021-09-26 23:18:17 -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 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 0d583a2a6b fix: fetch guild settings for server tag in system card 2021-08-25 12:30:42 -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
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
spiral dcc15dc847 Move mediaproxy URL rewriting to ProxyService
This shows full size avatars in API / cards.

Also, rewrite URLs currently stored with media.discordapp.net "back" to
cdn.discordapp.com before sending them to users.
2021-08-01 12:51:54 -04:00
spiral c2b6e0eeed Add groups to pk;admin 2021-07-08 10:04:05 -04:00
Ske ae9ed0f4ee Store stard status in the database 2021-06-10 12:52:47 +02:00
Ske 8740230c3d Add a few utility admin commands
Signed-off-by: Ske <voltasalt@gmail.com>
2021-06-08 19:37:44 +02:00
spiral b34ed5c4c0 API patch improvements
- add PatchObject.CheckIsValid
- use transaction when creating member, as to not create a member if the
patch is invalid
- return edited system in `PATCH /s` endpoint
2021-04-21 22:57:19 +01:00
Spectralitree 3603d52e9e Add group and system colors 2021-03-28 12:02:41 +02:00
spiral f4ae35f9b8 Don't export IsEmpty in proxy tags 2021-01-13 21:10:51 +00:00
Ske db4e41a232 Convert autoproxy timeout to use seconds 2020-12-08 12:57:17 +01:00
spiral 8e5fb6520b Add configurable autoproxy latch timeout 2020-11-22 09:42:40 -05:00
spiral 37294b68da Add disabling autoproxy per-account 2020-11-22 09:42:40 -05:00
spiral 41247c68a6 Add disabling front/latch autoproxy per-member 2020-11-22 09:42:40 -05:00
Ske 1fda6ec919 Add per-system member/group limit override 2020-10-09 12:18:29 +02:00
Ske c7612df37e Major database refactor (again) 2020-08-29 13:46:27 +02:00
Ske a2128da2a1 Fix some ordering 2020-08-28 11:41:41 +02:00
Ske 9955dc29f9 Add Elastic-bound logging of (almost) all database update events 2020-08-27 21:28:36 +02:00
Ske 8688f4d0bf Merge branch 'main' into feature/groups 2020-08-21 18:31:49 +02:00
Ske 10c01da39b Couple more slight tweaks :) 2020-08-21 17:08:49 +02:00
Ske 1bb5d203df Various additional tweaks/additions to groups 2020-08-20 21:43:17 +02:00
Ske 9e251352c7 Various fixes and improvements 2020-08-16 12:10:54 +02:00
Ske cedb050b8a Add group delete command 2020-08-08 14:56:34 +02:00
Ske a0fc9d3826 Move some extension methods into their respective class files 2020-08-05 20:24:51 +02:00
Ske 5e28e0aba1 Add group privacy command/structures 2020-07-28 19:17:01 +02:00
Ske f47d366c8d Show member groups on member card 2020-07-28 19:17:01 +02:00
Ske ec9ee5c794 Show member count on group card 2020-07-28 19:17:01 +02:00
Ske 9d5be07f0c Add group icon and privacy to the database schema 2020-07-28 19:17:01 +02:00
Ske 0f4c40b344 Add group add/remove commands 2020-07-28 19:17:00 +02:00
Ske 6c5cb8cea7 Add group name/description/list commands 2020-07-28 19:17:00 +02:00
Ske 253ae43c7f Add super basic group model/command 2020-07-28 19:17:00 +02:00
Ske 9f523b3c5f Refactor system/member privacy commands 2020-07-08 00:47:16 +02:00
Ske 9424e50187 Re-add private setters for member class 2020-07-03 11:25:05 +02:00
Ske 0598c53f62 Migrate guild objects to the patch system 2020-06-29 15:20:28 +02:00
Ske 467ce78522 Retire more IDataStore methods 2020-06-29 14:54:11 +02:00
Ske 9c1efc7886 Move system updates to the same patch system as members 2020-06-29 14:39:19 +02:00
Ske c5697b33e2 Finally retire the PKMember setters! 2020-06-29 14:15:30 +02:00
Ske 281b669391 Refactor member updates to use a patch object 2020-06-29 13:57:48 +02:00
Ske 178e256583 Fix system guild settings model mismatch 2020-06-24 16:52:49 +02:00
Ske 4ac6465648 Fix system guild helper method (again?) 2020-06-24 14:02:47 +02:00
Ske dcffbef805 Migrate to more privacy helper extensions 2020-06-21 15:51:08 +02:00
Ske a31782864d Fix message count and created not being mapped properly
This weirdly only happens when going through ListedMember, perhaps the inheritance is making it so Dapper doesn't detect the backing field or soemthing... Adding a setter to the autoproperty makes things work, though.
2020-06-21 14:52:39 +02:00