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

315 Commits

Author SHA1 Message Date
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
Flam3rboy
da964c6d82 📝 drop tables script 2021-09-03 04:04:48 +02:00
Flam3rboy
e662c983b3 🐛 fix message sending 2021-09-03 04:04:34 +02:00
Flam3rboy
57bf4b0a2f ⬆️ update dependencies 2021-09-03 03:38:40 +02:00
Flam3rboy
36fe0ec0c8 🐛 fix member + member list 2021-09-03 03:37:55 +02:00
Flam3rboy
4c4bc248a5 🐛 fix entity missing an id (replace .insert with new Entity().save) 2021-09-02 21:31:44 +02:00
Flam3rboy
d29ccaf623 add user_id field to Member 2021-09-02 19:50:05 +02:00
Flam3rboy
6685047d20 🎨 update openapi title 2021-09-02 10:27:33 +02:00
Flam3rboy
7972f698c5 Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-02 00:14:34 +02:00
Flam3rboy
8e29e40ef4 ⬆️ update dependencies 2021-09-01 23:35:20 +02:00
Flam3rboy
295159fc4a 🐛 fix entity types and projection 2021-09-01 23:34:55 +02:00
Flam3rboy
0fbe9131ad generate open api schema based on body and db entities 2021-09-01 23:33:14 +02:00
xnacly
66d3d5a6c6 added /login unittest 2021-09-01 22:14:06 +02:00
xnacly
3905c51b35 see parent 2021-09-01 22:13:27 +02:00
xnacly
5175557809 fixed globalSetup for jest 2021-09-01 22:10:44 +02:00
Flam3rboy
07b49d4324
Merge pull request #301 from fosscord/feat--DiscordApiErrors
Use discord api errors and check limits
2021-09-01 11:31:59 +02:00
Flam3rboy
398e8c29ca use DiscordApiErrors and check limits 2021-09-01 11:27:52 +02:00
Flam3rboy
ee35e42153
Merge pull request #300 from fosscord/typeorm 2021-09-01 10:47:00 +02:00
Flam3rboy
ef5df63501
Merge branch 'typeorm' into typeorm 2021-08-31 18:10:36 +02:00
Flam3rboy
ff3b1b7093 Merge branch 'typeorm' of https://github.com/fosscord/fosscord-api into typeorm 2021-08-31 17:58:49 +02:00
Flam3rboy
3f66c10178 🐛 db query fixes 2021-08-31 17:58:47 +02:00
Flam3rboy
adc75ca76b channel recipients 2021-08-31 17:58:28 +02:00
Flam3rboy
e8c9bae897 Channel utility methods in entity 2021-08-31 17:57:44 +02:00
Flam3rboy
a58cc00f83 fix member roles 2021-08-31 17:57:19 +02:00
AlTech98
7fcb68f082 Created list of all possible api errors and made them throwable in routes code 2021-08-31 17:56:38 +02:00
Flam3rboy
f68b3027e3 use insert instead of save 2021-08-31 17:56:33 +02:00
Flam3rboy
5d820f3534 🐛 fix message sending 2021-08-31 17:55:23 +02:00
Flam3rboy
3def279c5a typeorm error handler 2021-08-31 17:54:57 +02:00
AlTech98
b59cbdb081 Implemented voice apis #127 and #78 2021-08-30 21:12:13 +02:00
xnacly
0c777a86f3 added first unittests for api endpoints 2021-08-30 16:23:19 +02:00
xnacly
d107c66358 added setup for jest tests 2021-08-30 16:21:54 +02:00
xnacly
503c0d7b60 added jest config, installed supertest 2021-08-30 16:12:05 +02:00
xnacly
cd0242d42f removed jest config 2021-08-30 16:11:39 +02:00
xnacly
a019a9f900 added db to gitignore 2021-08-30 16:11:34 +02:00
xnacly
e2a61b44bb fixed wrong statuscode in docs 2021-08-30 16:10:58 +02:00
xnacly
3db1abdb50 fixed translation path to display correct error msg 2021-08-30 13:44:52 +02:00
Flam3rboy
4abc758991 🚧 typeorm 2021-08-30 12:15:06 +02:00
Flam3rboy
954700b2d5 only local rate limit to prevent to much pressure on the database 2021-08-30 12:14:32 +02:00
Flam3rboy
d0292ef96b 🐛 convert bigint -> string 2021-08-29 17:12:46 +02:00
Flam3rboy
6c7abc2c7f fix login register + message 2021-08-29 16:58:46 +02:00
Flam3rboy
e0f2a5548d fix rate limit 2021-08-29 16:58:23 +02:00
Flam3rboy
c9ff1774b4 typeorm api rewrite done 2021-08-29 00:03:40 +02:00
EMRE ÇELİK
d044f9c8c0
TR 2021-08-27 23:28:55 +03:00
Flam3rboy
2dbbd21f73 🚧 api 2021-08-27 11:10:42 +02:00
Flam3rboy
495e1f3484 Merge branch 'master' into typeorm 2021-08-24 17:36:37 +02:00
Flam3rboy
ef4d4a3181 🚧 api 2021-08-24 16:35:04 +02:00
Flam3rboy
4e534c2ec0 test 2021-08-23 03:50:58 +02:00
Flam3rboy
621bcca07d
Merge pull request #278 from daantje1/patch-2 2021-08-22 13:21:42 +02:00
Daan Schenkel
4aaa595bb3
even more dutch 2021-08-22 13:21:10 +02:00
Daan Schenkel
dc530e5d05
Add more dutch translations :D 2021-08-22 13:17:35 +02:00
Lukas Does Dev
f49c748bb3
Fix content security policy policy 2021-08-21 22:30:42 +03:00
Flam3rboy
9fda915b37 🚧 typeorm 2021-08-21 16:47:22 +02:00
Flam3rboy
4a7b933ccf 🐛 fix vanity url 2021-08-19 21:28:57 +02:00
Flam3rboy
67dfaa3644 revert 2cff55f 2021-08-18 16:10:11 +02:00
Flam3rboy
e8c22efda7 🐛 update build script 2021-08-18 13:47:31 +02:00
Flam3rboy
2cff55f1f9 🐛 fix #267 2021-08-18 12:41:44 +02:00
Flam3rboy
52d0aa72f5 🐛 fix guild channel reorder 2021-08-18 12:33:33 +02:00
Flam3rboy
4c3f4b1093 🔊 opcode logger 2021-08-18 11:56:30 +02:00
Flam3rboy
9d6f2db946 add default_auto_archive_duration to channel 2021-08-18 11:53:22 +02:00
Flam3rboy
9d0dcae562 🚑 user settings route 2021-08-18 11:53:03 +02:00
Flam3rboy
5c220fcc83 fix #199 2021-08-18 11:48:51 +02:00
Flam3rboy
4105df8dcb 🐛 fix findOneAndUpdate 2021-08-18 11:47:28 +02:00
Flam3rboy
5e12d799e3 fix #199 2021-08-17 22:57:30 +02:00
Flam3rboy
e611126c7c 🎨 clean up 2021-08-17 22:42:16 +02:00
Flam3rboy
ec45de15ab message mention parsing 2021-08-17 22:41:21 +02:00
Flam3rboy
70d9aa669e 🔊 verbose error handler 2021-08-17 20:37:13 +02:00
Flam3rboy
936c68f111 🐛 fix login route 2021-08-17 20:36:57 +02:00
Flam3rboy
ecced11085 delete finished todos 2021-08-16 17:42:17 +02:00
Flam3rboy
fce6288c93 update auth middleware 2021-08-16 15:07:09 +02:00
Flam3rboy
4b02fe3b33 update Rate Limit with new event transmission 2021-08-16 15:06:31 +02:00
Flam3rboy
a76d1f90a8 🐛 build bundle 2021-08-15 22:36:35 +02:00
Flam3rboy
0639b6176f 🐛 fix bundle postinstall 2021-08-15 22:32:57 +02:00
Flam3rboy
bdc54dd836 ⬆️ update mongoose types 2021-08-15 22:18:53 +02:00
Flam3rboy
78c0d0e707 delete assets 2021-08-15 22:01:13 +02:00
Flam3rboy
dbdfbf61f2 🐛 fix server bundle 2021-08-15 21:56:30 +02:00
Flam3rboy
503cacb1e0 🐛 prevent @everyone role deletion 2021-08-15 14:41:50 +02:00
Flam3rboy
8c4d473d07 update packages 2021-08-15 13:53:21 +02:00
Flam3rboy
e79d273920 Merge branch 'master' of https://github.com/fosscord/fosscord-server 2021-08-15 13:20:36 +02:00
Flam3rboy
81a74b4a96 update release 2021-08-15 13:20:32 +02:00
reis
c2ef2fa990
Add ACCOUNT_DISABLED translation for Turkish 2021-08-15 08:54:47 +03:00
Flam3rboy
120cbb4d16 🐛 fix tsc missing 2021-08-15 00:58:53 +02:00
Flam3rboy
6cee68c1e3 start.bat and start.sh script 2021-08-15 00:10:54 +02:00
Flam3rboy
634b30f45b move devDependencies to dependencies
because bundle installs api/gateway/cdn as npm dep. and the dev packages don't get automatically installed
2021-08-14 22:25:49 +02:00
Flam3rboy
31a6c416a6 🐛 fix Guild + Channel create 2021-08-14 13:56:46 +02:00
Flam3rboy
6f9f144278 🐛 fix guild create with channel template 2021-08-14 13:55:51 +02:00
Flam3rboy
6ddf49bb22 ⬆️ update test client 2021-08-14 13:55:27 +02:00
Flam3rboy
1f167e11df 🚧 fix server bundle 2021-08-13 22:57:46 +02:00
Flam3rboy
63343eec4c Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-08-13 20:54:59 +02:00
Flam3rboy
49da976943 🐛 fix api middleware 2021-08-13 20:53:50 +02:00
Flam3rboy
16eff151ea 🐛 fix dependencies and build for bundle 2021-08-13 20:53:29 +02:00
Flam3rboy
f6e265664a 🐛 fix types + packages 2021-08-13 19:20:03 +02:00
Flam3rboy
1cf781e254 📝 updated links to fosscord-server 2021-08-13 13:18:45 +02:00
Flam3rboy
eebe4d14b2 Merge branch 'pr/darkhpp/261-2' 2021-08-13 13:08:14 +02:00
Flam3rboy
2018a97d45 Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-08-13 13:07:25 +02:00
Flam3rboy
a687b489d7 Merge branch 'master' into pr/darkhpp/261-2 2021-08-13 13:03:18 +02:00
Flam3rboy
3715807cf7 rename @fosscord/server-util to -> @fosscord/util 2021-08-13 12:59:59 +02:00
Flam3rboy
0487f9f8e4 server bundle 2021-08-13 12:58:18 +02:00
darkhpp
f02a5df932 Fix naming 2021-08-13 17:57:51 +07:00
Intevel ツ
8d91247ab8 server-util 1.3.55 2021-08-13 12:29:52 +02:00
Intevel ツ
e51364036b server-util 1.3.54 2021-08-13 12:28:59 +02:00
Intevel ツ
ca1752d8b4 Create Emoji.ts 2021-08-13 12:18:21 +02:00
Intevel ツ
14ffb5c040 Fixed #257 Can't change nickname 2021-08-13 12:03:54 +02:00
darkhpp
9a36f9bf4e [ProjectManagement] Add root project and dev getting started guides. 2021-08-13 13:34:00 +07:00
Flam3rboy
08e837bf55 api 2021-08-12 20:09:35 +02:00