Commit Graph

421 Commits

Author SHA1 Message Date
ChrisEric1 CECL
2ef49012b8 Remove: console.log(CACHE MISS! Asset file: x); 2022-08-06 16:42:55 -04:00
TheArcaneBrony
88916865ee Merge branch 'master' into 2fa 2022-08-06 02:33:12 +02:00
TheArcaneBrony
e70a8a77f1 Merge pull request #804 from MaddyUnderStars/feat/notesTable
Move user notes into separate table
2022-08-06 00:50:41 +02:00
TheArcaneBrony
7e34c5ce74 Merge pull request #809 from Puyodead1/patch/user-modify
add discriminator to user modify schema
2022-08-06 00:40:00 +02:00
TheArcaneBrony
37a67dad3f Merge pull request #792 from fosscord/dev/local-cache
Add local disk caching for fetched assets
2022-08-06 00:34:16 +02:00
Madeline
40aee6d4fe Merge branch 'master' into 2fa 2022-08-01 20:39:20 +10:00
TheArcaneBrony
6e9bd98711 Make requested changes (pr792) 2022-07-31 15:01:19 +02:00
Puyodead1
f3b1e9b026 add discriminator to user modify schema 2022-07-30 14:33:01 -04:00
Puyodead1
9ab01e0404 fix: not being able to enable community 2022-07-26 10:08:12 +03:00
Madeline
78acb2a013 Delete Note if no content 2022-07-23 21:06:31 +10:00
Madeline
c73dbe9c5b Moved user notes into separate table 2022-07-23 20:52:48 +10:00
Madeline
eb7f2c7b72 Add config security_twoFactor_generateBackupCodes to control backup code generation 2022-07-20 22:04:19 +10:00
Madeline
1c2cddb7c4 2fa 2022-07-20 20:14:30 +10:00
TheArcaneBrony
cf3873d62f Add local disk caching for fetched assets 2022-07-17 18:56:47 +02:00
Madeline
2236cf593c * Make max website preview download size for embeds configurable
* Fix Message.update call throwing 'Cannot query across one-to-many for property attachments'
2022-07-09 09:45:28 +03:00
Madeline
6a78c6561b Removed unused import
tab autocomplete really loves doing this to me
2022-07-09 14:58:50 +10:00
Madeline
f4368d6aa2 Allow multiple attachments in messages 2022-07-09 14:15:15 +10:00
LachlanCourt
d47c0d6a82 Format changed files 2022-07-04 22:22:43 +03:00
LachlanCourt
078c87ae17 Ensure query fails if role with specified id does not exist 2022-07-04 22:22:43 +03:00
LachlanCourt
73416102a0 Add semicolon 2022-07-04 22:22:43 +03:00
LachlanCourt
5dc1479431 Simplify role query as per code review 2022-07-04 22:22:43 +03:00
LachlanCourt
9f8aa049c9 Move role_id specific api routes to correct file 2022-07-04 22:22:43 +03:00
LachlanCourt
04f22cbfd0 Fix compile error in get request 2022-07-04 22:22:43 +03:00
LachlanCourt
bed535d041 Create role subdirectory and add GET api route 2022-07-04 22:22:43 +03:00
Madeline
11f7d9da78 Skip check for rate limit bypass if no user id is provided 2022-07-02 12:05:45 +03:00
Madeline
d834b52fc4 Fix compile errors in latest 2022-06-26 23:33:51 +10:00
Erkin Alp Güney
cecd9f6e82 fix the wrong name 2022-06-26 14:42:06 +03:00
Erkin Alp Güney
a034698970 self-leave logic 2022-06-26 14:41:06 +03:00
Erkin Alp Güney
84b631e9b6 JOIN_GUILDS is not the right flag there 2022-06-26 14:26:36 +03:00
Madeline
ffe9bf1299 Expose general instance information via api /ping route 2022-06-08 16:58:27 +10:00
Madeline
ad1aafa7c6 Respect register_dateOfBirth_required = false 2022-05-30 23:29:35 +10:00
Erkin Alp Güney
510ef5aebe Update index.ts 2022-05-15 17:43:30 +03:00
Erkin Alp Güney
5733461feb Merge branch 'master' of https://github.com/fosscord/fosscord-server 2022-05-15 09:12:11 +03:00
Erkin Alp Güney
bce71f5f6a Update bulk-delete.ts 2022-05-15 00:23:17 +03:00
Erkin Alp Güney
da8d376a6b Update purge.ts 2022-05-15 00:16:50 +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
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
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
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