Commit Graph

1738 Commits

Author SHA1 Message Date
Flam3rboy 562a53d6bb add user_id field to Member 2021-09-02 19:50:05 +02:00
Flam3rboy c410fbcc0d 🎨 update openapi title 2021-09-02 10:27:33 +02:00
Flam3rboy f056885fb0 Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-02 00:14:34 +02:00
Flam3rboy 854239e0e1 ⬆️ update dependencies 2021-09-01 23:35:20 +02:00
Flam3rboy cba341a6d6 🐛 fix entity types and projection 2021-09-01 23:34:55 +02:00
Flam3rboy 1a76c663d2 generate open api schema based on body and db entities 2021-09-01 23:33:14 +02:00
xnacly a1a859b1c1 added /login unittest 2021-09-01 22:14:06 +02:00
xnacly 5618e748b4 see parent 2021-09-01 22:13:27 +02:00
xnacly 26be2f9a1d fixed globalSetup for jest 2021-09-01 22:10:44 +02:00
xnacly e8ff7498c6 removed logging of database queries 2021-09-01 22:10:14 +02:00
Flam3rboy b5456f10cc Merge pull request #302 from sudenoh/master
Added property maxWebhooks to ConfigValue and defined a default value…
2021-09-01 15:45:33 +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 44ea23f648 Merge pull request #301 from fosscord/feat--DiscordApiErrors
Use discord api errors and check limits
2021-09-01 11:31:59 +02:00
Flam3rboy 7ff5e14887 use DiscordApiErrors and check limits 2021-09-01 11:27:52 +02:00
Flam3rboy 2e7ec1ec63 fix #295 2021-09-01 11:07:56 +02:00
Flam3rboy df1d633c4b Merge pull request #300 from fosscord/typeorm 2021-09-01 10:47:00 +02:00
Flam3rboy a95c7aa59c Merge pull request #299 from AlTech98/typeorm
Created list of all possible api errors and made them throwable in routes code
2021-08-31 18:13:16 +02:00
Flam3rboy f654635d6a Merge branch 'typeorm' into typeorm 2021-08-31 18:10:36 +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 cc8c5359ce 🐛 db query fixes 2021-08-31 17:58:47 +02:00
Flam3rboy d073c52f29 channel recipients 2021-08-31 17:58:28 +02:00
Flam3rboy 9400fc8fb8 Channel utility methods in entity 2021-08-31 17:57:44 +02:00
Flam3rboy 1c897af1be fix member roles 2021-08-31 17:57:19 +02:00
AlTech98 7baa2fbe52 Created list of all possible api errors and made them throwable in routes code 2021-08-31 17:56:38 +02:00
Flam3rboy 42a50c0674 use insert instead of save 2021-08-31 17:56:33 +02:00
Flam3rboy f59fae674d 🐛 fix message sending 2021-08-31 17:55:23 +02:00
Flam3rboy e508282a55 typeorm error handler 2021-08-31 17:54:57 +02:00
Flam3rboy 3d929755fb delete _ids from entities 2021-08-31 17:54:09 +02:00
Flam3rboy fb439c5717 Merge pull request #297 from AlTech98/typeorm
Implemented voice apis #127 and #78
2021-08-31 00:46:16 +02:00
AlTech98 89304ff47b Implemented voice apis #127 and #78 2021-08-30 21:12:13 +02:00
xnacly 1d7d3b3022 added first unittests for api endpoints 2021-08-30 16:23:19 +02:00
xnacly 9e4c7d119b added setup for jest tests 2021-08-30 16:21:54 +02:00
xnacly 5e2dd88908 added jest config, installed supertest 2021-08-30 16:12:05 +02:00
xnacly fb0e79afa3 removed jest config 2021-08-30 16:11:39 +02:00
xnacly 99c125470f added db to gitignore 2021-08-30 16:11:34 +02:00
xnacly 12a227d3fc fixed wrong statuscode in docs 2021-08-30 16:10:58 +02:00
xnacly 382fc62f5a fixed translation path to display correct error msg 2021-08-30 13:44:52 +02:00
Flam3rboy 7847f55ef6 Merge branch 'typeorm' of https://github.com/fosscord/fosscord-api into typeorm 2021-08-30 12:15:07 +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
xnacly 088a97092b added unittests for filestorage [cdn] 2021-08-29 18:34:20 +02:00
xnacly 9b29209361 added /external unit tests [cdn] 2021-08-29 18:05:46 +02:00
xnacly 498475c501 fixed missing imports and programming issues [cdn] 2021-08-29 17:29:05 +02:00
Flam3rboy bee6f71298 🐛 convert bigint -> string 2021-08-29 17:12:46 +02:00
xnacly aa340d0a3b added todo to fileStorage [cdn] 2021-08-29 17:11:27 +02:00
xnacly 4adf2bdc54 added /avatars unittests [cdn] 2021-08-29 17:11:01 +02:00
xnacly 641af37d5a fixed tests for cdn 2021-08-29 17:00:03 +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 2b858c3f0d fix cdn 2021-08-29 16:58:56 +02:00
Flam3rboy c3a1740c76 fix bundle 2021-08-29 16:58:53 +02:00