1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-09-11 14:17:21 +01:00
Commit graph

15724 commits

Author SHA1 Message Date
Floatingghost dbbfeeb748 Fix documentation 2024-06-04 11:40:49 +01:00
Floatingghost 569851f14c fix setup 2024-06-04 10:27:50 +01:00
Floatingghost 6ab2e960d7 mount directory 2024-06-04 10:24:31 +01:00
Floatingghost 3e8388e2de use long syntax for bind 2024-06-04 10:23:06 +01:00
Floatingghost bb37aa3be5 put setup file in init.d 2024-06-04 10:21:13 +01:00
Floatingghost 6e06308354 fix setup script 2024-06-04 10:16:58 +01:00
Floatingghost 44a5d0507b i baka 2024-06-01 10:56:46 +01:00
Floatingghost e8b7ab5e1e mount entire config directory 2024-06-01 10:56:16 +01:00
Floatingghost f5409783b6 let the compose file handle mounts 2024-06-01 10:54:48 +01:00
Floatingghost 616c9878a5 don't chmod 2024-06-01 10:53:41 +01:00
Floatingghost 1c06f6de29 use z flag 2024-06-01 10:52:19 +01:00
Floatingghost 5e0c61fa8f fix setup script 2024-06-01 10:43:34 +01:00
Floatingghost 863630eb73 don't set config file in dockerfile 2024-06-01 10:06:06 +01:00
Floatingghost cb678e8659 only build amd64 for now 2024-06-01 09:31:17 +01:00
Floatingghost 4450f7463b add assistive flags for docker 2024-06-01 09:11:02 +01:00
Floatingghost 2f1569b931 use standard user 2024-06-01 08:29:44 +01:00
Floatingghost 06dbb96b28 Merge branch 'develop' into customizable-docker-db 2024-06-01 08:25:59 +01:00
Floatingghost 778b213945 enqueue pin fetches after changeset validation 2024-06-01 08:25:35 +01:00
floatingghost 8f97c15b07 Merge pull request 'Preserve Meilisearch’s result ranking' (#772) from Oneric/akkoma:search-meili-order into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/772
2024-05-31 14:12:05 +00:00
Floatingghost 3af0c53a86 use proper workers for fetching pins instead of an ad-hoc task (#788)
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/788
Co-authored-by: Floatingghost <hannah@coffee-and-dreams.uk>
Co-committed-by: Floatingghost <hannah@coffee-and-dreams.uk>
2024-05-31 08:58:52 +00:00
Oneric fc7e07f424 meilisearch: enable using search_key
Using only the admin key works as well currently
and Akkoma needs to know the admin key to be able
to add new entries etc. However the Meilisearch
key descriptions suggest the admin key is not
supposed to be used for searches, so let’s not.

For compatibility with existings configs, search_key remains optional.
2024-05-29 23:17:27 +00:00
Oneric 59685e25d2 meilisearch: show keys by name not description
This makes show-key’s output match our documentation as of Meilisearch
1.8.0-8-g4d5971f343c00d45c11ef0cfb6f61e83a8508208. Since I’m not sure
if older versions maybe only provided description, it will fallback to
the latter if no name parameter exists.
2024-05-29 23:17:27 +00:00
Oneric 65aeaefa41 meilisearch: respect meili’s result ranking
Meilisearch is already configured to return results sorted by a
particular ranking configured in the meilisearch CLI task.
Resorting the returned top results by date partially negates this and
runs counter to what someone with tweaked settings expects.

Issue and fix identified by AdamK2003 in
https://akkoma.dev/AkkomaGang/akkoma/pulls/579
But instead of using a O(n^2) resorting, this commit directly
retrieves results in the correct order from the database.

Closes: https://akkoma.dev/AkkomaGang/akkoma/pulls/579
2024-05-29 23:17:27 +00:00
Oneric 5d6cb6a459 meilisearch: remove duplicate preload 2024-05-29 23:17:27 +00:00
Floatingghost 7522735b2a support aarch64 in docker 2024-05-29 06:24:30 +01:00
Floatingghost 5e3c58ae79 crie 2024-05-29 06:23:17 +01:00
Floatingghost 212686ae9f use proper commands 2024-05-29 06:15:01 +01:00
Floatingghost bf90bc0c17 use next tag 2024-05-29 06:13:46 +01:00
Floatingghost c38555de5c don't require RPC 2024-05-29 06:12:23 +01:00
Floatingghost f2d59a2922 manage should use ctl 2024-05-29 06:11:03 +01:00
Floatingghost c777a97f60 remove now-unused files 2024-05-29 06:10:20 +01:00
Floatingghost 0a7b074508 bind instance and uploads volumes 2024-05-29 06:07:35 +01:00
Floatingghost df40ab6831 use real db user 2024-05-29 06:02:20 +01:00
Floatingghost f3c2aae62b mount config file in the right place 2024-05-29 05:36:52 +01:00
Floatingghost 9e480ab73e add config volume 2024-05-29 05:33:39 +01:00
Floatingghost 770913f9aa update pg version to 16 2024-05-29 05:31:34 +01:00
Floatingghost 8f8c7c76dc correct migration script 2024-05-29 05:30:54 +01:00
Floatingghost 995225b783 use alpine containers 2024-05-29 05:20:20 +01:00
Floatingghost 38d93a0f97 add script to migrate postgres versions 2024-05-29 05:19:46 +01:00
Floatingghost a2dfab971d add shm_size in overrides 2024-05-29 05:01:18 +01:00
Floatingghost 2b6c5c94f9 add docker-compose file to tune database 2024-05-29 05:00:33 +01:00
Floatingghost 23c7271f05 am i baka? maybe 2024-05-28 12:23:13 +01:00
Floatingghost 5fc47d4b80 i am a moron 2024-05-28 12:15:10 +01:00
Floatingghost 23da9903d5 add test docker build 2024-05-28 12:12:38 +01:00
floatingghost 8afc3bee7a Merge pull request 'Use /var/tmp for media cache path' (#776) from norm/akkoma:nginx-var-tmp into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/776
Reviewed-by: floatingghost <hannah@coffee-and-dreams.uk>
2024-05-28 02:05:17 +00:00
floatingghost 72871d4514 Merge pull request 'Drop unused indices' (#767) from Oneric/akkoma:purge-unused-indices into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/767
2024-05-28 01:35:18 +00:00
floatingghost 72af38c0e9 Merge pull request 'migrate CI config to v2' (#785) from woodpecker-v2 into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/785
2024-05-27 03:32:40 +00:00
Floatingghost ae19fd90c9 use elixir 1.16 for format checks 2024-05-27 04:07:44 +01:00
Floatingghost 66b3248dd3 mix tests probably shouldn't be async 2024-05-27 04:03:13 +01:00
Floatingghost 73ead8656a don't allow emoji formatter to be async 2024-05-27 03:25:18 +01:00