Commit Graph

2703 Commits

Author SHA1 Message Date
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
Ske
071e8b0791 Disable sending internal error messages for now 2021-10-13 23:30:47 +02: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
Spectralitree
42331f7334 ACTUALLY fix the dark mode 2021-10-03 19:24:30 +02:00
Spectralitree
6f6a69c6de fix the darkmode AGAIN 2021-10-03 19:17:46 +02:00
Spectralitree
8aecb235e9 make proxy editing fields bigger and stuff 2021-10-03 19:13:08 +02:00
Spectralitree
54118031a6 somewhat better error handling 2021-10-03 19:11:21 +02:00
Spectralitree
884f600d3e fix the dark mode so it shows up on popups 2021-10-03 19:10:57 +02: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
Spectralitree
283bd5f8fb accept newlines in pronoun fields 2021-10-03 17:30:55 +02:00
Spectralitree
de88adfec6 make proxy editing field larger (again) 2021-10-03 16:53:27 +02:00
Spectralitree
7788a95ebd yarn file stuff idk 2021-10-03 16:40:33 +02:00
Spectralitree
af8b913ca8 yeet react-twemoji and use-dark-mode 2021-10-03 16:40:25 +02:00
Spectralitree
4968635298 make proxy fields larger 2021-10-03 15:52:44 +02: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