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

353 Commits

Author SHA1 Message Date
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
The Arcane Brony
76211281ab Add response code white/blacklisting 2021-09-18 20:43:00 +02:00
AlTech98
44e7282699
Merge branch 'fosscord:master' into fix-dm 2021-09-18 18:37:06 +02:00
AlTech98
ceb770fb5b Removed ChannelService, more fixes 2021-09-18 18:36:29 +02:00
The Arcane Brony
c3fca1c02f Add request logging (with env var: log-requests)
Request logging is enabled when the log-request environment variable is set.
2021-09-18 18:13:15 +02:00
Flam3rboy
d36970e1e7
Update connections.ts 2021-09-18 16:24:42 +02:00
The Arcane Brony
a00c5030b3 Add /users/@me/connections 2021-09-18 16:11:03 +02:00
Flam3rboy
aae7e8d777 route middleware test option 2021-09-18 11:56:06 +02:00
AlTech98
2580f6b891
Merge branch 'fosscord:master' into fix-dm 2021-09-18 08:03:52 +02:00
Flam3rboy
d61013cebf jest automatic tests 2021-09-18 01:50:29 +02:00
Flam3rboy
578cc8b4b6 🎨 use typescript plugin that converts to relative paths 2021-09-18 01:50:20 +02:00
Flam3rboy
f9a3eedebd generate test responses 2021-09-18 01:49:36 +02:00
Flam3rboy
96c2485baf 📝 add default route description to all routes 2021-09-18 01:49:17 +02:00
Flam3rboy
24896d0c23 🐛 fix guild create icon 2021-09-18 00:19:53 +02:00
Flam3rboy
c20f4b4ef5 🐛 fix body parse treating null not as undefined (except for icons/avatars) 2021-09-17 23:42:40 +02:00
AlTech98
6123f359b0 Fix icon, owner_id change and channel deletion for group DMs 2021-09-17 18:29:02 +02:00
AlTech98
987f765a28
Merge branch 'fosscord:master' into fix-dm 2021-09-17 18:13:02 +02:00
AlTech98
7cbb45f979 Fix GET /users/@me/channels 2021-09-17 13:59:21 +02:00
Flam3rboy
dbcd6ec6f9 🐛 fix vanity url 2021-09-16 22:03:30 +02:00
AlTech98
4f87fd742f Implemented DMs and group DMs 2021-09-16 21:33:36 +02:00
AlTech98
e65e45d01d Dummy sticker-packs routes 2021-09-16 21:31:39 +02:00
Flam3rboy
e575c42644 ⬆️ update package 2021-09-16 20:55:50 +02:00
Flam3rboy
55051d6cab Revert "fix #128"
This reverts commit a359375b77.
2021-09-16 20:49:17 +02:00
Flam3rboy
bc89d40d09 Revert "fix #129"
This reverts commit ae140801c5.
2021-09-16 20:49:12 +02:00
Flam3rboy
1cd4b81917 Revert "🚧 webhook"
This reverts commit f691aa4c5a.
2021-09-16 20:49:07 +02:00
Flam3rboy
fe8d9ca740 ⬆️ fix + update dependencies 2021-09-16 20:46:22 +02:00
Flam3rboy
f691aa4c5a 🚧 webhook 2021-09-14 22:15:55 +02:00
Flam3rboy
ae140801c5 fix #129 2021-09-14 21:16:15 +02:00
Flam3rboy
a359375b77 fix #128 2021-09-14 21:16:04 +02:00
Flam3rboy
6c11224f69 Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-14 13:18:32 +02:00
Flam3rboy
a8943553f9
Merge pull request #360 from AlTech98/invite
Invite fixes
2021-09-14 13:13:50 +02:00
AlTech98
b5f2111d20 Emit INVITE_DELETE 2021-09-14 09:38:52 +02:00
AlTech98
c32bdf7526 Fix invites creation 2021-09-14 09:38:21 +02:00
uurgothat
662c78aae1 add store endpoints 2021-09-13 21:22:14 +03:00
AlTech98
5589c26b94 Fix #356 2021-09-13 19:25:44 +02:00
Flam3rboy
ad5ec039af
Update index.ts 2021-09-13 19:12:19 +02:00
AlTech98
5c13d6f1ef Emit USER_UPDATE, fix #214 2021-09-13 19:09:01 +02:00
Flam3rboy
324eb7f1dd 🐛 fix fosscord.js 2021-09-13 17:51:37 +02:00
Flam3rboy
0ddca07df0 🎨 remove unused imports 2021-09-13 17:51:16 +02:00
AlTech98
b438a21b9c Delete attachments of deleted messages, fix #273 2021-09-13 17:32:31 +02:00
Flam3rboy
9429c5c09a 🐛 fix In() query 2021-09-13 12:22:59 +02:00
Flam3rboy
dbbed7cbba 🐛 fix relationship 2021-09-13 12:22:41 +02:00
Flam3rboy
07ba78d391 🐛 fix dm #321 2021-09-13 01:11:03 +02:00
Flam3rboy
9c3d9df05b 🐛 fix invites: ajv doesn't treat null as undefined 2021-09-13 00:00:11 +02:00
Flam3rboy
f93bd1fd67 Merge branch 'typescript-interface-body-parser+autogenerate-unit-tests+documentation' 2021-09-12 23:32:55 +02:00
Flam3rboy
0b5534bc41 #307 done 2021-09-12 23:28:56 +02:00
Flam3rboy
bffeb4af0d 🚧 new body parser (bans route) 2021-09-12 21:21:08 +02:00
Flam3rboy
d50073fc41 🎨 remove long relatives paths -> short module paths 2021-09-12 21:09:29 +02:00
AlTech98
f8932097b4 Add dummy missing routes 2021-09-12 19:27:29 +02:00
AlTech98
82235d10b7 Fix relationships get query 2021-09-09 18:32:36 +02:00
Stilic
6c5e3ee230
Fix upload size 2021-09-08 13:34:37 +02:00
Cyber
dc2a3d9984 Add token authorization method to swagger openapi 2021-09-04 23:21:14 +02:00
Flam3rboy
f6f550f10a ⬆️ update test client 2021-09-04 17:59:29 +02:00
Flam3rboy
5849d5de6a 🐛 fix release 2021-09-04 17:39:03 +02:00
AlTech98
58fb2d8a91 Added /guilds/:id/voice-states apis 2021-09-04 11:46:46 +02:00
AlTech98
aafdc5d0ee Added missing permissions and channel types 2021-09-04 11:43:09 +02:00
Flam3rboy
68b3bbe579 🐛 fix patch-package 2021-09-04 11:32:11 +02:00
Flam3rboy
2e9f36b66a Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-04 11:26:47 +02:00
Flam3rboy
5c9af09e85 🐛 api member add roles -> make sure that roles exist 2021-09-04 11:26:25 +02:00
Flam3rboy
e7e3f6ef08 🐛 fix invites 2021-09-04 11:25:10 +02:00
Flam3rboy
14628d80ba 🐛 fix permissions if user is only member of guild 2021-09-04 11:24:31 +02:00
Flam3rboy
8e025ce57c ⬆️ update mpath because of a security vulnerability 2021-09-04 11:23:39 +02:00
Flam3rboy
6e9d4ed6a0 🐛 fix error handler and asset router 2021-09-04 11:23:12 +02:00
xnacly
3aa1fa09de fixed /discoverable-guilds 2021-09-03 23:31:56 +02:00
xnacly
7beee19906 added first draft of /discoverable-guilds 2021-09-03 21:40:44 +02:00
xnacly
3aaf4c8a57 Revert "added big todo list to Guild.ts (big chungus)"
This reverts commit 4a63e1560c.
2021-09-03 21:36:19 +02:00
xnacly
4a63e1560c added big todo list to Guild.ts (big chungus) 2021-09-03 21:33:44 +02:00
xnacly
78f348ea0b replace '@me' with req.user_id in guild join 2021-09-03 21:33:25 +02:00
xnacly
879587d62b moved Constants and Errorhandler from api to util 2021-09-03 21:29:17 +02:00
xnacly
61ee5245e2 added template for future routes 2021-09-03 21:28:07 +02:00
xnacly
49fffa7518 Merge branch 'master' of https://github.com/fosscord/fosscord-server 2021-09-03 20:00:21 +02:00
xnacly
9e1aac7471 fixed 'undefined not found' + error not showing in client 2021-09-03 20:00:19 +02:00
Flam3rboy
ebd0537c5c improve invite generation 2021-09-03 15:48:24 +02:00
Flam3rboy
c944babc96 🐛 fix #311 2021-09-03 15:27:00 +02:00
Flam3rboy
4484c75ee2 🐛 fix member roles + list 2021-09-03 13:23:20 +02:00
Flam3rboy
5b39b11e5f guild position update 2021-09-03 05:03:11 +02:00