akkoma
23 months agoMerge branch 'develop' into default-db-name
norm [Tue, 12 Jul 2022 16:44:10 +0000 (16:44 +0000)]
Merge branch 'develop' into default-db-name

23 months agoChange default Postgres user/DB to akkoma
Norm [Tue, 12 Jul 2022 16:41:30 +0000 (12:41 -0400)]
Change default Postgres user/DB to akkoma

23 months agoalso resolve @full@tags in mfm (#62)
floatingghost [Mon, 11 Jul 2022 13:48:43 +0000 (13:48 +0000)]
also resolve @full@tags in mfm (#62)

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/62

23 months ago[#58] ensure all users are linked in MFM content (#61)
floatingghost [Mon, 11 Jul 2022 11:48:29 +0000 (11:48 +0000)]
[#58] ensure all users are linked in MFM content (#61)

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/61

23 months ago[#58] pre-link MFM content (#59)
floatingghost [Sun, 10 Jul 2022 17:06:25 +0000 (17:06 +0000)]
[#58] pre-link MFM content (#59)

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/59

23 months agoRemove precompiled javascript (#55)
floatingghost [Fri, 8 Jul 2022 13:03:18 +0000 (13:03 +0000)]
Remove precompiled javascript (#55)

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/55

23 months agoUpdate Alpine install guide (#49)
norm [Thu, 7 Jul 2022 18:17:31 +0000 (18:17 +0000)]
Update Alpine install guide (#49)

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/49
Co-authored-by: norm <normandy@biribiri.dev>
Co-committed-by: norm <normandy@biribiri.dev>
23 months agoMerge pull request 'Fix release installation' (#54) from release-build into develop
floatingghost [Wed, 6 Jul 2022 21:49:52 +0000 (21:49 +0000)]
Merge pull request 'Fix release installation' (#54) from release-build into develop

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/54

23 months agoFix release installation
FloatingGhost [Wed, 6 Jul 2022 21:47:59 +0000 (22:47 +0100)]
Fix release installation

23 months agoAdd configurable theme color (#53)
floatingghost [Wed, 6 Jul 2022 20:00:43 +0000 (20:00 +0000)]
Add configurable theme color (#53)

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/53

23 months agoFixes for elasticsearch 8 (#52)
floatingghost [Wed, 6 Jul 2022 18:57:00 +0000 (18:57 +0000)]
Fixes for elasticsearch 8 (#52)

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/52

23 months agoUpdate sample config files (#48)
norm [Wed, 6 Jul 2022 18:50:01 +0000 (18:50 +0000)]
Update sample config files (#48)

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/48
Co-authored-by: norm <normandy@biribiri.dev>
Co-committed-by: norm <normandy@biribiri.dev>
23 months agoFix config path lookup (#51)
norm [Wed, 6 Jul 2022 18:28:41 +0000 (18:28 +0000)]
Fix config path lookup (#51)

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/51
Co-authored-by: norm <normandy@biribiri.dev>
Co-committed-by: norm <normandy@biribiri.dev>
23 months agoimport logger
FloatingGhost [Tue, 5 Jul 2022 13:45:28 +0000 (14:45 +0100)]
import logger

23 months agoMerge pull request 'mix format' (#47) from format into develop
floatingghost [Mon, 4 Jul 2022 16:41:54 +0000 (16:41 +0000)]
Merge pull request 'mix format' (#47) from format into develop

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/47

23 months agomix format
FloatingGhost [Mon, 4 Jul 2022 16:38:16 +0000 (17:38 +0100)]
mix format

23 months agoUse finch everywhere (#33)
floatingghost [Mon, 4 Jul 2022 16:30:38 +0000 (16:30 +0000)]
Use finch everywhere (#33)

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/33

23 months agoimplement Move activities (#45)
sfr [Mon, 4 Jul 2022 16:29:39 +0000 (16:29 +0000)]
implement Move activities (#45)

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/45
Co-authored-by: sfr <sol@solfisher.com>
Co-committed-by: sfr <sol@solfisher.com>
23 months agoMerge pull request 'Update development docs' (#43) from norm/akkoma:docs-development...
floatingghost [Mon, 4 Jul 2022 15:49:08 +0000 (15:49 +0000)]
Merge pull request 'Update development docs' (#43) from norm/akkoma:docs-development into develop

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/43

23 months agoMerge pull request '[#37] fix frienderica pinned collection fetching' (#42) from...
floatingghost [Mon, 4 Jul 2022 15:47:45 +0000 (15:47 +0000)]
Merge pull request '[#37] fix frienderica pinned collection fetching' (#42) from friendica-featured-collection into develop

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/42

23 months agoUpdate development docs
Norm [Mon, 4 Jul 2022 02:34:54 +0000 (22:34 -0400)]
Update development docs

23 months agoUse Akkoma modification for collections
FloatingGhost [Sun, 3 Jul 2022 18:36:30 +0000 (19:36 +0100)]
Use Akkoma modification for collections

23 months agoAdd collection fetching module
FloatingGhost [Sun, 3 Jul 2022 18:20:59 +0000 (19:20 +0100)]
Add collection fetching module

23 months agoAdd support for a `first` reference in pinned objects
FloatingGhost [Sun, 3 Jul 2022 16:25:20 +0000 (17:25 +0100)]
Add support for a `first` reference in pinned objects

23 months agoAdd test for friendica featured collection
FloatingGhost [Sun, 3 Jul 2022 15:59:12 +0000 (16:59 +0100)]
Add test for friendica featured collection

23 months agoUpdate configuration docs (#40)
norm [Sun, 3 Jul 2022 15:21:21 +0000 (15:21 +0000)]
Update configuration docs (#40)

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/40
Co-authored-by: norm <normandy@biribiri.dev>
Co-committed-by: norm <normandy@biribiri.dev>
23 months agoUpdate administration docs (#39)
norm [Sun, 3 Jul 2022 15:18:43 +0000 (15:18 +0000)]
Update administration docs (#39)

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/39
Co-authored-by: norm <normandy@biribiri.dev>
Co-committed-by: norm <normandy@biribiri.dev>
23 months agoUpdate install docs (#38)
norm [Sat, 2 Jul 2022 21:00:01 +0000 (21:00 +0000)]
Update install docs (#38)

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/38
Co-authored-by: norm <normandy@biribiri.dev>
Co-committed-by: norm <normandy@biribiri.dev>
23 months agoUpdate eblurhash to a non-bugged version (#34)
floatingghost [Sat, 2 Jul 2022 14:05:32 +0000 (14:05 +0000)]
Update eblurhash to a non-bugged version (#34)

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/34

23 months agoMerge pull request 'Add index hotspots' (#32) from hotspots into develop
floatingghost [Fri, 1 Jul 2022 13:00:27 +0000 (13:00 +0000)]
Merge pull request 'Add index hotspots' (#32) from hotspots into develop

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/32

23 months agoAdd index hotspots
Pete [Fri, 1 Jul 2022 12:59:26 +0000 (13:59 +0100)]
Add index hotspots

23 months agoMerge pull request 'Add migration documentation, update readme' (#27) from documentat...
floatingghost [Fri, 1 Jul 2022 12:16:00 +0000 (12:16 +0000)]
Merge pull request 'Add migration documentation, update readme' (#27) from documentation-migration into develop

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/27

23 months agoMerge branch 'documentation-migration' of akkoma.dev:AkkomaGang/akkoma into documenta...
FloatingGhost [Fri, 1 Jul 2022 12:15:28 +0000 (13:15 +0100)]
Merge branch 'documentation-migration' of akkoma.dev:AkkomaGang/akkoma into documentation-migration

23 months agodon't set primary just yet
FloatingGhost [Fri, 1 Jul 2022 12:15:21 +0000 (13:15 +0100)]
don't set primary just yet

23 months agoMerge branch 'develop' into documentation-migration
floatingghost [Fri, 1 Jul 2022 12:12:24 +0000 (12:12 +0000)]
Merge branch 'develop' into documentation-migration

23 months agoFix broken attachments from owncast (#31)
floatingghost [Fri, 1 Jul 2022 11:14:55 +0000 (11:14 +0000)]
Fix broken attachments from owncast (#31)

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/31

23 months agofix ES import from live (#29)
floatingghost [Thu, 30 Jun 2022 18:44:31 +0000 (18:44 +0000)]
fix ES import from live (#29)

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/29

23 months agoMerge pull request 'Merge search behaviour change, and refactor elasticsearch' (...
floatingghost [Thu, 30 Jun 2022 16:55:30 +0000 (16:55 +0000)]
Merge pull request 'Merge search behaviour change, and refactor elasticsearch' (#28) from elasticsearch-refactor into develop

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/28

23 months agoAdd documentation for ES search
FloatingGhost [Thu, 30 Jun 2022 16:36:57 +0000 (17:36 +0100)]
Add documentation for ES search

23 months agoAdd elasticsearch tests
FloatingGhost [Thu, 30 Jun 2022 15:53:21 +0000 (16:53 +0100)]
Add elasticsearch tests

23 months agoRefactor ES on top of search behaviour
FloatingGhost [Thu, 30 Jun 2022 15:28:31 +0000 (16:28 +0100)]
Refactor ES on top of search behaviour

23 months agoUpdate meilisearch docs
Ekaterina Vaartis [Wed, 23 Mar 2022 08:36:01 +0000 (11:36 +0300)]
Update meilisearch docs

23 months agoChange updateId to uid because apparently that's the new name
Ekaterina Vaartis [Tue, 22 Mar 2022 17:45:49 +0000 (20:45 +0300)]
Change updateId to uid because apparently that's the new name

23 months agoChange the meilisearch key auth to conform to 0.25.0
Ekaterina Vaartis [Tue, 22 Mar 2022 17:29:17 +0000 (20:29 +0300)]
Change the meilisearch key auth to conform to 0.25.0

23 months agoActually, unlisted posts are indexed
Ekaterina Vaartis [Sat, 22 Jan 2022 18:09:53 +0000 (21:09 +0300)]
Actually, unlisted posts are indexed

23 months agoChange search_indexing = 10 and retries for indexing = 2
Ekaterina Vaartis [Sat, 22 Jan 2022 14:17:43 +0000 (17:17 +0300)]
Change search_indexing = 10 and retries for indexing = 2

23 months agoDon't try removing deleted users and such from index as posts
Ekaterina Vaartis [Sat, 22 Jan 2022 13:52:06 +0000 (16:52 +0300)]
Don't try removing deleted users and such from index as posts

23 months agoFix meilisearch tests and jobs for oban
Ekaterina Vaartis [Sat, 22 Jan 2022 13:31:32 +0000 (16:31 +0300)]
Fix meilisearch tests and jobs for oban

23 months agoUse oban for search indexing
Ekaterina Vaartis [Sat, 22 Jan 2022 12:23:11 +0000 (15:23 +0300)]
Use oban for search indexing

23 months agoAdd a search backend behaviour
Ekaterina Vaartis [Mon, 20 Dec 2021 19:38:50 +0000 (22:38 +0300)]
Add a search backend behaviour

23 months agoAdd description for initial_indexing_chunk_size
Ekaterina Vaartis [Mon, 20 Dec 2021 16:27:22 +0000 (19:27 +0300)]
Add description for initial_indexing_chunk_size

23 months agoDon't support meilisearch < 0.24.0, since it breaks things
Ekaterina Vaartis [Mon, 20 Dec 2021 16:05:59 +0000 (19:05 +0300)]
Don't support meilisearch < 0.24.0, since it breaks things

23 months agoMake chunk size configurable
Ekaterina Vaartis [Mon, 20 Dec 2021 15:48:52 +0000 (18:48 +0300)]
Make chunk size configurable

23 months agoUpdate search.md documentation with meilisearch indexing steps
Ekaterina Vaartis [Mon, 20 Dec 2021 15:16:33 +0000 (18:16 +0300)]
Update search.md documentation with meilisearch indexing steps

23 months agoAdd config description for meilisearch
Ekaterina Vaartis [Mon, 20 Dec 2021 14:46:23 +0000 (17:46 +0300)]
Add config description for meilisearch

23 months agoImplement suggestions from the Meilisearch MR
Ekaterina Vaartis [Mon, 22 Nov 2021 18:39:54 +0000 (21:39 +0300)]
Implement suggestions from the Meilisearch MR

- Index unlisted posts
- Move version check outside of the streaming and only do it once
- Use a PUT request instead of checking manually if there is need to insert
- Add error handling, sort of

23 months agoRename Activity.Search to Search.DatabaseSearch
Ekaterina Vaartis [Wed, 17 Nov 2021 19:29:49 +0000 (22:29 +0300)]
Rename Activity.Search to Search.DatabaseSearch

23 months agoRename search.ex to database_search.ex and add search/2
Ekaterina Vaartis [Tue, 16 Nov 2021 18:54:26 +0000 (21:54 +0300)]
Rename search.ex to database_search.ex and add search/2

23 months agoStyle fixes
Ekaterina Vaartis [Sun, 14 Nov 2021 18:42:18 +0000 (21:42 +0300)]
Style fixes

23 months agoMove the search.ex file so credo doesn't complain
Ekaterina Vaartis [Sun, 14 Nov 2021 17:24:05 +0000 (20:24 +0300)]
Move the search.ex file so credo doesn't complain

23 months agoFix a typo in search docs
Ekaterina Vaartis [Sun, 14 Nov 2021 17:15:12 +0000 (20:15 +0300)]
Fix a typo in search docs

23 months agoSupport reindexing meilisearch >=0.24.0
Ekaterina Vaartis [Sat, 13 Nov 2021 12:07:51 +0000 (15:07 +0300)]
Support reindexing meilisearch >=0.24.0

It has has a different error code key

23 months agoAdd a reindex option
Ekaterina Vaartis [Wed, 10 Nov 2021 18:25:12 +0000 (21:25 +0300)]
Add a reindex option

Signed-off-by: Ekaterina Vaartis <vaartis@kotobank.ch>
23 months agoOnly add local posts to index in activity_pub
Ekaterina Vaartis [Fri, 29 Oct 2021 18:04:59 +0000 (21:04 +0300)]
Only add local posts to index in activity_pub

Remote ones are already added in another place

23 months agoSet content-type to application/json
Ekaterina Vaartis [Fri, 29 Oct 2021 10:58:24 +0000 (13:58 +0300)]
Set content-type to application/json

23 months agoModify some meilisearch variables
Ekaterina Vaartis [Thu, 28 Oct 2021 21:38:00 +0000 (00:38 +0300)]
Modify some meilisearch variables

23 months agoUse proper deleted object for removing from index
Ekaterina Vaartis [Tue, 12 Oct 2021 16:34:57 +0000 (19:34 +0300)]
Use proper deleted object for removing from index

23 months agoDon't try removing from index again in common_api
Ekaterina Vaartis [Tue, 12 Oct 2021 16:17:37 +0000 (19:17 +0300)]
Don't try removing from index again in common_api

It's already removed in the side effects of the pipeline

23 months agoAdd more documentation about rum to meilisearch docs
Ekaterina Vaartis [Tue, 12 Oct 2021 16:14:39 +0000 (19:14 +0300)]
Add more documentation about rum to meilisearch docs

23 months agoMove add_to_index / remove_from_index to Pleroma.Actitivy.Search
Ekaterina Vaartis [Fri, 8 Oct 2021 09:24:37 +0000 (12:24 +0300)]
Move add_to_index / remove_from_index to Pleroma.Actitivy.Search

23 months agoReorder ranking rules for (maybe) better results
Ekaterina Vaartis [Sat, 28 Aug 2021 12:59:13 +0000 (15:59 +0300)]
Reorder ranking rules for (maybe) better results

23 months agoAdd private_key: nil to default meilisearch options
Ekaterina Vaartis [Mon, 23 Aug 2021 20:52:37 +0000 (23:52 +0300)]
Add private_key: nil to default meilisearch options

23 months agoAdd tests for local post indexing for meilisearch
Ekaterina Vaartis [Mon, 23 Aug 2021 20:52:21 +0000 (23:52 +0300)]
Add tests for local post indexing for meilisearch

23 months agoFix activity being passed to objec_to_search_data
Ekaterina Vaartis [Mon, 23 Aug 2021 18:15:15 +0000 (21:15 +0300)]
Fix activity being passed to objec_to_search_data

23 months agoAdd search/meilisearch documentation
Ekaterina Vaartis [Mon, 23 Aug 2021 17:27:16 +0000 (20:27 +0300)]
Add search/meilisearch documentation

23 months agoAdd the meilisearch.stats command
Ekaterina Vaartis [Mon, 23 Aug 2021 17:21:46 +0000 (20:21 +0300)]
Add the meilisearch.stats command

23 months agoAdd a message with a count of posts to index
Ekaterina Vaartis [Mon, 23 Aug 2021 17:02:34 +0000 (20:02 +0300)]
Add a message with a count of posts to index

23 months agoImplement meilisearch auth
Ekaterina Vaartis [Mon, 23 Aug 2021 16:35:21 +0000 (19:35 +0300)]
Implement meilisearch auth

23 months agoMake indexing logs rewrite themselves
Ekaterina Vaartis [Sun, 22 Aug 2021 20:47:43 +0000 (23:47 +0300)]
Make indexing logs rewrite themselves

23 months agoRework task indexing to share code with the main module
Ekaterina Vaartis [Sun, 22 Aug 2021 19:53:18 +0000 (22:53 +0300)]
Rework task indexing to share code with the main module

The code in the main module now scrubs new posts too

23 months agoAdjust content indexing to skip more unneeded stuff
Ekaterina Vaartis [Sun, 22 Aug 2021 16:38:03 +0000 (19:38 +0300)]
Adjust content indexing to skip more unneeded stuff

23 months agoMark only content as searchable for meilisearch
Ekaterina Vaartis [Sun, 22 Aug 2021 15:47:41 +0000 (18:47 +0300)]
Mark only content as searchable for meilisearch

23 months agoAlso index incoming federated posts
Ekaterina Vaartis [Sun, 22 Aug 2021 13:37:52 +0000 (16:37 +0300)]
Also index incoming federated posts

23 months agoMake the chunk size smaller
Ekaterina Vaartis [Mon, 16 Aug 2021 22:37:43 +0000 (01:37 +0300)]
Make the chunk size smaller

23 months agoUse content instead of source and scrub it
Ekaterina Vaartis [Mon, 16 Aug 2021 21:57:53 +0000 (00:57 +0300)]
Use content instead of source and scrub it

23 months agoTweak search ordering to hopefully return newer results
Ekaterina Vaartis [Mon, 16 Aug 2021 21:30:14 +0000 (00:30 +0300)]
Tweak search ordering to hopefully return newer results

23 months agoMake meilisearch sort on publish date converted to unix time
Ekaterina Vaartis [Mon, 16 Aug 2021 21:06:32 +0000 (00:06 +0300)]
Make meilisearch sort on publish date converted to unix time

23 months agoMake the indexing batch differently and more, show number indexed
Ekaterina Vaartis [Mon, 16 Aug 2021 19:30:56 +0000 (22:30 +0300)]
Make the indexing batch differently and more, show number indexed

23 months agoEnsure only indexing public posts and implement clearing and delete
Ekaterina Vaartis [Mon, 16 Aug 2021 19:24:31 +0000 (22:24 +0300)]
Ensure only indexing public posts and implement clearing and delete

23 months agoAdd logging to milisiearch index and make it use desc(id)
Ekaterina Vaartis [Mon, 16 Aug 2021 07:18:01 +0000 (10:18 +0300)]
Add logging to milisiearch index and make it use desc(id)

23 months agoInitial meilisearch implementation, doesn't delete posts yet
Ekaterina Vaartis [Sun, 15 Aug 2021 18:53:04 +0000 (21:53 +0300)]
Initial meilisearch implementation, doesn't delete posts yet

23 months agoInstruct users to run 'git pull' as the pleroma user
lewdthewides [Thu, 12 May 2022 16:02:58 +0000 (16:02 +0000)]
Instruct users to run 'git pull' as the pleroma user

23 months agoStealEmojiPolicy: fix String rejected_shortcodes
Hélène [Wed, 18 May 2022 19:25:10 +0000 (21:25 +0200)]
StealEmojiPolicy: fix String rejected_shortcodes

* rejected_shortcodes is defined as a list of strings in the
  configuration description. As such, database-based configuration was
  led to handle those settings as strings, and not as the actually
  expected type, Regex.
* This caused each message passing through this MRF, if a rejected
  shortcode was set and the emoji did not exist already on the instance,
  to fail federating, as an exception was raised, swiftly caught and
  mostly silenced.
* This commit fixes the issue by introducing new behavior: strings are
  now handled as perfect matches for an emoji shortcode (meaning that if
  the emoji-to-be-pulled's shortcode is in the blacklist, it will be
  rejected), while still supporting Regex types as before.

23 months agoAlso use actor_type to determine if an account is a bot in antiFollowbotPolicy
Ilja [Sun, 8 May 2022 18:10:40 +0000 (18:10 +0000)]
Also use actor_type to determine if an account is a bot in antiFollowbotPolicy

23 months agoSkip cache when /objects or /activities is authenticated
Tusooa Zhu [Thu, 5 May 2022 23:20:32 +0000 (19:20 -0400)]
Skip cache when /objects or /activities is authenticated

Ref: fix-local-public

23 months agoAllow to skip cache in Cache plug
Tusooa Zhu [Thu, 5 May 2022 22:39:34 +0000 (18:39 -0400)]
Allow to skip cache in Cache plug

Ref: fix-local-public

23 months agoFix incorrect fallback when English is set to first language
Tusooa Zhu [Mon, 18 Apr 2022 02:39:52 +0000 (22:39 -0400)]
Fix incorrect fallback when English is set to first language

23 months agoFix eratic test for POST /api/pleroma/admin/reports/:id/notes
Ilja [Tue, 5 Apr 2022 11:21:09 +0000 (13:21 +0200)]
Fix eratic test for POST /api/pleroma/admin/reports/:id/notes

It retrieved two ReportNotes and then checked one of them. But the order isn't guaranteed, while the test tested on the content of the first ReportNote.

I made the test on the content more generic

23 months agoSupport fallbacking to other languages
Tusooa Zhu [Sun, 6 Mar 2022 16:43:31 +0000 (11:43 -0500)]
Support fallbacking to other languages

23 months agoLint
Tusooa Zhu [Thu, 3 Mar 2022 14:40:18 +0000 (09:40 -0500)]
Lint