39 Commits

Author SHA1 Message Date
Chris Chrome
12a151eb2d Delete messages before deleting channel
Might need some testing, but seems pretty solid for one line of code lol
2021-09-20 08:58:06 -04:00
Flam3rboy
e6839719a6 Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-19 18:59:54 +02:00
Flam3rboy
c50648ddcc 🚚 move handleFile to cdn 2021-09-19 18:44:49 +02:00
AlTech98
ada95b6c39 Removed ChannelService, more fixes 2021-09-18 18:36:29 +02:00
AlTech98
5d6fa7697a Merge branch 'fosscord:master' into fix-dm 2021-09-18 08:03:52 +02:00
Flam3rboy
859fdd679b 🐛 fix body parse treating null not as undefined (except for icons/avatars) 2021-09-17 23:42:40 +02:00
AlTech98
50ab5e7d49 Fix icon, owner_id change and channel deletion for group DMs 2021-09-17 18:29:02 +02:00
AlTech98
d630f09f80 Implemented DMs and group DMs 2021-09-16 21:33:36 +02:00
Flam3rboy
60ee234891 Revert "fix #128"
This reverts commit 8893fd16d90ad599538ccb62f8f77711aa891bbd.
2021-09-16 20:49:17 +02:00
Flam3rboy
8893fd16d9 fix #128 2021-09-14 21:16:04 +02:00
Flam3rboy
37533e28fd Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-14 13:18:32 +02:00
AlTech98
8f68c4abcf Fix invites creation 2021-09-14 09:38:21 +02:00
Flam3rboy
dcc3ae6a14 🎨 remove unused imports 2021-09-13 17:51:16 +02:00
AlTech98
aa1f1a22a4 Delete attachments of deleted messages, fix #273 2021-09-13 17:32:31 +02:00
Flam3rboy
4f1b926d09 🐛 fix dm #321 2021-09-13 01:11:03 +02:00
Flam3rboy
e32bb24fa8 🐛 fix invites: ajv doesn't treat null as undefined 2021-09-13 00:00:11 +02:00
Flam3rboy
6ba9c834bd #307 done 2021-09-12 23:28:56 +02:00
Flam3rboy
60535f5159 🎨 remove long relatives paths -> short module paths 2021-09-12 21:09:29 +02:00
AlTech98
a3c8ab163a Added missing permissions and channel types 2021-09-04 11:43:09 +02:00
Flam3rboy
e9a8885282 Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-04 11:26:47 +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
7db26b5952 moved Constants and Errorhandler from api to util 2021-09-03 21:29:17 +02:00
Flam3rboy
0be8c804b4 improve invite generation 2021-09-03 15:48:24 +02:00
Flam3rboy
11b2176773 🐛 fix message sending 2021-09-03 04:04:34 +02:00
Flam3rboy
acb5fba488 🐛 fix member + member list 2021-09-03 03:37:55 +02:00
Flam3rboy
562a53d6bb add user_id field to Member 2021-09-02 19:50:05 +02:00
Flam3rboy
cba341a6d6 🐛 fix entity types and projection 2021-09-01 23:34:55 +02:00
Flam3rboy
7ff5e14887 use DiscordApiErrors and check limits 2021-09-01 11:27:52 +02:00
Flam3rboy
cc8c5359ce 🐛 db query fixes 2021-08-31 17:58:47 +02:00
Flam3rboy
f59fae674d 🐛 fix message sending 2021-08-31 17:55:23 +02:00
Flam3rboy
bee6f71298 🐛 convert bigint -> string 2021-08-29 17:12:46 +02:00
Flam3rboy
e99008a1a5 typeorm api rewrite done 2021-08-29 00:03:40 +02:00
Flam3rboy
a567551c8a 🚧 api 2021-08-24 16:35:04 +02:00
Flam3rboy
9e2c6359eb fix #199 2021-08-18 11:48:51 +02:00
Flam3rboy
9ab8fc8e6e 🐛 fix findOneAndUpdate 2021-08-18 11:47:28 +02:00
Flam3rboy
bf8718489e fix #199 2021-08-17 22:57:30 +02:00
Flam3rboy
90d5307a56 rename @fosscord/server-util to -> @fosscord/util 2021-08-13 12:59:59 +02:00
Flam3rboy
524b5df723 api 2021-08-12 20:09:35 +02:00