summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-11-14MediaProxyCacheControllerTest: Fix unstable tests.fix-testsLain Soykaf
Cachex order isn't stable, so we can not depend on the order in tests. This adds some sorting to make the tests stable.
2021-11-14StealEmojiPolicyTest: Make mocks explicit.Lain Soykaf
2021-11-14Mix: Upgrade mogrify libraryLain Soykaf
The old library would modify a file on reading it, the new one doesn't have this issue.
2021-10-10Merge branch 'refactor/group_validator_fields' into 'develop'Haelwenn
object_validators: Group common fields in CommonValidations See merge request pleroma/pleroma!3384
2021-10-10object_validators: Group common fields in CommonValidationsHaelwenn (lanodan) Monnier
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-07Merge branch 'typo' into 'develop'feld
Fix typo See merge request pleroma/pleroma!3528
2021-10-06Fix typoMark Felder
2021-10-06Merge branch 'weblate-pleroma-pleroma' into 'develop'Haelwenn
Translations update from Weblate See merge request pleroma/pleroma!3513
2021-10-06Translated using Weblate (Japanese)Ryo Ueno
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-06Added translation using Weblate (Japanese)Ryo Ueno
2021-10-06Translated using Weblate (Vietnamese)Hồ Nhất Duy
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-06Added translation using Weblate (Vietnamese)Hồ Nhất Duy
2021-10-06Translated using Weblate (Indonesian)@liimee
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-06Translated using Weblate (Indonesian)@liimee
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-06Translated using Weblate (Indonesian)@liimee
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-06Translated using Weblate (Indonesian)@liimee
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-06Translated using Weblate (Indonesian)@liimee
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-06Translated using Weblate (Indonesian)@liimee
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-06Added translation using Weblate (Indonesian)@liimee
2021-10-06Translated using Weblate (Polish)marcin mikołajczak
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-06Merge branch 'ci/bump-elixir-lint' into 'develop'Haelwenn
CI: Bump lint stage to elixir-1.12 See merge request pleroma/pleroma!3488
2021-10-06CI: Bump lint stage to elixir-1.12Haelwenn (lanodan) Monnier
Elixir 1.12 changed formatting rules, this allows to avoid having to rollback to run `mix format`
2021-10-06Merge branch 'bugfix/crypt-pragma' into 'develop'Haelwenn
mix: Update crypt to fix #pragma warning Closes #2710 See merge request pleroma/pleroma!3527
2021-10-06Merge branch 'from/develop/tusooa/add-remove-emails' into 'develop'Haelwenn
Allow users to remove their emails if instance does not need email to register See merge request pleroma/pleroma!3522
2021-10-06Merge branch 'partev-develop-patch-72837' into 'develop'Haelwenn
fix a typo "Optionnal" -> "Optional" See merge request pleroma/pleroma!3525
2021-10-06mix: Update crypt to fix #pragma warningHaelwenn (lanodan) Monnier
Closes: https://git.pleroma.social/pleroma/pleroma/-/issues/2710
2021-09-21Merge branch 'dockerfix' into 'develop'Haelwenn
Docker fix See merge request pleroma/pleroma!3526
2021-09-20Update to newer buildx as current one can't be downloaded due to some Github ↵Mark Felder
error
2021-09-12fix a typo "Optionnal" -> "Optional"partev
2021-09-07Merge branch 'remove/mastofe' into 'develop'Haelwenn
Remove MastoFE from Pleroma, fixes #2625 Closes #2625 See merge request pleroma/pleroma!3392
2021-09-05Allow users to remove their emails if instance does not need email to registerTusooa Zhu
2021-09-01Merge branch 'small-cleanup' into 'develop'Haelwenn
Remove unused Logger See merge request pleroma/pleroma!3521
2021-09-01Remove unused LoggerMark Felder
2021-08-29Merge branch 'chores/2.4.1-develop' into 'develop'Haelwenn
Mergeback: 2.4.1 Closes #2758 See merge request pleroma/pleroma!3520
2021-08-28Merge branch 'release/2.4.1' into chores/2.4.1-developHaelwenn (lanodan) Monnier
2021-08-28Release 2.4.1Haelwenn (lanodan) Monnier
2021-08-28mix pleroma.database set_text_search_config now runs concurrently and infinitelysomeone
Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3514
2021-08-28Selecting MRF policies didn't work as intended any moreIlja
* Policies were put under a new module (Pleroma.Web.ActivityPub.MRF.Policy instead of Pleroma.Web.ActivityPub.MRF), but this wasn't changed in the Pleroma.Web.ActivityPub.MRF @mrf_config_descriptions * I don't have a unit test to prevent similar problems in the future because I don't find a proper way to do it * The descriptions in the unit tests are defined in the unit tests, so if someone changes module names in the code, the tests wont see it * The list is generated in Pleroma.Docs.Generator.list_behaviour_implementations, but I can't do a check in the when clause of the function to see if the provided module is a behaviour or not. Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3509
2021-08-28Make activity search properly use GIN indexesTusooa Zhu
The original approach to search in GIN indexes is to use `to_tsvector(text)` in the WHERE clause of the query. According to postgres docs [pdoc], this method does not make use of the index, while `to_tsvector(config, text)` does. This commit changed the query to use the two-argument `to_tsvector()`. [pdoc]: https://www.postgresql.org/docs/12/textsearch-tables.html To obtain the search config in use, we make a query to the db first. The `::regconfig::oid` hack is needed because Postgrex does not support regconfig type directly [postgrexbug]. I use the conversion from and to `oid` instead of `text` because I tested in the actual DB and querying using the conversion via `text` is slow just as the one-argument `to_tsvector()` variant. [postgrexbug]: https://github.com/elixir-ecto/postgrex/issues/502 Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3519 Closes: https://git.pleroma.social/pleroma/pleroma/-/issues/2758
2021-08-28List available frontends also when no static/frontends folder is present yetIlja
* To see what front ends are installed, it ls static/frontends. When this folder doesn't exists yet, it will return an empty array. * Installing still works since the folder is created during installation already Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3510
2021-08-28Add Admin-FE menu for StealEmojiPolicySam Therapy
Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3512
2021-08-28Merge branch 'set_text_search_config_timeout' into 'develop'Haelwenn
mix pleroma.database set_text_search_config now runs concurrently and infinitely See merge request pleroma/pleroma!3514
2021-08-28Merge branch 'docs_add_yunohost_installation' into 'develop'Haelwenn
Add YunoHost to installation guides See merge request pleroma/pleroma!3497
2021-08-28Merge branch 'features/ingestion-no-nil' into 'develop'Haelwenn
ObjectValidator.stringify_keys: filter out nil values See merge request pleroma/pleroma!3506
2021-08-28Merge branch 'admin_fe_dont_list_mrf_policies_any_more' into 'develop'Haelwenn
Selecting MRF policies didn't work as intended any more Closes admin-fe#198 See merge request pleroma/pleroma!3509
2021-08-28Merge branch 'from/develop/tusooa/2758-gin-index-search' into 'develop'Haelwenn
Make activity search properly use GIN indexes Closes #2758 See merge request pleroma/pleroma!3519
2021-08-27Add changelog for !3519Tusooa Zhu
2021-08-27Make activity search properly use GIN indexesTusooa Zhu
The original approach to search in GIN indexes is to use `to_tsvector(text)` in the WHERE clause of the query. According to postgres docs [pdoc], this method does not make use of the index, while `to_tsvector(config, text)` does. This commit changed the query to use the two-argument `to_tsvector()`. [pdoc]: https://www.postgresql.org/docs/12/textsearch-tables.html To obtain the search config in use, we make a query to the db first. The `::regconfig::oid` hack is needed because Postgrex does not support regconfig type directly [postgrexbug]. I use the conversion from and to `oid` instead of `text` because I tested in the actual DB and querying using the conversion via `text` is slow just as the one-argument `to_tsvector()` variant. [postgrexbug]: https://github.com/elixir-ecto/postgrex/issues/502 BUG: https://git.pleroma.social/pleroma/pleroma/-/issues/2758
2021-08-15mix pleroma.database set_text_search_config now runs concurrently and infinitelysomeone
2021-08-14Merge branch ↵Haelwenn
'show_frontends_also_when_no_static_frontends_folder_is_created_yet' into 'develop' List available frontends also when no static/frontends folder is present yet Closes admin-fe#201 See merge request pleroma/pleroma!3510