Commit Graph

112 Commits

Author SHA1 Message Date
Flam3rboy
5c9af09e85 🐛 api member add roles -> make sure that roles exist 2021-09-04 11:26:25 +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
Flam3rboy
8e025ce57c ⬆️ update mpath because of a security vulnerability 2021-09-04 11:23:39 +02:00
Flam3rboy
6e9d4ed6a0 🐛 fix error handler and asset router 2021-09-04 11:23:12 +02:00
Flam3rboy
ebd0537c5c improve invite generation 2021-09-03 15:48:24 +02:00
Flam3rboy
c944babc96 🐛 fix #311 2021-09-03 15:27:00 +02:00
Flam3rboy
4484c75ee2 🐛 fix member roles + list 2021-09-03 13:23:20 +02:00
Flam3rboy
5b39b11e5f guild position update 2021-09-03 05:03:11 +02:00
Flam3rboy
da964c6d82 📝 drop tables script 2021-09-03 04:04:48 +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
36fe0ec0c8 🐛 fix member + member list 2021-09-03 03:37:55 +02:00
Flam3rboy
4c4bc248a5 🐛 fix entity missing an id (replace .insert with new Entity().save) 2021-09-02 21:31:44 +02:00
Flam3rboy
d29ccaf623 add user_id field to Member 2021-09-02 19:50:05 +02:00
Flam3rboy
6685047d20 🎨 update openapi title 2021-09-02 10:27:33 +02:00
Flam3rboy
7972f698c5 Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-02 00:14:34 +02:00
Flam3rboy
8e29e40ef4 ⬆️ update dependencies 2021-09-01 23:35:20 +02:00
Flam3rboy
295159fc4a 🐛 fix entity types and projection 2021-09-01 23:34:55 +02:00
Flam3rboy
0fbe9131ad generate open api schema based on body and db entities 2021-09-01 23:33:14 +02:00
xnacly
66d3d5a6c6 added /login unittest 2021-09-01 22:14:06 +02:00
xnacly
3905c51b35 see parent 2021-09-01 22:13:27 +02:00
xnacly
5175557809 fixed globalSetup for jest 2021-09-01 22:10:44 +02:00
Flam3rboy
07b49d4324 Merge pull request #301 from fosscord/feat--DiscordApiErrors
Use discord api errors and check limits
2021-09-01 11:31:59 +02:00
Flam3rboy
398e8c29ca use DiscordApiErrors and check limits 2021-09-01 11:27:52 +02:00
Flam3rboy
ee35e42153 Merge pull request #300 from fosscord/typeorm 2021-09-01 10:47:00 +02:00
Flam3rboy
ef5df63501 Merge branch 'typeorm' into typeorm 2021-08-31 18:10:36 +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
3f66c10178 🐛 db query fixes 2021-08-31 17:58:47 +02:00
Flam3rboy
adc75ca76b channel recipients 2021-08-31 17:58:28 +02:00
Flam3rboy
e8c9bae897 Channel utility methods in entity 2021-08-31 17:57:44 +02:00
Flam3rboy
a58cc00f83 fix member roles 2021-08-31 17:57:19 +02:00
AlTech98
7fcb68f082 Created list of all possible api errors and made them throwable in routes code 2021-08-31 17:56:38 +02:00
Flam3rboy
f68b3027e3 use insert instead of save 2021-08-31 17:56:33 +02:00
Flam3rboy
5d820f3534 🐛 fix message sending 2021-08-31 17:55:23 +02:00
Flam3rboy
3def279c5a typeorm error handler 2021-08-31 17:54:57 +02:00
AlTech98
b59cbdb081 Implemented voice apis #127 and #78 2021-08-30 21:12:13 +02:00
xnacly
0c777a86f3 added first unittests for api endpoints 2021-08-30 16:23:19 +02:00
xnacly
d107c66358 added setup for jest tests 2021-08-30 16:21:54 +02:00
xnacly
503c0d7b60 added jest config, installed supertest 2021-08-30 16:12:05 +02:00
xnacly
cd0242d42f removed jest config 2021-08-30 16:11:39 +02:00
xnacly
a019a9f900 added db to gitignore 2021-08-30 16:11:34 +02:00
xnacly
e2a61b44bb fixed wrong statuscode in docs 2021-08-30 16:10:58 +02:00
xnacly
3db1abdb50 fixed translation path to display correct error msg 2021-08-30 13:44:52 +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
6c7abc2c7f fix login register + message 2021-08-29 16:58:46 +02:00
Flam3rboy
e0f2a5548d fix rate limit 2021-08-29 16:58:23 +02:00
Flam3rboy
c9ff1774b4 typeorm api rewrite done 2021-08-29 00:03:40 +02:00