hippofish/packages/backend
daikei 8b6d3167bc 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 fix: 🐛 Poll choice length 256 2023-01-10 08:48:10 -08:00
nsfw-model feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
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 fix: mocha テストが動かないのを修正 v2 (#8892) 2022-06-26 19:16:32 +09:00
.swcrc perf: 👷 build backend with swc 2023-01-10 16:48:49 -08:00
jsconfig.json use eslint 2021-11-12 10:35:41 +09:00
ormconfig.js refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
package.json chore: up calckey.js 2023-02-11 13:04:22 -08:00
tsconfig.json use es2021 for node 2022-07-31 14:20:10 +09:00