1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-09-22 02:31:36 +02:00
Commit Graph

194 Commits

Author SHA1 Message Date
uurgothat
ea900af4cd replace chalk with nanocolors 2021-10-04 22:39:50 +03:00
uurgothat
18abf9ef40 Rainbow the logs 2021-10-04 22:01:08 +03:00
Flam3rboy
b69f5baeb9 Merge branch 'master' of https://github.com/fosscord/fosscord-server 2021-10-04 10:47:04 +02:00
Flam3rboy
73cf945525 custom user flags offset 2021-10-04 10:46:54 +02:00
Flam3rboy
48c1a15568 🐛 fix message reactions 2021-10-03 22:53:01 +02:00
Flam3rboy
5a45606411 add `right` option to route() 2021-10-03 01:55:57 +02:00
Flam3rboy
981071a645 User instance rights 2021-10-03 01:42:55 +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
8e9b5d1cd2 🐛 fix disable register 2021-10-01 20:52:50 +02:00
Flam3rboy
7c9a2a240d new user flags 2021-10-01 20:08:51 +02:00
Flam3rboy
9c23374867 fix #406 2021-10-01 20:08:45 +02:00
Flam3rboy
d0f5790235 🐛 fix channel permission overwrites 2021-09-26 11:34:06 +02:00
Flam3rboy
dd611d0e7c 🐛 fix role can't set permission 2021-09-25 23:55:40 +02:00
Flam3rboy
286b4a69fd add private and public endpoint 2021-09-25 23:55:19 +02:00
Flam3rboy
e0b526e7de key value config 2021-09-25 23:24:16 +02:00
Flam3rboy
053fa4b499 🐛 fix (pre) install scripts 2021-09-23 16:03:50 +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
022e82023d add option to disable all rate limits 2021-09-20 23:35:32 +02:00
Flam3rboy
5cec6e43d4 Merge branch 'master' into unittests 2021-09-20 21:49:42 +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
7809148867 finish and fix .delete() for one-to-many relations 2021-09-20 18:02:57 +02:00
Flam3rboy
269bbdfeae accept invite page 2021-09-20 17:38:16 +02:00
Flam3rboy
e22ea77625 🚧 auto delete relations 2021-09-20 17:11:22 +02:00
Flam3rboy
ffe179758e Merge branch 'master' into auto-delete-relations 2021-09-19 19:09:13 +02:00
Flam3rboy
9ae19d8e06 🚚 move file handle to utility 2021-09-19 19:05:26 +02:00
Flam3rboy
b5fb88ea8e 🎨 add orphanedRowAction and cascade onDelete to entities 2021-09-19 18:47:38 +02:00
Flam3rboy
313696d237 🎨 remove deleteMessageAttachments and move to entity 2021-09-19 18:46:22 +02:00
AlTech98
ceb770fb5b Removed ChannelService, more fixes 2021-09-18 18:36:29 +02:00
AlTech98
296375c67e Fix gateway not listening for new channels events 2021-09-18 10:44:25 +02:00
Flam3rboy
578cc8b4b6 🎨 use typescript plugin that converts to relative paths 2021-09-18 01:50:20 +02:00
AlTech98
6123f359b0 Fix icon, owner_id change and channel deletion for group DMs 2021-09-17 18:29:02 +02:00
Flam3rboy
f4db45ad9d
Update ChannelService.ts 2021-09-17 10:57:24 +02:00
AlTech98
4f87fd742f Implemented DMs and group DMs 2021-09-16 21:33:36 +02:00
AlTech98
92cbfa7595 Gateway permission check fix 2021-09-16 21:30:05 +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
AlTech98
072be4383f Fix attachments not being saved to db 2021-09-13 17:31:07 +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
13b7b84761 🐛 fix channel events + message send 2021-09-13 00:17:56 +02:00
Flam3rboy
78c1d6a82e 🐛 fix gateway 2021-09-12 21:20:47 +02:00
Flam3rboy
d50073fc41 🎨 remove long relatives paths -> short module paths 2021-09-12 21:09:29 +02:00
Flam3rboy
528007872d
Update User.ts 2021-09-07 22:54:31 +02:00
Flam3rboy
f6f550f10a ⬆️ update test client 2021-09-04 17:59:29 +02:00
Flam3rboy
8f002d14d5 📝 added comments and updated type 2021-09-04 12:17:26 +02:00
AlTech98
aafdc5d0ee Added missing permissions and channel types 2021-09-04 11:43:09 +02:00
Flam3rboy
1175e5c718 🐛 fix ReadyEventData 2021-09-04 11:38:19 +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
bf81e9c352 🐛 fix ready members payload 2021-09-04 11:25:40 +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
xnacly
ea29d368da readded todos 2021-09-03 21:40:02 +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
89da09f152 added ban check to Member.addToGuild 2021-09-03 21:31:45 +02:00
xnacly
879587d62b moved Constants and Errorhandler from api to util 2021-09-03 21:29:17 +02:00
Flam3rboy
c95cd06dac Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-03 20:01:42 +02:00
Flam3rboy
3a3de120dc
Merge pull request #314 from AlTech98/master
Fix VoiceStateUpdate
2021-09-03 15:57:44 +02:00
Flam3rboy
f3e8b5e1fd improve invite generation 2021-09-03 15:48:09 +02:00
Flam3rboy
c944babc96 🐛 fix #311 2021-09-03 15:27:00 +02:00
AlTech98
ddee2c0272 Temp fix for Guild.voice_states not working 2021-09-03 14:10:34 +02:00
AlTech98
f6f87ef906 Merge remote-tracking branch 'origin/master' 2021-09-03 13:36:22 +02:00
AlTech98
f99ed31730 VoiceState fix for db update 2021-09-03 13:27:15 +02:00
Flam3rboy
2fab755e97 🐛 fix member has no roles in guild create 2021-09-03 13:10:24 +02:00
Flam3rboy
ddf4f54e81 🐛 fix client connection crash on guild create 2021-09-03 12:53:25 +02:00
Flam3rboy
628ff5973e fix #310 2021-09-03 05:17:49 +02:00
Flam3rboy
bac6d570bf simplify permissions query 2021-09-03 05:04:13 +02:00
Flam3rboy
97ec83ea1c 🐛 fix#310 2021-09-03 05:03:46 +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
3eac3a05ec 🎨 update entities 2021-09-03 03:38:19 +02:00
Flam3rboy
db46c332b3 fix #309 2021-09-03 01:15:19 +02:00
Flam3rboy
4c4bc248a5 🐛 fix entity missing an id (replace .insert with new Entity().save) 2021-09-02 21:31:44 +02:00
Flam3rboy
0326fd4aef Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-02 21:11:08 +02:00
Flam3rboy
2ba4c21f6b 🎨 reformat files 2021-09-02 20:10:25 +02:00
Flam3rboy
d29ccaf623 add user_id field to Member 2021-09-02 19:50:05 +02:00
AlTech98
9dac7ddf9e VOICE_STATE_UPDATE implementation, fix #210 2021-09-02 19:33:04 +02:00
Flam3rboy
7972f698c5 Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-02 00:14:34 +02:00
Flam3rboy
295159fc4a 🐛 fix entity types and projection 2021-09-01 23:34:55 +02:00
xnacly
759df843c2 removed logging of database queries 2021-09-01 22:10:14 +02:00
sudenoh
8a9385159c Added property maxWebhooks to ConfigValue and defined a default value in DefaultConfigOptions. 2021-09-01 15:43:37 +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
f313178518 delete _ids from entities 2021-08-31 17:54:09 +02:00
AlTech98
b59cbdb081 Implemented voice apis #127 and #78 2021-08-30 21:12:13 +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
428c1dc2db Merge branch 'typeorm' of https://github.com/fosscord/fosscord-api into typeorm 2021-08-29 16:58:59 +02:00
Flam3rboy
ac84431cc2 fix util 2021-08-29 16:58:37 +02:00
xnacly
ca4f0e653c fixed wrong type declaration in Gateway readyEvent 2021-08-29 16:55:46 +02:00
Flam3rboy
b4b8d1d8df typeorm gateway 2021-08-29 00:30:04 +02:00
Flam3rboy
227a4e47f1 update util 2021-08-29 00:03:58 +02:00
Flam3rboy
845e77eed2 🚧 typeorm 2021-08-27 11:11:16 +02:00
Flam3rboy
db3f5c0d1b use RelationId 2021-08-26 20:48:09 +02:00
Flam3rboy
c4426920a1 🐛 fix unit tests 2021-08-26 02:07:16 +02:00