Commit Graph

1656 Commits

Author SHA1 Message Date
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
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
dependabot[bot]
8809320d81
build(deps): bump url-parse from 1.5.1 to 1.5.3 in /docs (#393)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-26 22:00:17 -04:00
dependabot[bot]
a146079a01
build(deps): bump prismjs from 1.24.1 to 1.25.0 in /docs (#392)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.24.1 to 1.25.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.24.1...v1.25.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-26 20:54:34 -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
Fiona
94f4f970ea
Fix <text> brackets also matching markdown 2021-09-26 20:23:59 -04:00
BeautifulPixel
7d60b3e7cf
Add switch editing functionality 2021-09-26 20:08:38 -04:00
spiral
e3fa0f3b32
fix(MatchRaw commands): don't skip matching flags when setting new value 2021-09-26 17:30:30 -04:00
Grey Himmel
65b4f0e370
Add color to system JSON representation 2021-09-25 15:05:42 -04:00
spiral
d49b9f9bb7
ignore reactions added by the bot itself 2021-09-25 15:04:06 -04:00
Ske
8aa448c475 Fix executing some commands without defs 2021-09-25 20:24:16 +02:00
Ske
b6fc86d427 Collect command runtime metrics 2021-09-25 20:15:24 +02: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