1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-06 19:02:33 +01:00
Commit Graph

643 Commits

Author SHA1 Message Date
Samuel
b40d8721ab New translations common.json (Catalan) 2021-10-20 14:43:28 -04:00
Samuel
6c91349937 New translations common.json (Bulgarian) 2021-10-20 14:43:27 -04:00
Samuel
00ecb5a896 New translations common.json (Belarusian) 2021-10-20 14:43:26 -04:00
Samuel
61ff577774 New translations common.json (Arabic) 2021-10-20 14:43:25 -04:00
Samuel
7fba9197d5 New translations common.json (Afrikaans) 2021-10-20 14:43:24 -04:00
Samuel
0981020e40 New translations common.json (Spanish) 2021-10-20 14:43:23 -04:00
Samuel
da6419d34e New translations common.json (Danish) 2021-10-20 14:43:22 -04:00
Samuel
898c403c36 New translations common.json (French) 2021-10-20 14:43:21 -04:00
Samuel
ac97fc0790 New translations common.json (Norwegian) 2021-10-20 14:43:19 -04:00
Samuel
1172667f15 New translations common.json (Portuguese) 2021-10-20 14:43:18 -04:00
Samuel
c8feeca707 New translations common.json (Sinhala) 2021-10-20 14:43:17 -04:00
Samuel
425a3863b1 New translations common.json (Esperanto) 2021-10-20 14:43:16 -04:00
Samuel
6c8d117d4b New translations common.json (Hindi) 2021-10-20 14:43:15 -04:00
Samuel
53e5509523 New translations common.json (Croatian) 2021-10-20 14:43:14 -04:00
Samuel
213fd93fb5 New translations common.json (Persian) 2021-10-20 14:43:13 -04:00
Samuel
59dc2a1c20 New translations common.json (Indonesian) 2021-10-20 14:43:12 -04:00
Samuel
584db3a6b8 New translations common.json (Portuguese, Brazilian) 2021-10-20 14:43:11 -04:00
Samuel
9412762a46 New translations common.json (Polish) 2021-10-20 14:43:10 -04:00
Samuel
fb64d6f315 New translations common.json (Vietnamese) 2021-10-20 14:43:08 -04:00
Samuel
af6451b6a8 New translations common.json (Chinese Simplified) 2021-10-20 14:43:07 -04:00
Samuel
516803ae39 New translations common.json (Ukrainian) 2021-10-20 14:43:06 -04:00
Samuel
c321c2673c New translations common.json (Turkish) 2021-10-20 14:43:05 -04:00
Samuel
2e09093ad0 New translations common.json (Swedish) 2021-10-20 14:43:03 -04:00
Samuel
4a6e976b3a New translations common.json (Serbian (Cyrillic)) 2021-10-20 14:43:02 -04:00
Samuel
991885b062 New translations common.json (Slovak) 2021-10-20 14:43:01 -04:00
Samuel
900d615323 New translations common.json (Russian) 2021-10-20 14:43:00 -04:00
Samuel
7211c06227 New translations common.json (Chinese Traditional) 2021-10-20 14:42:59 -04:00
Samuel
1bbb9dd5ce New translations common.json (Romanian) 2021-10-20 14:42:58 -04:00
Samuel
e2987290ff Update source file common.json 2021-10-20 14:42:54 -04:00
developomp
99f6da9762 prettier formatted /api 2021-10-20 09:13:22 +09:00
Samuel
af47584e19 New translations auth.json (Lithuanian) 2021-10-19 02:29:06 -04:00
Samuel
cbcb9edcaa Merge pull request #485 from fosscord/translation 2021-10-19 01:21:18 -04:00
Samuel
3305bf1034 New translations common.json (Vietnamese) 2021-10-18 22:49:57 -04:00
Samuel
58e5b89277 New translations auth.json (Vietnamese) 2021-10-18 22:49:56 -04:00
Samuel
6e8283ad07 New translations common.json (Vietnamese) 2021-10-18 21:40:43 -04:00
Samuel
a2ac96924d New translations auth.json (Polish) 2021-10-18 21:40:41 -04:00
Flam3rboy
01fb2dbf4d use better-sqlite3 as default db 2021-10-18 22:55:54 +02:00
Flam3rboy
2a85285e63 🐛 fix bulk delete 2021-10-18 22:55:36 +02:00
Samuel
3482735aca Merge pull request #483 from fosscord/translation
New Crowdin updates
2021-10-18 14:38:43 -04:00
Samuel
ddcdb5b9c6 New translations common.json (Portuguese) 2021-10-18 14:23:33 -04:00
Samuel
0c3fa94c34 New translations common.json (Chinese Simplified) 2021-10-18 14:23:27 -04:00
Samuel
bcd412146d New translations common.json (Chinese Traditional) 2021-10-18 14:23:23 -04:00
Samuel
04df1d1591 New translations common.json (Portuguese, Brazilian) 2021-10-18 14:23:21 -04:00
Samuel
157c2b17a4 New translations auth.json (Russian) 2021-10-18 14:23:13 -04:00
Samuel
ba1fc2a56c New translations auth.json (Portuguese) 2021-10-18 14:23:12 -04:00
Samuel
795dac6d1c New translations auth.json (Slovak) 2021-10-18 14:23:04 -04:00
Samuel
cdf740d123 New translations auth.json (Turkish) 2021-10-18 14:22:53 -04:00
Samuel
76721e17c6 New translations auth.json (Portuguese, Brazilian) 2021-10-18 14:22:39 -04:00
Samuel
519ec4b076 New translations auth.json (Chinese Traditional) 2021-10-18 14:22:37 -04:00
Samuel
2597ed9658 New translations auth.json (Chinese Simplified) 2021-10-18 14:22:34 -04:00
Flam3rboy
d504cdf0ee message performance 2021-10-18 18:34:48 +02:00
Flam3rboy
14edf8899a 🌐 remove unused locales 2021-10-18 18:34:03 +02:00
Samuel
e771c9ea2e New translations common.json (Portuguese) 2021-10-18 18:18:47 +02:00
Samuel
a5c38ace4d New translations common.json (Chinese Simplified) 2021-10-18 18:18:41 +02:00
Samuel
5d643ff755 New translations common.json (Persian) 2021-10-18 18:18:38 +02:00
Samuel
64044a8278 New translations common.json (Sinhala) 2021-10-18 18:18:34 +02:00
Samuel
4c6a5b54c9 New translations auth.json (Portuguese) 2021-10-18 18:18:31 +02:00
Samuel
4556ceef65 New translations auth.json (Sinhala) 2021-10-18 18:18:05 +02:00
Samuel
12692599a1 New translations auth.json (Persian) 2021-10-18 18:18:03 +02:00
Samuel
792a141857 New translations auth.json (Chinese Traditional) 2021-10-18 18:17:59 +02:00
Samuel
8a716f9f72 New translations auth.json (Chinese Simplified) 2021-10-18 18:17:58 +02:00
Flam3rboy
45efdb7ce4 vertically scale bundle 2021-10-18 17:38:31 +02:00
Flam3rboy
435e67b7a9 Revert "fix: make API dockerfile use correct setup steps"
This reverts commit aae55cfe71.
2021-10-18 14:36:57 +02:00
Samuel
508fbce94e fix default cdn endpoint for message attachments 2021-10-18 11:02:08 +02:00
uurgothat
7825ce6ce9 Format the file 2021-10-18 04:38:26 +03:00
uurgothat
7c724175ce external templates + fosscord draft and more configs 2021-10-18 04:36:49 +03:00
Diego Magdaleno
648c9b738c Merge branch 'docker-fix' of https://github.com/hbjydev/fosscord-server into hbjydev-docker-fix 2021-10-17 16:51:17 -05:00
uurgothat
9cda0c2c5a remove unneeded import 2021-10-17 23:23:57 +03:00
uurgothat
652edbd895 Add discord template support 2021-10-17 23:20:46 +03:00
Kuna
1de902108d remove template comment 2021-10-17 21:54:59 +03:00
uurgothat
3a118841a0 oauth2 route draft to return an empty array 2021-10-17 21:51:19 +03:00
Flam3rboy
f4ce00800d 🐛 fix docker image 2021-10-17 02:12:10 +02:00
Flam3rboy
78778c8eee 🐛 fix typing 2021-10-17 01:53:29 +02:00
Flam3rboy
95f5fb3b93 🎨 reformatted 2021-10-17 00:41:24 +02:00
Flam3rboy
38106d9cbb 🎨 clean up instances on start 2021-10-17 00:41:21 +02:00
Flam3rboy
a43ee81b4a 🐛 user settings 2021-10-17 00:41:06 +02:00
Flam3rboy
aec3834fe5 ⬆️ update mnjsf 2021-10-16 21:48:57 +02:00
Chris Chrome
3669823ee7 Fix /gateway/bot
https://canary.discord.com/channels/806142446094385153/806142446529806367/898928295771521125
2021-10-16 09:43:21 -04:00
Flam3rboy
c48eb95af0 🔒 update modules 2021-10-15 23:51:31 +02:00
Flam3rboy
69b3802a0f 🔒 update set-value & tar 2021-10-15 23:43:40 +02:00
Flam3rboy
f272a11230 🐛 fix message sending 2021-10-15 18:55:26 +02:00
Samuel
0c811dbee9 Merge pull request #455 from fosscord/sticker
Stickers
2021-10-15 18:39:57 +02:00
Flam3rboy
3999603391 sticker events 2021-10-15 18:39:28 +02:00
Hayden Young
685cfaf06a fix: update source paths 2021-10-15 14:01:52 +00:00
Samuel
781812a8c6 Merge pull request #462 from hbjydev/unit-tests-expanded
Add unit tests for Gateway endpoints
2021-10-15 15:53:15 +02:00
Hayden Young
aae55cfe71 fix: make API dockerfile use correct setup steps 2021-10-15 13:49:55 +00:00
Hayden Young
f9568d8fc2 feat: add a Router & Route snippet for vscode 2021-10-15 13:11:35 +00:00
Flam3rboy
e1b991dfd1 Merge branch 'master' into sticker 2021-10-15 13:32:26 +02:00
Hayden Young
4100932a8b feat: add tests to gateway routes, split into own routers 2021-10-15 11:05:51 +00:00
Hayden Young
46a8d0f883 chore(merge): remote -> local 2021-10-15 11:03:23 +00:00
Flam3rboy
182de09ccc 🐛 fix unittests 2021-10-15 13:00:23 +02:00
Samuel
d9f4af661b Merge pull request #460 from fosscord/dev
merge dev in master
2021-10-15 00:49:33 +02:00
Flam3rboy
bbd6b0085e 🎨 exclude healthz/readyz from auth 2021-10-15 00:46:09 +02:00
Flam3rboy
d828a5e03d Merge branch 'master' into pr/hbjydev/454 2021-10-15 00:44:19 +02:00
Samuel
dd33d080c1 Merge pull request #448 from Mr2u/master
Route #10 Prune and prune count
2021-10-15 00:35:32 +02:00
Flam3rboy
b844b6b39c 🐛 fix prune 2021-10-15 00:35:18 +02:00
Flam3rboy
85592a980e speed up message query 2021-10-15 00:35:01 +02:00
Flam3rboy
bc85d6ff86 🎨 reformat 2021-10-15 00:03:35 +02:00
Flam3rboy
fb3f957f30 🐛 fix sticker packs 2021-10-15 00:03:19 +02:00
Flam3rboy
d8f77c687e 🐛 fix message sticker sending 2021-10-15 00:03:05 +02:00
Flam3rboy
f38ebe65ed sticker upload 2021-10-15 00:02:23 +02:00
Flam3rboy
5cc5ea3f04 🎨 do not automatically create default guild 2021-10-14 21:25:17 +02:00
Flam3rboy
9e87caaae6 🎨 restructure 2021-10-14 19:47:10 +02:00
Hayden Young
35ef010ba9 feat: implement a database check on the healthz and readyz probes, remove /-/metrics 2021-10-14 18:47:05 +01:00
Flam3rboy
88edaba3ab sticker packs 2021-10-14 19:46:53 +02:00
Flam3rboy
ded81bcd29 stickers 2021-10-14 19:46:45 +02:00
Hayden Young
d5057ab888 feat: initial addition of a healthz, readyz and metrics route 2021-10-14 18:27:19 +01:00
Flam3rboy
4e6ffcbc4f 🐛 fix migration + autojoin 2021-10-14 00:32:15 +02:00
Maddy
d3853a3d7a added route /guilds/:id/prune GET count and POST prune.
Edited Member entity to include last_message_id to avoid searching for every members last message when pruning
When a message is sent through /channels/:id/messages last_message_id of sending Member is updated.
2021-10-13 19:19:46 +11:00
Flam3rboy
dbd327f89d Merge pull request #430 from Thesourtimes/master
Implement GIF route
2021-10-11 16:34:45 +02:00
Flam3rboy
976f76d524 🎨 gifs 2021-10-11 16:34:18 +02:00
Flam3rboy
2af567b522 🐛 fix #371 2021-10-11 15:21:11 +02:00
Flam3rboy
4a34792be6 Merge branch 'master' into pr/Thesourtimes/430 2021-10-11 15:13:16 +02:00
Flam3rboy
a8cae71390 Merge branch 'master' into pr/TheArcaneBrony/434 2021-10-10 19:02:08 +02:00
Flam3rboy
c20d87da28 🐛 fix modify role.permissions 2021-10-10 19:00:50 +02:00
Flam3rboy
4b811d3b51 🐛 fix vanity url 2021-10-10 18:28:38 +02:00
The Arcane Brony
c9e827b3e9 Fix duplicate key 2021-10-10 17:55:48 +02:00
Flam3rboy
4d4e94d8d7 🐛 fix emojis route 2021-10-10 14:10:27 +02:00
Flam3rboy
bffe2a85bd Merge branch 'master' into pr/LoboMetalurgico/424 2021-10-10 12:50:45 +02:00
Flam3rboy
4722dd5d97 🐛 fix tsc compiler 2021-10-10 12:35:46 +02:00
Flam3rboy
a61cbbe40c 🐛 convert bigint literal to object 2021-10-10 11:08:55 +02:00
Flam3rboy
dc85a79498 🎨 clean up imports + classes 2021-10-10 11:03:32 +02:00
Flam3rboy
dbe2258d97 🎨 clean up dependencies 2021-10-10 11:03:04 +02:00
Lobo Metalúrgico
d359652b24 Merge branch 'fosscord:master' into milestoneV1/routes/implement/emojis 2021-10-09 23:44:59 -03:00
xnacly
484758b317 random guest username generation added 2021-10-09 22:49:29 +02:00
Lobo Metalúrgico
5c4774a6f9 (api): fix some issues 2021-10-09 13:50:34 -03:00
Flam3rboy
a1afb9b6e1 🐛 rewrite locale en to en-US 2021-10-09 18:07:01 +02:00
Flam3rboy
d6bc17a8c7 added read state 2021-10-09 17:33:28 +02:00
uurgothat
cf7383763d Implement GIFs 2021-10-09 18:23:16 +03:00
Lobo Metalúrgico
e642b6194a (api): implement post on emoji route 2021-10-09 11:36:58 -03:00
Lobo Metalúrgico
ec8b59c5e5 (api): add patch to emoji route 2021-10-09 10:52:43 -03:00
Lobo Metalúrgico
7cfca122ae Merge remote-tracking branch 'upstream/master' into milestoneV1/routes/implement/emojis 2021-10-09 10:39:26 -03:00
Flam3rboy
d5cdc9198c 🎨 cdn now also works without setting a public endpoint 2021-10-09 14:46:59 +02:00
Flam3rboy
83332fab42 🐛 fix typing 2021-10-09 14:00:28 +02:00
Flam3rboy
77aab2bdd3 🎨 do not auto guest register on login/register page 2021-10-09 13:04:46 +02:00
Flam3rboy
37a2410526 🐛 fix claim account 2021-10-09 13:04:27 +02:00
Flam3rboy
732f88cbb2 added guestsRequireInvite to config 2021-10-09 12:54:03 +02:00
Flam3rboy
6944c76b43 🐛 fix password changing 2021-10-09 12:53:52 +02:00
Lobo Metalúrgico
8bc98e5f68 (api): fix route name 2021-10-08 23:49:45 -03:00
Lobo Metalúrgico
e0839677d5 (api): inital emojis route implementation 2021-10-08 23:45:12 -03:00
Flam3rboy
41a193dff0 🎨 fix imports with new build script 2021-10-09 01:45:02 +02:00
Flam3rboy
826b2c9820 🐛 fix build 2021-10-09 01:44:44 +02:00
Flam3rboy
3b74fa9299 bundle build script 2021-10-08 10:43:43 +02:00
Flam3rboy
29516da90f Merge branch 'compiler-change' of https://github.com/thearcanebrony/fosscord-server into pr/TheArcaneBrony/418-1 2021-10-07 18:22:15 +02:00
Flam3rboy
8bb38139c2 🐛 fix swc config 2021-10-07 18:21:17 +02:00
Flam3rboy
c75c6f508d 🐛 fix types + swcrc configs 2021-10-07 18:20:03 +02:00
Flam3rboy
b5905c1bba 🐛 fix swcrc config: rewrite import -> require 2021-10-07 09:59:04 +02:00
The Arcane Brony
7db9086dd0 Compiler test 2021-10-06 18:20:22 +02:00
Flam3rboy
d99e5c565a ⬆️ update packages 2021-10-06 17:39:32 +02:00
Flam3rboy
1296600de9 ⬆️ lambert-server@1.2.11 2021-10-05 20:47:12 +02:00
Flam3rboy
b0709e4eb9 🐛 fix set user settings 2021-10-05 20:18:14 +02:00
Flam3rboy
ce63639090 🐛 fix user projection 2021-10-05 19:52:42 +02:00
Flam3rboy
b76961657e 🎨 reformatted 2021-10-05 19:37:54 +02:00
Flam3rboy
89ff4bc685 🐛 fix client locale 2021-10-05 19:37:35 +02:00
Flam3rboy
1bc56e5131 added autoJoin guild to config 2021-10-05 19:37:20 +02:00
Flam3rboy
214d6b821c 🎨 move field error to util 2021-10-05 19:34:13 +02:00
Flam3rboy
9cf018d737 add User.register() method 2021-10-05 19:33:23 +02:00
Flam3rboy
2bd5c06bf1 ⬆️ update mnjsf 2021-10-05 19:32:42 +02:00
Flam3rboy
9d2f0ddf5c 🐛 fix guild create with client template 2021-10-05 17:00:43 +02:00
Flam3rboy
2c3fe9bd9e auto register guest account 2021-10-05 16:37:30 +02:00
Flam3rboy
7b63016872 generalize primary column to work with mongodb object id 2021-10-04 22:43:51 +02:00
Flam3rboy
b1c1b681b9 Merge branch 'master' of http://github.com/fosscord/fosscord-server 2021-10-04 22:06:17 +02:00
Flam3rboy
7b58dc3a3d ⬆️ update dependencies 2021-10-04 22:01:05 +02:00
Flam3rboy
b584af656d 🚧 different db engines 2021-10-04 21:57:24 +02:00
Flam3rboy
6ebc45a5da Merge pull request #412 from TheArcaneBrony/master
Add subscription plans so the client doesn't crash
2021-10-03 23:32:28 +02:00
Flam3rboy
f6b7a3c521 🚚 rename id -> sku_id 2021-10-03 23:32:10 +02:00
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
Flam3rboy
0bf59ee28a ⬆️ update test client 2021-09-04 17:59:29 +02:00
Flam3rboy
56d9fa3334 🐛 fix release 2021-09-04 17:39:03 +02:00
AlTech98
c59ccf2176 Added /guilds/:id/voice-states apis 2021-09-04 11:46:46 +02:00
AlTech98
a3c8ab163a Added missing permissions and channel types 2021-09-04 11:43:09 +02:00
Flam3rboy
bb76b07f6d 🐛 fix patch-package 2021-09-04 11:32:11 +02:00
Flam3rboy
e9a8885282 Merge branch 'master' of https://github.com/fosscord/fosscord-api 2021-09-04 11:26:47 +02:00
Flam3rboy
cc9f43fb63 🐛 api member add roles -> make sure that roles exist 2021-09-04 11:26:25 +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
Flam3rboy
85ef7410b2 ⬆️ update mpath because of a security vulnerability 2021-09-04 11:23:39 +02:00
Flam3rboy
0ef9af4a68 🐛 fix error handler and asset router 2021-09-04 11:23:12 +02:00
xnacly
25060ed06e fixed /discoverable-guilds 2021-09-03 23:31:56 +02:00
xnacly
26cc5ac0f9 added first draft of /discoverable-guilds 2021-09-03 21:40:44 +02:00
xnacly
419b0bbc80 Revert "added big todo list to Guild.ts (big chungus)"
This reverts commit 0f58995182.
2021-09-03 21:36:19 +02:00
xnacly
0f58995182 added big todo list to Guild.ts (big chungus) 2021-09-03 21:33:44 +02:00
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