Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-07-28 | Fix good_locale_code?/1 regex | marcin mikołajczak | |
Signed-off-by: marcin mikołajczak <git@mkljczk.pl> | |||
2024-07-28 | Merge remote-tracking branch 'origin/develop' into post-languages | marcin mikołajczak | |
2024-07-25 | Merge branch 'fix/optimistic-inbox' into 'develop' | feld | |
Fix Optimistic Inbox for failed signatures See merge request pleroma/pleroma!4193 | |||
2024-07-25 | Quiet Dialyzer | Mark Felder | |
It is angry we are making a fake %Plug.Conn{} to pass through Signature.validate_signature/1. We can work around it by making the code support a map, but then we lose the benefit of being able to use put_req_header/3 | |||
2024-07-25 | Safer string concatenation | Mark Felder | |
2024-07-25 | Improve specs and matching | Mark Felder | |
2024-07-25 | Add test to fetch and validate an activity that originally failed signature | Mark Felder | |
2024-07-25 | Extract validate_signature/2 from the HTTPSignaturePlug | Mark Felder | |
This logic only exists in the Plug, so attempting to validate the signature by calling the library function HTTPSignature.validate_conn/2 directly will never work because we do not attempt to construct the (request-target) and @request-target headers with both the commonly misinterpreted and correct implementation of this field. Therefore all attempts to validate a signature from an Oban Job will fail. | |||
2024-07-25 | Fix Optimistic Inbox for failed signatures | Mark Felder | |
When signatures fail on incoming activities we put the job into Oban to be processed later instead of doing the user fetching and validation inline which is expensive and increases latency on the incoming POST request. Unfortunately we did not retain the :method, :request_path, and :query_string parameters from the conn so the signature validation and Oban Job would always fail. This was most obvious when Mastodon sends Deletes for users your server has never seen before. | |||
2024-07-24 | Merge branch 'oban/rich-media-hardening' into 'develop' | feld | |
Harden Rich Media parsing against very slow or malicious URLs See merge request pleroma/pleroma!4192 | |||
2024-07-24 | Document the new timeout setting | Mark Felder | |
2024-07-24 | Harden Rich Media parsing against very slow or malicious URLs | Mark Felder | |
2024-07-24 | Increase Oban.Pruner max_age to 15 mins | Mark Felder | |
2024-07-24 | Fix RichMedia negative cache entries | Mark Felder | |
The negative cache entry was a nil value, but that is an expected response when the cache is missing an entry so it didn't work as intended. | |||
2024-07-24 | Consider errors during HTTP GET and HEAD to be unrecoverable and insert a ↵ | Mark Felder | |
negative cache entry This is for a normal HTTP error response or timeout while receiving the data. A hard error from a process crash, DNS lookup failure, etc should produce a different response than {:ok, %Tesla.Env{}} and the request/job will be retryable. | |||
2024-07-24 | Pad RichMediaWorker timeout to be 2s longer than the Rich Media HTTP timeout | Mark Felder | |
2024-07-24 | Pleroma.HTTP: permit passing through custom Tesla Middlware for requests | Mark Felder | |
2024-07-23 | Merge branch 'dialyzer' into 'develop' | feld | |
Fix dialyzer error See merge request pleroma/pleroma!4190 | |||
2024-07-23 | Fix dialyzer error | Mark Felder | |
lib/pleroma/application.ex:1:pattern_match The pattern can never match the type true. | |||
2024-07-22 | Merge branch 'commonapi-cleanup' into 'develop' | feld | |
CommonAPI Cleanup See merge request pleroma/pleroma!4189 | |||
2024-07-22 | changelog | Mark Felder | |
2024-07-22 | Fix order of args for show_reblogs/2 | Mark Felder | |
2024-07-22 | Fix order of args for hide_reblogs/2 | Mark Felder | |
2024-07-22 | Fix order of args for unfollow/2 | Mark Felder | |
2024-07-22 | Fix order of args for follow/2 | Mark Felder | |
2024-07-22 | Fix order of args for unblock/2 | Mark Felder | |
2024-07-22 | Fix order of args for block/2 | Mark Felder | |
2024-07-22 | Fix order of args for vote/3 | Mark Felder | |
2024-07-22 | Fix order of args for thread_muted?/2 | Mark Felder | |
2024-07-22 | Fix order of args for add_mute/2 | Mark Felder | |
2024-07-22 | Fix order of args for remove_mute/2 | Mark Felder | |
2024-07-22 | Fix order of args for update/2 | Mark Felder | |
2024-07-22 | Fix order of args for favorite/2 | Mark Felder | |
2024-07-22 | Annotate public functions with typespecs and mark some functions as private | Mark Felder | |
2024-07-22 | Add missing type | Mark Felder | |
2024-07-22 | Merge branch 'oban/more-improvements' into 'develop' | feld | |
Oban: more improvements See merge request pleroma/pleroma!4187 | |||
2024-07-21 | Merge branch 'metadata/parsing-empty' into 'develop' | feld | |
Fix Metadata providers when parsing objects with no content or summary See merge request pleroma/pleroma!4188 | |||
2024-07-21 | Fix the ObjectValidator error matching | Mark Felder | |
2024-07-20 | Fix test now that the reject error has more detail | Mark Felder | |
2024-07-20 | Fix OpenGraph and Twitter metadata providers when parsing objects with no ↵ | Mark Felder | |
content or summary fields. | |||
2024-07-20 | Increase timeout for background, remote fetcher, and user refresh jobs | Mark Felder | |
2024-07-20 | Improved detecting unrecoverable errors for incoming federation jobs | Mark Felder | |
2024-07-20 | PollWorker jobs will not retry if the activity no longer exists. | Mark Felder | |
2024-07-20 | Publisher jobs will not retry if the error received is a 400 | Mark Felder | |
2024-07-21 | Merge branch 'transmogrifier/handle-non-validate-delete-errors' into 'develop' | feld | |
Transmogrifier: handle non-validate errors on incoming Delete activities See merge request pleroma/pleroma!4185 | |||
2024-07-20 | Merge branch 'oban/cancel-federation' into 'develop' | feld | |
Cancel queued publishing jobs when undoing an activity See merge request pleroma/pleroma!4186 | |||
2024-07-20 | Support cancelling jobs when Unreacting | Mark Felder | |
2024-07-20 | Support cancelling jobs when Unrepeating | Mark Felder | |
2024-07-20 | Support cancelling jobs when Unfavoriting | Mark Felder | |
2024-07-20 | Reorganize test group to have shared a shared setup | Mark Felder | |