Commit graph

8648 commits

Author SHA1 Message Date
Chizu
5f4d14d912 staticnoCT 2024-04-02 06:35:42 +09:00
Chizu
3f01a46e5b Fix Content-Type of our schema 2024-04-02 06:17:31 +09:00
Chizu
3857c7f501 Limit instance emoji to image types 2024-04-02 06:11:55 +09:00
Chizu
48c39be2f6 Merge branch 'develop' of https://git.youjo.love/fox/youjo-be into develop 2024-04-02 04:38:46 +09:00
Chizu
c101fa9a09 Sanitise Content-Type of media proxy URLs 2024-04-02 04:38:10 +09:00
fox
0952344603 Sanitise Content-Type of uploads 2024-04-01 19:33:45 +00:00
Chizu
f56267280e Prevent XML parser from loading external entities 2023-08-05 12:18:29 +00:00
Chizu
d6ac4aff42 Apply Patch 2023-08-04 11:29:22 +00:00
Chizu
51563dc0eb Apply Patch 2023-05-27 08:15:30 +00:00
Chizu
ee18ece9a3 Apply Patch 2023-05-26 18:30:45 +00:00
Chizu
ea66a69de2 Apply Patch 2023-05-26 18:29:06 +00:00
Chizu
a0a1b92af8 Fix invisible actors defp in ap 2023-03-17 04:38:28 +09:00
Chizu
2c89802c82 Merge branch 'develop' of https://git.youjo.love/fox/youjo-be into develop 2023-03-17 04:25:15 +09:00
Chizu
dcb171caf4 Allow mixed unicode + custom reactions 2023-03-16 15:06:11 +00:00
Chizu
6e7cef04af Seems to still be looking for this, readd it 2023-03-14 06:22:20 +09:00
fox
8490f686ac Don't crash on malformed avatar and banner values 2023-03-13 21:07:33 +00:00
Chizu
995e733db5 Depreciate old and unused endpoints 2023-03-14 05:15:44 +09:00
Fox
23e6ee5bec Merge branch 'develop' of https://git.youjo.love/fox/youjo-be into develop 2023-03-13 12:32:02 +09:00
Fox
c13df70d38 Attempt enum empty instead of checking against a literal array 2023-03-13 12:31:44 +09:00
fox
6163cbbe39 Apply Patch 2023-03-12 19:15:57 +00:00
Fox
71d3c83a4a fix bug, shouldn't have been an issue but it is for some reason 2023-03-09 14:36:26 +09:00
Fox
5b801ad3f5 Why not allow quoting private messages? 2023-03-09 13:01:41 +09:00
Fox
b5b0a0d332 some fixes 2023-03-09 12:49:55 +09:00
Fox
b9acf25060 tries to start akkoma twice + fix shoutbox 2023-03-09 12:49:55 +09:00
Fox
ba7c47eca9 somehow fucked this up 2023-03-09 12:49:55 +09:00
Fox
621a6a1689 I can only assume this works 2023-03-09 12:49:55 +09:00
Fox
a45192f1d4 so how many ends and commas did I forget?
who knows
2023-03-09 12:49:55 +09:00
Fox
a783225700 beats me why the this got fucked up 2023-03-09 12:49:55 +09:00
Fox
f6b2845ab3 fix another fuckup 2023-03-09 12:49:54 +09:00
Fox
31843f2b1c second one more fuckup 2023-03-09 12:49:54 +09:00
Fox
19ef7898d1 one more fuckup 2023-03-09 12:49:54 +09:00
Fox
c278b17b4c missing ends because thanks ghd 2023-03-09 12:49:54 +09:00
Fox
adfcc70188 Update router.ex 2023-03-09 12:49:54 +09:00
fox
fc848b5dc5 fix missing end in router.ex for chats scope 2023-03-08 03:28:48 +00:00
Fox
392ca94bb5 bring back the endpoint for chats so I can send one containing dog porn to floatingghost 2023-03-07 00:30:17 +00:00
Fox
16e950e4c3 I wish painful death on floatingghost 2023-03-07 00:22:46 +00:00
fox
92f1ea9112 revert 745e15468e - kill yourself
revert Use same context for quote posts as the post that's being quoted (#379)

See https://akkoma.dev/AkkomaGang/akkoma/pulls/350#issuecomment-6109

When making quotes through Mast-API, they will now have the same context as the quoted post. This also results in them being showed when fetching the thread. I checked Misskey to see how it's there, and they show the quotes there as well, see e.g. <https://mk.toast.cafe/notes/98u1g0tulg>.

An example from Akkoma:

Co-authored-by: ilja <git@ilja.space>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/379
Reviewed-by: floatingghost <hannah@coffee-and-dreams.uk>
Co-authored-by: ilja <akkoma.dev@ilja.space>
Co-committed-by: ilja <akkoma.dev@ilja.space>
2023-03-06 23:23:36 +00:00
FloatingGhost
b88e6560e0 Reblog content should be ""
Fixes #450
2023-03-02 11:04:27 +00:00
FloatingGhost
d3089ec399 Ensure we can update contentMap on update 2023-02-23 11:00:55 +00:00
ilja
b4952a81fe Interpret \n as newline for MFM
Markdown doesn't generally consider `\n` a newline,
but Misskey does for MFM.

Now we do to for MFM (and not for Markdown) :)
2023-02-18 19:56:11 +01:00
ilja
b71db2f82d create_service_actor is now type Application
This is used for internal fetch and for relay. Both represent the instance and therefore are an aplication.
2023-02-04 21:00:21 +00:00
floatingghost
aeb68a0ad1 paginate follow requests (#460)
matches https://docs.joinmastodon.org/methods/follow_requests/#get mostly

Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/460
2023-02-04 20:51:17 +00:00
FloatingGhost
d394ab0a8a Merge branch 'develop' of akkoma.dev:AkkomaGang/akkoma into develop 2023-01-15 18:58:26 +00:00
FloatingGhost
90088cce11 Support TLD wildcards in MRF matches
Fixes #431
2023-01-15 18:57:49 +00:00
floatingghost
63ce25f32c Merge pull request 'Correct og:description tag in static-fe' (#373) from sfr/akkoma:fix/og-description into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/373
2023-01-15 18:15:20 +00:00
sfr
20cd8a0fc4 URL encode remote emoji pack names (#362)
fix #246

Co-authored-by: Sol Fisher Romanoff <sol@solfisher.com>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/362
Co-authored-by: sfr <sol@solfisher.com>
Co-committed-by: sfr <sol@solfisher.com>
2023-01-15 18:14:04 +00:00
Brian Underwood
7ca9ce9d67 fix: Give error message to users when address has already been validated
Plus other errors.
2023-01-12 22:08:10 +01:00
FloatingGhost
ff5793198f add inbound language test 2023-01-11 15:42:13 +00:00
FloatingGhost
78c44f31ca fix no-language-specified federation 2023-01-11 15:25:34 +00:00
FloatingGhost
22068f0853 fix unused variable warnings 2023-01-10 10:58:17 +00:00