Commit Graph

128 Commits

Author SHA1 Message Date
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
ThatOneCalculator
13238973b6 chore: Rome Formatting 2023-02-10 15:41:19 -08:00
ThatOneCalculator
76011a3f28 fix: 🔒 prevent issues 2023-02-10 11:14:33 -08:00
Kio-td
79a3aadc60 Clean up bad coding practices 2023-02-10 00:38:23 -05:00
Kio-td
cdc210f0f0 Close #9473 2023-02-10 00:19:47 -05:00
ThatOneCalculator
1da7464ee7 clean up w/ rome 2023-01-16 11:19:20 -08:00
ThatOneCalculator
bb61a9684b Remove usused eslint files 2023-01-12 22:27:17 -08:00
ThatOneCalculator
2aab2de38d refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
Kainoa Kanter
d9d124cbf0 Admin set default reactions (#9404)
Co-authored-by: ThatOneCalculator <kainoa@t1c.dev>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9404
2023-01-05 04:06:48 +00:00
ThatOneCalculator
6e59319430 fix: 🐛 federate fedibird quote properly
https://codeberg.org/calckey/calckey/pulls/9399#issuecomment-758047
2023-01-04 09:43:01 -08:00
Effy Elden
e68fff9e48 Set quoteUri in rendered ActivityPub objects 2023-01-04 13:32:06 +11:00
Effy Elden
1c269ee9ac Support quotes provided as 'quoteUri' field 2023-01-04 12:08:09 +11:00
ThatOneCalculator
a6324564e2 fixes 2023-01-03 09:12:26 -08:00
Daikei!
79776677a1 add .js to the end of two type-scripts, fixing a critical error that crashes calckey 2022-12-27 15:38:05 +00:00
Johann150
6bd46b077c activitypub: block check for resolving collections 2022-12-25 15:10:44 -05:00
Francis Dinh
48f0a83016 add checks to resolver and performOneActivity 2022-12-25 15:10:33 -05:00
Francis Dinh
8ff259f573 Block subdomains of blocked hosts 2022-12-24 14:46:09 -05:00
Cleo
530664ccbc Merge pull request '[Chore] Partial translating of ActivityPub/Boot code + Formatting' (#9229) from prettykool/calckey:develop into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9229
2022-12-18 21:01:22 +00:00
PK
54c3d43ccf Make indentation not completely suck 2022-12-15 18:09:00 -06:00
PK
2285812a88 Formatting 2022-12-15 16:13:48 -06:00
PK
52cc014e4d Translate portions of backend/src/remote/activitypub, the suspend-user service, and the boot process.
Some of these weren't translated so I thought I'd do 'em cause why not ¯\_(ツ)_/¯
2022-12-15 12:44:03 -06:00
cutestnekoaqua
e26724b01e fix federation of moved to to pleroma
because it expects it to be non-existant if its null.
2022-12-14 17:19:31 +01:00
cutestnekoaqua
f31bd5fe48 add local move follower migration 2022-12-12 21:09:51 +01:00
cutestnekoaqua
f91f89bd1d federation 💀 2022-12-12 21:09:51 +01:00
ThatOneCalculator
353537662b fix alsoKnownAs federation 2022-12-12 11:25:28 -08:00
ThatOneCalculator
804224f92c Bug fixes, use calckey.js 2022-12-11 19:24:12 -08:00
ThatOneCalculator
6e283ef5e6 Reserve merge conflict 2022-12-11 17:07:57 -08:00
cutestnekoaqua
7b7752fb48 fix queue?
maybe pls

debug log

fixed stupidness again

fix ??

fix import

im a idiot lol

make remote mig work
2022-12-12 01:54:41 +01:00
cutestnekoaqua
0814b60964 change move sql query 2022-12-12 01:54:41 +01:00
cutestnekoaqua
245e1bf935 fix remote move queue 2022-12-12 01:54:36 +01:00
cutestnekoaqua
d582aae655 make remote mig work 2022-12-09 01:57:15 +01:00
cutestnekoaqua
fd9c4761e5 im a idiot lol 2022-12-09 01:35:15 +01:00
cutestnekoaqua
dd3a0f2fbe fix import 2022-12-09 01:20:30 +01:00
cutestnekoaqua
8cd54ef940 fix ?? 2022-12-09 01:17:31 +01:00
cutestnekoaqua
9395ff7cfa fixed stupidness again 2022-12-09 00:11:37 +01:00
cutestnekoaqua
2ce9f10707 debug log 2022-12-09 00:08:33 +01:00
cutestnekoaqua
002d614f25 maybe pls 2022-12-08 20:02:55 +01:00
cutestnekoaqua
90a8c7135d fix queue? 2022-12-08 19:28:48 +01:00
cutestnekoaqua
85bd231a5e change move sql query 2022-12-08 15:53:37 +01:00
cutestnekoaqua
635290bd33 fix remote move queue 2022-12-07 18:16:37 +01:00
cutestnekoaqua
795a5f0760 update person model 2022-12-06 23:49:21 +01:00
cutestnekoaqua
ee78b0f115 fix ap person to db model
fixed entries of movedToUri and added entries of alsoKnownAs
2022-12-06 18:05:36 +01:00
Cleo
6141e1a723 Merge pull request 'just using merge bc easier' (#9185) from recieve_moveto into account_migration
Reviewed-on: https://codeberg.org/thatonecalculator/calckey/pulls/9185
2022-12-06 16:56:12 +00:00
cutestnekoaqua
a3011e6b8e commit 1 of 2 of fixing the Account migration to Calckey 2022-12-06 17:46:08 +01:00
ThatOneCalculator
4fb1084335 fixes 2022-12-04 17:24:27 -08:00
ThatOneCalculator
a643fefc5c fix 2022-12-04 17:23:43 -08:00
ThatOneCalculator
dbb950d0eb movedTo -> movedToUri 2022-12-04 17:20:36 -08:00
ThatOneCalculator
0e61b83460 fix import once and for all 2022-12-04 13:06:49 -08:00
ThatOneCalculator
3fbe6e02a1 ? 2022-12-04 13:03:17 -08:00
ThatOneCalculator
d2f28edbd7 more jb cleanups 2022-12-04 13:01:00 -08:00