1
0
Fork 0
mirror of https://git.youjo.love/youjo/youjo-be.git synced 2025-02-25 22:53:04 +01:00
Commit graph

8641 commits

Author SHA1 Message Date
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 ()

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 
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 ()
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 
2023-01-15 18:57:49 +00:00
floatingghost
63ce25f32c Merge pull request 'Correct og:description tag in static-fe' () 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 ()
fix 

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
FloatingGhost
cc63a89b5d Fix tests 2023-01-10 10:29:17 +00:00
FloatingGhost
f86bf16430 Add language support on /api/v1/statuses 2023-01-10 10:29:17 +00:00
floatingghost
357f80a714 Merge pull request 'Changed references of "Pleroma" to "Akkoma" in email text' () from knova/akkoma:develop into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/428
2023-01-09 22:13:45 +00:00
darkkirb
a8cd859ef9 Use actual ISO8601 timestamps for masto API ()
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
knova
13d943667e Changed references of "Pleroma" to "Akkoma" in email text
I know this is probably small peanuts in the grand scheme of things, but it bugged me when I was messing around with my own Akkoma instance.
2023-01-08 03:29:09 +00:00
Charlotte 🦝 Delenk
f2b925f32c
exiftool doesn’t support JPEG XL either 2023-01-07 14:49:58 +01:00
ihor
b98fe4476c fix "exiftool not support svg files' ()
Faced with this issue today, Pleroma responds with status 400 (Bad request) if Exiftool.StripLocation is added to the list of filter modules for uploads. Here is logs:

```
13:27:25.201 [info] POST /api/v1/media

13:27:25.232 request_id=FzdspaAnrA6cyv0APgVR [error] Elixir.Pleroma.Upload.Filter: Filter Elixir.Pleroma.Upload.Filter.Exiftool.StripLocation failed: {:error, "Elixir.Pleroma.Upload.Filter.Exiftool.StripLocation: %ErlangError{original: :enoent}"}

13:27:25.232 request_id=FzdspaAnrA6cyv0APgVR [error] Elixir.Pleroma.Upload store (using Pleroma.Uploaders.Local) failed: "Elixir.Pleroma.Upload.Filter.Exiftool.StripLocation: %ErlangError{original: :enoent}"
```

# This fix solves this problem.

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/421
Co-authored-by: ihor <ikandreew@gmail.com>
Co-committed-by: ihor <ikandreew@gmail.com>
2023-01-05 15:22:48 +00:00