Commit Graph

160 Commits

Author SHA1 Message Date
ThatOneCalculator
ed674f2dac
chore: format 2023-06-05 17:27:40 -07:00
ThatOneCalculator
36283b9a35
chore: formatting 2023-06-05 16:40:48 -07:00
Namekuji
3ddcffd169
enhance: emoji width and height 2023-05-19 22:26:13 -04:00
ThatOneCalculator
ba7418aa6d
Revert "fix: hidden post federation"
This reverts commit 8a51c73fe7.
2023-05-07 18:01:36 -07:00
ThatOneCalculator
f2ffe07425
chore: formatting 2023-05-07 12:29:02 -07:00
ThatOneCalculator
988b530745
Revert "Merge pull request 'Add support for CW boosting' (#10047) from supakaity/hajkey:hk/cw-boost into develop"
This reverts commit 5e86bafb24, reversing
changes made to d1977fc320.
2023-05-07 11:38:39 -07:00
Kaity A
282f07dd72
pnpm format 2023-05-07 11:53:01 +10:00
trollo
8a51c73fe7 fix: hidden post federation 2023-05-06 18:27:42 +02:00
ThatOneCalculator
695cb87052
chore: format 2023-05-05 13:29:39 -07:00
April John
3800eb8980 Feat: new internal post visibility "hidden" 2023-05-05 15:16:10 +02:00
Namekuji
49e9fb9001
don't update if renoted by bot 2023-05-03 16:16:34 -04:00
Kaity A
389c531b2c
update file sensitivity on note edit 2023-05-02 18:22:42 +10:00
Kaitlyn Allan
61dde4c0b0
updates to include alt text editing 2023-05-02 17:47:16 +10:00
Kaity A
6eed038028
fix poll voting causing edit revisions. 2023-05-01 03:17:38 +10:00
Kaity A
627a71701f
Implement inbound note edit federation 2023-05-01 02:29:50 +10:00
naskya
00b45ad726 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
67dbb2318a fetch person again 2023-04-08 01:44:50 -04:00
Namekuji
62a439c693 fix move inbox 2023-04-07 17:48:25 -04:00
ThatOneCalculator
acfc88389a
formatting 2023-03-30 19:10:03 -07:00
naskya
82db61ede0 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
21c7f93d7a
handle mastodon style posts 2023-03-29 21:10:01 +02:00
Kagami Sascha Rosylight
7acb2b7c09
fix: allow announces with followers visibility 2023-03-29 04:55:16 +09:00
amy bones
c5de597079
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
36281ec413 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
5433603440 Set movedToUri & alsoKnownAs null when undefined 2023-03-04 08:24:22 +00:00
Kio-td
ec79e1c143 Merge branch 'develop' of https://codeberg.org/calckey/calckey into develop 2023-02-12 12:11:21 -05:00
ThatOneCalculator
254a9e8716
docs: 📝 custom assets 2023-02-11 13:16:45 -08:00
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
Kio-td
cd6a1d09f5 Fix bad math 2023-02-11 07:18:56 -05:00
Kio-td
93444e1944 Merge branch 'develop' of https://codeberg.org/Daikei/calckey into develop 2023-02-11 06:26:31 -05:00
Kio-td
f9fc1d7137 Discard if 3 days in the future 2023-02-11 06:26:05 -05:00
daikei
c343c64324 Merge branch 'develop' into develop 2023-02-11 11:18:22 +00:00
Kio-td
e35f3eef56 Semi-Kill #9531 2023-02-11 06:13:55 -05:00
ThatOneCalculator
fcc59cd35f
chore: Rome Formatting 2023-02-10 15:41:19 -08:00
ThatOneCalculator
f7564d87b0
fix: 🔒 prevent issues 2023-02-10 11:14:33 -08:00
Kio-td
f08e5cd250 Clean up bad coding practices 2023-02-10 00:38:23 -05:00
Kio-td
4a1dbfad29 Close #9473 2023-02-10 00:19:47 -05:00
ThatOneCalculator
abf47e54f3
clean up w/ rome 2023-01-16 11:19:20 -08:00
ThatOneCalculator
58a6b26475
Remove usused eslint files 2023-01-12 22:27:17 -08:00
ThatOneCalculator
6b00abf05c
refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
Kainoa Kanter
508b33e503 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
0fc8638eb5
fix: 🐛 federate fedibird quote properly
https://codeberg.org/calckey/calckey/pulls/9399#issuecomment-758047
2023-01-04 09:43:01 -08:00
Effy Elden
94e4f1323f
Set quoteUri in rendered ActivityPub objects 2023-01-04 13:32:06 +11:00
Effy Elden
1d45bdbfdc
Support quotes provided as 'quoteUri' field 2023-01-04 12:08:09 +11:00
ThatOneCalculator
c0cf1e2bf4
fixes 2023-01-03 09:12:26 -08:00
Daikei!
76d71a39db 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
d7390e09ff
activitypub: block check for resolving collections 2022-12-25 15:10:44 -05:00
Francis Dinh
d2066d0d86
add checks to resolver and performOneActivity 2022-12-25 15:10:33 -05:00
Francis Dinh
d9b7219404
Block subdomains of blocked hosts 2022-12-24 14:46:09 -05:00
Cleo
b1933d00b9 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