95 Commits

Author SHA1 Message Date
Erkin Alp Güney
3e0f568ba4 Extend the pretense of non-existence of self-bans to API view route too 2022-02-02 23:27:54 +03:00
Erkin Alp Güney
8b641d099a Better protection against self-bans 2022-02-02 23:21:38 +03:00
Erkin Alp Güney
cca854b943 Make self-bans irreversible 2022-02-02 23:14:35 +03:00
Erkin Alp Güney
986fc8a5e4 Allow self-ban of non-owners 2022-02-02 22:07:27 +03:00
TheArcaneBrony
713b6d07b4 Add dummy endpoints to prevent client loading some settings panels indefinitely 2022-01-24 16:33:29 +03:00
Chris Chrome
aaf5df14e1 Add Role Icons (#574)
* Role Icons

Co-authored-by: Erkin Alp Güney <erkinalp9035@gmail.com> 
*  Cache coherency rules

Co-authored-by: MANIKILLER <manikillrorg@gmail.com>
Co-authored-by: ImAaronFR <96433859+ImAaronFR@users.noreply.github.com>
2022-01-05 13:44:14 +03:00
Kuna
ded0567d2c Comment about the hotfix 2021-12-24 19:08:24 +00:00
Thesourtimes
d55e7c5b8d (Finally) make a temporary fix for IP leak 2021-12-24 21:55:34 +03:00
Kuna
f14bbf5be3 Fix typo 2021-12-24 18:25:17 +00:00
Thesourtimes
48766b933d Fix IP leaks from bans route 2021-12-24 21:10:24 +03:00
Samuel
49aae7b16f Update index.ts 2021-11-21 21:03:13 +01:00
uurgothat
74dee34f69 Minor API stuff 2021-11-17 22:28:41 +03:00
uurgothat
d6cadb02f4 make templates configurable + authorization 2021-10-24 19:49:32 +03:00
uurgothat
537da73d38 Merge branch 'master' of https://github.com/fosscord/fosscord-server 2021-10-24 18:13:51 +03:00
developomp
99f6da9762 prettier formatted /api 2021-10-20 09:13:22 +09: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
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
Flam3rboy
3999603391 sticker events 2021-10-15 18:39:28 +02:00
Flam3rboy
e1b991dfd1 Merge branch 'master' into sticker 2021-10-15 13:32:26 +02:00
Flam3rboy
b844b6b39c 🐛 fix prune 2021-10-15 00:35:18 +02:00
Flam3rboy
bc85d6ff86 🎨 reformat 2021-10-15 00:03:35 +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
ded81bcd29 stickers 2021-10-14 19:46:45 +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
2af567b522 🐛 fix #371 2021-10-11 15:21:11 +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
a61cbbe40c 🐛 convert bigint literal to object 2021-10-10 11:08:55 +02:00
Lobo Metalúrgico
5c4774a6f9 (api): fix some issues 2021-10-09 13:50:34 -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
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
1bc56e5131 added autoJoin guild to config 2021-10-05 19:37:20 +02:00
Flam3rboy
9d2f0ddf5c 🐛 fix guild create with client template 2021-10-05 17:00:43 +02:00
Flam3rboy
41f05a5abc 🐛 fix guild template create 2021-09-25 04:20:11 +02:00
Flam3rboy
2a094c603a generate openapi documentation 2021-09-21 22:52:30 +02:00
Flam3rboy
16a3d1b334 Merge branch 'master' into unittests 2021-09-20 21:49:42 +02:00
Flam3rboy
62f9b35185 🐛 fix .delete -> add onDelete: "CASCADE" 2021-09-20 20:22:56 +02:00
Flam3rboy
c50648ddcc 🚚 move handleFile to cdn 2021-09-19 18:44:49 +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