iceshrimp/packages/backend
daikei 13af804543 Discard notes made before Fedi's existence, or after today (#9605)
This PR should kill #9531 - Safeguarding against posts that are made before 2007 (Identica being made in 2008, the 'first ever activitypub software' according to wikipedia.)

Personally, if gone unnoticed, I believe that notes from the past can be used as an attack vector to silently flood a database.

Co-authored-by: Kio-td <kio.thedev@gmail.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9605
Co-authored-by: daikei <daikei@noreply.codeberg.org>
Co-committed-by: daikei <daikei@noreply.codeberg.org>
2023-02-11 21:05:31 +00:00
..
.idea Create move type 2022-11-23 21:49:52 +01:00
.vscode Update settings.json 2022-04-15 21:33:00 +09:00
assets Add source SVG logo files 2023-02-11 06:11:02 +00:00
migration
nsfw-model
src Discard notes made before Fedi's existence, or after today (#9605) 2023-02-11 21:05:31 +00:00
test Remove usused eslint files 2023-01-12 22:27:17 -08:00
.mocharc.json
.swcrc
jsconfig.json
ormconfig.js
package.json chore: up calckey.js 2023-02-11 13:04:22 -08:00
tsconfig.json