akkoma/test/pleroma/web/activity_pub
Oneric d6d838cbe8 StealEmoji: check remote size before downloading
To save on bandwith and avoid OOMs with large files.
Ofc, this relies on the remote server
 (a) sending a content-length header and
 (b) being honest about the size.

Common fedi servers seem to provide the header and (b) at least raises
the required privilege of an malicious actor to a server infrastructure
admin of an explicitly allowed host.

A more complete defense which still works when faced with
a malicious server requires changes in upstream Finch;
see https://github.com/sneako/finch/issues/224
2024-03-18 22:33:10 -01:00
..
mrf StealEmoji: check remote size before downloading 2024-03-18 22:33:10 -01:00
object_validators Support elixir1.15 2023-08-03 17:44:09 +01:00
side_effects Change user.deactivated field to user.is_active 2021-01-15 11:24:46 -06:00
transmogrifier Tag Mock-tests as "mocked" and run them seperately 2023-08-04 12:50:50 +01:00
views Federate user profile background 2024-02-16 16:35:51 +01:00
activity_pub_controller_test.exs Migrate to phoenix 1.7 (#626) 2023-08-15 10:22:18 +00:00
activity_pub_test.exs Always insert Dedupe upload filter 2024-03-18 22:33:10 -01:00
builder_test.exs turn inlineQuotePolicy on by default 2022-09-05 17:22:33 +01:00
mrf_test.exs Fix create processing in direct message disabled 2023-05-23 13:16:20 +01:00
pipeline_test.exs Refactor ES on top of search behaviour 2022-06-30 16:28:31 +01:00
publisher_test.exs Disallow nil hosts in should_federate 2023-08-15 23:12:04 +01:00
relay_test.exs Tag Mock-tests as "mocked" and run them seperately 2023-08-04 12:50:50 +01:00
side_effects_test.exs Federate user profile background 2024-02-16 16:35:51 +01:00
transmogrifier_test.exs Tag Mock-tests as "mocked" and run them seperately 2023-08-04 12:50:50 +01:00
utils_test.exs Don't persist local undone follow (#194) 2022-08-31 18:00:36 +00:00
visibility_test.exs mix format 2022-06-22 17:20:55 +01:00