spiral
9fece5dbf5
feat: add documentation for /v2/messages/{message} endpoint
2021-10-30 19:51:50 -04:00
spiral
3e2441cf3a
feat: add 'pk;s <id> avatar' command
2021-10-30 19:02:21 -04:00
spiral
7c9a375393
feat: temporarily add warning message about pre-release apiv2 docs
2021-10-30 18:50:19 -04:00
spiral
d9da50c189
feat: throw exception
2021-10-30 18:49:36 -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
93eef82a83
refactor(apiv2): fix nonsense behaviour with error objects/arrays
2021-10-29 20:06:09 -04:00
spiral
f897ce5a45
fix: re-enable error messages for explicit commands
2021-10-29 17:34:28 -04:00
spiral
9a34834ca9
Merge branch 'main' of ssh://github.com/xSke/pluralkit into main
2021-10-29 13:29:23 -04:00
spiral
be5bf0cfb7
feat: misc pk;log channel changes
...
- show currently set log channel if no arguments are present
- throw error if someone tries to set the log channel to an invalid channel type
- throw error if bot is missing permissions to log in the new channel
2021-10-29 13:28:27 -04:00
spiral
13fa78987c
fix: accept channel ID in MatchChannel
2021-10-29 13:04:41 -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
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
611fc65a99
fix(apiv2): don't erroneously expose helper methods as endpoints
...
asp.net why
2021-10-15 04:29:04 -04:00
spiral
362770eef0
feat: add privacy policy note for analytics
2021-10-15 03:30:58 -04:00
spiral
bb116804b6
feat: move to Plausible Analytics
2021-10-15 03:28:29 -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
spiral
2d72fd6aa1
fix(apiv2): don't ISE on invalid entity references
2021-10-12 08:10:20 -04:00
spiral
0aefafb62d
feat(apiv2): delete endpoints
2021-10-12 06:41:38 -04:00
spiral
c164fad2ac
fix(apiv2): correctly apply privacy settings on switch get
2021-10-12 06:18:54 -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
655d0d6c44
fix: add missing await
2021-10-06 19:49:11 -04:00
spiral
92c1b4de56
feat: add reaction checkmark on command message delete in DMs
2021-10-06 19:46:49 -04:00
spiral
ecce906c99
fix: add missing await
2021-10-05 03:17:51 -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
0dd20c64ce
feat: update lock files
2021-10-03 05:34:33 -04:00
spiral
a546ebc888
fix: check correct length for fronthistory embed
2021-10-03 04:34:26 -04:00
spiral
57722e035b
feat(apiv2): group stubs, authentication middleware, /systems/:id endpoint
2021-10-01 21:50:01 -04:00
spiral
c31ea56bc9
fix Discord per-guild avatars in replies
...
because Discord changed the URL format, for some reason
2021-09-30 15:36:01 -04:00
spiral
8a88b23021
feat(apiv2): stubs
2021-09-29 22:30:20 -04:00
spiral
f785fa1204
feat: add HttpRequestException to IsOurProblem
2021-09-29 21:51:54 -04:00
spiral
92e45a07ff
refactor: add SqlKata for SQL generation, move connection handling into ModelRepository
2021-09-29 21:51:38 -04:00
spiral and GitHub
6251d29abb
fix Dockerfile ...again
2021-09-27 18:11:31 -04:00
spiral
0e563dc58f
fix Dockerfile
2021-09-27 02:17:02 -04:00
spiral
0bcd2a79d1
delete DSharpPlus nuget config
2021-09-27 01:17:13 -04:00
spiral
4a3e888f73
Merge branch 'main' of ssh://github.com/xSke/pluralkit into main
2021-09-26 23:33:46 -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
spiral
fa66fbe247
move admin check to ContextChecksExt, allow pk;debug proxy for staff in support server
2021-09-26 20:42:08 -04:00
spiral
e3fa0f3b32
fix(MatchRaw commands): don't skip matching flags when setting new value
2021-09-26 17:30:30 -04:00
spiral
d49b9f9bb7
ignore reactions added by the bot itself
2021-09-25 15:04:06 -04:00
spiral
db5fae0fb4
feat: edit messages in threads
2021-09-24 19:03:40 -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
a09f819924
re-enable FixSameName (with database fix)
2021-09-18 19:14:08 -04:00
spiral
07b12f39b0
aaaaaaa
2021-09-13 08:42:51 -04:00
spiral
78ab3f8bcd
feat: don't show an error when running raw pk;commands
2021-09-13 04:39:06 -04:00
spiral
d005358acc
feat: add channel-specific permcheck
2021-09-13 04:21:03 -04:00
spiral
9914dd719c
feat: add -raw flag to servertag
2021-09-13 03:26:24 -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
spiral
b390c8ab62
fix MatchRaw commands one more time :/
2021-09-13 02:33:34 -04:00
spiral
2973325e12
fix: don't try deleting pk;msg -delete message in DMs
2021-09-13 02:21:39 -04:00
spiral
42422f475b
feat: allow deleting *any* message in DMs
2021-09-13 02:13:36 -04:00
spiral
fc11a7b8ee
feat: raise command message retention time to 24 hours
2021-09-13 02:13:19 -04:00
spiral
13f5b63c59
feat: add last global restart time to pk;stats card
2021-09-13 01:57:51 -04:00
spiral
b3a8432039
fix: add NormalizeLineEndSpacing to pk;edit
2021-09-13 01:57:39 -04:00
spiral
a165a42046
fix MatchRaw commands *again*
2021-09-13 01:57:31 -04:00
spiral
bae883c11f
refactor: consolidate [x]TooLongErrors into StringTooLongError
2021-09-13 01:57:15 -04:00
spiral
95e0fcc36d
fix: missing returns for pk;s tag command
2021-09-06 20:07:46 -04:00
spiral
b71e97a5e9
fix: actually pass group actioned/not actioned count properly to GenerateResponse
...
I hope this works. This code is all a mess. Refactor when?
2021-09-06 19:26:47 -04:00
spiral
023d2577e5
fix: don't skip flags before MatchClear/MatchRaw
2021-09-06 19:09:43 -04:00
spiral
ae5451d901
fix: description embeds missing format $
2021-09-06 18:56:06 -04:00
spiral
4dffdb2e9a
feat(docs): document -raw flag
2021-08-27 22:31:28 -04:00
spiral
7aaa89c65c
fix: don't automatically prompt user to unlink the current account if no arguments are passed
2021-08-27 22:27:40 -04:00
spiral
2ddef25177
refactor: don't use a class for GroupAddRemoveResponse; fix tests
2021-08-27 19:18:59 -04:00
spiral
ac2671452d
run dotnet format
2021-08-27 11:03:47 -04:00
spiral
05989242f9
CI: run Docker build only on main repository
2021-08-26 12:05:27 -04:00
spiral
8e02bb294a
CI: build/test separately
2021-08-26 12:03:19 -04:00
spiral
9e4f5d8e40
fix strings for group rename
2021-08-26 11:54:28 -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
f912805ecc
feat: make group member add/remove response code less confusing; add tests
2021-08-25 19:51:33 -04:00
spiral
82544cf9ce
tweak: don't expose hidden channel count in pk;permcheck
2021-08-25 15:58:55 -04:00
spiral
b46561cb0a
refactor: move some commands out of Misc
2021-08-25 14:36:13 -04:00
spiral
603123777d
add limits to switch members and proxy tag length
2021-08-25 13:42:08 -04:00
spiral
52efb3c70a
fix: don't check for useless permission when deleting command messages
...
this allows for deleting command messages in DMs, where the bot does not have manage messages permissions
and just in general in channels where it doesn't have those permissions as well
2021-08-25 12:43:33 -04:00
spiral
87676c2045
fix: show correct command suggestion to edit server tag
2021-08-25 12:33:24 -04:00
spiral
0d583a2a6b
fix: fetch guild settings for server tag in system card
2021-08-25 12:30:42 -04:00
spiral
55c56c4e58
oops, actually check guild permissions as well in channel EveryonePermissions
2021-08-15 01:04:04 -04:00
spiral
4c97a9daf6
hopefully a fix for #384
2021-08-15 00:50:31 -04:00
spiral
4761804082
add channel-specific EveryonePermissions
2021-08-15 00:38:37 -04:00
spiral
8f15065507
fix: don't check file size for banners
2021-08-08 17:44:30 -04:00