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

112 Commits

Author SHA1 Message Date
xnacly
1211e486f9 replace '@me' with req.user_id in guild join 2021-09-03 21:33:25 +02:00
xnacly
7db26b5952 moved Constants and Errorhandler from api to util 2021-09-03 21:29:17 +02:00
xnacly
afff55cb59 added template for future routes 2021-09-03 21:28:07 +02:00
xnacly
77a87acfe6 Merge branch 'master' of https://github.com/fosscord/fosscord-server 2021-09-03 20:00:21 +02:00
xnacly
787b830a09 fixed 'undefined not found' + error not showing in client 2021-09-03 20:00:19 +02:00
Flam3rboy
0be8c804b4 improve invite generation 2021-09-03 15:48:24 +02:00
Flam3rboy
d5fcb7f971 🐛 fix #311 2021-09-03 15:27:00 +02:00
Flam3rboy
a446837679 🐛 fix member roles + list 2021-09-03 13:23:20 +02:00
Flam3rboy
e2ea701920 guild position update 2021-09-03 05:03:11 +02:00
Flam3rboy
001dbe800c 📝 drop tables script 2021-09-03 04:04:48 +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
acb5fba488 🐛 fix member + member list 2021-09-03 03:37:55 +02:00
Flam3rboy
11af8531cc 🐛 fix entity missing an id (replace .insert with new Entity().save) 2021-09-02 21:31:44 +02:00
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
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
df1d633c4b Merge pull request #300 from fosscord/typeorm 2021-09-01 10:47:00 +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
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
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
be238a89b9 fix login register + message 2021-08-29 16:58:46 +02:00
Flam3rboy
7674149085 fix rate limit 2021-08-29 16:58:23 +02:00
Flam3rboy
e99008a1a5 typeorm api rewrite done 2021-08-29 00:03:40 +02:00