akkoma
3 years agoUser: Remove left-over (wrong) fix.
lain [Wed, 2 Dec 2020 12:39:29 +0000 (13:39 +0100)]
User: Remove left-over (wrong) fix.

3 years agoUser: Don't allow local users in remote changesets
lain [Wed, 2 Dec 2020 11:18:43 +0000 (12:18 +0100)]
User: Don't allow local users in remote changesets

3 years agoMerge branch 'fix/search-test-on-exit' into 'develop'
rinpatch [Tue, 1 Dec 2020 17:08:05 +0000 (17:08 +0000)]
Merge branch 'fix/search-test-on-exit' into 'develop'

Search tests: Use on_exit for restoring `persistent_term` state

See merge request pleroma/pleroma!3182

3 years agoSearch tests: Use on_exit for restoring `persistent_term` state
rinpatch [Tue, 1 Dec 2020 16:45:25 +0000 (19:45 +0300)]
Search tests: Use on_exit for restoring `persistent_term` state

Otherwise if the assertion failed, the code below which resets the
state would never be reached

3 years agoMerge branch '2727-gitlab-issues' into 'develop'
Haelwenn [Fri, 27 Nov 2020 14:20:59 +0000 (14:20 +0000)]
Merge branch '2727-gitlab-issues' into 'develop'

Gitlab-CI: Explicitly tag specified arm32 images.

Closes #2327

See merge request pleroma/pleroma!3178

3 years agoGitlab-CI: Explicitly tag specified arm32 images.
lain [Fri, 27 Nov 2020 12:27:35 +0000 (13:27 +0100)]
Gitlab-CI: Explicitly tag specified arm32 images.

So we don't accidentally run generic images on runners
that only can deal with specific images.

3 years agoMerge branch 'fix/2322-digest-algorithm-case-insensitive' into 'develop'
lain [Fri, 27 Nov 2020 11:51:24 +0000 (11:51 +0000)]
Merge branch 'fix/2322-digest-algorithm-case-insensitive' into 'develop'

Digest algorithm is taken from header

Closes #2322

See merge request pleroma/pleroma!3176

3 years agodigest algorithm is taken from header
Alexander Strizhakov [Thu, 26 Nov 2020 08:12:44 +0000 (11:12 +0300)]
digest algorithm is taken from header

3 years agoMerge branch 'removing-fed-sockets-settings' into 'develop'
rinpatch [Thu, 26 Nov 2020 15:35:22 +0000 (15:35 +0000)]
Merge branch 'removing-fed-sockets-settings' into 'develop'

Removing remaining fed sockets settings

See merge request pleroma/pleroma!3177

3 years agoremoving fed sockets settings
Alexander Strizhakov [Thu, 26 Nov 2020 14:39:38 +0000 (17:39 +0300)]
removing fed sockets settings

3 years agoMerge branch 'fix/mix-debug' into 'develop'
feld [Wed, 25 Nov 2020 23:59:52 +0000 (23:59 +0000)]
Merge branch 'fix/mix-debug' into 'develop'

Prevent mix tasks from spewing any internal logging unless DEBUG is in the env

See merge request pleroma/pleroma!3175

3 years agoPrevent mix tasks from spewing any internal logging unless DEBUG is in the env
Mark Felder [Wed, 25 Nov 2020 18:52:39 +0000 (12:52 -0600)]
Prevent mix tasks from spewing any internal logging unless DEBUG is in the env

e.g., DEBUG=1 mix pleroma.config migrate_from_db

3 years agoMerge branch 'fix/2323-release-configuration-provider' into 'develop'
rinpatch [Wed, 25 Nov 2020 11:57:13 +0000 (11:57 +0000)]
Merge branch 'fix/2323-release-configuration-provider' into 'develop'

Fix for elixir 1.11

Closes #2323

See merge request pleroma/pleroma!3173

3 years agofix for elixir 1.11
Alexander Strizhakov [Tue, 24 Nov 2020 15:44:48 +0000 (18:44 +0300)]
fix for elixir 1.11

load runtime configs in releases with config provider

3 years agoMerge branch 'features/ruby-elements' into 'develop'
rinpatch [Wed, 25 Nov 2020 08:30:58 +0000 (08:30 +0000)]
Merge branch 'features/ruby-elements' into 'develop'

scrubbers/default: Add ruby element and it's childs

See merge request pleroma/pleroma!3172

4 years agoscrubbers/default: Add ruby element and it's childs
Haelwenn (lanodan) Monnier [Tue, 24 Nov 2020 23:36:46 +0000 (00:36 +0100)]
scrubbers/default: Add ruby element and it's childs

This allows to format Japanese furigana (aka ruby) notation.

Present in XHTML 1.1, HTML 5 and later. Absent in XHTML 1.0, HTML 4 and earlier.

See https://www.w3.org/TR/ruby/

4 years agoMerge branch 'chore/jason-in-tests' into 'develop'
Haelwenn [Tue, 24 Nov 2020 12:17:09 +0000 (12:17 +0000)]
Merge branch 'chore/jason-in-tests' into 'develop'

Use Jason instead of Poison in tests

See merge request pleroma/pleroma!3171

4 years agoFix badly formatted JSON fixtures which causes Jason to erroneously detect control...
Mark Felder [Mon, 23 Nov 2020 20:48:14 +0000 (14:48 -0600)]
Fix badly formatted JSON fixtures which causes Jason to erroneously detect control characters

4 years agoUse Jason instead of Poison in tests
Mark Felder [Mon, 23 Nov 2020 19:28:55 +0000 (13:28 -0600)]
Use Jason instead of Poison in tests

4 years agoMerge branch 'chore/bump-linkify' into 'develop'
rinpatch [Mon, 23 Nov 2020 17:37:27 +0000 (17:37 +0000)]
Merge branch 'chore/bump-linkify' into 'develop'

[#2293] Update Linkify to 0.3.0

See merge request pleroma/pleroma!3170

4 years agoUpdate Linkify to 0.3.0
Mark Felder [Mon, 23 Nov 2020 17:22:50 +0000 (11:22 -0600)]
Update Linkify to 0.3.0

Added

- Support returning result as iodata and as safe iodata

Fixed

- Hashtags followed by HTML tags "a", "code" and "pre" were not detected
- Incorrect parsing of HTML links inside HTML tags
- Punctuation marks in the end of urls were included in the html links
- Incorrect parsing of mentions with symbols before them

4 years agoMerge branch 'websearch' into 'develop'
rinpatch [Mon, 23 Nov 2020 14:40:33 +0000 (14:40 +0000)]
Merge branch 'websearch' into 'develop'

Use `websearch_to_tsvector` by default

See merge request pleroma/pleroma!3163

4 years agoSearch: Save detected pg version in a persistent term.
lain [Mon, 23 Nov 2020 14:29:55 +0000 (15:29 +0100)]
Search: Save detected pg version in a persistent term.

4 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into websearch
lain [Mon, 23 Nov 2020 14:18:19 +0000 (15:18 +0100)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into websearch

4 years agoMerge branch 'weblate-pleroma-pleroma' into 'develop'
Haelwenn [Mon, 23 Nov 2020 13:43:57 +0000 (13:43 +0000)]
Merge branch 'weblate-pleroma-pleroma' into 'develop'

Translations update from Weblate

See merge request pleroma/pleroma!3167

4 years agoTranslated using Weblate (Hebrew)
Guy Sheffer [Fri, 20 Nov 2020 16:09:10 +0000 (16:09 +0000)]
Translated using Weblate (Hebrew)

Currently translated at 100.0% (106 of 106 strings)

Translation: Pleroma/Pleroma backend
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma/he/

4 years agoMerge branch 'libmagic' into 'develop'
feld [Sat, 21 Nov 2020 18:11:58 +0000 (18:11 +0000)]
Merge branch 'libmagic' into 'develop'

Add missing libmagic for image upload to dockerfile

See merge request pleroma/pleroma!3168

4 years agoAdd missing libmagic for image upload
Guy Sheffer [Sat, 21 Nov 2020 17:57:38 +0000 (19:57 +0200)]
Add missing libmagic for image upload

4 years agoMerge branch 'fix/2302-report-duplicates' into 'develop'
feld [Fri, 20 Nov 2020 18:40:15 +0000 (18:40 +0000)]
Merge branch 'fix/2302-report-duplicates' into 'develop'

Fix for forwarded reports

Closes #2303 and #2302

See merge request pleroma/pleroma!3146

4 years agoLinting.
lain [Fri, 20 Nov 2020 15:38:05 +0000 (16:38 +0100)]
Linting.

4 years agoConfig, Docs: Remove search_function
lain [Fri, 20 Nov 2020 15:33:11 +0000 (16:33 +0100)]
Config, Docs: Remove search_function

4 years agoSearchController Test: Fix test.
lain [Fri, 20 Nov 2020 15:29:11 +0000 (16:29 +0100)]
SearchController Test: Fix test.

4 years agoChangelog: Add info about search changes
lain [Fri, 20 Nov 2020 15:28:00 +0000 (16:28 +0100)]
Changelog: Add info about search changes

4 years agoSearch: Change search method based on detected pg version
lain [Fri, 20 Nov 2020 15:26:43 +0000 (16:26 +0100)]
Search: Change search method based on detected pg version

4 years agoApplication: Save postgres version in the environment
lain [Fri, 20 Nov 2020 15:26:22 +0000 (16:26 +0100)]
Application: Save postgres version in the environment

4 years agoMerge branch 'fix/mix-tasks' into 'develop'
lain [Fri, 20 Nov 2020 10:30:02 +0000 (10:30 +0000)]
Merge branch 'fix/mix-tasks' into 'develop'

Start limiters in mix tasks

Closes #2320

See merge request pleroma/pleroma!3165

4 years agostart limiters in mix tasks
Alexander Strizhakov [Fri, 20 Nov 2020 08:37:01 +0000 (11:37 +0300)]
start limiters in mix tasks

4 years agoMerge branch '2301-users-search-discoverability-fix' into 'develop'
feld [Thu, 19 Nov 2020 20:33:52 +0000 (20:33 +0000)]
Merge branch '2301-users-search-discoverability-fix' into 'develop'

[#2301] Proper handling of User.is_discoverable

Closes #2301

See merge request pleroma/pleroma!3162

4 years agoMerge branch 'oban-jobs-to-simple-tasks' into 'develop'
feld [Thu, 19 Nov 2020 20:32:32 +0000 (20:32 +0000)]
Merge branch 'oban-jobs-to-simple-tasks' into 'develop'

Moving some background jobs into simple tasks

Closes #1790

See merge request pleroma/pleroma!3129

4 years agoMerge remote-tracking branch 'remotes/origin/develop' into 2301-users-search-discover...
Ivan Tashkinov [Thu, 19 Nov 2020 16:35:44 +0000 (19:35 +0300)]
Merge remote-tracking branch 'remotes/origin/develop' into 2301-users-search-discoverability-fix

# Conflicts:
# CHANGELOG.md

4 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into websearch
lain [Thu, 19 Nov 2020 16:32:57 +0000 (17:32 +0100)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into websearch

4 years ago[#2301] Proper handling of `User.is_discoverable`: users appear in in-service search...
Ivan Tashkinov [Thu, 19 Nov 2020 16:30:02 +0000 (19:30 +0300)]
[#2301] Proper handling of `User.is_discoverable`: users appear in in-service search but are hidden from external services like search bots.

4 years agoMerge branch '2317-old-reset-tokens' into 'develop'
Haelwenn [Thu, 19 Nov 2020 16:22:14 +0000 (16:22 +0000)]
Merge branch '2317-old-reset-tokens' into 'develop'

Resolve "Don't allow old password reset tokens"

Closes #2317

See merge request pleroma/pleroma!3160

4 years agoMerge branch 'fix-rum-search' into 'develop'
rinpatch [Thu, 19 Nov 2020 16:20:59 +0000 (16:20 +0000)]
Merge branch 'fix-rum-search' into 'develop'

Fix rum search speed

See merge request pleroma/pleroma!3161

4 years agoGitlab CI: Update postgres
lain [Thu, 19 Nov 2020 16:15:05 +0000 (17:15 +0100)]
Gitlab CI: Update postgres

4 years agoCHANGELOG.md: Move rum fix entry to patch section
rinpatch [Thu, 19 Nov 2020 16:13:19 +0000 (19:13 +0300)]
CHANGELOG.md: Move rum fix entry to patch section

Also includes minor cosmetical fixes.

4 years agoSearchController Test: Fix test
lain [Thu, 19 Nov 2020 15:53:26 +0000 (16:53 +0100)]
SearchController Test: Fix test

4 years agoSearch Test: linting
lain [Thu, 19 Nov 2020 15:48:51 +0000 (16:48 +0100)]
Search Test: linting

4 years agoSearch: Only skip ordering the rum index.
lain [Thu, 19 Nov 2020 15:29:31 +0000 (16:29 +0100)]
Search: Only skip ordering the rum index.

4 years agoChangelog: Document breaking change.
lain [Thu, 19 Nov 2020 15:26:17 +0000 (16:26 +0100)]
Changelog: Document breaking change.

4 years agoConfig: Set search_function to `websearch` by default
lain [Thu, 19 Nov 2020 15:17:14 +0000 (16:17 +0100)]
Config: Set search_function to `websearch` by default

4 years agoCheatsheet: Add info about search_function
lain [Thu, 19 Nov 2020 15:16:55 +0000 (16:16 +0100)]
Cheatsheet: Add info about search_function

4 years agoChangelog: Add info about the websearch option
lain [Thu, 19 Nov 2020 15:13:53 +0000 (16:13 +0100)]
Changelog: Add info about the websearch option

4 years agoSearch: Add option to search with the websearch function
lain [Thu, 19 Nov 2020 15:12:01 +0000 (16:12 +0100)]
Search: Add option to search with the websearch function

4 years ago[#2301] Quick fix: users with is_discoverable == false (default!) are included in...
Ivan Tashkinov [Thu, 19 Nov 2020 15:08:22 +0000 (18:08 +0300)]
[#2301] Quick fix: users with is_discoverable == false (default!) are included in search results.

4 years agolittle fix
Alexander Strizhakov [Thu, 19 Nov 2020 12:29:26 +0000 (15:29 +0300)]
little fix

4 years agoChangelog: Add info about search fixes.
lain [Thu, 19 Nov 2020 12:23:58 +0000 (13:23 +0100)]
Changelog: Add info about search fixes.

4 years agoActivity search: Fix order of results
lain [Thu, 19 Nov 2020 12:20:58 +0000 (13:20 +0100)]
Activity search: Fix order of results

Greatly speeds up the search for RUM.

4 years agoChangelog: Add info about reset tokens
lain [Thu, 19 Nov 2020 11:29:41 +0000 (12:29 +0100)]
Changelog: Add info about reset tokens

4 years agoCheatsheet: Add docs about reset token expiration
lain [Thu, 19 Nov 2020 11:28:39 +0000 (12:28 +0100)]
Cheatsheet: Add docs about reset token expiration

4 years agoPassword Resets: Don't accept tokens above a certain age.
lain [Thu, 19 Nov 2020 11:27:06 +0000 (12:27 +0100)]
Password Resets: Don't accept tokens above a certain age.

By default, one day

4 years agoMerge branch 'hide-muted-reactions' into 'develop'
lain [Thu, 19 Nov 2020 10:58:28 +0000 (10:58 +0000)]
Merge branch 'hide-muted-reactions' into 'develop'

Hide reactions from muted and blocked users

Closes #1875

See merge request pleroma/pleroma!3147

4 years agolog capture
Alexander Strizhakov [Wed, 18 Nov 2020 13:36:24 +0000 (16:36 +0300)]
log capture

4 years agotest fixes
Alexander Strizhakov [Wed, 18 Nov 2020 07:03:48 +0000 (10:03 +0300)]
test fixes

4 years agochangelog entries for fixes
Alexander Strizhakov [Tue, 17 Nov 2020 17:03:28 +0000 (20:03 +0300)]
changelog entries for fixes

4 years agofix for mastodon forwarded reports
Alexander Strizhakov [Tue, 17 Nov 2020 16:57:57 +0000 (19:57 +0300)]
fix for mastodon forwarded reports

4 years agoformatting
Alexander Strizhakov [Mon, 16 Nov 2020 16:41:03 +0000 (19:41 +0300)]
formatting

4 years agofix for forwarded reports
Alexander Strizhakov [Mon, 16 Nov 2020 16:22:32 +0000 (19:22 +0300)]
fix for forwarded reports

4 years agoMerge branch 'revert-da4660d2' into 'develop'
feld [Wed, 18 Nov 2020 21:16:12 +0000 (21:16 +0000)]
Merge branch 'revert-da4660d2' into 'develop'

Revert "Merge branch 'use-https-in-dockerfile' into 'develop'"

See merge request pleroma/pleroma!3158

4 years agoRevert "Merge branch 'use-https-in-dockerfile' into 'develop'"
feld [Wed, 18 Nov 2020 20:32:30 +0000 (20:32 +0000)]
Revert "Merge branch 'use-https-in-dockerfile' into 'develop'"

This reverts merge request !2955

4 years agoMerge branch 'develop' into 'hide-muted-reactions'
minibikini [Wed, 18 Nov 2020 20:22:40 +0000 (20:22 +0000)]
Merge branch 'develop' into 'hide-muted-reactions'

# Conflicts:
#   CHANGELOG.md

4 years agoFixed emoji reactions not being filtered from blocked and muted accounts
Mark Felder [Wed, 18 Nov 2020 20:13:25 +0000 (20:13 +0000)]
Fixed emoji reactions not being filtered from blocked and muted accounts

4 years agoMerge branch 'fix/mix-task-user-delete_activities' into 'develop'
feld [Wed, 18 Nov 2020 18:57:47 +0000 (18:57 +0000)]
Merge branch 'fix/mix-task-user-delete_activities' into 'develop'

Fix mix pleroma.user delete_activities task

See merge request pleroma/pleroma!3156

4 years agoMerge branch 'fix/webpush-and-emojireact' into 'develop'
lain [Wed, 18 Nov 2020 18:33:48 +0000 (18:33 +0000)]
Merge branch 'fix/webpush-and-emojireact' into 'develop'

Push notifications: add pleroma:emoji_reaction, improve tests

Closes #2185

See merge request pleroma/pleroma!3141

4 years agoApply 1 suggestion(s) to 1 file(s)
lain [Wed, 18 Nov 2020 18:27:30 +0000 (18:27 +0000)]
Apply 1 suggestion(s) to 1 file(s)

4 years agoMerge branch 'frontend-admin-api' into 'develop'
lain [Wed, 18 Nov 2020 17:51:57 +0000 (17:51 +0000)]
Merge branch 'frontend-admin-api' into 'develop'

Add an API to manage frontends

Closes #2238

See merge request pleroma/pleroma!3108

4 years agoChangelog: Move api info to api heading.
lain [Wed, 18 Nov 2020 17:32:13 +0000 (18:32 +0100)]
Changelog: Move api info to api heading.

4 years agoMerge branch 'update/admin-fe-20201117' into 'develop'
feld [Tue, 17 Nov 2020 23:16:17 +0000 (23:16 +0000)]
Merge branch 'update/admin-fe-20201117' into 'develop'

Update AdminFE

See merge request pleroma/pleroma!3157

4 years agoUpdate AdminFE build to pleroma/admin-fe@5b38aea2790686647a39f505864331bb9838e20d
Mark Felder [Tue, 17 Nov 2020 23:01:34 +0000 (17:01 -0600)]
Update AdminFE build to pleroma/admin-fe@5b38aea2790686647a39f505864331bb9838e20d

4 years agoAdd test for POST when push is disabled
Mark Felder [Tue, 17 Nov 2020 22:18:22 +0000 (22:18 +0000)]
Add test for POST when push is disabled

Also group together the tests verifiying failure when disabled

4 years agoRevert adding extra alert types here
Mark Felder [Tue, 17 Nov 2020 21:37:17 +0000 (21:37 +0000)]
Revert adding extra alert types here

4 years agoFix incorrect test description
Mark Felder [Tue, 17 Nov 2020 21:34:18 +0000 (21:34 +0000)]
Fix incorrect test description

4 years agoCredo
Mark Felder [Tue, 17 Nov 2020 20:33:30 +0000 (20:33 +0000)]
Credo

4 years agoTest that we ignore invalid subscription alert types separately.
Mark Felder [Tue, 17 Nov 2020 20:18:51 +0000 (20:18 +0000)]
Test that we ignore invalid subscription alert types separately.

4 years agoEnsure all supported push notification subscription alert types are tested
Mark Felder [Tue, 17 Nov 2020 20:14:38 +0000 (20:14 +0000)]
Ensure all supported push notification subscription alert types are tested

4 years agoSynchronize reaction notification text with PleromaFE's style
Mark Felder [Tue, 17 Nov 2020 19:51:37 +0000 (19:51 +0000)]
Synchronize reaction notification text with PleromaFE's style

4 years agoSupport both pleroma:chat_mention and pleroma:emoji_reaction for /api/v1/push/subscri...
Mark Felder [Tue, 17 Nov 2020 20:21:48 +0000 (20:21 +0000)]
Support both pleroma:chat_mention and pleroma:emoji_reaction for /api/v1/push/subscription

4 years agoUpdate OpenAPI spec/schema and test to verify support for pleroma:emoji_reaction...
Mark Felder [Tue, 17 Nov 2020 19:15:11 +0000 (19:15 +0000)]
Update OpenAPI spec/schema and test to verify support for pleroma:emoji_reaction subscriptions

4 years agoSpelling
Mark Felder [Tue, 17 Nov 2020 19:06:30 +0000 (19:06 +0000)]
Spelling

4 years agoDocument the API extensions for push subscriptions
Mark Felder [Tue, 17 Nov 2020 19:05:36 +0000 (19:05 +0000)]
Document the API extensions for push subscriptions

4 years agoAllow subscribing for pleroma:emoji_reaction push notifications
Mark Felder [Tue, 17 Nov 2020 18:33:40 +0000 (18:33 +0000)]
Allow subscribing for pleroma:emoji_reaction push notifications

4 years agoAdd capability for emoji reaction push notifications
Mark Felder [Fri, 13 Nov 2020 23:01:53 +0000 (17:01 -0600)]
Add capability for emoji reaction push notifications

4 years agoDocs: Add info about frontend install error response
lain [Tue, 17 Nov 2020 15:44:20 +0000 (16:44 +0100)]
Docs: Add info about frontend install error response

4 years agoFrontendController: Return error on installation error.
lain [Tue, 17 Nov 2020 15:43:07 +0000 (16:43 +0100)]
FrontendController: Return error on installation error.

4 years agoDocument fixing the pleroma.user delete_activities mix task
Mark Felder [Tue, 17 Nov 2020 15:28:46 +0000 (15:28 +0000)]
Document fixing the pleroma.user delete_activities mix task

4 years agoNeed to start web_resp cache or mix task fails
Mark Felder [Tue, 17 Nov 2020 15:15:53 +0000 (15:15 +0000)]
Need to start web_resp cache or mix task fails

4 years agoMerge branch 'remove/fedsockets' into 'develop'
feld [Tue, 17 Nov 2020 14:58:33 +0000 (14:58 +0000)]
Merge branch 'remove/fedsockets' into 'develop'

Remove FedSockets

See merge request pleroma/pleroma!3155

4 years agoMerge branch 'release/just-a-test-for-arm32-on-arm64' into 'develop'
rinpatch [Tue, 17 Nov 2020 14:52:08 +0000 (14:52 +0000)]
Merge branch 'release/just-a-test-for-arm32-on-arm64' into 'develop'

Specify the architecture for arm gitlab jobs

See merge request pleroma/pleroma!3139

4 years agoMerge branch 'develop' into frontend-admin-api
Egor Kislitsyn [Tue, 17 Nov 2020 14:34:04 +0000 (18:34 +0400)]
Merge branch 'develop' into frontend-admin-api

4 years agoMerge remote-tracking branch 'origin/develop' into hide-muted-reactions
Egor Kislitsyn [Tue, 17 Nov 2020 14:30:10 +0000 (18:30 +0400)]
Merge remote-tracking branch 'origin/develop' into hide-muted-reactions