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

290 Commits

Author SHA1 Message Date
Erkin Alp Güney
b56ecba128 Added more rights, and explained existing ones 2021-10-10 23:16:24 +03:00
The Arcane Brony
496d7d2780 Put local types back 2021-10-10 21:30:46 +02:00
The Arcane Brony
d7fa45771d Change enums to numbers 2021-10-10 20:34:45 +02:00
Flam3rboy
a8cae71390 Merge branch 'master' into pr/TheArcaneBrony/434 2021-10-10 19:02:08 +02:00
Flam3rboy
c20d87da28 🐛 fix modify role.permissions 2021-10-10 19:00:50 +02:00
Flam3rboy
e7f80c4af4 Merge branch 'master' into remove-vanity-url 2021-10-10 18:56:46 +02:00
Flam3rboy
28c9a08a54 🎨 update migration script 2021-10-10 18:31:04 +02:00
Flam3rboy
08232dcf5f Merge branch 'remove-vanity-url' of https://github.com/thearcanebrony/fosscord-server into pr/TheArcaneBrony/434 2021-10-10 18:28:52 +02:00
Flam3rboy
587e0a7120 added vanity db migration 2021-10-10 18:28:50 +02:00
The Arcane Brony
d38953439c forgot to fix primary columns on invites 2021-10-10 18:12:51 +02:00
The Arcane Brony
c9e827b3e9 Fix duplicate key 2021-10-10 17:55:48 +02:00
Flam3rboy
58c3974e1b 🐛 fix Emoji missing in identify 2021-10-10 14:31:13 +02:00
Flam3rboy
ebb0f567d5 🎨 emoji db migration 2021-10-10 14:09:54 +02:00
Flam3rboy
2908544b27 🐛 fix cdn 2021-10-10 14:08:52 +02:00
Flam3rboy
bffe2a85bd Merge branch 'master' into pr/LoboMetalurgico/424 2021-10-10 12:50:45 +02:00
Flam3rboy
fc5f5f33cb 🙈 remove console.log 2021-10-10 12:42:12 +02:00
Flam3rboy
4722dd5d97 🐛 fix tsc compiler 2021-10-10 12:35:46 +02:00
Flam3rboy
dc85a79498 🎨 clean up imports + classes 2021-10-10 11:03:32 +02:00
Flam3rboy
dbe2258d97 🎨 clean up dependencies 2021-10-10 11:03:04 +02:00
Lobo Metalúrgico
d359652b24 Merge branch 'fosscord:master' into milestoneV1/routes/implement/emojis 2021-10-09 23:44:59 -03:00
Flam3rboy
d6bc17a8c7 added read state 2021-10-09 17:33:28 +02:00
Flam3rboy
0ef82be133 handleFile() now returns mime_type and size 2021-10-09 17:25:26 +02:00
Lobo Metalúrgico
7cfca122ae Merge remote-tracking branch 'upstream/master' into milestoneV1/routes/implement/emojis 2021-10-09 10:39:26 -03:00
Flam3rboy
0516357477 Merge branch 'master' of http://github.com/fosscord/fosscord-server 2021-10-09 14:31:23 +02:00
Flam3rboy
c634532897 🐛 fix array key in config 2021-10-09 14:31:19 +02:00
Flam3rboy
732f88cbb2 added guestsRequireInvite to config 2021-10-09 12:54:03 +02:00
Lobo Metalúrgico
e0839677d5 (api): inital emojis route implementation 2021-10-08 23:45:12 -03:00
Flam3rboy
826b2c9820 🐛 fix build 2021-10-09 01:44:44 +02:00
Flam3rboy
3b74fa9299 bundle build script 2021-10-08 10:43:43 +02:00
Flam3rboy
29516da90f 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
8bb38139c2 🐛 fix swc config 2021-10-07 18:21:17 +02:00
Flam3rboy
c75c6f508d 🐛 fix types + swcrc configs 2021-10-07 18:20:03 +02:00
Flam3rboy
b5905c1bba 🐛 fix swcrc config: rewrite import -> require 2021-10-07 09:59:04 +02:00
The Arcane Brony
7db9086dd0 Compiler test 2021-10-06 18:20:22 +02:00
Flam3rboy
1296600de9 ⬆️ lambert-server@1.2.11 2021-10-05 20:47:12 +02:00
Flam3rboy
ce63639090 🐛 fix user projection 2021-10-05 19:52:42 +02:00
Flam3rboy
1bc56e5131 added autoJoin guild to config 2021-10-05 19:37:20 +02:00
Flam3rboy
214d6b821c 🎨 move field error to util 2021-10-05 19:34:13 +02:00
Flam3rboy
9cf018d737 add User.register() method 2021-10-05 19:33:23 +02:00
Flam3rboy
2bd5c06bf1 ⬆️ update mnjsf 2021-10-05 19:32:42 +02:00
Flam3rboy
2dd50e757b 🐛 fix windows db file path 2021-10-05 19:32:29 +02:00
Flam3rboy
3e01ff75ed 🎨 improve migration script 2021-10-05 17:00:58 +02:00
Flam3rboy
cb0885dd71 db migrate script 2021-10-04 23:14:03 +02:00
Flam3rboy
7b63016872 generalize primary column to work with mongodb object id 2021-10-04 22:43:51 +02:00
Flam3rboy
b1c1b681b9 Merge branch 'master' of http://github.com/fosscord/fosscord-server 2021-10-04 22:06:17 +02:00
Flam3rboy
b584af656d 🚧 different db engines 2021-10-04 21:57:24 +02:00
uurgothat
1882beef0c replace chalk with nanocolors 2021-10-04 22:39:50 +03:00
uurgothat
d4ddf3acf0 Rainbow the logs 2021-10-04 22:01:08 +03:00
Flam3rboy
e52e7ef0e1 Merge branch 'master' of https://github.com/fosscord/fosscord-server 2021-10-04 10:47:04 +02:00
Flam3rboy
c3ae345175 custom user flags offset 2021-10-04 10:46:54 +02:00
Flam3rboy
2f7182ca3d 🐛 fix message reactions 2021-10-03 22:53:01 +02:00
Flam3rboy
7268779dc3 add `right` option to route() 2021-10-03 01:55:57 +02:00
Flam3rboy
62f727783d User instance rights 2021-10-03 01:42:55 +02:00
The Arcane Brony
40f7e7b7d4 Add setting to show all guilds in discovery, fix query for guild discovery 2021-10-01 22:11:56 +02:00
Flam3rboy
00e3fde177 🐛 fix disable register 2021-10-01 20:52:50 +02:00
Flam3rboy
b41fcd4f29 new user flags 2021-10-01 20:08:51 +02:00
Flam3rboy
6ad6296dcc fix #406 2021-10-01 20:08:45 +02:00
Flam3rboy
81923a0729 🐛 fix channel permission overwrites 2021-09-26 11:34:06 +02:00
Flam3rboy
c13a8aaed3 🐛 fix role can't set permission 2021-09-25 23:55:40 +02:00
Flam3rboy
4b2e93c84b add private and public endpoint 2021-09-25 23:55:19 +02:00
Flam3rboy
39f4aa86da key value config 2021-09-25 23:24:16 +02:00
Flam3rboy
c398c1512e 🐛 fix (pre) install scripts 2021-09-23 16:03:50 +02:00
Flam3rboy
22c744398c unit tests expect event 2021-09-21 23:13:31 +02:00
Flam3rboy
2a094c603a generate openapi documentation 2021-09-21 22:52:30 +02:00
Flam3rboy
cc33e87a14 add option to disable all rate limits 2021-09-20 23:35:32 +02:00
Flam3rboy
16a3d1b334 Merge branch 'master' into unittests 2021-09-20 21:49:42 +02:00
Flam3rboy
fe34c5da87 Merge pull request #382 from fosscord/auto-delete-relations
Auto delete relations
2021-09-20 21:27:08 +02:00
Flam3rboy
62f9b35185 🐛 fix .delete -> add onDelete: "CASCADE" 2021-09-20 20:22:56 +02:00
Flam3rboy
0247df3e42 finish and fix .delete() for one-to-many relations 2021-09-20 18:02:57 +02:00
Flam3rboy
dd9ec0c6a0 accept invite page 2021-09-20 17:38:16 +02:00
Flam3rboy
ce09e01c21 🚧 auto delete relations 2021-09-20 17:11:22 +02:00
Flam3rboy
3c8b0f43c4 Merge branch 'master' into auto-delete-relations 2021-09-19 19:09:13 +02:00
Flam3rboy
b862780990 🚚 move file handle to utility 2021-09-19 19:05:26 +02:00
Flam3rboy
705206ec1b 🎨 add orphanedRowAction and cascade onDelete to entities 2021-09-19 18:47:38 +02:00
Flam3rboy
994406e5ce 🎨 remove deleteMessageAttachments and move to entity 2021-09-19 18:46:22 +02:00
AlTech98
ada95b6c39 Removed ChannelService, more fixes 2021-09-18 18:36:29 +02:00
AlTech98
97e0c8709b Fix gateway not listening for new channels events 2021-09-18 10:44:25 +02:00
Flam3rboy
1e331b7c9d 🎨 use typescript plugin that converts to relative paths 2021-09-18 01:50:20 +02:00
AlTech98
50ab5e7d49 Fix icon, owner_id change and channel deletion for group DMs 2021-09-17 18:29:02 +02:00
Flam3rboy
5fa02e6b10 Update ChannelService.ts 2021-09-17 10:57:24 +02:00
AlTech98
d630f09f80 Implemented DMs and group DMs 2021-09-16 21:33:36 +02:00
AlTech98
75c43b7db3 Gateway permission check fix 2021-09-16 21:30:05 +02:00
Flam3rboy
d2d7dd0561 Revert "🚧 webhook"
This reverts commit df2b83ac15.
2021-09-16 20:49:07 +02:00
Flam3rboy
bd9cc4c537 ⬆️ fix + update dependencies 2021-09-16 20:46:22 +02:00
Flam3rboy
df2b83ac15 🚧 webhook 2021-09-14 22:15:55 +02:00
AlTech98
12c92a2950 Fix attachments not being saved to db 2021-09-13 17:31:07 +02:00
Flam3rboy
9b4457424d 🐛 fix In() query 2021-09-13 12:22:59 +02:00
Flam3rboy
9e3bc94e9d 🐛 fix relationship 2021-09-13 12:22:41 +02:00
Flam3rboy
4f1b926d09 🐛 fix dm #321 2021-09-13 01:11:03 +02:00
Flam3rboy
6b21e107dd 🐛 fix channel events + message send 2021-09-13 00:17:56 +02:00
Flam3rboy
0a0a61565e 🐛 fix gateway 2021-09-12 21:20:47 +02:00
Flam3rboy
60535f5159 🎨 remove long relatives paths -> short module paths 2021-09-12 21:09:29 +02:00
Flam3rboy
2d26241a82 Update User.ts 2021-09-07 22:54:31 +02:00
Flam3rboy
0bf59ee28a ⬆️ update test client 2021-09-04 17:59:29 +02:00
Flam3rboy
eea12afe0b 📝 added comments and updated type 2021-09-04 12:17:26 +02:00
AlTech98
a3c8ab163a Added missing permissions and channel types 2021-09-04 11:43:09 +02:00
Flam3rboy
673d6dee6e 🐛 fix ReadyEventData 2021-09-04 11:38:19 +02:00
Flam3rboy
bb76b07f6d 🐛 fix patch-package 2021-09-04 11:32:11 +02:00
Flam3rboy
e9a8885282 Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-04 11:26:47 +02:00
Flam3rboy
82341300fc 🐛 fix ready members payload 2021-09-04 11:25:40 +02:00
Flam3rboy
4de2140058 🐛 fix invites 2021-09-04 11:25:10 +02:00
Flam3rboy
8d69c9a871 🐛 fix permissions if user is only member of guild 2021-09-04 11:24:31 +02:00
xnacly
7d2f068886 readded todos 2021-09-03 21:40:02 +02:00
xnacly
419b0bbc80 Revert "added big todo list to Guild.ts (big chungus)"
This reverts commit 0f58995182.
2021-09-03 21:36:19 +02:00
xnacly
0f58995182 added big todo list to Guild.ts (big chungus) 2021-09-03 21:33:44 +02:00
xnacly
94c96be0ee added ban check to Member.addToGuild 2021-09-03 21:31:45 +02:00
xnacly
7db26b5952 moved Constants and Errorhandler from api to util 2021-09-03 21:29:17 +02:00
Flam3rboy
ff4246204e Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-03 20:01:42 +02:00
Flam3rboy
4aa58b9256 Merge pull request #314 from AlTech98/master
Fix VoiceStateUpdate
2021-09-03 15:57:44 +02:00
Flam3rboy
b86f99c4a5 improve invite generation 2021-09-03 15:48:09 +02:00
Flam3rboy
d5fcb7f971 🐛 fix #311 2021-09-03 15:27:00 +02:00
AlTech98
c9024692f7 Temp fix for Guild.voice_states not working 2021-09-03 14:10:34 +02:00
AlTech98
2028cc8e0b Merge remote-tracking branch 'origin/master' 2021-09-03 13:36:22 +02:00
AlTech98
aec4f6fd1d VoiceState fix for db update 2021-09-03 13:27:15 +02:00
Flam3rboy
f83f4416b8 🐛 fix member has no roles in guild create 2021-09-03 13:10:24 +02:00
Flam3rboy
ea4201c6f7 🐛 fix client connection crash on guild create 2021-09-03 12:53:25 +02:00
Flam3rboy
d3179098bb fix #310 2021-09-03 05:17:49 +02:00
Flam3rboy
0c1fe5b068 simplify permissions query 2021-09-03 05:04:13 +02:00
Flam3rboy
5dfff74881 🐛 fix#310 2021-09-03 05:03:46 +02:00
Flam3rboy
11b2176773 🐛 fix message sending 2021-09-03 04:04:34 +02:00
Flam3rboy
c7ed245433 ⬆️ update dependencies 2021-09-03 03:38:40 +02:00
Flam3rboy
a374b0b11a 🎨 update entities 2021-09-03 03:38:19 +02:00
Flam3rboy
7b607c6bbd fix #309 2021-09-03 01:15:19 +02:00
Flam3rboy
11af8531cc 🐛 fix entity missing an id (replace .insert with new Entity().save) 2021-09-02 21:31:44 +02:00
Flam3rboy
7eb20464af Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-02 21:11:08 +02:00
Flam3rboy
8092216343 🎨 reformat files 2021-09-02 20:10:25 +02:00
Flam3rboy
562a53d6bb add user_id field to Member 2021-09-02 19:50:05 +02:00
AlTech98
8ff56b1f9e VOICE_STATE_UPDATE implementation, fix #210 2021-09-02 19:33:04 +02:00
Flam3rboy
f056885fb0 Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-02 00:14:34 +02:00
Flam3rboy
cba341a6d6 🐛 fix entity types and projection 2021-09-01 23:34:55 +02:00
xnacly
e8ff7498c6 removed logging of database queries 2021-09-01 22:10:14 +02:00
sudenoh
907abceff8 Added property maxWebhooks to ConfigValue and defined a default value in DefaultConfigOptions. 2021-09-01 15:43:37 +02:00
Flam3rboy
717b722950 Merge branch 'typeorm' of https://github.com/fosscord/fosscord-api into typeorm 2021-08-31 17:58:49 +02:00
Flam3rboy
3d929755fb delete _ids from entities 2021-08-31 17:54:09 +02:00
AlTech98
89304ff47b Implemented voice apis #127 and #78 2021-08-30 21:12:13 +02:00
Flam3rboy
584d4a039c 🚧 typeorm 2021-08-30 12:15:06 +02:00
Flam3rboy
eb6efd14c1 only local rate limit to prevent to much pressure on the database 2021-08-30 12:14:32 +02:00
Flam3rboy
bee6f71298 🐛 convert bigint -> string 2021-08-29 17:12:46 +02:00
Flam3rboy
16d46501a5 Merge branch 'typeorm' of https://github.com/fosscord/fosscord-api into typeorm 2021-08-29 16:58:59 +02:00
Flam3rboy
681ce2ac47 fix util 2021-08-29 16:58:37 +02:00
xnacly
c54c2d375c fixed wrong type declaration in Gateway readyEvent 2021-08-29 16:55:46 +02:00
Flam3rboy
38162b1c20 typeorm gateway 2021-08-29 00:30:04 +02:00
Flam3rboy
766dcc24aa update util 2021-08-29 00:03:58 +02:00
Flam3rboy
c21c342821 🚧 typeorm 2021-08-27 11:11:16 +02:00
Flam3rboy
18deb1e4b0 use RelationId 2021-08-26 20:48:09 +02:00
Flam3rboy
2e670c8935 🐛 fix unit tests 2021-08-26 02:07:16 +02:00
Flam3rboy
41dd600c06 unit test 2021-08-26 00:22:26 +02:00
Flam3rboy
ad05822bbf 🐛 patch modules 2021-08-26 00:22:11 +02:00
Flam3rboy
05d72ac3ac util 2021-08-24 16:35:59 +02:00
Flam3rboy
01ead4f734 util unit tests 2021-08-24 16:35:39 +02:00