pleroma/test
darkkirb a8cd859ef9 Use actual ISO8601 timestamps for masto API (#425)
Some users post posts with spoofed timestamp, and some clients will have issues with certain dates. Tusky for example crashes if the date is any sooner than 1 BCE (“year zero” in the representation).

I limited the range of what is considered a valid date to be somewhere between the years 1583 and 9999 (inclusive).

The numbers have been chosen because:

- ISO 8601 only allows years before 1583 with “mutual agreement”
- Years after 9999 could cause issues with certain clients as well

Co-authored-by: Charlotte 🦝 Delenk <lotte@chir.rs>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/425
Co-authored-by: darkkirb <lotte@chir.rs>
Co-committed-by: darkkirb <lotte@chir.rs>
2023-01-09 22:12:28 +00:00
..
config remove default emoji file 2022-08-11 19:05:41 +01:00
credo/check/consistency giant massive dep upgrade and dialyxir-found error emporium (#371) 2022-12-14 12:38:48 +00:00
fixtures Remove quack, ensure adapter is finch 2022-12-11 23:22:35 +00:00
instance_static Add option to modify HTTP pool size 2022-12-16 18:33:00 +00:00
mix Remove quack, ensure adapter is finch 2022-12-11 23:22:35 +00:00
pleroma Use actual ISO8601 timestamps for masto API (#425) 2023-01-09 22:12:28 +00:00
support argon2 password hashing (#406) 2022-12-30 02:46:58 +00:00
test_helper.exs Use finch everywhere (#33) 2022-07-04 16:30:38 +00:00