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

2870 Commits

Author SHA1 Message Date
Erkin Alp Güney
da8d376a6b
Update purge.ts 2022-05-15 00:16:50 +03:00
Erkin Alp Güney
78796c3ce1
Update MessageFlags.ts 2022-05-11 00:44:19 +03:00
Erkin Alp Güney
37543ec0fd
Update MessageFlags.ts 2022-05-11 00:43:57 +03:00
Erkin Alp Güney
ce6556db47
add more message flags 2022-05-11 00:40:00 +03:00
Erkin Alp Güney
fe06d2b65b
more event types 2022-05-10 19:43:28 +03:00
Erkin Alp Güney
bc76c840b8
Remove more WAAO references 2022-05-06 18:23:52 +03:00
Erkin Alp Güney
e9ac23c1fe messages before/after soundness check 2022-04-30 07:44:44 +03:00
Erkin Alp Güney
9d908e0877 patch for missing router schema, and also add purge route self-deletion checks 2022-04-30 00:39:44 +03:00
Erkin Alp Güney
63b6ac57d6 introduce the purge endpoint
closes #281
2022-04-28 22:31:54 +03:00
Erkin Alp Güney
f033d1fb2b
Update prune.ts 2022-04-28 21:51:35 +03:00
Erkin Alp Güney
e1399b2875 needs to be async 2022-04-28 21:38:39 +03:00
Erkin Alp Güney
9ecd3d530b
exempt users logic
resolves #396
2022-04-28 21:30:41 +03:00
Erkin Alp Güney
3854af587c
Merge pull request #736 from MaddyUnderStars/backfilling
Backfilling sanitation etc
2022-04-27 23:09:39 +03:00
Kuna
a04e347088
Hotfix for workspace (#739) 2022-04-27 23:09:01 +03:00
Erkin Alp Güney
2b1e1a3c02
Forum and guild directory types 2022-04-27 21:35:36 +03:00
Thesourtimes
540e643b86 Do stuff for npm workspace 2022-04-26 22:47:35 +03:00
Samuel
44e1ce11d8 New translations common.json (Polish) 2022-04-25 14:59:49 +02:00
Samuel
80a80cc873 New translations auth.json (Polish) 2022-04-25 14:59:48 +02:00
Erkin Alp Güney
c9c660f7a7 eventually fix those errors 2022-04-24 23:07:25 +03:00
Erkin Alp Güney
4871513640
Update RateLimit.ts 2022-04-24 23:04:55 +03:00
Erkin Alp Güney
08097e157f
Update Token.ts 2022-04-24 22:40:36 +03:00
Erkin Alp Güney
fb5c79eefa
Update RateLimit.ts 2022-04-24 21:49:04 +03:00
Erkin Alp Güney
16c10c581c
fix the seconds rounding logic 2022-04-24 17:35:09 +03:00
Erkin Alp Güney
c87671d080
Punitive rate limiting 2022-04-24 14:57:26 +03:00
Erkin Alp Güney
e68e4639ff
use return codes to allow for automation 2022-04-24 11:40:24 +03:00
Erkin Alp Güney
3775c1207a
refine error codes for backfill constraint violations 2022-04-24 09:57:00 +03:00
Erkin Alp Güney
7d665a83fa
API response codes for backfill errors 2022-04-24 09:48:45 +03:00
Erkin Alp Güney
755f278e53
Backfilling privilege does not imply right to post messages 2022-04-24 09:23:52 +03:00
Madeline
fcc104d60c
While backfilling, message ids must now be valid snowflakes, cannot be in the future, and cannot overwrite existing messages 2022-04-24 16:09:38 +10:00
Madeline
e1185cd947
Merge branch 'fix/categoryNames' into slowcord 2022-04-24 15:14:13 +10:00
Madeline
2316002cd8
Categories skip most of the ALLOW_INVALID_CHANNEL_NAMES checks on discord.com ( they also trim whitespace ) 2022-04-24 15:09:45 +10:00
Erkin Alp Güney
7835cb9963
Update Message.ts 2022-04-23 16:40:54 +03:00
Erkin Alp Güney
fc50c8fa81
self commands and /me messages 2022-04-23 16:37:16 +03:00
Erkin Alp Güney
ec3c158269 Merge branch 'master' of https://github.com/fosscord/fosscord-server 2022-04-23 10:57:49 +03:00
Erkin Alp Güney
4a4c16cf48 backfilling — first steps 2022-04-23 10:56:47 +03:00
Erkin Alp Güney
f17cc6bba2
text+voice code is already there 2022-04-22 23:03:36 +03:00
TheArcaneBrony
3491d01dca
Merge pull request #734 from MaddyUnderStars/fix/sanitisation
Fix users arbitrarily editing their own User object, and disallow sending messages to certain channels ( eg categories )
2022-04-22 18:12:18 +02:00
Madeline
d56c5149ce
Fix not assigning new changes to input fields in users/@me 2022-04-23 01:48:41 +10:00
Madeline
15c9b3859f
Merge branch 'fix/sanitisation' into slowcord 2022-04-23 01:47:51 +10:00
Madeline
1319e0c04e
Can no longer send messages to channel types that do not support it ( categories, voice etc ) 2022-04-23 01:28:03 +10:00
Madeline
5c27b52334
Fixed ability for user to edit any property of themselves, including rights, flags. Note to self: schemas.json is a GENERATED file. npm run generate:schema in api/ 2022-04-23 01:07:59 +10:00
Erkin Alp Güney
ed69bbbe47
Update UserGroup.ts 2022-04-21 18:51:40 +03:00
Erkin Alp Güney
f60ffd3c41 user groups - first steps 2022-04-21 18:50:12 +03:00
Madeline
53ced803d1
Merge branch 'slowcord' of github.com:MaddyUnderStars/fosscord-server into slowcord 2022-04-19 20:10:03 +10:00
Madeline
546f81eefa
Merge branch 'master' into slowcord 2022-04-19 20:09:22 +10:00
TheArcaneBrony
573052f0c5
Try catch cpu log 2022-04-19 01:43:46 +02:00
TheArcaneBrony
96b3929fa4
Use 1 thread on platform where fetching thread/core count fails 2022-04-19 00:57:58 +02:00
Erkin Alp Güney
3061c24780 general rights enforcement stuff 2022-04-18 22:02:32 +03:00
Erkin Alp Güney
5f183fdf65 Merge branch 'master' of https://github.com/fosscord/fosscord-server 2022-04-18 21:22:51 +03:00
Erkin Alp Güney
53ca3925bf get single message && message rights enforcement 2022-04-18 21:21:40 +03:00