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

172 Commits

Author SHA1 Message Date
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
Flam3rboy
1e5ed28514 typeorm entities 2021-08-24 16:34:46 +02:00
Flam3rboy
af1b5f30c6 generate schema 2021-08-23 03:52:14 +02:00
Flam3rboy
ae2896fa61 🚧 typeorm 2021-08-22 12:41:21 +02:00
Flam3rboy
f711a0411c 🚧 typeorm 2021-08-21 16:47:22 +02:00
Flam3rboy
1a5399f1e3 🎨 update bundle build 2021-08-19 21:29:12 +02:00
Flam3rboy
ec83db3d4e 🐛 fix vanity url 2021-08-19 21:28:57 +02:00
Flam3rboy
c4896b7f55 revert 2cff55f 2021-08-18 16:10:11 +02:00
Flam3rboy
35702adf50 🐛 update build script 2021-08-18 13:47:31 +02:00
Flam3rboy
0721484a93 add default_auto_archive_duration to channel 2021-08-18 11:53:22 +02:00
Flam3rboy
9ab8fc8e6e 🐛 fix findOneAndUpdate 2021-08-18 11:47:28 +02:00
Flam3rboy
d8b01058b3 🎨 clean up 2021-08-17 22:42:16 +02:00
Flam3rboy
a467c86399 mention regex 2021-08-17 22:41:38 +02:00
Flam3rboy
a89028d9b1 🐛 fix release 2021-08-17 18:51:17 +02:00
Flam3rboy
e77678799e update Event 2021-08-16 15:07:18 +02:00
Flam3rboy
6187e2c182 🐛 fix util install 2021-08-15 23:02:46 +02:00
Flam3rboy
04072b60e8 🐛 build bundle 2021-08-15 22:36:35 +02:00
Flam3rboy
04355a6661 🐛 fix bundle postinstall 2021-08-15 22:32:57 +02:00
Flam3rboy
94a5d56412 ⬆️ update mongoose types 2021-08-15 22:18:53 +02:00