Commit graph

15408 commits

Author SHA1 Message Date
dce9ecaa9a Merge branch 'develop' into itepechi 2023-09-16 08:11:30 +09:00
e839b5f0c8 Grammar? 2023-09-16 08:11:11 +09:00
63d46e43c3 Update README 2023-09-16 07:58:48 +09:00
5b17d6d545 Fix spelling error and remove trailing whitespace 2023-09-16 07:18:44 +09:00
0ceee820a6 Add support for searching media status
w/ some refactors and updates
2023-09-16 07:18:09 +09:00
c5000d67a6 Update Compose file to support Meilisearch and Elasticsearch 2023-09-16 06:58:23 +09:00
d4b5b50ec4 Improved the guide on how to avoid permission errors 2023-09-16 06:56:23 +09:00
91793dd3d6 Stylised comments for better readability 2023-09-16 06:54:06 +09:00
FloatingGhost
d1af78aba1 changelog 2023-09-15 12:00:45 +01:00
FloatingGhost
3e7446d177 Add various both-ugc-and-tag setups 2023-09-15 11:58:56 +01:00
00c8a65879 Avoid dying when handling large payloads: the sequel 2023-09-09 07:14:38 +09:00
a9fe4a9636 Avoid dying when handling large payloads 2023-09-07 08:26:15 +09:00
FloatingGhost
c8e08e9cc3 fix issue with API cascading domain blocks but not honouring them 2023-08-25 11:00:49 +01:00
FloatingGhost
5c164028cf ensure ap_enabled true if coming back pleroma 2023-08-16 23:11:36 +01:00
FloatingGhost
f7ea0a1248 bump OTP required 2023-08-16 23:01:02 +01:00
FloatingGhost
6139c3346d Add extra rollbacks to pleroma develop 2023-08-16 22:49:23 +01:00
FloatingGhost
98f0820ca4 MIX FORMAT 2023-08-15 23:26:22 +01:00
FloatingGhost
9bc0345e57 AND THAT ONE TOO AND ALL 2023-08-15 23:26:08 +01:00
FloatingGhost
f3cc60b202 INBOX NEEDS TO BE A FULL URL YOU IDIOT AM BAKA I SHOULD JUST COMMIT SUDOKU RIGHT NOW 2023-08-15 23:23:59 +01:00
FloatingGhost
063e3c0d34 Disallow nil hosts in should_federate 2023-08-15 23:12:04 +01:00
FloatingGhost
6cb40bee26 Migrate to phoenix 1.7 (#626)
Closes #612

Co-authored-by: tusooa <tusooa@kazv.moe>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/626
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Co-committed-by: FloatingGhost <hannah@coffee-and-dreams.uk>
2023-08-15 10:22:18 +00:00
floatingghost
7a3529ec1c Merge pull request 'Docs: nginx dir in /opt/akkoma/installation is gone on otp builds' (#627) from YokaiRick/akkoma:update-docs into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/627
2023-08-13 14:37:49 +00:00
YokaiRick
76ba400c6d nginx subdir is missing in otp builds 2023-08-12 22:09:32 +00:00
YokaiRick
655c282de3 update docs nginx subdir in akkoma/installation is gone 2023-08-12 21:59:30 +00:00
06bd9130e8 Merge branch 'develop' into itepechi 2023-08-13 04:38:02 +09:00
floatingghost
0b32beb051 Merge pull request 'meilisearch: Move published date to lower priority' (#623) from norm/akkoma:meilisearch-order into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/623
2023-08-12 14:36:53 +00:00
floatingghost
7bb41bffb3 Merge pull request 'Reload emoji when using mix pleroma.emoji gen-pack and get-packs' (#563) from norm/akkoma:emoji-reload into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/563
2023-08-12 14:07:23 +00:00
floatingghost
fd11e4f8cd Merge pull request 'Update OTP docs to mention arm64 in prerequisites' (#615) from norm/akkoma:docs/otp-arm into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/615
2023-08-12 14:05:46 +00:00
FloatingGhost
1bd3012c2d Fix compiler warnings 2023-08-12 15:03:43 +01:00
floatingghost
2df7707060 Merge pull request 'mastodon_api: Add /api/v1/preferences endpoint' (#625) from redstrate/akkoma:work/redstrate/preferences into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/625
2023-08-12 13:59:03 +00:00
Joshua Goins
c22ecac567 mastodon_api: Add /api/v1/preferences endpoint
Implements the preferences endpoint in the Mastodon API, but returns
default values for most of the preferences right now. The only supported
preference we can access is default post visibility, and a relevant test
is added as well.
2023-08-12 09:28:24 -04:00
Norm
d79c92f9c6
meilisearch: Move published date to lower priority
Currently, Akkoma sorts by published date first before everything else.
This however makes search results pretty bad since Meilisearch uses a
bucket sort algorithm in order of the ranking rules specified:
https://www.meilisearch.com/docs/learn/core_concepts/relevancy#behavior

Since the `published` attribute is a unix timestamp, the resulting
buckets are pretty small so the other rules essentially have little to
no effect on the rankings of search results.

This fixes that issue by moving the `published:desc` rule further down
so it still sorts by date, but only after considering everything else.

AFAIK attribute and sort doesn't really affect results for Akkoma since
the only attribute considered is the `content` attribute and the `sort`
parameter isn't used in Akkoma searches. Everything else is made to
match more closely to Meilisearch's defaults.
2023-08-11 11:07:14 -04:00
FloatingGhost
7bd4ae5412 Bump builds to OTP26 2023-08-09 14:39:28 +01:00
FloatingGhost
165c2485ff Merge branch 'otp26' into develop 2023-08-09 14:35:06 +01:00
FloatingGhost
60a07da5ef Update majic deps 2023-08-09 13:58:10 +01:00
FloatingGhost
73be5c3f30 Bump majic 2023-08-09 13:51:49 +01:00
FloatingGhost
e7788f3c82 bullseye build (you owe me for this one) 2023-08-08 22:42:57 +01:00
FloatingGhost
f2da47679d majic 2023-08-07 17:24:05 +01:00
FloatingGhost
63a5b8506c update majic 2023-08-07 17:13:34 +01:00
FloatingGhost
c7aeeec232 fix yet another keyword equality check 2023-08-07 17:00:16 +01:00
FloatingGhost
80cbdc8480 changelog 2023-08-07 16:27:23 +01:00
floatingghost
3f1e2b0b3b Merge pull request 'Fix invalid Date HTTP header when signing fetch requests' (#619) from Clovis/akkoma:fix-503 into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/619
2023-08-07 15:23:20 +00:00
FloatingGhost
0c21341156 Fix signature checking 2023-08-07 16:17:17 +01:00
Clovis
fc3cc61768 Fix invalid Date HTTP header when signing fetch requests
https://akkoma.dev/AkkomaGang/akkoma/issues/503
2023-08-07 12:43:42 +00:00
FloatingGhost
7825798e32 Add XML matcher 2023-08-07 11:12:14 +01:00
FloatingGhost
e59fc0677b Update mime dep 2023-08-07 04:07:42 +01:00
af349b073a Deduplicate query_with 2023-08-07 03:53:53 +09:00
FloatingGhost
650c0c0f62 Allow max_id to be at the end of the querystring 2023-08-06 16:44:25 +01:00
FloatingGhost
7956cfb091 Another keyword.equal? check 2023-08-06 16:36:18 +01:00
FloatingGhost
215b550317 Fix keyword ordering reliance 2023-08-06 16:27:15 +01:00