akkoma
4 years agoFrontend mix task: Support installation from local file.
lain [Fri, 31 Jul 2020 15:58:50 +0000 (17:58 +0200)]
Frontend mix task: Support installation from local file.

4 years agoConfig: Add kenoma as available frontend.
lain [Thu, 30 Jul 2020 12:17:58 +0000 (14:17 +0200)]
Config: Add kenoma as available frontend.

4 years agoConfig: Add frontend information.
lain [Thu, 30 Jul 2020 12:14:58 +0000 (14:14 +0200)]
Config: Add frontend information.

4 years agoMix tasks: Add frontend task to download and install frontends.
lain [Thu, 30 Jul 2020 12:12:41 +0000 (14:12 +0200)]
Mix tasks: Add frontend task to download and install frontends.

Co-authored-by: Roman Chvanikov <chvanikoff@pm.me>
4 years agoDescriptions: Update with admin frontend info
lain [Wed, 29 Jul 2020 14:27:11 +0000 (16:27 +0200)]
Descriptions: Update with admin frontend info

4 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into frontend-bundles...
lain [Wed, 29 Jul 2020 14:24:22 +0000 (16:24 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into frontend-bundles-admin

4 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

4 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

4 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

4 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

4 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

4 years agoChangelog: Include frontend information.
lain [Wed, 29 Jul 2020 11:09:42 +0000 (13:09 +0200)]
Changelog: Include frontend information.

4 years agoCheatsheet: Update frontends information.
lain [Wed, 29 Jul 2020 11:06:51 +0000 (13:06 +0200)]
Cheatsheet: Update frontends information.

4 years agoConfig: Update frontend config example
lain [Wed, 29 Jul 2020 11:04:29 +0000 (13:04 +0200)]
Config: Update frontend config example

4 years agoEndpoint: Serve a dynamically configured admin interface
lain [Wed, 29 Jul 2020 11:03:04 +0000 (13:03 +0200)]
Endpoint: Serve a dynamically configured admin interface

4 years agoFrontendStatic: Work correctly for other frontend types.
lain [Wed, 29 Jul 2020 11:02:48 +0000 (13:02 +0200)]
FrontendStatic: Work correctly for other frontend types.

4 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.

4 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

4 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

4 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

4 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.

4 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

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

4 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

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

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

4 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.

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

4 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.

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

4 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

4 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

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

4 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

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

4 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

4 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

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

4 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

4 years agoMerge branch 'develop' into 'cleanup/masto_fe-default_settings'
lain [Mon, 27 Jul 2020 16:35:47 +0000 (16:35 +0000)]
Merge branch 'develop' into 'cleanup/masto_fe-default_settings'

# Conflicts:
#   lib/pleroma/web/views/masto_fe_view.ex

4 years agomasto_fe_view: Remove @default_settings
Haelwenn (lanodan) Monnier [Mon, 27 Jul 2020 15:59:13 +0000 (17:59 +0200)]
masto_fe_view: Remove @default_settings

4 years agoPipeline: Unify embedded_object / object_data, move to validator.
lain [Mon, 27 Jul 2020 14:39:50 +0000 (16:39 +0200)]
Pipeline: Unify embedded_object / object_data, move to validator.

4 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into embedded-object...
lain [Mon, 27 Jul 2020 14:19:45 +0000 (16:19 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into embedded-object-federation

4 years agoMerge branch 'issue/1934-welcome-email' into 'develop'
lain [Mon, 27 Jul 2020 12:34:36 +0000 (12:34 +0000)]
Merge branch 'issue/1934-welcome-email' into 'develop'

[#1934] welcome email

See merge request pleroma/pleroma!2786

4 years agoApply 1 suggestion(s) to 1 file(s)
lain [Mon, 27 Jul 2020 12:24:41 +0000 (12:24 +0000)]
Apply 1 suggestion(s) to 1 file(s)

4 years agoMerge branch 'fix/reverse-proxy-no-body-connection-leak' into 'develop'
Haelwenn [Mon, 27 Jul 2020 08:20:46 +0000 (08:20 +0000)]
Merge branch 'fix/reverse-proxy-no-body-connection-leak' into 'develop'

ReverseProxy: Fix a gun connection leak when there is an error with no body

See merge request pleroma/pleroma!2798

4 years agoMerge branch 'fix/update-types-in-link-formatter' into 'develop'
Haelwenn [Mon, 27 Jul 2020 08:11:07 +0000 (08:11 +0000)]
Merge branch 'fix/update-types-in-link-formatter' into 'develop'

Update types in Pleroma.Formatter group in description.exs

See merge request pleroma/pleroma!2796

4 years agoMerge remote-tracking branch 'upstream/develop' into by-approval
Alex Gleason [Sun, 26 Jul 2020 20:46:14 +0000 (15:46 -0500)]
Merge remote-tracking branch 'upstream/develop' into by-approval

4 years agoReverseProxy tesla client: remove handling of old_conn
rinpatch [Sun, 26 Jul 2020 17:44:26 +0000 (20:44 +0300)]
ReverseProxy tesla client: remove handling of old_conn

This is no longer relevant because we use a custom
FollowRedirects middleware now

4 years agoMerge branch 'patch-3' into 'develop'
rinpatch [Sun, 26 Jul 2020 16:38:57 +0000 (16:38 +0000)]
Merge branch 'patch-3' into 'develop'

OpenAPI: Replace actor_id by account_id to follow ChatMessage schema

See merge request pleroma/pleroma!2797

4 years agoReverseProxy: Fix a gun connection leak when there is an error with no
rinpatch [Sun, 26 Jul 2020 16:18:21 +0000 (19:18 +0300)]
ReverseProxy: Fix a gun connection leak when there is an error with no
body

- Modify `close/1` function to do the same thing it does for hackney,
which is - close the client rather than the whole connection
- Release the connection when there is no body to chunk

4 years agoOpenAPI: remove accidentally pasted buffer data
Alibek Omarov [Sun, 26 Jul 2020 13:59:46 +0000 (13:59 +0000)]
OpenAPI: remove accidentally pasted buffer data

4 years agoOpenAPI: Replace actor_id by account_id to follow ChatMessage schema
Alibek Omarov [Sun, 26 Jul 2020 13:54:56 +0000 (13:54 +0000)]
OpenAPI: Replace actor_id by account_id to follow ChatMessage schema

4 years agoMerge branch 'fix/mix-tasks' into 'develop'
lain [Sun, 26 Jul 2020 11:47:18 +0000 (11:47 +0000)]
Merge branch 'fix/mix-tasks' into 'develop'

Fix/mix tasks

Closes #1972 and #1970

See merge request pleroma/pleroma!2795

4 years agoUpdate types in Pleroma.Formatter group
Angelina Filippova [Sat, 25 Jul 2020 22:48:50 +0000 (01:48 +0300)]
Update types in Pleroma.Formatter group

4 years agoadded migrate old settings to new
Maksim Pechnikov [Sat, 25 Jul 2020 04:09:09 +0000 (07:09 +0300)]
added migrate old settings to new

4 years agoEnsure Oban is available during mix tasks.
Mark Felder [Fri, 24 Jul 2020 17:06:56 +0000 (12:06 -0500)]
Ensure Oban is available during mix tasks.
Fixes: mix pleroma.user rm username
4 years agoFix mix tasks that make HTTP calls by starting the Gun connection pool
Mark Felder [Fri, 24 Jul 2020 17:05:42 +0000 (12:05 -0500)]
Fix mix tasks that make HTTP calls by starting the Gun connection pool

4 years agoCommonAPI Tests: Check that undoing objects federates them as embeds.
Lain Soykaf [Fri, 24 Jul 2020 12:54:13 +0000 (14:54 +0200)]
CommonAPI Tests: Check that undoing objects federates them as embeds.

4 years agoSide Effects: On undoing, put information about the undone object.
Lain Soykaf [Fri, 24 Jul 2020 12:40:22 +0000 (14:40 +0200)]
Side Effects: On undoing, put information about the undone object.

4 years agoPipeline: Add embedded object federation.
Lain Soykaf [Fri, 24 Jul 2020 12:06:41 +0000 (14:06 +0200)]
Pipeline: Add embedded object federation.

4 years agoremove duplicate module
Maksim Pechnikov [Fri, 24 Jul 2020 05:35:06 +0000 (08:35 +0300)]
remove duplicate module

4 years agoMerge branch 'unblock-domain-via-query' into 'develop'
feld [Thu, 23 Jul 2020 20:06:11 +0000 (20:06 +0000)]
Merge branch 'unblock-domain-via-query' into 'develop'

Allow unblocking a domain via query params

Closes #1971

See merge request pleroma/pleroma!2783

4 years agoSupport blocking via query parameters as well and document the change.
Mark Felder [Thu, 23 Jul 2020 17:59:40 +0000 (12:59 -0500)]
Support blocking via query parameters as well and document the change.

4 years agoMerge branch 'feature/add-mrf-related-policies' into 'develop'
feld [Thu, 23 Jul 2020 17:23:18 +0000 (17:23 +0000)]
Merge branch 'feature/add-mrf-related-policies' into 'develop'

Add MRF related policies field to description.exs

See merge request pleroma/pleroma!2790

4 years agoMerge branch '1976-status-view-fixes' into 'develop'
Haelwenn [Thu, 23 Jul 2020 16:58:36 +0000 (16:58 +0000)]
Merge branch '1976-status-view-fixes' into 'develop'

StatusView: Handle badly formatted emoji reactions.

Closes #1976

See merge request pleroma/pleroma!2788

4 years agoMerge branch 'develop' into issue/1934-welcome-email
Maksim Pechnikov [Thu, 23 Jul 2020 13:36:27 +0000 (16:36 +0300)]
Merge branch 'develop' into issue/1934-welcome-email

4 years agoMerge branch '1973-chats-fix-with-restrict-unauthenticated' into 'develop'
lain [Thu, 23 Jul 2020 12:52:02 +0000 (12:52 +0000)]
Merge branch '1973-chats-fix-with-restrict-unauthenticated' into 'develop'

[#1973] Fixed accounts rendering in GET /api/v1/pleroma/chats with truish :restrict_unauthenticated setting

Closes #1973

See merge request pleroma/pleroma!2791

4 years ago[#2791] AccountView: renamed `:force` option to `:skip_visibility_check`.
Ivan Tashkinov [Thu, 23 Jul 2020 12:08:30 +0000 (15:08 +0300)]
[#2791] AccountView: renamed `:force` option to `:skip_visibility_check`.

4 years agoMerge branch 'bugfix/mrf-reject-logging' into 'develop'
lain [Thu, 23 Jul 2020 11:08:29 +0000 (11:08 +0000)]
Merge branch 'bugfix/mrf-reject-logging' into 'develop'

Fix #783: Make MRF reject log as info level instead of error

Closes #783

See merge request pleroma/pleroma!2758

4 years agoMerge branch 'issue/1878' into 'develop'
lain [Thu, 23 Jul 2020 10:56:33 +0000 (10:56 +0000)]
Merge branch 'issue/1878' into 'develop'

[#1878] fix reset confirmation email in admin section

See merge request pleroma/pleroma!2751

4 years agoMerge branch 'linkify' into 'develop'
lain [Thu, 23 Jul 2020 10:28:52 +0000 (10:28 +0000)]
Merge branch 'linkify' into 'develop'

Fix Linkify

See merge request pleroma/pleroma!2792

4 years agoadded warning to use old keys
Maksim Pechnikov [Thu, 23 Jul 2020 03:51:19 +0000 (06:51 +0300)]
added warning to use old keys

4 years agoUpdate linkify migration tests to use config from ConfigDB
Alex Gleason [Wed, 22 Jul 2020 21:01:55 +0000 (16:01 -0500)]
Update linkify migration tests to use config from ConfigDB

4 years agoMigration to fix malformed Pleroma.Formatter config
Alex Gleason [Wed, 22 Jul 2020 19:18:09 +0000 (14:18 -0500)]
Migration to fix malformed Pleroma.Formatter config

4 years agoRefactor require_migration/1 into a test helper function
Alex Gleason [Wed, 22 Jul 2020 18:45:15 +0000 (13:45 -0500)]
Refactor require_migration/1 into a test helper function

4 years agoAdd AutolinkerToLinkify migration test
Alex Gleason [Wed, 22 Jul 2020 18:10:10 +0000 (13:10 -0500)]
Add AutolinkerToLinkify migration test

4 years agoFix linkify ConfigDB migration
Alex Gleason [Wed, 22 Jul 2020 16:27:52 +0000 (11:27 -0500)]
Fix linkify ConfigDB migration

4 years ago[#1973] Fixed accounts rendering in GET /api/v1/pleroma/chats with truish :restrict_u...
Ivan Tashkinov [Wed, 22 Jul 2020 16:06:00 +0000 (19:06 +0300)]
[#1973] Fixed accounts rendering in GET /api/v1/pleroma/chats with truish :restrict_unauthenticated.
Made `Pleroma.Web.MastodonAPI.AccountView.render("show.json", _)` demand :for or :force option in order to prevent incorrect rendering of empty map instead of expected user representation with truish :restrict_unauthenticated setting.

4 years agoAdd related_policy field
Angelina Filippova [Wed, 22 Jul 2020 15:15:30 +0000 (18:15 +0300)]
Add related_policy field

4 years agoMerge branch 'fix/pleroma-api-emoji-packs' into 'develop'
lain [Wed, 22 Jul 2020 15:09:32 +0000 (15:09 +0000)]
Merge branch 'fix/pleroma-api-emoji-packs' into 'develop'

Fix /api/pleroma/emoji/packs index endpoint.

See merge request pleroma/pleroma!2777

4 years agoadded check user email for welcome email
Maksim Pechnikov [Wed, 22 Jul 2020 13:00:49 +0000 (16:00 +0300)]
added check user email for welcome email

4 years agoStatusView: Handle badly formatted emoji reactions.
Lain Soykaf [Wed, 22 Jul 2020 12:44:06 +0000 (14:44 +0200)]
StatusView: Handle badly formatted emoji reactions.

4 years agofix sender for welcome email
Maksim Pechnikov [Wed, 22 Jul 2020 12:34:47 +0000 (15:34 +0300)]
fix sender for welcome email

4 years agoMerge branch 'bugfix/limiter_git_url' into 'develop'
lain [Wed, 22 Jul 2020 11:22:34 +0000 (11:22 +0000)]
Merge branch 'bugfix/limiter_git_url' into 'develop'

mix.exs: Append .git to git repo URLs

Closes #1980

See merge request pleroma/pleroma!2787

4 years agomix.exs: Append .git to git repo URLs
Haelwenn (lanodan) Monnier [Wed, 22 Jul 2020 10:00:07 +0000 (12:00 +0200)]
mix.exs: Append .git to git repo URLs

Closes: https://git.pleroma.social/pleroma/pleroma/-/issues/1980
4 years agoMerge branch 'develop' into issue/1023
Maksim Pechnikov [Wed, 22 Jul 2020 06:24:16 +0000 (09:24 +0300)]
Merge branch 'develop' into issue/1023

4 years agoupdate description
Maksim Pechnikov [Wed, 22 Jul 2020 06:17:00 +0000 (09:17 +0300)]
update description

4 years agoadded tests
Maksim Pechnikov [Wed, 22 Jul 2020 05:58:06 +0000 (08:58 +0300)]
added tests

4 years agoDocument the emoji packs API fix
Mark Felder [Tue, 21 Jul 2020 22:29:11 +0000 (17:29 -0500)]
Document the emoji packs API fix

4 years agoTest that Emoji Packs can be listed when instance is not public
Mark Felder [Tue, 21 Jul 2020 22:27:13 +0000 (17:27 -0500)]
Test that Emoji Packs can be listed when instance is not public

4 years agoSkip the correct plug
Mark Felder [Tue, 21 Jul 2020 22:26:59 +0000 (17:26 -0500)]
Skip the correct plug

4 years agoRevert "Merge branch 'revert-2b5d9eb1' into 'develop'"
lain [Tue, 21 Jul 2020 22:18:17 +0000 (22:18 +0000)]
Revert "Merge branch 'revert-2b5d9eb1' into 'develop'"

This reverts merge request !2784

4 years agoMerge branch 'revert-2b5d9eb1' into 'develop'
lain [Tue, 21 Jul 2020 22:18:02 +0000 (22:18 +0000)]
Merge branch 'revert-2b5d9eb1' into 'develop'

Revert "Merge branch 'linkify' into 'develop'"

See merge request pleroma/pleroma!2784

4 years agoRevert "Merge branch 'linkify' into 'develop'"
lain [Tue, 21 Jul 2020 22:17:34 +0000 (22:17 +0000)]
Revert "Merge branch 'linkify' into 'develop'"

This reverts merge request !2677

4 years agoMerge branch 'develop' into fix/pleroma-api-emoji-packs
Mark Felder [Tue, 21 Jul 2020 21:25:45 +0000 (16:25 -0500)]
Merge branch 'develop' into fix/pleroma-api-emoji-packs

4 years agoMerge branch 'linkify' into 'develop'
lain [Tue, 21 Jul 2020 19:35:43 +0000 (19:35 +0000)]
Merge branch 'linkify' into 'develop'

AutoLinker --> Linkify, update to latest version

See merge request pleroma/pleroma!2677

4 years agoMerge branch 'gopher-fix' into 'develop'
lain [Tue, 21 Jul 2020 19:31:03 +0000 (19:31 +0000)]
Merge branch 'gopher-fix' into 'develop'

Gopher: using atom keys in search params

See merge request pleroma/pleroma!2775

4 years agoAllow unblocking a domain via query params
Egor Kislitsyn [Tue, 21 Jul 2020 12:06:46 +0000 (16:06 +0400)]
Allow unblocking a domain via query params

4 years agocopy tmp file if test depends on it
Alexander Strizhakov [Tue, 21 Jul 2020 07:31:58 +0000 (10:31 +0300)]
copy tmp file if test depends on it