1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-09-20 09:41:35 +02:00
Commit Graph

344 Commits

Author SHA1 Message Date
Flam3rboy
fd152e8b6d added vanity db migration 2021-10-10 18:28:50 +02:00
The Arcane Brony
d5fcad3738 forgot to fix primary columns on invites 2021-10-10 18:12:51 +02:00
The Arcane Brony
79aee5145b Fix duplicate key 2021-10-10 17:55:48 +02:00
Flam3rboy
82205520ed 🐛 fix Emoji missing in identify 2021-10-10 14:31:13 +02:00
Flam3rboy
2f623b2a22 🎨 emoji db migration 2021-10-10 14:09:54 +02:00
Flam3rboy
33103cc452 🐛 fix cdn 2021-10-10 14:08:52 +02:00
Flam3rboy
92de98c487 Merge branch 'master' into pr/LoboMetalurgico/424 2021-10-10 12:50:45 +02:00
Flam3rboy
7147f150d9 🙈 remove console.log 2021-10-10 12:42:12 +02:00
Flam3rboy
3b4e026ead 🐛 fix tsc compiler 2021-10-10 12:35:46 +02:00
Flam3rboy
74bd98737a 🎨 clean up imports + classes 2021-10-10 11:03:32 +02:00
Lobo Metalúrgico
a801dfc478
Merge branch 'fosscord:master' into milestoneV1/routes/implement/emojis 2021-10-09 23:44:59 -03:00
Flam3rboy
da030aaff2 added read state 2021-10-09 17:33:28 +02:00
Flam3rboy
7e5c51652b handleFile() now returns mime_type and size 2021-10-09 17:25:26 +02: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
7aeeb6833d Merge branch 'master' of http://github.com/fosscord/fosscord-server 2021-10-09 14:31:23 +02:00
Flam3rboy
72ac437e92 🐛 fix array key in config 2021-10-09 14:31:19 +02:00
Flam3rboy
d1844b65d1 added guestsRequireInvite to config 2021-10-09 12:54:03 +02:00
Lobo Metalúrgico
90af904661
(api): inital emojis route implementation 2021-10-08 23:45:12 -03:00
Flam3rboy
b44f356d9e bundle build script 2021-10-08 10:43:43 +02:00
Flam3rboy
c3551d9254 🐛 fix user projection 2021-10-05 19:52:42 +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
382fad0b7e 🐛 fix windows db file path 2021-10-05 19:32:29 +02:00
Flam3rboy
9fa6c3a3db 🎨 improve migration script 2021-10-05 17:00:58 +02:00
Flam3rboy
17e31a00f0 db migrate script 2021-10-04 23:14:03 +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
e563aa25b4 🚧 different db engines 2021-10-04 21:57:24 +02:00
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
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
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
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
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
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
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
Flam3rboy
6f16392aa4 unit test 2021-08-26 00:22:26 +02:00
Flam3rboy
62b6ba4002 util 2021-08-24 16:35:59 +02:00
Flam3rboy
b86032a001 typeorm entities 2021-08-24 16:34:46 +02:00
Flam3rboy
4a34892d46 🚧 typeorm 2021-08-22 12:41:21 +02:00
Flam3rboy
9fda915b37 🚧 typeorm 2021-08-21 16:47:22 +02:00
Flam3rboy
a47de8585c 🎨 update bundle build 2021-08-19 21:29:12 +02:00
Flam3rboy
4a7b933ccf 🐛 fix vanity url 2021-08-19 21:28:57 +02:00
Flam3rboy
9d6f2db946 add default_auto_archive_duration to channel 2021-08-18 11:53:22 +02:00
Flam3rboy
4105df8dcb 🐛 fix findOneAndUpdate 2021-08-18 11:47:28 +02:00
Flam3rboy
e611126c7c 🎨 clean up 2021-08-17 22:42:16 +02:00
Flam3rboy
e00651dc2f mention regex 2021-08-17 22:41:38 +02:00
Flam3rboy
da81015ddd update Event 2021-08-16 15:07:18 +02:00
Flam3rboy
0639b6176f 🐛 fix bundle postinstall 2021-08-15 22:32:57 +02:00
Flam3rboy
a086735e27 🚧 auto update 2021-08-15 14:41:14 +02:00
Flam3rboy
1f167e11df 🚧 fix server bundle 2021-08-13 22:57:46 +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
2018a97d45 Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-08-13 13:07:25 +02:00
Flam3rboy
ad6e082db2 event emit 2021-08-13 13:00:31 +02:00
Intevel ツ
5e95e8da8b Update Permissions.ts 2021-08-13 12:23:05 +02:00
Flam3rboy
4f25967898 util 2021-08-12 20:33:02 +02:00