Commit graph

164 commits

Author SHA1 Message Date
limepotato
4ebfd2360c
revert ac7b2c643d
revert [widthdrawal] sharkey-react patch
2024-08-09 11:17:38 +02:00
ac7b2c643d [widthdrawal] sharkey-react patch 2024-08-09 03:00:43 -06:00
03e54e88b8 Merge branch 'v2023.12.9'
Some checks are pending
/ test-build (push) Waiting to run
2024-07-28 19:01:14 -06:00
Laura Hausmann
cc9bc79466
[backend] Set opts.removeOnComplete when discarding corrupt jobs (since the opts object is likely also corrupted) 2024-07-23 21:00:21 +02:00
Laura Hausmann
0d5220e505
[backend] Discard jobs with null/undefined/empty data objects; add no-op handlers for invalid queue jobs
This stops corrupted/invalid jobs from clogging up the queue. Ref: https://github.com/OptimalBits/bull/issues/2461
2024-07-23 20:47:23 +02:00
Crimekillz
d8f732c0ef Revert disable post import for security reasons
Signed-off-by: limepotato <limepot@protonmail.ch>
2024-07-05 22:02:24 -06:00
Laura Hausmann
e2b7d80871
[backend] Reset home timeline query heuristic after importing follows 2024-07-04 00:08:21 +02:00
8aa97e21d2 oops
Some checks failed
/ test-build (push) Has been cancelled
2024-07-01 18:04:49 -06:00
8e26dd6bc3 withdrawal metrics and obliterate 2024-07-01 17:56:13 -06:00
limepotato
c8689ca82b
revert 24bd05d090
Some checks are pending
/ test-build (push) Waiting to run
revert temporarily re-enable post imports (not masto)

Signed-off-by: limepotato <limepot@protonmail.ch>
2024-07-01 04:49:47 +02:00
24bd05d090 temporarily re-enable post imports (not masto)
Signed-off-by: limepotato <limepot@protonmail.ch>
2024-06-30 15:25:23 -06:00
98f3f55371 withdrawal replacements patch 2024-06-17 13:02:29 -06:00
limepotato
4410989fa2
revert ba0e5eec93
revert ?
2024-06-17 18:18:03 +02:00
ba0e5eec93 ? 2024-06-17 10:15:54 -06:00
Laura Hausmann
febb499fcb
[backend] Compact LD-signed activities against well-known context to defend against spoofing attacks 2024-04-29 16:36:58 +02:00
Crimekillz
74df0b3602 Fix bug: Pass reference to Note OBJ when creating notifications for Poll Vote and Poll End so muted threads can be resolved correctly 2024-03-26 16:24:19 +01:00
Laura Hausmann
f14c5ed4ef
[backend/frontend] Disable post imports for security reasons 2024-02-04 20:12:51 +01:00
Laura Hausmann
a1460503cf
Make sure unresponsive split domain instances that come back to life don't get stuck isNotResponding 2024-01-30 18:27:06 +01:00
Laura Hausmann
197002df8a
[backend] Fix emojis with special characters
This is an adaptation of 3968a6ca07 and ada577bde6

Co-authored-by: Johann150 <johann.galle@protonmail.com>
2024-01-04 23:55:00 +01:00
Laura Hausmann
8890902675 [backend] Fix HTTP signature validation
Co-authored-by: perillamint <perillamint@silicon.moe>
Co-authored-by: yunochi <yuno@yunochi.com>
2023-11-26 20:34:25 +01:00
Laura Hausmann
9b2e966c19
[backend] Remove external search backends 2023-11-19 01:36:54 +01:00
Laura Hausmann
11b3d4fa0a
[backend] Require users to be followed before adding them to lists 2023-10-21 23:56:34 +02:00
Erin Shepherd
0c9c04f89d
[backend] Refetch user keys when HTTP Signature validation fails
If a user has had a key rotation, and nobody on this server follows
that user, we will not receive the Update activity with the new key

Therefore, when we encounter key validation errors we should check
for an up-to-date key.

References (other implementations):

 * [Mastodon](fc9ab61448/app/controllers/concerns/signature_verification.rb (L96))
 * [Akkoma](https://akkoma.dev/AkkomaGang/http_signatures/src/branch/main/lib/http_signatures/http_signatures.ex#L46)
2023-10-17 00:52:51 +02:00
Alexis
20723b4c1d
Rename private mode descriptions to 'allowlisting' 2023-10-04 14:53:27 +02:00
Laura Hausmann
552041726b
Make html-to-mfm and its callstack async 2023-09-11 22:34:00 +02:00
Laura Hausmann
c6dee2da09
Purge deleted users from user lookup caches 2023-09-06 19:13:57 +02:00
Laura Hausmann
cfff8f840d
Fix remote media cache cleanup 2023-08-29 19:35:27 +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
naskya
40a0f31089
delete 10 posts at once on account deletion, resolves #101 2023-08-19 14:58:40 +02:00
Laura Hausmann
ed2622344f
Make media cleanup task respect timezone 2023-08-03 00:11:00 +02:00
Laura Hausmann
079942eda4
Improved media cleanup task 2023-08-02 21:25:24 +02:00
ThatOneCalculator
0f3873cb75 add 2023-07-19 09:58:14 -07:00
ThatOneCalculator
8af34b2727 fix: 🐛 gitignore causing wrong file to be pushed 2023-07-19 09:56:16 -07:00
ThatOneCalculator
73f3303f62 Merge branch 'rebrand' into develop 2023-07-19 08:55:26 -07:00
コルセット姫@がんばらない
f5383c46d3 Merge branch 'develop' into import-masto-package 2023-07-17 09:47:04 +00:00
Kainoa Kanter
d39b1d830f feat: verify links with rel=me (#10506)
Adds Mastodon-style `rel=me` link verification, and creates a background job to verify said links

Closes #9341

![image](/attachments/861e01eb-660f-4c62-8d83-d824cb79da48)

Co-authored-by: ThatOneCalculator <kainoa@t1c.dev>
Co-authored-by: Namekuji <nmkj@waah.day>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10506
2023-07-17 05:31:34 +00:00
CGsama
b283b65151 support new zip file by mastodon 2023-07-16 06:24:37 -04:00
CGsama
07061712a2 change wording 2023-07-16 03:24:37 -04:00
CGsama
28b92d8c16 handle import mastodon package 2023-07-15 23:02:00 -04:00
コルセット姫@がんばらない
17124f3834 feat: Add media to Mastodon and Calckey post imports (#10496)
### What does this PR do?

Adding files fields in the export notes option, and corresponding import notes

Current the mastodon import does not import any attachments, this pr will use the "upload from url" feature to include medias if its a valid URL.

There are many way to convert the outbox.json file, can be simple as upload media_attachments to any web hosting and do string replace on the json file.

I also create a tool that upload the tar.gz file with auto convert and host the media as simplify the process at https://tempfile.moegirl.live

Detail example can be found at https://fedi.moegirl.live/notes/9h76gtqnp2gwl5dz

https://r2temp.moegirl.live/2023/7/15/15356683-050f-423a-b331-c9a05561f52a/shana-settings-_-meng-zhai-le-yuan-xyou-yu-ou-xiang-de-luo-ke-ke-wu-yan-moe-otaku-elysian-x-gloomily-idol-s-rococo-luncheon----mozilla-firefox-private-browsing-2023-07-15-18-36-37.mp4

Co-authored-by: CGsama <CGsama@outlook.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10496
Co-authored-by: コルセット姫@がんばらない <cgsama@noreply.codeberg.org>
Co-committed-by: コルセット姫@がんばらない <cgsama@noreply.codeberg.org>
2023-07-15 22:56:09 +00:00
ThatOneCalculator
2913eddbce we be renamin 2023-07-15 14:21:17 -07:00
ThatOneCalculator
6bc25eb38b Merge branch 'develop' into rebrand 2023-07-15 14:15:01 -07:00
DVD
49d599144f Fix CW Import 2023-07-13 09:07:35 +08:00
ThatOneCalculator
5ad6dba98d perf: use fast-blurhash for blurhash decoding, up deps 2023-07-10 21:09:07 -07:00
PrivateGER
d9c027e286 Fix Postgres error loop when indexing notes 2023-07-10 23:44:31 +02:00
ThatOneCalculator
c4d4e850b2 chore: ⬆️ up prettier, pnpm 2023-07-05 18:28:27 -07:00
Namekuji
f13d8548d2 fix: do not deliver poll result if local-only 2023-07-04 01:59:43 -04:00
ThatOneCalculator
f99e8b3726 fix: immediately fail jobs with invalid signature 2023-07-03 10:29:52 -07:00
ThatOneCalculator
6c7f0521aa find and replace 2023-07-02 15:18:30 -07:00
ThatOneCalculator
63b9a26621 adjust timeout for indexing notes 2023-07-02 00:47:55 -07:00