youjo-be/lib/pleroma/web
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
..
activity_pub giant massive dep upgrade and dialyxir-found error emporium (#371) 2022-12-14 12:38:48 +00:00
admin_api Migrate Pleroma.Web to phoenix 1.6 formats 2023-01-02 03:29:02 +00:00
akkoma_api/controllers Use a genserver to periodically fetch metrics 2023-01-01 18:32:14 +00:00
api_spec Add /api/v1/followed_tags 2022-12-31 18:09:34 +00:00
auth argon2 password hashing (#406) 2022-12-30 02:46:58 +00:00
common_api Use actual ISO8601 timestamps for masto API (#425) 2023-01-09 22:12:28 +00:00
fallback giant massive dep upgrade and dialyxir-found error emporium (#371) 2022-12-14 12:38:48 +00:00
federator Remove debug prints 2022-06-25 18:43:19 +01:00
feed maintenance: dependency upgrade (#81) 2022-07-18 00:56:35 +00:00
mailer Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
mastodon_api Migrate Pleroma.Web to phoenix 1.6 formats 2023-01-02 03:29:02 +00:00
media_proxy Use uppercase HTTP HEAD method for media preview proxy request (#128) 2022-07-30 21:58:14 +00:00
metadata giant massive dep upgrade and dialyxir-found error emporium (#371) 2022-12-14 12:38:48 +00:00
mongoose_im argon2 password hashing (#406) 2022-12-30 02:46:58 +00:00
nodeinfo expose bubble instances via nodeinfo (#136) 2022-08-02 09:11:22 +00:00
o_auth Simplified HTTP signature processing 2022-12-19 20:41:48 +00:00
o_status check for local_public? on AP route 2022-06-22 16:35:12 +01:00
pleroma_api Make backups require its own scope (#218) 2022-09-19 17:31:35 +00:00
plugs Significantly tighten HTTP CSP 2023-01-02 15:21:19 +00:00
preload/providers Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
push Push.Impl: support edits 2022-10-28 01:20:19 -04:00
rich_media Put rich media processing in a Task 2022-12-30 20:11:53 +00:00
static_fe mix format 2022-12-09 10:24:38 +00:00
templates make 2fa UI less awful 2022-12-16 11:50:25 +00:00
twitter_api giant massive dep upgrade and dialyxir-found error emporium (#371) 2022-12-14 12:38:48 +00:00
utils Pleroma.Web.Params --> Pleroma.Web.Utils.Params 2021-06-08 12:50:47 -05:00
views GOOGLE 2022-12-07 11:41:24 +00:00
web_finger giant massive dep upgrade and dialyxir-found error emporium (#371) 2022-12-14 12:38:48 +00:00
api_spec.ex update references to pleroma in docs 2022-12-30 03:43:35 +00:00
common_api.ex Post editing (#202) 2022-09-06 19:24:02 +00:00
controller_helper.ex giant massive dep upgrade and dialyxir-found error emporium (#371) 2022-12-14 12:38:48 +00:00
embed_controller.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
endpoint.ex Add prometheus metrics to router 2022-12-15 02:02:07 +00:00
federator.ex and i yoink (#275) 2022-11-14 15:07:26 +00:00
gettext.ex Fix incorrect fallback when English is set to first language 2022-06-29 20:47:10 +01:00
instance_document.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
manifest_controller.ex Expose /manifest.json for PWA 2021-11-24 17:50:55 -06:00
masto_fe_controller.ex API compatibility with fedibird, frontend config (#163) 2022-08-17 00:22:59 +00:00
media_proxy.ex media_proxy: switch from :crypto.hmac to :crypto.mac 2021-06-03 19:11:15 +02:00
metadata.ex Add configurable theme color (#53) 2022-07-06 20:00:43 +00:00
o_auth.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
pipelines.ex Remove precompiled javascript (#55) 2022-07-08 13:03:18 +00:00
plug.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
preload.ex remove unused variable 2022-12-16 12:36:34 +00:00
push.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
rel_me.ex Add link verification in profile fields (#405) 2022-12-29 20:56:06 +00:00
router.ex Migrate Pleroma.Web to phoenix 1.6 formats 2023-01-02 03:29:02 +00:00
streamer.ex Remerge of hashtag following (#341) 2022-12-05 12:58:48 +00:00
swagger.ex remove anonymous function from plug 2022-07-14 11:17:14 +01:00
telemetry.ex Use a genserver to periodically fetch metrics 2023-01-01 18:32:14 +00:00
translation_helpers.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
uploader_controller.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
web_finger.ex giant massive dep upgrade and dialyxir-found error emporium (#371) 2022-12-14 12:38:48 +00:00
xml.ex respect content-type header in finger request 2021-03-19 18:53:55 +03:00