akkoma
3 years agoMerge branch 'follower-mrf-again' into 'develop'
lain [Mon, 3 Aug 2020 14:22:11 +0000 (14:22 +0000)]
Merge branch 'follower-mrf-again' into 'develop'

Follower mrf again

See merge request pleroma/pleroma!2833

3 years agoAccountControllerTest: Add test for message returned.
lain [Mon, 3 Aug 2020 13:00:14 +0000 (15:00 +0200)]
AccountControllerTest: Add test for message returned.

3 years agoMerge branch 'config/default_ok_oldage' into 'develop'
lain [Mon, 3 Aug 2020 12:50:29 +0000 (12:50 +0000)]
Merge branch 'config/default_ok_oldage' into 'develop'

config: :mrf, :policies default to ObjectAgePolicy

Closes #2000

See merge request pleroma/pleroma!2814

3 years agoMerge branch 'object-age-fix' into 'develop'
lain [Mon, 3 Aug 2020 12:50:10 +0000 (12:50 +0000)]
Merge branch 'object-age-fix' into 'develop'

MRF Object Age Policy: Don't break on messages without cc/to

See merge request pleroma/pleroma!2840

3 years agoMRF Object Age Policy: Don't break on messages without cc/to
lain [Mon, 3 Aug 2020 12:12:32 +0000 (14:12 +0200)]
MRF Object Age Policy: Don't break on messages without cc/to

3 years agoMerge branch 'indigenous-client' into 'develop'
lain [Mon, 3 Aug 2020 11:37:55 +0000 (11:37 +0000)]
Merge branch 'indigenous-client' into 'develop'

Add indigenous to clients

See merge request pleroma/pleroma!2835

3 years agoMerge branch 'reportnote-test' into 'develop'
lain [Mon, 3 Aug 2020 09:55:56 +0000 (09:55 +0000)]
Merge branch 'reportnote-test' into 'develop'

ReportNote test

Closes #2014

See merge request pleroma/pleroma!2839

3 years agoAdd ReportNote test
Alex Gleason [Sun, 2 Aug 2020 21:37:33 +0000 (16:37 -0500)]
Add ReportNote test

3 years agoFactory: Add report_activity_factory
Alex Gleason [Sun, 2 Aug 2020 21:36:55 +0000 (16:36 -0500)]
Factory: Add report_activity_factory

3 years agoAdd email blacklist, fixes #1404
Alex Gleason [Sun, 2 Aug 2020 19:53:42 +0000 (14:53 -0500)]
Add email blacklist, fixes #1404

3 years agoMigrate legacy tags set by AdminFE to match TagPolicy, #2010
Alex Gleason [Sun, 2 Aug 2020 18:42:23 +0000 (13:42 -0500)]
Migrate legacy tags set by AdminFE to match TagPolicy, #2010

3 years agoAdd indigenous to clients
swentel [Sun, 2 Aug 2020 17:33:22 +0000 (19:33 +0200)]
Add indigenous to clients

3 years agoAdd welcome chatmessages
Ilja [Sun, 2 Aug 2020 13:54:59 +0000 (15:54 +0200)]
Add welcome chatmessages

* I added the option in config/config.exs
* created a new module lib/pleroma/user/welcome_chat_message.ex
* Added it to the registration flow
* added to the cheatsheet
* added to the config/description.ex
* added to the Changelog.md

3 years agoSimpleMRF: Add missing :followers_only to config.exs
Alex Gleason [Sat, 1 Aug 2020 21:08:29 +0000 (16:08 -0500)]
SimpleMRF: Add missing :followers_only to config.exs

3 years agoMerge branch '1985-unobtrusive-autologin-on-registration' into 'develop'
lain [Sat, 1 Aug 2020 15:58:17 +0000 (15:58 +0000)]
Merge branch '1985-unobtrusive-autologin-on-registration' into 'develop'

[#1985] Prevented force login on registration if account approval and/or email confirmation needed

Closes #1985

See merge request pleroma/pleroma!2823

3 years agoMerge branch 'fix/gun-nxdomain-no-error-tuple' into 'develop'
rinpatch [Sat, 1 Aug 2020 15:17:41 +0000 (15:17 +0000)]
Merge branch 'fix/gun-nxdomain-no-error-tuple' into 'develop'

ConnectionPool: fix gun open errors being returned without an error tuple

Closes #2008

See merge request pleroma/pleroma!2832

3 years agoConnectionPool: fix gun open errors being returned without an error tuple
rinpatch [Sat, 1 Aug 2020 14:59:50 +0000 (17:59 +0300)]
ConnectionPool: fix gun open errors being returned without an error tuple

When gun shuts down due to the host being unreachable, the worker
process shuts down with the same shutdown reason since they are linked.
Gun doesn't have error tuples in it's shutdown reason though, so we need
to handle it in get_conn.

Closes #2008

3 years agoMerge branch 'fix/gun-limiter' into 'develop'
rinpatch [Sat, 1 Aug 2020 10:49:35 +0000 (10:49 +0000)]
Merge branch 'fix/gun-limiter' into 'develop'

Fix ConnecitonPool deadlocking after reaching the connection limit

Closes #1977

See merge request pleroma/pleroma!2830

3 years agoFix ConnecitonPool deadlocking after reaching the connection limit
rinpatch [Sat, 1 Aug 2020 09:16:06 +0000 (12:16 +0300)]
Fix ConnecitonPool deadlocking after reaching the connection limit

The issue was with ConcurrentLimiter not decrementing counters on
overload. It was fixed in the latest commit, but concurrentlimiter
version wasn't updated in Pleroma for some reason.

Closes #1977

3 years agoMerge branch 'fix/user-agent-overriding' into 'develop'
rinpatch [Sat, 1 Aug 2020 07:25:32 +0000 (07:25 +0000)]
Merge branch 'fix/user-agent-overriding' into 'develop'

Don't override user-agent header if it's been set

Closes #1923

See merge request pleroma/pleroma!2829

3 years agoDon't override user-agent header if it's been set
Roman Chvanikov [Sat, 1 Aug 2020 07:04:25 +0000 (10:04 +0300)]
Don't override user-agent header if it's been set

3 years agoRevert "Merge branch 'revert-1ac0969c' into 'develop'"
lain [Fri, 31 Jul 2020 15:18:04 +0000 (15:18 +0000)]
Revert "Merge branch 'revert-1ac0969c' into 'develop'"

This reverts merge request !2825

3 years agoMerge branch 'revert-1ac0969c' into 'develop'
lain [Fri, 31 Jul 2020 15:17:33 +0000 (15:17 +0000)]
Merge branch 'revert-1ac0969c' into 'develop'

Revert "Merge branch 'mrf-silence-2' into 'develop'"

See merge request pleroma/pleroma!2825

3 years agoRevert "Merge branch 'mrf-silence-2' into 'develop'"
lain [Fri, 31 Jul 2020 15:17:09 +0000 (15:17 +0000)]
Revert "Merge branch 'mrf-silence-2' into 'develop'"

This reverts merge request !2820

3 years agoMerge branch 'mrf-silence-2' into 'develop'
lain [Fri, 31 Jul 2020 14:43:33 +0000 (14:43 +0000)]
Merge branch 'mrf-silence-2' into 'develop'

MRF silencing alternative solution

See merge request pleroma/pleroma!2820

3 years agoMerge remote-tracking branch 'pleroma/develop' into features/poll-validation
Haelwenn (lanodan) Monnier [Fri, 31 Jul 2020 11:57:21 +0000 (13:57 +0200)]
Merge remote-tracking branch 'pleroma/develop' into features/poll-validation

3 years ago[#1985] Prevented force login on registration if account approval and/or email confir...
Ivan Tashkinov [Fri, 31 Jul 2020 11:13:38 +0000 (14:13 +0300)]
[#1985] Prevented force login on registration if account approval and/or email confirmation needed.
Refactored login code in OAuthController, reused in AccountController. Added tests.

3 years agoApply 1 suggestion(s) to 1 file(s)
lain [Fri, 31 Jul 2020 10:29:16 +0000 (10:29 +0000)]
Apply 1 suggestion(s) to 1 file(s)

3 years agoDefault MRF to ObjectAgePolicy, 7 days threshold
Haelwenn (lanodan) Monnier [Thu, 30 Jul 2020 16:49:48 +0000 (18:49 +0200)]
Default MRF to ObjectAgePolicy, 7 days threshold

3 years agoMerge branch 'deactivate-gun-again' into 'develop'
lain [Fri, 31 Jul 2020 09:11:24 +0000 (09:11 +0000)]
Merge branch 'deactivate-gun-again' into 'develop'

Config: Default to Hackney again

See merge request pleroma/pleroma!2821

3 years agoConfig: Default to Hackney again
lain [Fri, 31 Jul 2020 08:50:45 +0000 (10:50 +0200)]
Config: Default to Hackney again

Gun is still acting up.

3 years agoSimplePolicy: Fix problem with DM leaks.
lain [Fri, 31 Jul 2020 07:57:30 +0000 (09:57 +0200)]
SimplePolicy: Fix problem with DM leaks.

3 years agoMerge branch 'chore/fix-docs-typo' into 'develop'
feld [Thu, 30 Jul 2020 21:25:30 +0000 (21:25 +0000)]
Merge branch 'chore/fix-docs-typo' into 'develop'

Fix example json response

See merge request pleroma/pleroma!2819

3 years agoFix example json response
Mark Felder [Thu, 30 Jul 2020 20:57:41 +0000 (15:57 -0500)]
Fix example json response

3 years agoMerge branch 'fix/configdb-otp-instructions' into 'develop'
feld [Thu, 30 Jul 2020 20:28:28 +0000 (20:28 +0000)]
Merge branch 'fix/configdb-otp-instructions' into 'develop'

OTP users need Pleroma running to execute pleroma_ctl, so reorganize instructions.

See merge request pleroma/pleroma!2817

3 years agoMerge branch 'render-preview-cards-in-chats' into 'develop'
Haelwenn [Thu, 30 Jul 2020 20:08:03 +0000 (20:08 +0000)]
Merge branch 'render-preview-cards-in-chats' into 'develop'

Render preview cards in chats

See merge request pleroma/pleroma!2816

3 years agoMerge branch '1993-confirm-users-on-registration' into 'develop'
Haelwenn [Thu, 30 Jul 2020 20:01:04 +0000 (20:01 +0000)]
Merge branch '1993-confirm-users-on-registration' into 'develop'

AccountController: Don't explicitly ask to keep users unconfirmed.

Closes #1993

See merge request pleroma/pleroma!2809

3 years agoMerge branch 'develop' into fix/configdb-otp-instructions
Mark Felder [Thu, 30 Jul 2020 18:04:49 +0000 (13:04 -0500)]
Merge branch 'develop' into fix/configdb-otp-instructions

3 years agoChatMessage schema: Add preview cards.
lain [Thu, 30 Jul 2020 17:57:45 +0000 (19:57 +0200)]
ChatMessage schema: Add preview cards.

3 years agoChatMessageReferenceView: Display preview cards.
lain [Thu, 30 Jul 2020 17:57:26 +0000 (19:57 +0200)]
ChatMessageReferenceView: Display preview cards.

3 years agoOTP users need Pleroma running to execute pleroma_ctl, so reorganize instructions.
Mark Felder [Thu, 30 Jul 2020 17:37:56 +0000 (12:37 -0500)]
OTP users need Pleroma running to execute pleroma_ctl, so reorganize instructions.

3 years agoMerge branch 'chore/fix-configdb-docs-formatting' into 'develop'
feld [Thu, 30 Jul 2020 17:29:31 +0000 (17:29 +0000)]
Merge branch 'chore/fix-configdb-docs-formatting' into 'develop'

Attempt to fix markdown formatting

See merge request pleroma/pleroma!2815

3 years agoAttempt to fix markdown formatting
Mark Felder [Thu, 30 Jul 2020 17:01:46 +0000 (12:01 -0500)]
Attempt to fix markdown formatting

3 years agoMerge branch 'hide-reactions' into 'develop'
lain [Thu, 30 Jul 2020 12:41:47 +0000 (12:41 +0000)]
Merge branch 'hide-reactions' into 'develop'

Let favourites and emoji reactions optionally be hidden

See merge request pleroma/pleroma!2804

3 years agoSimplePolicyTest: Add test for leaking DMs.
lain [Thu, 30 Jul 2020 12:29:00 +0000 (14:29 +0200)]
SimplePolicyTest: Add test for leaking DMs.

3 years agoMerge branch 'feature/captcha-expose-timeout' into 'develop'
lain [Thu, 30 Jul 2020 08:41:46 +0000 (08:41 +0000)]
Merge branch 'feature/captcha-expose-timeout' into 'develop'

Expose seconds_valid in Pleroma Captcha API endpoint

Closes #1954

See merge request pleroma/pleroma!2812

3 years agoApply 1 suggestion(s) to 1 file(s)
lain [Thu, 30 Jul 2020 08:00:07 +0000 (08:00 +0000)]
Apply 1 suggestion(s) to 1 file(s)

3 years agoMerge branch 'issue/1933-update-dependency' into 'develop'
lain [Thu, 30 Jul 2020 07:57:26 +0000 (07:57 +0000)]
Merge branch 'issue/1933-update-dependency' into 'develop'

[#1933] update dependency

See merge request pleroma/pleroma!2813

3 years agoset versions
Maksim Pechnikov [Thu, 30 Jul 2020 06:23:35 +0000 (09:23 +0300)]
set versions

3 years agoupdated `cors_plug`
Maksim Pechnikov [Thu, 30 Jul 2020 06:12:42 +0000 (09:12 +0300)]
updated `cors_plug`

3 years agoset `postgrex` version
Maksim Pechnikov [Thu, 30 Jul 2020 06:08:50 +0000 (09:08 +0300)]
set `postgrex` version

3 years agoset `web_push_encryption` version
Maksim Pechnikov [Thu, 30 Jul 2020 06:08:03 +0000 (09:08 +0300)]
set `web_push_encryption` version

3 years agoupdated `calendar` package
Maksim Pechnikov [Thu, 30 Jul 2020 05:58:19 +0000 (08:58 +0300)]
updated `calendar` package

3 years agoMerge branch 'develop' into issue/1933-update-dependency
Maksim Pechnikov [Thu, 30 Jul 2020 05:52:13 +0000 (08:52 +0300)]
Merge branch 'develop' into issue/1933-update-dependency

3 years agoExpose seconds_valid in Pleroma Captcha API endpoint
Mark Felder [Wed, 29 Jul 2020 21:07:22 +0000 (16:07 -0500)]
Expose seconds_valid in Pleroma Captcha API endpoint

3 years agoMerge remote-tracking branch 'upstream/develop' into mrf-silence
Alex Gleason [Wed, 29 Jul 2020 18:01:16 +0000 (13:01 -0500)]
Merge remote-tracking branch 'upstream/develop' into mrf-silence

3 years agoSimpleMRF: :silence --> :followers_only
Alex Gleason [Wed, 29 Jul 2020 17:58:08 +0000 (12:58 -0500)]
SimpleMRF: :silence --> :followers_only

3 years ago:show_reactions, refactor the other test
Alex Gleason [Wed, 29 Jul 2020 17:50:11 +0000 (12:50 -0500)]
:show_reactions, refactor the other test

3 years ago:show_reactions, add CHANGELOG.md, refactor test
Alex Gleason [Wed, 29 Jul 2020 17:45:32 +0000 (12:45 -0500)]
:show_reactions, add CHANGELOG.md, refactor test

3 years agoMerge remote-tracking branch 'upstream/develop' into hide-reactions
Alex Gleason [Wed, 29 Jul 2020 17:43:39 +0000 (12:43 -0500)]
Merge remote-tracking branch 'upstream/develop' into hide-reactions

3 years agoMerge branch 'issue/1023' into 'develop'
lain [Wed, 29 Jul 2020 13:45:15 +0000 (13:45 +0000)]
Merge branch 'issue/1023' into 'develop'

[#1023] added generated  `pleroma.env`

See merge request pleroma/pleroma!2763

3 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into 1993-confirm-users...
lain [Wed, 29 Jul 2020 12:42:09 +0000 (14:42 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into 1993-confirm-users-on-registration

3 years agoMerge branch '1996-dont-break-on-chatmessages' into 'develop'
Haelwenn [Wed, 29 Jul 2020 12:20:04 +0000 (12:20 +0000)]
Merge branch '1996-dont-break-on-chatmessages' into 'develop'

EnsureRePrepended: Don't break on chat messages.

Closes #1996

See merge request pleroma/pleroma!2808

3 years agoMerge branch 'bugfix/remote-user-atom' into 'develop'
lain [Wed, 29 Jul 2020 12:16:20 +0000 (12:16 +0000)]
Merge branch 'bugfix/remote-user-atom' into 'develop'

feed/user_controller: Return 404 when the user is remote

Closes #1911

See merge request pleroma/pleroma!2811

3 years agofeed/user_controller: Return 404 when the user is remote
Haelwenn (lanodan) Monnier [Wed, 29 Jul 2020 12:02:02 +0000 (14:02 +0200)]
feed/user_controller: Return 404 when the user is remote

3 years agoMerge branch 'by-approval' into 'develop'
lain [Wed, 29 Jul 2020 11:27:26 +0000 (11:27 +0000)]
Merge branch 'by-approval' into 'develop'

Registrations "by approval" mode

Closes #1931

See merge request pleroma/pleroma!2757

3 years agoAccountController: Don't explicitly ask to keep users unconfirmed.
lain [Wed, 29 Jul 2020 09:47:03 +0000 (11:47 +0200)]
AccountController: Don't explicitly ask to keep users unconfirmed.

Confirmation is set in User.register_changeset based on the config
settings.

3 years agoEnsureRePrepended: Don't break on chat messages.
lain [Wed, 29 Jul 2020 08:53:08 +0000 (10:53 +0200)]
EnsureRePrepended: Don't break on chat messages.

3 years agoupdate mogrify package
Maksim Pechnikov [Wed, 29 Jul 2020 06:22:49 +0000 (09:22 +0300)]
update mogrify package

3 years agoset http_signatures version
Maksim Pechnikov [Wed, 29 Jul 2020 04:23:06 +0000 (07:23 +0300)]
set http_signatures version

3 years agoset `jason` version
Maksim Pechnikov [Wed, 29 Jul 2020 04:13:59 +0000 (07:13 +0300)]
set `jason` version

3 years agoupdated `pot` package
Maksim Pechnikov [Wed, 29 Jul 2020 04:02:36 +0000 (07:02 +0300)]
updated `pot` package

3 years agoupdated the minor version packages
Maksim Pechnikov [Wed, 29 Jul 2020 03:55:44 +0000 (06:55 +0300)]
updated the minor version packages

3 years agoset swoosh version
Maksim Pechnikov [Wed, 29 Jul 2020 03:50:00 +0000 (06:50 +0300)]
set swoosh version

3 years agoupdated dev & test packages
Maksim Pechnikov [Wed, 29 Jul 2020 03:45:08 +0000 (06:45 +0300)]
updated dev & test packages

3 years agoSimpleMRF silence: optimize, work okay with nil values in addressing
Alex Gleason [Wed, 29 Jul 2020 01:17:18 +0000 (20:17 -0500)]
SimpleMRF silence: optimize, work okay with nil values in addressing

3 years agoSimpleMRF: Let instances be silenced
Alex Gleason [Tue, 28 Jul 2020 23:55:29 +0000 (18:55 -0500)]
SimpleMRF: Let instances be silenced

3 years agoMerge branch 'fix/gun-pool-missing-cast' into 'develop'
rinpatch [Tue, 28 Jul 2020 21:16:45 +0000 (21:16 +0000)]
Merge branch 'fix/gun-pool-missing-cast' into 'develop'

gun ConnectionPool: Re-add a missing cast for remove_client

See merge request pleroma/pleroma!2805

3 years agogun ConnectionPool: Re-add a missing cast for remove_client
rinpatch [Tue, 28 Jul 2020 20:48:41 +0000 (23:48 +0300)]
gun ConnectionPool: Re-add a missing cast for remove_client

3 years agoLet favourites and emoji reactions optionally be hidden
Alex Gleason [Tue, 28 Jul 2020 19:49:49 +0000 (14:49 -0500)]
Let favourites and emoji reactions optionally be hidden

3 years agoMerge branch 'gun-replace-cast-with-call' into 'develop'
rinpatch [Tue, 28 Jul 2020 19:13:54 +0000 (19:13 +0000)]
Merge branch 'gun-replace-cast-with-call' into 'develop'

gun ConnectionPool: replace casts with calls

See merge request pleroma/pleroma!2803

3 years agogun ConnectionPool: replace casts with calls
rinpatch [Tue, 28 Jul 2020 17:49:48 +0000 (20:49 +0300)]
gun ConnectionPool: replace casts with calls

The slowdown from this is most likely immesurable, however it eliminates
possible false positives when tracking dead clients.

3 years agoMerge branch 'chore/frontends-config-clarification' into 'develop'
lain [Tue, 28 Jul 2020 17:32:18 +0000 (17:32 +0000)]
Merge branch 'chore/frontends-config-clarification' into 'develop'

Clarify location of frontends directory

See merge request pleroma/pleroma!2802

3 years agoClarify location of frontends directory
Mark Felder [Tue, 28 Jul 2020 17:10:04 +0000 (12:10 -0500)]
Clarify location of frontends directory

3 years agoMerge branch 'frontend-bundles-redux' into 'develop'
lain [Tue, 28 Jul 2020 16:45:21 +0000 (16:45 +0000)]
Merge branch 'frontend-bundles-redux' into 'develop'

Changeable frontends MVP

See merge request pleroma/pleroma!2801

3 years agoCheatsheet: Add even more info.
lain [Tue, 28 Jul 2020 15:50:32 +0000 (17:50 +0200)]
Cheatsheet: Add even more info.

3 years agoCheatsheet: Add more info.
lain [Tue, 28 Jul 2020 15:48:35 +0000 (17:48 +0200)]
Cheatsheet: Add more info.

3 years agoDocs: Add frontend info to cheat sheet.
lain [Tue, 28 Jul 2020 15:46:37 +0000 (17:46 +0200)]
Docs: Add frontend info to cheat sheet.

3 years agoAdd description for configuration.
Roman Chvanikov [Tue, 28 Jul 2020 15:40:21 +0000 (17:40 +0200)]
Add description for configuration.

3 years agoFrontendStatic: Add plug to serve frontends based on configuration.
lain [Tue, 28 Jul 2020 15:35:16 +0000 (17:35 +0200)]
FrontendStatic: Add plug to serve frontends based on configuration.

3 years agoInstanceStatic: Refactor.
lain [Tue, 28 Jul 2020 13:44:47 +0000 (15:44 +0200)]
InstanceStatic: Refactor.

3 years agoMerge branch 'issue/1986-earmark' into 'develop'
lain [Tue, 28 Jul 2020 08:40:20 +0000 (08:40 +0000)]
Merge branch 'issue/1986-earmark' into 'develop'

[#1986] locked the earmark version

See merge request pleroma/pleroma!2800

3 years agoMerge branch 'cleanup/masto_fe-default_settings' into 'develop'
lain [Tue, 28 Jul 2020 07:41:44 +0000 (07:41 +0000)]
Merge branch 'cleanup/masto_fe-default_settings' into 'develop'

masto_fe_view: Remove @default_settings

See merge request pleroma/pleroma!2799

3 years agolocked earmark version
Maksim Pechnikov [Tue, 28 Jul 2020 04:00:02 +0000 (07:00 +0300)]
locked earmark version

3 years agoFix User.registration_reason HTML sanitizing issues
Alex Gleason [Tue, 28 Jul 2020 01:36:31 +0000 (20:36 -0500)]
Fix User.registration_reason HTML sanitizing issues

3 years agoLint, fix test
Alex Gleason [Tue, 28 Jul 2020 00:19:14 +0000 (19:19 -0500)]
Lint, fix test

3 years agoMerge branch 'embedded-object-federation' into 'develop'
Haelwenn [Mon, 27 Jul 2020 21:20:52 +0000 (21:20 +0000)]
Merge branch 'embedded-object-federation' into 'develop'

Embedded object federation

Closes #1959

See merge request pleroma/pleroma!2794

3 years agoAdd :registration_reason_length to description.exs
Alex Gleason [Mon, 27 Jul 2020 20:24:20 +0000 (15:24 -0500)]
Add :registration_reason_length to description.exs

3 years agoAdd configurable registration_reason limit
Alex Gleason [Mon, 27 Jul 2020 20:13:34 +0000 (15:13 -0500)]
Add configurable registration_reason limit

3 years agoMerge remote-tracking branch 'upstream/develop' into by-approval
Alex Gleason [Mon, 27 Jul 2020 17:29:18 +0000 (12:29 -0500)]
Merge remote-tracking branch 'upstream/develop' into by-approval