Commit Graph

13852 Commits

Author SHA1 Message Date
Ekaterina Vaartis
23d717ebbc Don't try removing from index again in common_api
It's already removed in the side effects of the pipeline
2021-10-28 00:40:39 +03:00
Ekaterina Vaartis
821a49612a Add more documentation about rum to meilisearch docs 2021-10-28 00:40:39 +03:00
Ekaterina Vaartis
3f4c7e4473 Move add_to_index / remove_from_index to Pleroma.Actitivy.Search 2021-10-28 00:40:39 +03:00
Ekaterina Vaartis
a9bc1d62be Reorder ranking rules for (maybe) better results 2021-10-28 00:40:39 +03:00
Ekaterina Vaartis
f8e9d699a8 Add private_key: nil to default meilisearch options 2021-10-28 00:40:39 +03:00
Ekaterina Vaartis
42a6d25bb6 Add tests for local post indexing for meilisearch 2021-10-28 00:40:39 +03:00
Ekaterina Vaartis
0992083fb4 Fix activity being passed to objec_to_search_data 2021-10-28 00:40:39 +03:00
Ekaterina Vaartis
8482103dc8 Add search/meilisearch documentation 2021-10-28 00:40:39 +03:00
Ekaterina Vaartis
4d1a96a250 Add the meilisearch.stats command 2021-10-28 00:40:39 +03:00
Ekaterina Vaartis
452da4b6f0 Add a message with a count of posts to index 2021-10-28 00:40:39 +03:00
Ekaterina Vaartis
89f3dc258a Implement meilisearch auth 2021-10-28 00:40:39 +03:00
Ekaterina Vaartis
91a4f89695 Make indexing logs rewrite themselves 2021-10-28 00:40:39 +03:00
Ekaterina Vaartis
ecc21bceeb Rework task indexing to share code with the main module
The code in the main module now scrubs new posts too
2021-10-28 00:40:39 +03:00
Ekaterina Vaartis
268f42ee96 Adjust content indexing to skip more unneeded stuff 2021-10-28 00:40:39 +03:00
Ekaterina Vaartis
ab05800b99 Mark only content as searchable for meilisearch 2021-10-28 00:40:39 +03:00
Ekaterina Vaartis
ab330ad41b Also index incoming federated posts 2021-10-28 00:40:39 +03:00
Ekaterina Vaartis
c640b6e0b2 Make the chunk size smaller 2021-10-28 00:40:39 +03:00
Ekaterina Vaartis
411fde6e66 Use content instead of source and scrub it 2021-10-28 00:40:39 +03:00
Ekaterina Vaartis
746cd3a0d9 Tweak search ordering to hopefully return newer results 2021-10-28 00:40:39 +03:00
Ekaterina Vaartis
36a197775f Make meilisearch sort on publish date converted to unix time 2021-10-28 00:40:39 +03:00
Ekaterina Vaartis
f70e7dffd1 Make the indexing batch differently and more, show number indexed 2021-10-28 00:40:39 +03:00
Ekaterina Vaartis
5861b029ca Ensure only indexing public posts and implement clearing and delete 2021-10-28 00:40:39 +03:00
Ekaterina Vaartis
7469803914 Add logging to milisiearch index and make it use desc(id) 2021-10-28 00:40:39 +03:00
Ekaterina Vaartis
1eb7d22638 Initial meilisearch implementation, doesn't delete posts yet 2021-10-28 00:40:39 +03:00
Haelwenn
6b5c2d5f86 Merge branch 'refactor/group_validator_fields' into 'develop'
object_validators: Group common fields in CommonValidations

See merge request pleroma/pleroma!3384
2021-10-10 08:57:11 +00:00
Haelwenn (lanodan) Monnier
23161526d4 object_validators: Group common fields in CommonValidations
Notes:
- QuestionValidator didn't have a :name field but that seems like a mistake
- `_fields` functions can't inherit others because of some Validators
- bto/bcc fields were absent in activities, also seems like a mistake
  (Well IIRC we don't or barely support bto/bcc anyway)
2021-10-10 02:50:06 +02:00
feld
d8d819ddc7 Merge branch 'typo' into 'develop'
Fix typo

See merge request pleroma/pleroma!3528
2021-10-07 20:02:41 +00:00
Mark Felder
3af7db9fd7 Fix typo 2021-10-06 10:49:25 -05:00
Haelwenn
fee2260633 Merge branch 'weblate-pleroma-pleroma' into 'develop'
Translations update from Weblate

See merge request pleroma/pleroma!3513
2021-10-06 06:26:55 +00:00
Ryo Ueno
5f2aefee1b Translated using Weblate (Japanese)
Currently translated at 21.6% (23 of 106 strings)

Translation: Pleroma/Pleroma backend
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma/ja/
2021-10-06 06:12:17 +00:00
Ryo Ueno
84a7eb5597 Added translation using Weblate (Japanese) 2021-10-06 06:12:17 +00:00
Hồ Nhất Duy
a84aa10f70 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (106 of 106 strings)

Translation: Pleroma/Pleroma backend
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma/vi/
2021-10-06 06:12:17 +00:00
Hồ Nhất Duy
3647c8e45b Added translation using Weblate (Vietnamese) 2021-10-06 06:12:17 +00:00
@liimee
a3909f30b6 Translated using Weblate (Indonesian)
Currently translated at 64.1% (68 of 106 strings)

Translation: Pleroma/Pleroma backend
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma/id/
2021-10-06 06:12:17 +00:00
@liimee
f0d0d4f6e4 Translated using Weblate (Indonesian)
Currently translated at 61.3% (65 of 106 strings)

Translation: Pleroma/Pleroma backend
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma/id/
2021-10-06 06:12:17 +00:00
@liimee
f2806adeed Translated using Weblate (Indonesian)
Currently translated at 59.4% (63 of 106 strings)

Translation: Pleroma/Pleroma backend
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma/id/
2021-10-06 06:12:17 +00:00
@liimee
4a15fd8a0a Translated using Weblate (Indonesian)
Currently translated at 55.6% (59 of 106 strings)

Translation: Pleroma/Pleroma backend
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma/id/
2021-10-06 06:12:17 +00:00
@liimee
bea8a204a9 Translated using Weblate (Indonesian)
Currently translated at 50.9% (54 of 106 strings)

Translation: Pleroma/Pleroma backend
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma/id/
2021-10-06 06:12:17 +00:00
@liimee
e00fe5b616 Translated using Weblate (Indonesian)
Currently translated at 4.7% (5 of 106 strings)

Translation: Pleroma/Pleroma backend
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma/id/
2021-10-06 06:12:17 +00:00
@liimee
477d839444 Added translation using Weblate (Indonesian) 2021-10-06 06:12:17 +00:00
marcin mikołajczak
8467065aba Translated using Weblate (Polish)
Currently translated at 100.0% (104 of 104 strings)

Translation: Pleroma/Pleroma backend
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma/pl/
2021-10-06 06:12:17 +00:00
Haelwenn
390ceb9f94 Merge branch 'ci/bump-elixir-lint' into 'develop'
CI: Bump lint stage to elixir-1.12

See merge request pleroma/pleroma!3488
2021-10-06 06:12:08 +00:00
Haelwenn (lanodan) Monnier
a17910a6c6
CI: Bump lint stage to elixir-1.12
Elixir 1.12 changed formatting rules, this allows to avoid having to rollback to run `mix format`
2021-10-06 08:11:05 +02:00
Haelwenn
bdaa7e5394 Merge branch 'bugfix/crypt-pragma' into 'develop'
mix: Update crypt to fix #pragma warning

Closes #2710

See merge request pleroma/pleroma!3527
2021-10-06 05:58:52 +00:00
Haelwenn
92a8ff59aa Merge branch 'from/develop/tusooa/add-remove-emails' into 'develop'
Allow users to remove their emails if instance does not need email to register

See merge request pleroma/pleroma!3522
2021-10-06 05:44:44 +00:00
Haelwenn
d2d462748c Merge branch 'partev-develop-patch-72837' into 'develop'
fix a typo "Optionnal" -> "Optional"

See merge request pleroma/pleroma!3525
2021-10-06 05:41:06 +00:00
Haelwenn (lanodan) Monnier
3b20eddcf8
mix: Update crypt to fix #pragma warning
Closes: https://git.pleroma.social/pleroma/pleroma/-/issues/2710
2021-10-06 07:40:02 +02:00
Haelwenn
d86b10a5e3 Merge branch 'dockerfix' into 'develop'
Docker fix

See merge request pleroma/pleroma!3526
2021-09-21 22:04:59 +00:00
Mark Felder
36df37e056 Update to newer buildx as current one can't be downloaded due to some Github error 2021-09-20 16:58:25 -05:00
partev
ad5da6ae68 fix a typo "Optionnal" -> "Optional" 2021-09-12 15:31:49 +00:00