Commit Graph

243 Commits

Author SHA1 Message Date
Laura Hausmann
e9e63ebaa8
Verify and update existing user on createPerson 2023-09-09 18:45:14 +02:00
Laura Hausmann
80035049f9
Stricter host-meta spec compliance in WebFinger 2023-09-06 19:13:57 +02:00
Laura Hausmann
59571f2372
Resolve actual subject host on createPerson 2023-09-06 19:13:57 +02:00
Laura Hausmann
35f7bde1a4
Clear public key cache on user deletion 2023-09-06 19:13:57 +02:00
Laura Hausmann
85f396ff49
Make WebFinger respect host-meta 2023-09-06 19:13:57 +02:00
Laura Hausmann
84867f1c13
Finish up support for local split domain configurations 2023-09-06 19:13:57 +02:00
Laura Hausmann
0ad31334e2
Make WebFinger lookup respect subject domain 2023-09-06 19:13:56 +02:00
Luna D Dragon
91b8b7b76b
Defry the fish (#125)
Co-authored-by: Luna <luna.dragon@suse.com>
Reviewed-on: https://iceshrimp.dev/iceshrimp/iceshrimp/pulls/125
Co-authored-by: Luna D Dragon <lunarequest@nullrequest.com>
Co-committed-by: Luna D Dragon <lunarequest@nullrequest.com>
2023-08-21 16:14:53 +02:00
Natty
d7013ed85b
Fixed a bad import 2023-08-16 15:01:02 +02:00
Natty
63b179c178
Also check instances to skip 2023-08-16 15:00:52 +02:00
Natty
37c4ef56d7
URL parsing check to prevent delivery crashes 2023-08-16 15:00:07 +02:00
April John
701fc6d275 beban work on account domains 2023-08-01 21:23:32 +02:00
ThatOneCalculator
6bc25eb38b Merge branch 'develop' into rebrand 2023-07-15 14:15:01 -07:00
naskya
23ccb38e73 Stop using the name 'exist' if it's not for existence check 2023-07-13 15:28:44 +00:00
Namekuji
284c0db1fd no more infinity caches 2023-07-02 22:14:31 -04:00
Namekuji
9d26e08032 add cache prefix 2023-07-02 20:55:20 -04:00
Namekuji
ef724a49fe store cache values to redis 2023-07-02 20:37:46 -04:00
ThatOneCalculator
6c7f0521aa find and replace 2023-07-02 15:18:30 -07:00
ThatOneCalculator
66b61bb41b refactor: 🚩 post editing is no longer experimental 2023-07-01 20:00:51 -07:00
Namekuji
ec7300b1a9 refactor: simplify getSignatureUser 2023-06-28 01:46:52 -04:00
ThatOneCalculator
f6fca7f8e5 fixes 2023-06-28 01:46:38 -04:00
Laura Hausmann
74773318b4
Allow follower-only notes to be fetched by properly authorized remote users 2023-06-28 04:06:39 +02:00
Laura Hausmann
748c20474b
Fix AP resolver history on reuse for authorized fetch 2023-06-28 02:30:00 +02:00
Laura Hausmann
25fc7c7e0e Add signature to remote note lookup 2023-06-28 01:05:25 +02:00
Laura Hausmann
5c9d8b21a5 Also search for url field when looking for existing note in database 2023-06-27 18:37:16 +00:00
ThatOneCalculator
5e7e5e7da8 fix: ✏️ typo in API docs + errors
Co-authored-by: naskya <m@naskya.net>
2023-06-22 16:53:56 -07:00
Namekuji
f03861a189 add refresh button to poll 2023-06-18 17:14:38 -04:00
Namekuji
284c0c58c4 don't broadcast poll updates 2023-06-18 13:23:59 -04:00
Namekuji
91acab8860 skip if actor is not found or has been already deleted 2023-06-16 04:49:11 -04:00
ThatOneCalculator
7f3b9b171c fix: 🚸 make "show replies in timeline" work as expected
Co-authored-by: Syuilo <syuilotan@yahoo.co.jp>
2023-06-14 20:17:56 -07:00
ThatOneCalculator
042780993c typo 2023-06-06 12:16:49 -07:00
ThatOneCalculator
95bb9e1f73 fix: post editing meta 2023-06-06 12:11:15 -07:00
ThatOneCalculator
a3415159be Revert "chore: formatting"
This reverts commit 36283b9a358886bfcf6f40c04b5bed1fe6088ff5.
2023-06-05 21:15:49 -07:00
ThatOneCalculator
6c0c0a63a8 chore: format 2023-06-05 17:27:40 -07:00
ThatOneCalculator
115f92c8d0 chore: formatting 2023-06-05 16:40:48 -07:00
Namekuji
53a8e3ffc2 enhance: emoji width and height 2023-05-19 22:26:13 -04:00
ThatOneCalculator
52e67728c1 Revert "fix: hidden post federation"
This reverts commit 8a51c73fe705d4c86886ae6b5cc2b9a8dd7dcfb8.
2023-05-07 18:01:36 -07:00
ThatOneCalculator
82a4bcd3a8 chore: formatting 2023-05-07 12:29:02 -07:00
ThatOneCalculator
1fd815beea Revert "Merge pull request 'Add support for CW boosting' (#10047) from supakaity/hajkey:hk/cw-boost into develop"
This reverts commit 5e86bafb24a714f3351da0a205bc57f54332e33c, reversing
changes made to d1977fc3204e16523b3c94be2a2b1878f18dca56.
2023-05-07 11:38:39 -07:00
Kaity A
febb84645f pnpm format 2023-05-07 11:53:01 +10:00
trollo
3ccf069d82 fix: hidden post federation 2023-05-06 18:27:42 +02:00
ThatOneCalculator
c8ec5f324d chore: format 2023-05-05 13:29:39 -07:00
April John
13b5a0052e Feat: new internal post visibility "hidden" 2023-05-05 15:16:10 +02:00
Namekuji
03d9642d4b don't update if renoted by bot 2023-05-03 16:16:34 -04:00
Kaity A
a56c7fe1d8 update file sensitivity on note edit 2023-05-02 18:22:42 +10:00
Kaitlyn Allan
e58d1d7695 updates to include alt text editing 2023-05-02 17:47:16 +10:00
Kaity A
89716480e5 fix poll voting causing edit revisions. 2023-05-01 03:17:38 +10:00
Kaity A
6a509637d5 Implement inbound note edit federation 2023-05-01 02:29:50 +10:00
naskya
36b88c7286 security: validate image url (#9882)
It looks like url validations are added in f7564d87b0, but I found another validation commit not applied in Calckey, so I cherry-picked 0da0cc80b9 from [Misskey](https://github.com/misskey-dev/misskey).

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9882
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-21 01:50:47 +00:00
Namekuji
f2cf92aea1 fetch person again 2023-04-08 01:44:50 -04:00
Namekuji
a5468a8204 fix move inbox 2023-04-07 17:48:25 -04:00
ThatOneCalculator
19c4a59513 formatting 2023-03-30 19:10:03 -07:00
naskya
c2883ea95b fix: direct boost (#9783)
Sorry to create PR multiple times. I should have included this in #9778.

Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9783
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-03-30 03:15:06 +00:00
cutestnekoaqua
d640af9714 handle mastodon style posts 2023-03-29 21:10:01 +02:00
Kagami Sascha Rosylight
4e78a4e0b0 fix: allow announces with followers visibility 2023-03-29 04:55:16 +09:00
amy bones
88295aad8f fix: relay signature handling
A change sometime ago moved to setting some signature fields in the incoming
object to undefined as opposed to deleting them. The trouble is that downstream
code checks against existence, not undefinedness and rejects the message.

Resolves: #9665
2023-03-22 17:32:49 -07:00
s1idewhist1e
5eec5ac2ef feat: Make follower counts for remote users correct (#9705)
#9293

Not sure if this is the right approach for this

Co-authored-by: s1idewhist1e <trombonedude05@gmail.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9705
Co-authored-by: s1idewhist1e <s1idewhist1e@noreply.codeberg.org>
Co-committed-by: s1idewhist1e <s1idewhist1e@noreply.codeberg.org>
2023-03-17 01:16:31 +00:00
Kaity A
55b2708009 Set movedToUri & alsoKnownAs null when undefined 2023-03-04 08:24:22 +00:00
Kio-td
070ec13665 Merge branch 'develop' of https://codeberg.org/calckey/calckey into develop 2023-02-12 12:11:21 -05:00
ThatOneCalculator
1d89cc3e3d docs: 📝 custom assets 2023-02-11 13:16:45 -08:00
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
Kio-td
7465e8461d Fix bad math 2023-02-11 07:18:56 -05:00
Kio-td
1a90496318 Merge branch 'develop' of https://codeberg.org/Daikei/calckey into develop 2023-02-11 06:26:31 -05:00
Kio-td
4ff3b39ba3 Discard if 3 days in the future 2023-02-11 06:26:05 -05:00
daikei
7c64103668 Merge branch 'develop' into develop 2023-02-11 11:18:22 +00:00
Kio-td
1104db515e Semi-Kill #9531 2023-02-11 06:13:55 -05: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