Commit graph

93 commits

Author SHA1 Message Date
Laura Hausmann 878970d318
[mastodon-client] Implement streaming API 2023-10-09 01:59:19 +02:00
Laura Hausmann 220b6f2011
Revert "don't update if renoted by bot"
This reverts commit 49e9fb9001c25378aa396d2a1ccdac1e18456e14.
2023-09-29 15:03:11 +02:00
Laura Hausmann 1ce0f778e7
Fix fetching pinned notes for remote servers that return a collection of note URIs instead of AP objects, resolves #201 2023-09-12 00:12:13 +02:00
Laura Hausmann 552041726b
Make html-to-mfm and its callstack async 2023-09-11 22:34:00 +02:00
Laura Hausmann 86defdffd3
Fix initial fetch of actual remote user host for remote gotosocial instances on createPerson, resolves #204 2023-09-11 18:37:18 +02:00
Laura Hausmann 06be4e108b
Fix updating remote user host for remote AP implementations that don't support webfinger uri queries 2023-09-10 19:31:11 +02:00
Laura Hausmann 558b58a0cd
Fix updating host on updatePerson 2023-09-10 19:31:11 +02:00
Laura Hausmann f6dc9e094b
Fix user update for users without sharedInbox 2023-09-09 22:16:23 +02:00
Laura Hausmann 2f103229e5
Also update host on updatePerson 2023-09-09 18:45:15 +02:00
Laura Hausmann e9e63ebaa8
Verify and update existing user on createPerson 2023-09-09 18:45:14 +02:00
Laura Hausmann 59571f2372
Resolve actual subject host on createPerson 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
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 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
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
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 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 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
ThatOneCalculator 19c4a59513 formatting 2023-03-30 19:10:03 -07:00
cutestnekoaqua d640af9714 handle mastodon style posts 2023-03-29 21:10:01 +02: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