Commit Graph
78 Commits
Author SHA1 Message Date
TomatoCake 339b947a8d Exclude more internal schemas 2024-08-21 18:50:31 +02:00
TomatoCake abf91d974f "fix" nix dep hashes.json 2024-08-18 19:43:35 +02:00
TomatoCake 0cb0b9d2fe update deps so nix hashes.json is correct? 2024-08-18 19:16:16 +02:00
TomatoCake e24297b67c Merge branch 'master' of https://github.com/DEVTomatoCake/spacebar-server into feat/local-image-proxy 2024-08-18 19:00:43 +02:00
TomatoCake e2d3cff264 update nix cache/deps/flake 2024-08-18 18:59:09 +02:00
TomatoCake c505db0723 Fix widget.png guild icon loading 2024-08-18 13:28:24 +02:00
TomatoCake 917f394cc5 Consistent widget disabled error 2024-08-18 12:05:50 +02:00
TomatoCake b5c29c9edf Merge branch 'master' into fix/msg-update-pinned 2024-08-18 09:34:39 +02:00
TomatoCake db38e3e3ed Send "pinned" as "true" in pins update event 2024-08-18 09:31:54 +02:00
TomatoCake 1fe85d8be8 Merge branch 'master' into fix/not_found-request-guild-members-error 2024-08-18 06:50:42 +02:00
TomatoCakeandPuyodead1 e0b6dd0581 Fix bug & handle 75k/large_threshold in opcode 8
Also fixes a bug that only allowed "guild_id" and "user_ids" to be an Array instead of also a String

Co-Authored-By: Puyodead1 <puyodead@proton.me>
2024-08-18 06:45:11 +02:00
TomatoCake 95bbccb6f7 Same error message if username too long 2024-08-17 18:24:38 +02:00
TomatoCake 8e28f2539c Consistent username length requirement 2024-08-17 15:39:55 +02:00
TomatoCake 16322a8829 Merge branch 'master' of https://github.com/DEVTomatoCake/spacebar-server into feat/local-image-proxy 2024-08-15 16:00:18 +02:00
TomatoCake 475aee372b Send 204 status 2024-08-15 10:14:44 +02:00
TomatoCake 6196227ed8 Fix typo in Request Guild Members relation 2024-08-14 16:46:43 +02:00
TomatoCake 7a726e786c Add migrations for webhook source_channel_id 2024-08-14 16:22:14 +02:00
TomatoCake df794695ff Icon for discovery categories & fix "primary_only" 2024-08-13 21:43:19 +02:00
TomatoCake ea3047890b Fix issues with requesting presences 2024-08-11 06:40:42 +02:00
TomatoCake 5900d4fdac Update schema for bio max length config 2024-08-10 22:23:02 +02:00
TomatoCake 20b2843680 Make profile bio max length configurable 2024-08-10 22:10:20 +02:00
TomatoCake f8a21eff0c Fix chunk_count & not_found 2024-08-10 20:59:05 +02:00
TomatoCake 2aa7f5bfe0 opcode 8 2024-08-09 08:08:55 +02:00
TomatoCake 4ca79adcae Merge branch 'master' into feat/webhooks-3 2024-08-08 18:03:13 +02:00
TomatoCake bc3a3add2d Merge branch 'master' into fix/messages-before-param 2024-07-28 21:45:20 +02:00
TomatoCake 81c44a0c77 Fix ?before messages fetch param 2024-07-28 21:40:06 +02:00
TomatoCake c41b4f6364 prettier .-. 2024-07-28 20:50:11 +10:00
TomatoCake a887608d30 Fix msg component typings 2024-07-28 20:50:11 +10:00
TomatoCake 481cf38373 Fix sort order when using ?around 2024-07-28 15:22:44 +10:00
TomatoCake d79669f771 Merge branch 'master' into feat/local-image-proxy 2024-07-18 16:08:06 +02:00
TomatoCake 4b1e9ba851 Prettier 2024-07-18 15:36:00 +02:00
TomatoCake adc3474216 Consistent relations, url property, src channel 2024-07-18 15:35:10 +02:00
TomatoCake 873107f90d Perms for GET webhook, url property 2024-07-18 15:16:50 +02:00
TomatoCake 15a2e57b05 Prettier & fix merge util/handlers/Message 2024-07-18 14:42:22 +02:00
TomatoCake 128b81bc6a Merge branch 'master' of https://github.com/DEVTomatoCake/spacebar-server into feat/webhooks-3 2024-07-18 14:41:14 +02:00
TomatoCake 59c42c950b try manual conflict resolving 2024-07-18 13:31:04 +02:00
TomatoCake 6be3714593 Fix ESLint & prettier 2024-07-18 12:52:00 +02:00
TomatoCake e7a98b6c46 webhook fixes & username/avatar property for msg 2024-07-18 12:42:07 +02:00
TomatoCake d3ece937e6 Make channel ID optional when replying 2024-07-17 20:34:09 +10:00
TomatoCake 2f679fda5d Support apng & webm 2024-07-17 19:55:03 +10:00
TomatoCake 0096938d36 Support proper "animated" property for emojis 2024-07-17 19:55:03 +10:00
TomatoCake c4469a53e7 Move route to api/connections 2024-07-17 19:53:31 +10:00
TomatoCake bbaef373f9 Run prettier .-. 2024-07-17 19:53:31 +10:00
TomatoCake d56ba86851 Update schema & add response type 2024-07-17 19:53:31 +10:00
TomatoCake 216b7ff31b Add /policies/instance/connections 2024-07-17 19:53:31 +10:00
TomatoCake 9b02e82614 Make poll a single object instead of an array 2024-07-09 22:58:10 +10:00
TomatoCake 4a042d0188 Merge branch 'master' into fix/cdn-proxy-path 2024-07-09 05:04:29 +02:00
TomatoCake bd66ee0349 Use front end URI instead of API 2024-07-06 17:51:52 +02:00
TomatoCake 8358755eeb Increase minimum char count 2024-07-06 16:02:21 +02:00
TomatoCake ba1ec9cab4 Fix msg attachment proxy_url when using paths 2024-07-06 15:57:56 +02:00
TomatoCake cd7641c2ae Fix loading connection settings 2024-07-06 06:47:14 +02:00
TomatoCake c52d6c49a3 Add new message flags once again 2024-07-05 07:43:50 +02:00
TomatoCake 0ac8888d41 Don't embed links in <> 2024-07-04 09:41:46 +10:00
TomatoCake 5f9c6b01a7 Send position property on guild join 2024-07-04 09:41:23 +10:00
TomatoCake 6ca12cb7fb Sort /channels for gateway consistency 2024-07-04 09:41:23 +10:00
TomatoCake e116e93693 Add <Channel>.position to public endpoints 2024-07-04 09:41:23 +10:00
TomatoCake ef13c8c814 Add "email.senderAddress" config 2024-07-04 09:40:49 +10:00
TomatoCake b7bf2a11ea Fix Postgres column type (hopefully) 2024-07-04 09:40:15 +10:00
TomatoCake 9d27a5138f Prettier -.- 2024-07-04 09:40:15 +10:00
TomatoCake 12cca1b546 Add migration for new user setting props 2024-07-04 09:40:15 +10:00
TomatoCake 0a40776bb3 Fix build by using ts-ignore 2024-06-28 13:05:03 +02:00
TomatoCake c135de9c86 Fix style + nix? 2024-06-28 12:59:13 +02:00
TomatoCake a987671e4a "Fix" jimp import typings 2024-06-28 12:43:53 +02:00
TomatoCake 628b094865 running prettier for others 2024-06-28 10:21:32 +02:00
TomatoCake 951ed00805 Merge branch 'master' into feat/local-image-proxy 2024-06-28 10:17:31 +02:00
TomatoCake 16f8a1c7ac Add config value for cache duration 2024-06-28 10:17:24 +02:00
TomatoCake c8a90a4ab4 German translations + EN PW length requirement (#1123) 2024-06-23 20:43:42 +10:00
TomatoCake af6e15b9e5 Prettier stuff -.- 2024-06-22 21:06:08 +02:00
TomatoCake 93bb891d79 Fix @ts-expect-error comment after Prettier 2024-06-22 20:50:11 +02:00
TomatoCake e90f8e88c0 Run Prettier (tabs -> spaces???) 2024-06-22 20:43:54 +02:00
TomatoCake 37bd06e142 Add local image proxy using sharp/jimp pkgs 2024-06-22 20:41:43 +02:00
TomatoCake aa412e0e60 Remove parent for childs on category deletion 2024-06-05 21:59:29 +02:00
TomatoCake b3ad525e00 Merge branch 'spacebarchat:master' into master 2024-06-05 14:24:22 +02:00
TomatoCakeandMadeline 9e1ec8a673 Ban API compat & Bulk Ban endpoint (#1120)
Co-authored-by: Madeline <46743919+MaddyUnderStars@users.noreply.github.com>
2024-06-05 15:19:30 +10:00
TomatoCake ea523d06b7 Fix lint: let -> const 2024-06-05 07:05:30 +02:00
TomatoCake 92dea0e89c Add Bulk Ban endpoint
- /:guild_id/bulk-ban endpoint
- Support multiple required permissions for endpoints (untested as I don't know where those are set)
- New API error BULK_BAN_FAILED
2024-06-05 06:27:39 +02:00
TomatoCake 631788537c API /:guild_id/bans compat
- Fix GET Ban using "ban"/"user" instead of "user_id" in params, making it unusable
- Return a processed user object instead of the raw DB one
- Silently ignore already banned users to prevent duplicate bans in the DB
- Return HTTP 204 on successful bans instead of the raw DB ban object
2024-06-05 06:01:44 +02:00
TomatoCake 41a2612fe3 Remove duplicated "border-radius" CSS property 2024-06-05 05:53:05 +02:00