1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-09-22 02:31:36 +02:00
Commit Graph

277 Commits

Author SHA1 Message Date
The Arcane Brony
c99360be2a Add subscription plans so the client doesn't crash 2021-10-03 23:17:34 +02:00
Flam3rboy
2f7182ca3d 🐛 fix message reactions 2021-10-03 22:53:01 +02:00
afeuerstein
e86935f2bf fix request failiure with error code 400 2021-10-03 20:06:03 +02:00
Flam3rboy
4a3cd74942 🐛 fix registration 2021-10-03 01:59:38 +02:00
Flam3rboy
7268779dc3 add `right` option to route() 2021-10-03 01:55:57 +02:00
Flam3rboy
1716d92849 🎨 restructure gateway 2021-10-02 15:12:47 +02:00
The Arcane Brony
4901233d0f Merge branch 'master' of https://github.com/TheArcaneBrony/fosscord-server 2021-10-01 22:44:58 +02:00
The Arcane Brony
2cd210cb7c Add default value to guild discovery" 2021-10-01 22:43:58 +02:00
TheArcaneBrony
7768d09984 Merge branch 'fosscord:master' into master 2021-10-01 22:12:43 +02:00
The Arcane Brony
40f7e7b7d4 Add setting to show all guilds in discovery, fix query for guild discovery 2021-10-01 22:11:56 +02:00
Flam3rboy
3fa2ded35a 🐛 fix schema + user modify not working 2021-10-01 21:30:36 +02:00
Flam3rboy
17081d4483 registration disabled notice 2021-10-01 20:11:05 +02:00
uurgothat
d23f4bbe98 hotfix for misc routes 2021-09-30 18:57:53 +03:00
uurgothat
d4a216ab2e Add misc routes 2021-09-30 17:57:51 +03:00
uurgothat
8024f2061d store improvements 2021-09-29 17:28:13 +03:00
Flam3rboy
81923a0729 🐛 fix channel permission overwrites 2021-09-26 11:34:06 +02:00
Flam3rboy
4b2e93c84b add private and public endpoint 2021-09-25 23:55:19 +02:00
Flam3rboy
1c49d82400 🐛 message attachment url 2021-09-25 23:54:52 +02:00
Flam3rboy
e2a22da5c4 🐛 fix #392 2021-09-25 04:20:35 +02:00
Flam3rboy
41f05a5abc 🐛 fix guild template create 2021-09-25 04:20:11 +02:00
Flam3rboy
7f0338aea0 🎨 sort openapi tags by alphabet 2021-09-23 19:36:35 +02:00
Flam3rboy
390493b8d4 🐛 fix install script 2021-09-23 16:30:28 +02:00
Flam3rboy
c398c1512e 🐛 fix (pre) install scripts 2021-09-23 16:03:50 +02:00
Flam3rboy
e9c3f7ee1c example value in documentation 2021-09-21 23:29:17 +02:00
Flam3rboy
22c744398c unit tests expect event 2021-09-21 23:13:31 +02:00
Flam3rboy
2a094c603a generate openapi documentation 2021-09-21 22:52:30 +02:00
Flam3rboy
eb2f447d96 🐛 fix unittests 2021-09-20 23:35:37 +02:00
Flam3rboy
cc33e87a14 add option to disable all rate limits 2021-09-20 23:35:32 +02:00
Flam3rboy
8d611abe45 🐛 fix errror handler 2021-09-20 23:35:04 +02:00
Flam3rboy
912d1c31d8 🎨 rewrite imports 2021-09-20 23:34:54 +02:00
Flam3rboy
16a3d1b334 Merge branch 'master' into unittests 2021-09-20 21:49:42 +02:00
Flam3rboy
5b3ac6dadb 🐛 fix relationships 2021-09-20 21:34:33 +02:00
Flam3rboy
fe34c5da87 Merge pull request #382 from fosscord/auto-delete-relations
Auto delete relations
2021-09-20 21:27:08 +02:00
Flam3rboy
62f9b35185 🐛 fix .delete -> add onDelete: "CASCADE" 2021-09-20 20:22:56 +02:00
Flam3rboy
2d183f4c45 Update index.ts 2021-09-20 18:33:33 +02:00
Chris Chrome
a4811d86ce oRdEr Of OpErAtIoNs 2021-09-20 12:16:17 -04:00
Chris Chrome
86cbd18ba4 Merge remote-tracking branch 'origin/master' 2021-09-20 11:45:13 -04:00
Flam3rboy
dd9ec0c6a0 accept invite page 2021-09-20 17:38:16 +02:00
Chris Chrome
013a4b8bc8 Fix one thing, another problem pops up
Co-authored-by: TheArcaneBrony <myrainbowdash949@gmail.com>
2021-09-20 11:29:37 -04:00
Flam3rboy
6c0a69d95b ⬆️ update test client 2021-09-20 17:15:47 +02:00
Flam3rboy
ce09e01c21 🚧 auto delete relations 2021-09-20 17:11:22 +02:00
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
3c8b0f43c4 Merge branch 'master' into auto-delete-relations 2021-09-19 19:09:13 +02:00
Flam3rboy
e6839719a6 Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-19 18:59:54 +02:00
Flam3rboy
994406e5ce 🎨 remove deleteMessageAttachments and move to entity 2021-09-19 18:46:22 +02:00
Flam3rboy
c50648ddcc 🚚 move handleFile to cdn 2021-09-19 18:44:49 +02:00
Flam3rboy
75e948b62b 🎨 user is verified by default 2021-09-19 18:43:25 +02:00
The Arcane Brony
157f29536a Fix environment variable name to work on non-Windows platforms 2021-09-18 21:03:23 +02:00
Flam3rboy
fa9f512c90 Merge pull request #375 from TheArcaneBrony/request-logging
Add request logging (with env var: log-requests)
2021-09-18 20:45:30 +02:00
The Arcane Brony
0d41e18065 Add response code white/blacklisting 2021-09-18 20:43:00 +02:00
AlTech98
e5120c0c5b Merge branch 'fosscord:master' into fix-dm 2021-09-18 18:37:06 +02:00
AlTech98
ada95b6c39 Removed ChannelService, more fixes 2021-09-18 18:36:29 +02:00
The Arcane Brony
0d3562de76 Add request logging (with env var: log-requests)
Request logging is enabled when the log-request environment variable is set.
2021-09-18 18:13:15 +02:00
Flam3rboy
e628c92a44 Update connections.ts 2021-09-18 16:24:42 +02:00
The Arcane Brony
55ae0d6ae9 Add /users/@me/connections 2021-09-18 16:11:03 +02:00
Flam3rboy
a3484e64e4 route middleware test option 2021-09-18 11:56:06 +02:00
AlTech98
5d6fa7697a Merge branch 'fosscord:master' into fix-dm 2021-09-18 08:03:52 +02:00
Flam3rboy
a7bf295591 jest automatic tests 2021-09-18 01:50:29 +02:00
Flam3rboy
1e331b7c9d 🎨 use typescript plugin that converts to relative paths 2021-09-18 01:50:20 +02:00
Flam3rboy
69550e535e generate test responses 2021-09-18 01:49:36 +02:00
Flam3rboy
54412a3364 📝 add default route description to all routes 2021-09-18 01:49:17 +02:00
Flam3rboy
181afe7e09 🐛 fix guild create icon 2021-09-18 00:19:53 +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
6d0f9abe0d Merge branch 'fosscord:master' into fix-dm 2021-09-17 18:13:02 +02:00
AlTech98
c4cfa42c60 Fix GET /users/@me/channels 2021-09-17 13:59:21 +02:00
Flam3rboy
4003fef534 🐛 fix vanity url 2021-09-16 22:03:30 +02:00
AlTech98
d630f09f80 Implemented DMs and group DMs 2021-09-16 21:33:36 +02:00
AlTech98
0506d40aa1 Dummy sticker-packs routes 2021-09-16 21:31:39 +02:00
Flam3rboy
b446a3110b ⬆️ update package 2021-09-16 20:55:50 +02:00
Flam3rboy
60ee234891 Revert "fix #128"
This reverts commit 8893fd16d9.
2021-09-16 20:49:17 +02:00
Flam3rboy
173f03c596 Revert "fix #129"
This reverts commit 8f862f0e5d.
2021-09-16 20:49:12 +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
Flam3rboy
8f862f0e5d fix #129 2021-09-14 21:16:15 +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
Flam3rboy
8418498a97 Merge pull request #360 from AlTech98/invite
Invite fixes
2021-09-14 13:13:50 +02:00
AlTech98
b17f3c053d Emit INVITE_DELETE 2021-09-14 09:38:52 +02:00
AlTech98
8f68c4abcf Fix invites creation 2021-09-14 09:38:21 +02:00
uurgothat
9b10ab2d0b add store endpoints 2021-09-13 21:22:14 +03:00
AlTech98
7cdcb82ecd Fix #356 2021-09-13 19:25:44 +02:00
Flam3rboy
68eae50a63 Update index.ts 2021-09-13 19:12:19 +02:00
AlTech98
b15a93d120 Emit USER_UPDATE, fix #214 2021-09-13 19:09:01 +02:00
Flam3rboy
8568b3cdce 🐛 fix fosscord.js 2021-09-13 17:51:37 +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
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
e32bb24fa8 🐛 fix invites: ajv doesn't treat null as undefined 2021-09-13 00:00:11 +02:00
Flam3rboy
33533fc183 Merge branch 'typescript-interface-body-parser+autogenerate-unit-tests+documentation' 2021-09-12 23:32:55 +02:00
Flam3rboy
6ba9c834bd #307 done 2021-09-12 23:28:56 +02:00
Flam3rboy
e2c66a1fe5 🚧 new body parser (bans route) 2021-09-12 21:21:08 +02:00
Flam3rboy
60535f5159 🎨 remove long relatives paths -> short module paths 2021-09-12 21:09:29 +02:00
AlTech98
c073adf3ba Add dummy missing routes 2021-09-12 19:27:29 +02:00
AlTech98
3cd404eb42 Fix relationships get query 2021-09-09 18:32:36 +02:00
Stilic
0bbb1bad5a Fix upload size 2021-09-08 13:34:37 +02:00
Cyber
405a2964da Add token authorization method to swagger openapi 2021-09-04 23:21:14 +02:00