Commit graph

1027 commits

Author SHA1 Message Date
Laura Hausmann d23bb06430
[backend/api] Add search & lookup endpoints (ISH-333)
All checks were successful
/ test-build (push) Successful in 23s
/ unit-tests (push) Successful in 25s
/ build-and-push (push) Successful in 2m9s
2024-05-18 18:22:53 +02:00
Laura Hausmann 91544cdd78
[parsing] Allow usernames starting & ending with an underscore
All checks were successful
/ unit-tests (push) Successful in 24s
/ build-and-push (push) Successful in 1m59s
2024-05-18 16:53:20 +02:00
Laura Hausmann adba960f8c
[backend/drive] Check for isLink attribute when handling deletion/expiry for deduplicated files (ISH-334)
All checks were successful
/ unit-tests (push) Successful in 26s
/ build-and-push (push) Successful in 2m7s
2024-05-18 15:53:59 +02:00
Laura Hausmann 9dd34aa7e3
[backend/drive] Improve deletion/expiry logic for deduplicated files (ISH-334)
All checks were successful
/ unit-tests (push) Successful in 24s
/ build-and-push (push) Successful in 2m6s
2024-05-18 15:48:25 +02:00
Laura Hausmann 3dc14f5bfe
[parsing] Further improve mention parser logic, add more tests
All checks were successful
/ unit-tests (push) Successful in 30s
/ build-and-push (push) Successful in 2m0s
2024-05-17 23:27:05 +02:00
Laura Hausmann fd5a524a8c
[backend/libmfm] Add missing @ when rendering unresolved mentions to html
All checks were successful
/ unit-tests (push) Successful in 27s
/ build-and-push (push) Successful in 2m2s
2024-05-17 22:27:16 +02:00
Laura Hausmann 6a3d1bd16a
[parsing] Reformat code
All checks were successful
/ unit-tests (push) Successful in 27s
/ build-and-push (push) Successful in 2m0s
2024-05-17 22:22:42 +02:00
Laura Hausmann cec79da658
[parsing] Improve mention parser logic 2024-05-17 22:22:27 +02:00
Laura Hausmann 9636a096fc
[backend/masto-client] Respect filters in WebSocket connections (ISH-328)
All checks were successful
/ unit-tests (push) Successful in 23s
/ build-and-push (push) Successful in 1m56s
2024-05-17 19:21:41 +02:00
Laura Hausmann 849ecd9841
[backend/core] Don't allow connections to local addresses by default (ISH-330, ISH-331)
All checks were successful
/ test-build (push) Successful in 27s
/ unit-tests (push) Successful in 25s
/ build-and-push (push) Successful in 2m9s
2024-05-17 14:19:48 +02:00
Laura Hausmann a1120ac1e1
[backend/libmfm] Replace non-breaking space characters with regular spaces when converting from html
All checks were successful
/ unit-tests (push) Successful in 27s
/ build-and-push (push) Successful in 2m3s
2024-05-16 19:30:27 +02:00
Laura Hausmann ea8ff6495c
[backend/core] Fix editing of polls with no recorded votes
All checks were successful
/ test-build (push) Successful in 24s
/ unit-tests (push) Successful in 29s
/ build-and-push (push) Successful in 2m4s
2024-05-16 18:56:04 +02:00
Laura Hausmann 1fae913a32
[backend/federation] Fix acceptance of poll vote activities without publishedAt 2024-05-16 18:55:46 +02:00
Laura Hausmann 2108f91bcf
[backend/drive] Store attachments as links if they can't be fetched for caching / further processing
All checks were successful
/ unit-tests (push) Successful in 24s
/ build-and-push (push) Successful in 2m3s
2024-05-16 18:43:24 +02:00
Laura Hausmann b76f154f50
[backend/drive] Don't hash files larger than the configured max cache size
All checks were successful
/ test-build (push) Successful in 24s
/ unit-tests (push) Successful in 25s
/ build-and-push (push) Successful in 2m2s
2024-05-16 18:25:33 +02:00
Laura Hausmann 498ac154a7
[backend/masto-client] Move offset pagination into QueryableExtensions
All checks were successful
/ unit-tests (push) Successful in 26s
/ build-and-push (push) Successful in 1m55s
2024-05-16 00:38:16 +02:00
Laura Hausmann 961bda0164
[backend/masto-client] Fix search pagination using offset parameter
All checks were successful
/ unit-tests (push) Successful in 23s
/ build-and-push (push) Successful in 1m54s
2024-05-16 00:26:39 +02:00
Laura Hausmann 2c7490a304
[backend/masto-client] Always send text property on status entities (ISH-323)
All checks were successful
/ test-build (push) Successful in 27s
/ build-and-push (push) Successful in 2m1s
/ unit-tests (push) Successful in 23s
2024-05-15 13:11:24 +02:00
Laura Hausmann c266cab4a6
[backend/api] Actually save user settings on PUT /api/iceshrimp/settings
All checks were successful
/ unit-tests (push) Successful in 25s
/ build-and-push (push) Successful in 1m51s
2024-05-15 11:37:33 +02:00
Laura Hausmann db9c4809dd
[backend/drive] Improve object storage migrator (ISH-326)
All checks were successful
/ test-build (push) Successful in 25s
/ unit-tests (push) Successful in 25s
/ build-and-push (push) Successful in 3m57s
This commit fixes various bugs related to the object storage migrator.

- Files with a content length of zero bytes can now be migrated
- Deduplicated files now migrate correctly
- The database query no longer skips over files
2024-05-14 21:32:22 +02:00
Laura Hausmann aeb1ce6d24
[backend] Fix build
All checks were successful
/ build-and-push (push) Successful in 1m57s
/ unit-tests (push) Successful in 26s
2024-05-14 20:17:28 +02:00
Laura Hausmann ed04ab9542
[backend/database] Add migration that fixes up inconsistent drive file metadata
Some checks failed
/ build-and-push (push) Has been skipped
/ unit-tests (push) Failing after 9s
2024-05-14 20:15:49 +02:00
Laura Hausmann d7d7b7d2e3
[backend/drive] Improve error handling during DriveService.StoreFile
All checks were successful
/ unit-tests (push) Successful in 25s
/ build-and-push (push) Successful in 1m53s
2024-05-14 20:09:14 +02:00
Laura Hausmann 23cf3cf35f
[backend/drive] Handle inconsistent file metadata during object storage migration
Some checks failed
/ unit-tests (push) Successful in 25s
/ build-and-push (push) Has been cancelled
2024-05-14 20:07:37 +02:00
Laura Hausmann 839f93ff66
[backend/api-shared] Fix emoji reactions not being rendered consistently
All checks were successful
/ test-build (push) Successful in 28s
/ unit-tests (push) Successful in 25s
/ build-and-push (push) Successful in 1m39s
2024-05-14 16:34:18 +02:00
Laura Hausmann 39296bbc25
[backend/core] Include quote-renotes when rendering notifications
All checks were successful
/ build-and-push (push) Successful in 1m49s
/ unit-tests (push) Successful in 25s
2024-05-14 15:54:09 +02:00
Laura Hausmann 97532c2b22
[backend/queue] Clean completed jobs in a cron task instead of doing it at job completion
All checks were successful
/ unit-tests (push) Successful in 26s
/ build-and-push (push) Successful in 1m43s
This prevents database deadlocks that can occur when many jobs are being processed simultaneously.
2024-05-14 15:05:01 +02:00
Laura Hausmann 61d6f73e90
[backend/masto-client] Fix edit history timestamps
All checks were successful
/ test-build (push) Successful in 29s
/ unit-tests (push) Successful in 1m17s
/ build-and-push (push) Successful in 4m53s
2024-05-14 13:50:06 +02:00
Laura Hausmann a2136f649b
[backend/masto-client] Make hashtag history placeholder an array
All checks were successful
/ unit-tests (push) Successful in 27s
/ build-and-push (push) Successful in 1m44s
This should improve compatibility with some mastodon clients.
2024-05-07 22:26:09 +02:00
Laura Hausmann ef226ee8fe
[parsing] Make URL parser not eat trailing parentheses
All checks were successful
/ unit-tests (push) Successful in 26s
/ build-and-push (push) Successful in 1m49s
2024-05-07 17:24:27 +02:00
Laura Hausmann b705c95714
[backend/federation] Add Guid to end of follow activity URIs
All checks were successful
/ test-build (push) Successful in 24s
/ unit-tests (push) Successful in 25s
/ build-and-push (push) Successful in 1m50s
This stops mastodon from caching the undo, preventing re-follows & debugging of federation issues
2024-05-07 16:41:07 +02:00
Laura Hausmann 16fdc48800
[backend/drive] Set content-type when uploading media to object storage
All checks were successful
/ unit-tests (push) Successful in 24s
/ build-and-push (push) Successful in 1m44s
2024-05-07 02:57:19 +02:00
Laura Hausmann 922a759fb1
[backend/api] Add user settings endpoints (ISH-299)
All checks were successful
/ test-build (push) Successful in 24s
/ unit-tests (push) Successful in 27s
/ build-and-push (push) Successful in 1m45s
2024-05-07 02:40:01 +02:00
Laura Hausmann d109f00d55
[backend/api] Add idempotency key support to NoteController.CreateNote (ISH-294)
All checks were successful
/ unit-tests (push) Successful in 25s
/ build-and-push (push) Successful in 1m42s
2024-05-07 01:41:05 +02:00
Laura Hausmann 2519f382c5
[backend/federation] Include fully rendered renote target in rendered activity when renote user matches
All checks were successful
/ build-and-push (push) Successful in 1m42s
/ unit-tests (push) Successful in 25s
2024-05-07 01:11:20 +02:00
Laura Hausmann fe7d85fa91
[backend/core] Fix polls originating from masto-api
All checks were successful
/ unit-tests (push) Successful in 26s
/ build-and-push (push) Successful in 1m48s
2024-05-06 23:40:47 +02:00
Laura Hausmann 32a4875162
[backend/streaming] Enforce notification blocks/mutes in StreamingConnectionAggregate
All checks were successful
/ test-build (push) Successful in 29s
/ unit-tests (push) Successful in 26s
/ build-and-push (push) Successful in 1m49s
2024-05-06 23:19:56 +02:00
Laura Hausmann b97c21a87b
[backend/streaming] Enforce mutes/blocks in note mentions (ISH-320) 2024-05-06 23:01:06 +02:00
Laura Hausmann 9679001a2b
[backend/masto-client] Fix compatibility with latest masto-fe-standalone
All checks were successful
/ unit-tests (push) Successful in 29s
/ build-and-push (push) Successful in 2m0s
2024-05-06 22:37:26 +02:00
Laura Hausmann 2a92283395
Update README
All checks were successful
/ unit-tests (push) Successful in 27s
/ build-and-push (push) Successful in 1m57s
2024-05-06 19:26:18 +02:00
Laura Hausmann b6304dc882
[backend/federation] Fix media being incorrectly classified as sensitive
All checks were successful
/ unit-tests (push) Successful in 27s
/ build-and-push (push) Successful in 1m49s
Some AP implementations send an empty string as content warning when they mean no content warning, this is handled correctly by CreateNoteAsync and UpdateNoteAsync but wasn't respected in the attachment processing code paths. This commit resolves that issue.
2024-05-06 16:44:56 +02:00
Laura Hausmann 039d46477a
[docker] Run application in rootless mode (ISH-319)
All checks were successful
/ unit-tests (push) Successful in 26s
/ build-and-push (push) Successful in 1m55s
2024-05-06 15:34:04 +02:00
Laura Hausmann a17da9d526
[backend/federation] Add missing entries to preloaded joinmastodon.org context
All checks were successful
/ unit-tests (push) Successful in 25s
/ build-and-push (push) Successful in 1m46s
2024-05-04 19:50:11 +02:00
Laura Hausmann 3bf0f625d2
[backend/federation] Fix typo in preloaded schema.org context
All checks were successful
/ unit-tests (push) Successful in 27s
/ build-and-push (push) Successful in 2m2s
2024-05-04 19:38:45 +02:00
Laura Hausmann 4217fd1afb
[backend/federation] Improve logging in ActivityFetcherService.FetchActorAsync
All checks were successful
/ unit-tests (push) Successful in 25s
/ build-and-push (push) Successful in 1m45s
2024-05-03 21:42:00 +02:00
Laura Hausmann 616a70a73a
[backend/masto-client] Return 422 when trying to create a scheduled status (ISH-315)
All checks were successful
/ unit-tests (push) Successful in 25s
/ build-and-push (push) Successful in 1m44s
2024-05-03 21:15:23 +02:00
Laura Hausmann 40110d4a9b
[backend/configuration] Disable EF Update logging by default
All checks were successful
/ unit-tests (push) Successful in 25s
/ build-and-push (push) Successful in 1m47s
This prevents caught exceptions from being logged, and prevents errors being logged twice in all other cases.
2024-05-03 20:58:50 +02:00
Laura Hausmann 7f2ab15847
[backend/drive] Convert image to Srgb before further processing it for blurhash calculation when using LibVips
All checks were successful
/ unit-tests (push) Successful in 36s
/ build-and-push (push) Successful in 2m2s
2024-05-03 18:14:51 +02:00
Laura Hausmann 2265f1d4cb
[backend/masto-client] Use AsyncKeyedLocker when checking idempotency keys
All checks were successful
/ unit-tests (push) Successful in 29s
/ build-and-push (push) Successful in 1m49s
2024-05-03 18:05:05 +02:00
Laura Hausmann ed594731de
[backend/asp] Rate-limit by user, then IP address instead of globally
All checks were successful
/ test-build (push) Successful in 28s
/ unit-tests (push) Successful in 28s
/ build-and-push (push) Successful in 2m2s
2024-05-03 17:59:05 +02:00