1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-06 19:02:33 +01:00
Commit Graph

428 Commits

Author SHA1 Message Date
Flam3rboy
f6b00d2fcd vertically scale bundle 2021-10-18 17:38:31 +02:00
Flam3rboy
1f2822597b Revert "fix: make API dockerfile use correct setup steps"
This reverts commit da7a87d391.
2021-10-18 14:36:57 +02:00
Samuel
046692b294
fix default cdn endpoint for message attachments 2021-10-18 11:02:08 +02:00
Diego Magdaleno
413d9d5060
Merge branch 'docker-fix' of https://github.com/hbjydev/fosscord-server into hbjydev-docker-fix 2021-10-17 16:51:17 -05:00
Kuna
4a6ecd0b15
remove template comment 2021-10-17 21:54:59 +03:00
uurgothat
be164e7d2a oauth2 route draft to return an empty array 2021-10-17 21:51:19 +03:00
Flam3rboy
5828be4e35 🐛 fix docker image 2021-10-17 02:12:10 +02:00
Flam3rboy
41e49be9b3 🐛 fix typing 2021-10-17 01:53:29 +02:00
Flam3rboy
5249e923a0 🎨 reformatted 2021-10-17 00:41:24 +02:00
Flam3rboy
841f1d6d2a 🎨 clean up instances on start 2021-10-17 00:41:21 +02:00
Flam3rboy
15fbb134cf 🐛 user settings 2021-10-17 00:41:06 +02:00
Flam3rboy
395835a937 ⬆️ update mnjsf 2021-10-16 21:48:57 +02:00
Chris Chrome
d618803770
Fix /gateway/bot
https://canary.discord.com/channels/806142446094385153/806142446529806367/898928295771521125
2021-10-16 09:43:21 -04:00
Flam3rboy
135eb11485 🔒 update modules 2021-10-15 23:51:31 +02:00
Flam3rboy
47d3d0e3fa 🔒 update set-value & tar 2021-10-15 23:43:40 +02:00
Flam3rboy
618b5e6509 🐛 fix message sending 2021-10-15 18:55:26 +02:00
Samuel
1bbf789a7e
Merge pull request #455 from fosscord/sticker
Stickers
2021-10-15 18:39:57 +02:00
Flam3rboy
a64f79afda sticker events 2021-10-15 18:39:28 +02:00
Hayden Young
22f185b1f5 fix: update source paths 2021-10-15 14:01:52 +00:00
Samuel
a5811c1c09
Merge pull request #462 from hbjydev/unit-tests-expanded
Add unit tests for Gateway endpoints
2021-10-15 15:53:15 +02:00
Hayden Young
da7a87d391 fix: make API dockerfile use correct setup steps 2021-10-15 13:49:55 +00:00
Hayden Young
f474364f33 feat: add a Router & Route snippet for vscode 2021-10-15 13:11:35 +00:00
Flam3rboy
9e2553c3a1 Merge branch 'master' into sticker 2021-10-15 13:32:26 +02:00
Hayden Young
125f91632f feat: add tests to gateway routes, split into own routers 2021-10-15 11:05:51 +00:00
Hayden Young
5ccff54e4d chore(merge): remote -> local 2021-10-15 11:03:23 +00:00
Flam3rboy
edbd299777 🐛 fix unittests 2021-10-15 13:00:23 +02:00
Samuel
04dafa704d
Merge pull request #460 from fosscord/dev
merge dev in master
2021-10-15 00:49:33 +02:00
Flam3rboy
0924f73a89 🎨 exclude healthz/readyz from auth 2021-10-15 00:46:09 +02:00
Flam3rboy
288eeab6bb Merge branch 'master' into pr/hbjydev/454 2021-10-15 00:44:19 +02:00
Samuel
d1c0753bc0
Merge pull request #448 from Mr2u/master
Route #10 Prune and prune count
2021-10-15 00:35:32 +02:00
Flam3rboy
0994b47a67 🐛 fix prune 2021-10-15 00:35:18 +02:00
Flam3rboy
f38f79b70c speed up message query 2021-10-15 00:35:01 +02:00
Flam3rboy
88425f87ec 🎨 reformat 2021-10-15 00:03:35 +02:00
Flam3rboy
c1d786b6e1 🐛 fix sticker packs 2021-10-15 00:03:19 +02:00
Flam3rboy
0ccc478c54 🐛 fix message sticker sending 2021-10-15 00:03:05 +02:00
Flam3rboy
d2df6f99be sticker upload 2021-10-15 00:02:23 +02:00
Flam3rboy
d4b6840fae 🎨 do not automatically create default guild 2021-10-14 21:25:17 +02:00
Flam3rboy
e5ed599b48 🎨 restructure 2021-10-14 19:47:10 +02:00
Hayden Young
4009e9d2dd
feat: implement a database check on the healthz and readyz probes, remove /-/metrics 2021-10-14 18:47:05 +01:00
Flam3rboy
6cf6204d06 sticker packs 2021-10-14 19:46:53 +02:00
Flam3rboy
36a29054ec stickers 2021-10-14 19:46:45 +02:00
Hayden Young
a20279c41f
feat: initial addition of a healthz, readyz and metrics route 2021-10-14 18:27:19 +01:00
Flam3rboy
8257e2631a 🐛 fix migration + autojoin 2021-10-14 00:32:15 +02:00
Maddy
808bf0a74c added route /guilds/:id/prune GET count and POST prune.
Edited Member entity to include last_message_id to avoid searching for every members last message when pruning
When a message is sent through /channels/:id/messages last_message_id of sending Member is updated.
2021-10-13 19:19:46 +11:00
Flam3rboy
5dc22333e7
Merge pull request #430 from Thesourtimes/master
Implement GIF route
2021-10-11 16:34:45 +02:00
Flam3rboy
7053d9a8b8 🎨 gifs 2021-10-11 16:34:18 +02:00
Flam3rboy
dce8657557 🐛 fix #371 2021-10-11 15:21:11 +02:00
Flam3rboy
833dcb7c3c Merge branch 'master' into pr/Thesourtimes/430 2021-10-11 15:13:16 +02:00
Flam3rboy
3c4764fbc8 Merge branch 'master' into pr/TheArcaneBrony/434 2021-10-10 19:02:08 +02:00
Flam3rboy
aa25dac99f 🐛 fix modify role.permissions 2021-10-10 19:00:50 +02:00
Flam3rboy
a54711f4ae 🐛 fix vanity url 2021-10-10 18:28:38 +02:00
The Arcane Brony
79aee5145b Fix duplicate key 2021-10-10 17:55:48 +02:00
Flam3rboy
29497bd4d3 🐛 fix emojis route 2021-10-10 14:10:27 +02:00
Flam3rboy
92de98c487 Merge branch 'master' into pr/LoboMetalurgico/424 2021-10-10 12:50:45 +02:00
Flam3rboy
3b4e026ead 🐛 fix tsc compiler 2021-10-10 12:35:46 +02:00
Flam3rboy
57c9813f2f 🐛 convert bigint literal to object 2021-10-10 11:08:55 +02:00
Flam3rboy
74bd98737a 🎨 clean up imports + classes 2021-10-10 11:03:32 +02:00
Flam3rboy
ce4e751292 🎨 clean up dependencies 2021-10-10 11:03:04 +02:00
Lobo Metalúrgico
a801dfc478
Merge branch 'fosscord:master' into milestoneV1/routes/implement/emojis 2021-10-09 23:44:59 -03:00
xnacly
efdb39cf14 random guest username generation added 2021-10-09 22:49:29 +02:00
Lobo Metalúrgico
bfd7445978
(api): fix some issues 2021-10-09 13:50:34 -03:00
Flam3rboy
b278f7a207 🐛 rewrite locale en to en-US 2021-10-09 18:07:01 +02:00
Flam3rboy
da030aaff2 added read state 2021-10-09 17:33:28 +02:00
uurgothat
2807628377 Implement GIFs 2021-10-09 18:23:16 +03:00
Lobo Metalúrgico
4e684e2cd4
(api): implement post on emoji route 2021-10-09 11:36:58 -03:00
Lobo Metalúrgico
8d5911736a
(api): add patch to emoji route 2021-10-09 10:52:43 -03:00
Lobo Metalúrgico
3a5c511f1b
Merge remote-tracking branch 'upstream/master' into milestoneV1/routes/implement/emojis 2021-10-09 10:39:26 -03:00
Flam3rboy
6b44a7ada1 🎨 cdn now also works without setting a public endpoint 2021-10-09 14:46:59 +02:00
Flam3rboy
de681188e5 🐛 fix typing 2021-10-09 14:00:28 +02:00
Flam3rboy
7e335fa266 🎨 do not auto guest register on login/register page 2021-10-09 13:04:46 +02:00
Flam3rboy
976a8e094b 🐛 fix claim account 2021-10-09 13:04:27 +02:00
Flam3rboy
d1844b65d1 added guestsRequireInvite to config 2021-10-09 12:54:03 +02:00
Flam3rboy
0fd47815eb 🐛 fix password changing 2021-10-09 12:53:52 +02:00
Lobo Metalúrgico
23827dfc77
(api): fix route name 2021-10-08 23:49:45 -03:00
Lobo Metalúrgico
90af904661
(api): inital emojis route implementation 2021-10-08 23:45:12 -03:00
Flam3rboy
9fa4c607fc 🎨 fix imports with new build script 2021-10-09 01:45:02 +02:00
Flam3rboy
d842478d06 🐛 fix build 2021-10-09 01:44:44 +02:00
Flam3rboy
b44f356d9e bundle build script 2021-10-08 10:43:43 +02:00
Flam3rboy
c6bc68c4aa Merge branch 'compiler-change' of https://github.com/thearcanebrony/fosscord-server into pr/TheArcaneBrony/418-1 2021-10-07 18:22:15 +02:00
Flam3rboy
1bef11aaaa 🐛 fix swc config 2021-10-07 18:21:17 +02:00
Flam3rboy
650ba3d0ae 🐛 fix types + swcrc configs 2021-10-07 18:20:03 +02:00
Flam3rboy
95bb148cfa 🐛 fix swcrc config: rewrite import -> require 2021-10-07 09:59:04 +02:00
The Arcane Brony
72af8dc719 Compiler test 2021-10-06 18:20:22 +02:00
Flam3rboy
977a963778 ⬆️ update packages 2021-10-06 17:39:32 +02:00
Flam3rboy
627ba5373b ⬆️ lambert-server@1.2.11 2021-10-05 20:47:12 +02:00
Flam3rboy
34a86b616e 🐛 fix set user settings 2021-10-05 20:18:14 +02:00
Flam3rboy
c3551d9254 🐛 fix user projection 2021-10-05 19:52:42 +02:00
Flam3rboy
72299d722b 🎨 reformatted 2021-10-05 19:37:54 +02:00
Flam3rboy
9b34eba268 🐛 fix client locale 2021-10-05 19:37:35 +02:00
Flam3rboy
b9391bfac1 added autoJoin guild to config 2021-10-05 19:37:20 +02:00
Flam3rboy
1492751d58 🎨 move field error to util 2021-10-05 19:34:13 +02:00
Flam3rboy
8b56eb5fbc add User.register() method 2021-10-05 19:33:23 +02:00
Flam3rboy
1fad621347 ⬆️ update mnjsf 2021-10-05 19:32:42 +02:00
Flam3rboy
334a357c6d 🐛 fix guild create with client template 2021-10-05 17:00:43 +02:00
Flam3rboy
09f60cce69 auto register guest account 2021-10-05 16:37:30 +02:00
Flam3rboy
0914f424ce generalize primary column to work with mongodb object id 2021-10-04 22:43:51 +02:00
Flam3rboy
57af4224fd Merge branch 'master' of http://github.com/fosscord/fosscord-server 2021-10-04 22:06:17 +02:00
Flam3rboy
a6adbe9142 ⬆️ update dependencies 2021-10-04 22:01:05 +02:00
Flam3rboy
e563aa25b4 🚧 different db engines 2021-10-04 21:57:24 +02:00
Flam3rboy
7fd48bada5
Merge pull request #412 from TheArcaneBrony/master
Add subscription plans so the client doesn't crash
2021-10-03 23:32:28 +02:00
Flam3rboy
844911b9ee 🚚 rename id -> sku_id 2021-10-03 23:32:10 +02:00
The Arcane Brony
5116dcf2e8 Add subscription plans so the client doesn't crash 2021-10-03 23:17:34 +02:00
Flam3rboy
48c1a15568 🐛 fix message reactions 2021-10-03 22:53:01 +02:00
afeuerstein
c745c765e0 fix request failiure with error code 400 2021-10-03 20:06:03 +02:00
Flam3rboy
45b9800b5d 🐛 fix registration 2021-10-03 01:59:38 +02:00
Flam3rboy
5a45606411 add `right` option to route() 2021-10-03 01:55:57 +02:00
Flam3rboy
7bd0a2004c 🎨 restructure gateway 2021-10-02 15:12:47 +02:00
The Arcane Brony
20920071a9 Merge branch 'master' of https://github.com/TheArcaneBrony/fosscord-server 2021-10-01 22:44:58 +02:00
The Arcane Brony
c772816fd9 Add default value to guild discovery" 2021-10-01 22:43:58 +02:00
TheArcaneBrony
cf56853f8a
Merge branch 'fosscord:master' into master 2021-10-01 22:12:43 +02:00
The Arcane Brony
f3dcab6b54 Add setting to show all guilds in discovery, fix query for guild discovery 2021-10-01 22:11:56 +02:00
Flam3rboy
8299b874a4 🐛 fix schema + user modify not working 2021-10-01 21:30:36 +02:00
Flam3rboy
966fec2953 registration disabled notice 2021-10-01 20:11:05 +02:00
uurgothat
7ae37c5371 hotfix for misc routes 2021-09-30 18:57:53 +03:00
uurgothat
9e07c72a72 Add misc routes 2021-09-30 17:57:51 +03:00
uurgothat
c2d9971e14 store improvements 2021-09-29 17:28:13 +03:00
Flam3rboy
d0f5790235 🐛 fix channel permission overwrites 2021-09-26 11:34:06 +02:00
Flam3rboy
286b4a69fd add private and public endpoint 2021-09-25 23:55:19 +02:00
Flam3rboy
202a8bd187 🐛 message attachment url 2021-09-25 23:54:52 +02:00
Flam3rboy
a83c9fe510 🐛 fix #392 2021-09-25 04:20:35 +02:00
Flam3rboy
6229398316 🐛 fix guild template create 2021-09-25 04:20:11 +02:00
Flam3rboy
50214a8e48 🎨 sort openapi tags by alphabet 2021-09-23 19:36:35 +02:00
Flam3rboy
a2a31b9485 🐛 fix install script 2021-09-23 16:30:28 +02:00
Flam3rboy
053fa4b499 🐛 fix (pre) install scripts 2021-09-23 16:03:50 +02:00
Flam3rboy
5df60344fd example value in documentation 2021-09-21 23:29:17 +02:00
Flam3rboy
b3f8df560a unit tests expect event 2021-09-21 23:13:31 +02:00
Flam3rboy
abdce76df4 generate openapi documentation 2021-09-21 22:52:30 +02:00
Flam3rboy
ecc7683c02 🐛 fix unittests 2021-09-20 23:35:37 +02:00
Flam3rboy
022e82023d add option to disable all rate limits 2021-09-20 23:35:32 +02:00
Flam3rboy
40ae2d6267 🐛 fix errror handler 2021-09-20 23:35:04 +02:00
Flam3rboy
cdbb54bb3c 🎨 rewrite imports 2021-09-20 23:34:54 +02:00
Flam3rboy
5cec6e43d4 Merge branch 'master' into unittests 2021-09-20 21:49:42 +02:00
Flam3rboy
28abad49cd 🐛 fix relationships 2021-09-20 21:34:33 +02:00
Flam3rboy
8af0094d8e
Merge pull request #382 from fosscord/auto-delete-relations
Auto delete relations
2021-09-20 21:27:08 +02:00
Flam3rboy
576cbf5794 🐛 fix .delete -> add onDelete: "CASCADE" 2021-09-20 20:22:56 +02:00
Flam3rboy
d44983b794
Update index.ts 2021-09-20 18:33:33 +02:00
Chris Chrome
2102db2e7c
oRdEr Of OpErAtIoNs 2021-09-20 12:16:17 -04:00
Chris Chrome
fe49c419f5
Merge remote-tracking branch 'origin/master' 2021-09-20 11:45:13 -04:00
Flam3rboy
269bbdfeae accept invite page 2021-09-20 17:38:16 +02:00
Chris Chrome
cb83f11ca4
Fix one thing, another problem pops up
Co-authored-by: TheArcaneBrony <myrainbowdash949@gmail.com>
2021-09-20 11:29:37 -04:00
Flam3rboy
ee6cc64b36 ⬆️ update test client 2021-09-20 17:15:47 +02:00
Flam3rboy
e22ea77625 🚧 auto delete relations 2021-09-20 17:11:22 +02:00
Chris Chrome
494f69eeb4
Delete messages before deleting channel
Might need some testing, but seems pretty solid for one line of code lol
2021-09-20 08:58:06 -04:00
Flam3rboy
ffe179758e Merge branch 'master' into auto-delete-relations 2021-09-19 19:09:13 +02:00
Flam3rboy
0272056c5c Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-19 18:59:54 +02:00
Flam3rboy
313696d237 🎨 remove deleteMessageAttachments and move to entity 2021-09-19 18:46:22 +02:00
Flam3rboy
f8b1d93e3f 🚚 move handleFile to cdn 2021-09-19 18:44:49 +02:00
Flam3rboy
a87ea83a78 🎨 user is verified by default 2021-09-19 18:43:25 +02:00
The Arcane Brony
74e3a093a7 Fix environment variable name to work on non-Windows platforms 2021-09-18 21:03:23 +02:00
Flam3rboy
3269f62d62
Merge pull request #375 from TheArcaneBrony/request-logging
Add request logging (with env var: log-requests)
2021-09-18 20:45:30 +02:00