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

186 Commits

Author SHA1 Message Date
xnacly
4aafcb569a fixed missing db delete call 2021-04-17 13:49:03 +01:00
Flam3rboy
9d848bf3a9 🐛 fix port not picking up env file 2021-04-16 17:44:43 +02:00
Flam3rboy
6ac4067c39 Merge branch 'master' of https://github.com/discord-open-source/discord-api 2021-04-14 15:01:53 +02:00
Flam3rboy
33d2fe808d 🐛 fix message schema 2021-04-14 15:01:49 +02:00
xnacly
cf9007ddce dummy routes (prevent errors in client) 2021-04-08 17:54:43 +02:00
xnacly
8599b25a37 update invite schema 2021-04-08 17:54:12 +02:00
xnacly
5a0351aa05 finished /invite route #21 2021-04-08 17:53:57 +02:00
xnacly
3252e91f6b exclude path from authentication 2021-04-08 17:53:16 +02:00
Flam3rboy
2a95275502 use mongoose autopopulate 2021-04-07 20:25:37 +02:00
Flam3rboy
482088b91b fix error handler 2021-04-07 15:54:15 +02:00
Flam3rboy
3807648cdc 🐛 fix register route captcha required 2021-04-07 15:54:00 +02:00
Rafael Oliveira
cb499f0e98 🖥️ /science route 2021-04-07 07:22:09 -03:00
Flam3rboy
5540d7a9de 🐛 fix message route 2021-04-07 04:00:54 +02:00
Flam3rboy
b32beb0b9c 🐛 fix lean not working with virtuals 2021-04-07 03:03:27 +02:00
Flam3rboy
f1a52912bd 🐛 fix message 2021-04-06 20:51:26 +02:00
Flam3rboy
b4655503c8 🐛 revert login 2021-04-06 20:51:14 +02:00
Flam3rboy
5e24006472 🐛 fix test 2021-04-06 18:57:06 +02:00
Flam3rboy
fbeb7ce8f8 🐛 fix bigint id in message route 2021-04-06 18:07:18 +02:00
Flam3rboy
7089287016 🎨 Convert id bigint to string 2021-04-06 18:02:10 +02:00
Flam3rboy
79894e6f27 🐛 fix body parser empty error object 2021-04-06 17:12:05 +02:00
notsapinho
dfbe855f3d
🐛 fix structure 2021-04-06 11:20:30 -03:00
Flam3rboy
af6f9b57ad 🐛 fix user guilds 2021-04-06 04:30:04 +02:00
Flam3rboy
73aeca20de 🐛 fix login 2021-04-06 04:10:24 +02:00
Flam3rboy
5f3cea845d test client 2021-04-06 04:06:07 +02:00
Flam3rboy
4f67c2c86e 🎨 proper error message body parser 2021-04-06 04:05:46 +02:00
Flam3rboy
d700e4c8fa 🐛 fix guild schema 2021-04-06 04:05:31 +02:00
Flam3rboy
d774216bc8 .lean() all mongodb requests 2021-04-06 04:05:18 +02:00
Flam3rboy
0e9089dee9 🐛 fix routes user.user_data 2021-04-06 04:03:37 +02:00
Flam3rboy
8b64ab4f38 🚧 experiments + gateway route 2021-04-06 03:58:27 +02:00
Flam3rboy
6e009484a6 init test client 2021-04-05 21:43:11 +02:00
Flam3rboy
c0fd1d1f2f 🐛 fix body parser 2021-04-05 21:24:36 +02:00
Flam3rboy
247ef99a21 🐛 rewrite imports 2021-03-30 15:37:54 +02:00
Flam3rboy
0d0dd4f6b8 move routes to top level no more /api/v8 -> use reverse proxy instead 2021-03-30 15:37:43 +02:00
xnacly
9050415611 added GET [#12] 2021-03-28 19:12:06 +02:00
Flam3rboy
7b10a17d46 Merge branch 'master' of https://github.com/discord-open-source/discord-api 2021-03-27 21:52:47 +01:00
Flam3rboy
0baef5015a 🐛 remove relative @paths 2021-03-27 21:52:02 +01:00
Flam3rboy
e67ca0a163 Merge branch 'master' of https://github.com/discord-open-source/discord-api 2021-03-23 22:08:40 +01:00
Flam3rboy
76d800209e 🐛 fix message post 2021-03-23 22:08:30 +01:00
Flam3rboy
b346ff857d 🚧 shorten relative paths with @shortcut 2021-03-22 21:52:56 +01:00
Flam3rboy
e902b805c1 🚧 [Route] /messages 2021-03-08 18:40:55 +01:00
Flam3rboy
6a1e0594dc rename req.userid -> req.user_id 2021-03-08 18:40:37 +01:00
Flam3rboy
56c9e43777 Schema 2021-03-04 22:01:45 +01:00
Flam3rboy
1f1743c927 [Users] @me self + guilds 2021-03-04 22:01:40 +01:00
Flam3rboy
1dd1e5724f 🎨 improve guilds 2021-03-04 22:01:25 +01:00
Flam3rboy
008f2615e6 [Guild] channels 2021-03-04 22:00:58 +01:00
Flam3rboy
91e52d10b4 [Channels] get messages 2021-03-04 22:00:44 +01:00
Flam3rboy
87b38d740b [Channels] messages bulk delete 2021-03-04 22:00:33 +01:00
Flam3rboy
65eeb4d80a 🐛 fix login + register 2021-03-04 22:00:17 +01:00
Flam3rboy
b5722fd3fd 🚧 /channels/messages 2021-03-04 09:27:14 +01:00
Flam3rboy
f846638b83 benchmark 2021-03-03 21:17:09 +01:00
Flam3rboy
ed2a1809ff Merge branch 'master' of https://github.com/discord-open-source/discord-api 2021-03-03 21:14:15 +01:00
Flam3rboy
4b9f36d344 🚧 messages route 2021-03-03 21:14:14 +01:00
Flam3rboy
47ad1c2713 get specific ban 2021-02-23 22:44:12 +01:00
Flam3rboy
72204ed419 📝 typo 2021-02-23 22:10:01 +01:00
Flam3rboy
5c11bf1b87 🐛 [Member] list fix to also return user 2021-02-23 22:02:50 +01:00
Flam3rboy
01eb91a63e 🐛 fix addMember to respect max guild size 2021-02-22 22:15:12 +01:00
Flam3rboy
5f142a7402 🚧 [Member] list 2021-02-22 22:11:32 +01:00
Flam3rboy
e894389732 [Member] pagination 2021-02-22 17:33:41 +01:00
Flam3rboy
0d1f795305 🎨 restructed guilds 2021-02-22 16:48:27 +01:00
Flam3rboy
6e05dc6902 🐛 add webhooks to whitelist auth 2021-02-22 16:48:12 +01:00
Flam3rboy
a0cb65ccad 🎨 restructure + add/remove Member() function 2021-02-22 15:51:53 +01:00
Flam3rboy
c16a221402 🎨 [Ban] use removeMember() + move ban in seperate file 2021-02-22 15:50:31 +01:00
Flam3rboy
eb181ae41d 📝 #CHANNELID -> #channelid 2021-02-22 08:37:10 +01:00
Flam3rboy
5a505f331a 🐛 fix Event Emitter 2021-02-22 08:21:32 +01:00
Flam3rboy
762b66d50d 🐛 fix @everyone Role on guild create 2021-02-22 08:21:17 +01:00
xnacly
a7132e2ab8 channel/:id/invites create #79 2021-02-21 19:22:32 +01:00
xnacly
34e3d47f63 invite code gen 2021-02-21 19:21:56 +01:00
xnacly
0b5176c702 Invite scheme 2021-02-21 19:21:11 +01:00
Intevel ツ
488f6f3894 Update index.ts 2021-02-21 16:05:03 +01:00
Intevel ツ
28ccdb42e9 Update index.ts 2021-02-21 16:00:20 +01:00
Intevel ツ
b681d7f961 Update index.ts 2021-02-21 13:45:55 +01:00
Intevel ツ
5d1c5f40d2 Created Ban Routes
Ban members works now
2021-02-21 13:44:58 +01:00
Flam3rboy
a066ba2aba Merge branch 'master' of https://github.com/discord-open-source/discord-api 2021-02-19 15:42:16 +01:00
Flam3rboy
00ef8958b9 🎨 [Guild] check if user is allowed to created a guild 2021-02-19 15:42:15 +01:00
Intevel ツ
19cc8b925c Update guilds.ts 2021-02-19 15:01:27 +01:00
Intevel ツ
4d25d98af3 Create guilds.ts 2021-02-19 14:58:56 +01:00
Flam3rboy
5e9dea0dd5 🐛 update user model on guild creation 2021-02-17 19:00:46 +01:00
Flam3rboy
0341fcf99c fix req.userid -> convert to bigint 2021-02-17 18:24:40 +01:00
Flam3rboy
8cd6190513 🎨 show proper auth error 2021-02-17 18:13:51 +01:00
Flam3rboy
eca7b96de3 🐛 fix token checking 2021-02-17 18:12:07 +01:00
Flam3rboy
54b6a8ea31 🐛 fix db 2021-02-16 21:20:07 +01:00
Flam3rboy
2ffca731bd 🐛 fix db connect 2021-02-16 21:03:32 +01:00
Flam3rboy
c5bb9a6006 🐛 fix startup error 2021-02-16 15:04:55 +01:00
Flam3rboy
b70adcedba load .env file 2021-02-16 13:30:53 +01:00
Flam3rboy
4a815d302a 🔥 disable rate limit for now -> wait till mongoose model exists 2021-02-16 11:22:51 +01:00
Flam3rboy
e49591a78e 🐛 fix /guilds/ route type 2021-02-14 21:56:31 +01:00
xnacly
45116c6d8f added requested changes from #3 2021-02-14 20:35:37 +01:00
Flam3rboy
a94f7c7617 switch to mongoose 2021-02-14 19:01:41 +01:00
Flam3rboy
52ef9f7a3e util function to emit event 2021-02-10 22:04:13 +01:00
Flam3rboy
d3427b42ea move Schema from util to api 2021-02-10 22:03:40 +01:00
Flam3rboy
91f2e73da0 Merge branch 'master' of https://github.com/discord-open-source/discord-api 2021-02-10 14:34:55 +01:00
Flam3rboy
9b95834b4b 🐛 fix error handler 2021-02-10 14:34:54 +01:00
Flam3rboy
a283d70b83 update imports for fosscord-server-util 2021-02-10 14:16:30 +01:00
Flam3rboy
d8a5084255 🐛 update package import to fosscord-server-util 2021-02-09 22:13:13 +01:00
xnacly
c083310a93 [guild] finished POST 2021-02-09 21:28:24 +01:00
xnacly
b1a20e05ae made requested changes 2021-02-09 21:19:07 +01:00
xnacly
851897a95a added guild routes 2021-02-09 19:37:39 +01:00
Flam3rboy
c0eb0ee3f6 ⬆️ bump lambert-db to version 1.1.6 2021-02-07 17:57:54 +01:00
Flam3rboy
fb7c119bf1 🐛 prevent @googlemail.com trick 2021-02-07 11:25:39 +01:00
Flam3rboy
ce07018e30 🐛 update imports 2021-02-06 10:09:32 +01:00