akkoma
4 years agoFix Pleroma.HTML.extract_first_external_url/2
Egor Kislitsyn [Fri, 29 Nov 2019 08:49:35 +0000 (15:49 +0700)]
Fix Pleroma.HTML.extract_first_external_url/2

4 years agoMerge branch 'bugfix/1447-set-following' into 'develop'
rinpatch [Thu, 28 Nov 2019 19:13:42 +0000 (19:13 +0000)]
Merge branch 'bugfix/1447-set-following' into 'develop'

Migrations: Set users.following_count to NOT NULL

Closes #1447

See merge request pleroma/pleroma!2021

4 years agoMerge branch 'chore/manual-benchmark' into 'develop'
rinpatch [Thu, 28 Nov 2019 17:46:23 +0000 (17:46 +0000)]
Merge branch 'chore/manual-benchmark' into 'develop'

CI: Make benchmarks manually triggered.

See merge request pleroma/pleroma!2020

4 years agoMerge branch 'use-pg12-in-ci' into 'develop'
lain [Thu, 28 Nov 2019 16:58:41 +0000 (16:58 +0000)]
Merge branch 'use-pg12-in-ci' into 'develop'

Use PosgreSQL v12 in the federated tests

See merge request pleroma/pleroma!2022

4 years agoUse PosgreSQL v12 in the federated tests
Egor Kislitsyn [Thu, 28 Nov 2019 16:08:13 +0000 (23:08 +0700)]
Use PosgreSQL v12 in the federated tests

4 years agoMigrations: Set users.following_count to NOT NULL
lain [Thu, 28 Nov 2019 16:01:43 +0000 (17:01 +0100)]
Migrations: Set users.following_count to NOT NULL

Also set following_count for local users to the correct value and for remote
users to 0.

4 years agoMerge branch 'fed-testing-updates' into 'develop'
lain [Thu, 28 Nov 2019 14:34:07 +0000 (14:34 +0000)]
Merge branch 'fed-testing-updates' into 'develop'

Add federated test infrastructure

See merge request pleroma/pleroma!2014

4 years agoCI: Make benchmarks manually triggered.
lain [Thu, 28 Nov 2019 14:14:11 +0000 (15:14 +0100)]
CI: Make benchmarks manually triggered.

4 years agoMerge branch 'cleanup-tests-output' into 'develop'
lain [Thu, 28 Nov 2019 12:19:15 +0000 (12:19 +0000)]
Merge branch 'cleanup-tests-output' into 'develop'

Cleanup tests output

See merge request pleroma/pleroma!2018

4 years agoCleanup tests output
Egor Kislitsyn [Thu, 28 Nov 2019 09:44:48 +0000 (16:44 +0700)]
Cleanup tests output

4 years agoMerge branch 'bugfix/1442-dont-return-nil-for-following-count' into 'develop'
kaniini [Wed, 27 Nov 2019 16:46:41 +0000 (16:46 +0000)]
Merge branch 'bugfix/1442-dont-return-nil-for-following-count' into 'develop'

User: Never return nil for user follower counts.

Closes #1442

See merge request pleroma/pleroma!2017

4 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into bugfix/1442-dont...
lain [Wed, 27 Nov 2019 13:48:28 +0000 (14:48 +0100)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into bugfix/1442-dont-return-nil-for-following-count

4 years agoMerge branch 'remove-user-info' into 'develop'
lain [Wed, 27 Nov 2019 13:40:39 +0000 (13:40 +0000)]
Merge branch 'remove-user-info' into 'develop'

Remove User.user_info/2

See merge request pleroma/pleroma!2016

4 years agoUser: Never return nil for user follower counts.
lain [Wed, 27 Nov 2019 13:13:36 +0000 (14:13 +0100)]
User: Never return nil for user follower counts.

4 years agoRemove User.user_info/2
Egor Kislitsyn [Wed, 27 Nov 2019 12:43:47 +0000 (19:43 +0700)]
Remove User.user_info/2

4 years agoupdate tests and Oban
stwf [Tue, 26 Nov 2019 20:24:34 +0000 (15:24 -0500)]
update tests and Oban

4 years agoTests: Run the daemon
lain [Mon, 22 Jul 2019 14:32:50 +0000 (16:32 +0200)]
Tests:  Run the daemon

4 years agoCI: Add testing stage for federated tests.
lain [Mon, 22 Jul 2019 14:18:37 +0000 (16:18 +0200)]
CI: Add testing stage for federated tests.

4 years agoTests: Don't run federated tests by default
lain [Mon, 22 Jul 2019 14:17:18 +0000 (16:17 +0200)]
Tests: Don't run federated tests by default

4 years agoAdd federated test infrastructure
Chris McCord [Thu, 11 Jul 2019 20:33:20 +0000 (16:33 -0400)]
Add federated test infrastructure

4 years agoMerge branch 'feature/direct_conversation_id_web_push' into 'develop'
lain [Tue, 26 Nov 2019 19:43:16 +0000 (19:43 +0000)]
Merge branch 'feature/direct_conversation_id_web_push' into 'develop'

Add `direct_conversation_id` to web push payload

See merge request pleroma/pleroma!2012

4 years agoRemove `account` field from web push payload
Egor Kislitsyn [Tue, 26 Nov 2019 19:32:55 +0000 (02:32 +0700)]
Remove `account` field from web push payload

4 years agoAdd `direct_conversation_id` to web push payload
Egor Kislitsyn [Tue, 26 Nov 2019 12:53:43 +0000 (19:53 +0700)]
Add `direct_conversation_id` to web push payload

4 years agoMerge branch 'fix/prod-syslog-level' into 'develop'
feld [Tue, 26 Nov 2019 12:03:44 +0000 (12:03 +0000)]
Merge branch 'fix/prod-syslog-level' into 'develop'

Default log level for syslog in prod should also be :warn

See merge request pleroma/pleroma!2011

4 years agoDefault log level for syslog in prod should also be :warn
Mark Felder [Tue, 26 Nov 2019 11:46:48 +0000 (05:46 -0600)]
Default log level for syslog in prod should also be :warn

4 years agoMerge branch 'fix/ap-disable-remote-render' into 'develop'
lain [Mon, 25 Nov 2019 15:23:45 +0000 (15:23 +0000)]
Merge branch 'fix/ap-disable-remote-render' into 'develop'

Disable rendering AP representation for remote users and objects

See merge request pleroma/pleroma!2010

4 years agoOStatus controller: don't serve json at /notice/, redirect instead
rinpatch [Mon, 25 Nov 2019 14:55:17 +0000 (17:55 +0300)]
OStatus controller: don't serve json at /notice/, redirect instead

4 years agoActivityPub controller: do not render remote users
rinpatch [Mon, 25 Nov 2019 14:19:33 +0000 (17:19 +0300)]
ActivityPub controller: do not render remote users

4 years agoMerge branch 'feature/admin-api-list-statuses-for-a-given-instance' into 'develop'
feld [Mon, 25 Nov 2019 13:29:53 +0000 (13:29 +0000)]
Merge branch 'feature/admin-api-list-statuses-for-a-given-instance' into 'develop'

Admin API: list all statuses from a given instance

See merge request pleroma/pleroma!1981

4 years agoMerge branch 'fix/update-reports-old-format' into 'develop'
feld [Mon, 25 Nov 2019 13:29:22 +0000 (13:29 +0000)]
Merge branch 'fix/update-reports-old-format' into 'develop'

Admin API: Fix error when trying to update reports in the "old" format

See merge request pleroma/pleroma!1986

4 years agoMerge branch 'feature/useragent-override' into 'develop'
rinpatch [Mon, 25 Nov 2019 11:36:59 +0000 (11:36 +0000)]
Merge branch 'feature/useragent-override' into 'develop'

Add ability to set a custom user-agent string

See merge request pleroma/pleroma!2009

4 years agomove documentation section for http client
Sadposter [Mon, 25 Nov 2019 11:26:42 +0000 (11:26 +0000)]
move documentation section for http client

4 years agoadd ability to set a custom user-agent string
Sadposter [Mon, 25 Nov 2019 09:53:11 +0000 (09:53 +0000)]
add ability to set a custom user-agent string

4 years agoMerge branch 'develop' into feature/admin-api-list-statuses-for-a-given-instance
Maxim Filippov [Sun, 24 Nov 2019 16:46:18 +0000 (01:46 +0900)]
Merge branch 'develop' into feature/admin-api-list-statuses-for-a-given-instance

4 years agoMerge branch 'develop' into feature/admin-api-list-statuses-for-a-given-instance
Maxim Filippov [Sun, 24 Nov 2019 16:43:11 +0000 (01:43 +0900)]
Merge branch 'develop' into feature/admin-api-list-statuses-for-a-given-instance

4 years agofetcher: move local object checking into a reusable function
rinpatch [Sat, 23 Nov 2019 19:55:41 +0000 (22:55 +0300)]
fetcher: move local object checking into a reusable function

4 years agoMerge branch 'fix/release-envvars' into 'develop'
rinpatch [Fri, 22 Nov 2019 17:17:20 +0000 (17:17 +0000)]
Merge branch 'fix/release-envvars' into 'develop'

OTP releases: only set name and distribution type if not set already

See merge request pleroma/pleroma!2004

4 years agoOTP releases: only set name and distribution type if not set already
rinpatch [Fri, 22 Nov 2019 16:58:39 +0000 (19:58 +0300)]
OTP releases: only set name and distribution type if not set already

Fixes not being able to run two OTP releases on one machine because of
the name conflict.

4 years agoMerge branch 'feature/confirm-user-acc-resend-confirmation' into 'develop'
lain [Fri, 22 Nov 2019 15:39:19 +0000 (15:39 +0000)]
Merge branch 'feature/confirm-user-acc-resend-confirmation' into 'develop'

AdminAPI: Confirm user account, resend confirmation email

See merge request pleroma/pleroma!1994

4 years agoSwap map with each
Maxim Filippov [Fri, 22 Nov 2019 00:11:36 +0000 (09:11 +0900)]
Swap map with each

4 years agoMerge branch 'list-users' into 'develop'
rinpatch [Thu, 21 Nov 2019 20:33:11 +0000 (20:33 +0000)]
Merge branch 'list-users' into 'develop'

Add CLI list users command

See merge request pleroma/pleroma!1990

4 years agoAdd CLI list users command
Alex Schroeder [Sun, 17 Nov 2019 20:58:30 +0000 (21:58 +0100)]
Add CLI list users command

4 years agoMerge branch 'revert-5c6c3026' into 'develop'
rinpatch [Thu, 21 Nov 2019 15:20:05 +0000 (15:20 +0000)]
Merge branch 'revert-5c6c3026' into 'develop'

Revert "Merge branch 'patch-1' into 'develop'"

See merge request pleroma/pleroma!2002

4 years agoMerge branch 'fix/mix-task-logging' into 'develop'
lain [Thu, 21 Nov 2019 15:04:19 +0000 (15:04 +0000)]
Merge branch 'fix/mix-task-logging' into 'develop'

Allow mix tasks to always run with debug logging

See merge request pleroma/pleroma!1997

4 years agoRevert "Merge branch 'patch-1' into 'develop'"
rinpatch [Thu, 21 Nov 2019 15:03:27 +0000 (15:03 +0000)]
Revert "Merge branch 'patch-1' into 'develop'"

This reverts merge request !1829

4 years agoMerge branch 'issue/1348' into 'develop'
lain [Thu, 21 Nov 2019 13:13:14 +0000 (13:13 +0000)]
Merge branch 'issue/1348' into 'develop'

[#1348] excluded invisible actors from gets  /api/v1/accounts/:id

See merge request pleroma/pleroma!1937

4 years agoObject: Use inspect to log missing preload.
lain [Thu, 21 Nov 2019 13:03:01 +0000 (14:03 +0100)]
Object: Use inspect to log missing preload.

4 years agoMerge branch 'fix/user-following-count' into 'develop'
lain [Thu, 21 Nov 2019 12:26:05 +0000 (12:26 +0000)]
Merge branch 'fix/user-following-count' into 'develop'

Fix user.following_count

See merge request pleroma/pleroma!2000

4 years agoMerge branch 'remove-useless-warning' into 'develop'
lain [Thu, 21 Nov 2019 12:22:46 +0000 (12:22 +0000)]
Merge branch 'remove-useless-warning' into 'develop'

Remove version mismatch warning

See merge request pleroma/pleroma!2001

4 years agoRemove version mismatch warning
Egor Kislitsyn [Thu, 21 Nov 2019 11:22:18 +0000 (18:22 +0700)]
Remove version mismatch warning

4 years agoFix user.following_count
Egor Kislitsyn [Thu, 21 Nov 2019 09:31:13 +0000 (16:31 +0700)]
Fix user.following_count

4 years agoSome tasks try to set log level in test environment, but we were stripping logs belog...
Mark Felder [Wed, 20 Nov 2019 17:55:30 +0000 (11:55 -0600)]
Some tasks try to set log level in test environment, but we were stripping logs belog :warn.
Ensure console backend logs in test environment are :warn, but mix tasks run in test env
do not run with :debug because it's far too verbose.

4 years agoConsole backend's log format should be prefixed and suffixed with newlines.
Mark Felder [Wed, 20 Nov 2019 17:18:42 +0000 (11:18 -0600)]
Console backend's log format should be prefixed and suffixed with newlines.
This is how upstream does it by default.

4 years agoMerge branch 'develop' into fix/mix-task-logging
Mark Felder [Wed, 20 Nov 2019 15:16:46 +0000 (09:16 -0600)]
Merge branch 'develop' into fix/mix-task-logging

4 years agoBe specific about format for logs in test as we have tests that check it
Mark Felder [Wed, 20 Nov 2019 15:14:27 +0000 (09:14 -0600)]
Be specific about format for logs in test as we have tests that check it

4 years agoMerge branch 'fix/sporadic-tests' into 'develop'
lain [Wed, 20 Nov 2019 12:46:33 +0000 (12:46 +0000)]
Merge branch 'fix/sporadic-tests' into 'develop'

Fix sporadically failing test

Closes #1432

See merge request pleroma/pleroma!1999

4 years agoMerge branch 'fix-docker-build' into 'develop'
lain [Wed, 20 Nov 2019 10:32:58 +0000 (10:32 +0000)]
Merge branch 'fix-docker-build' into 'develop'

Fix failing docker build

See merge request pleroma/pleroma!1998

4 years agoFix sporadically failing test
Egor Kislitsyn [Wed, 20 Nov 2019 07:25:00 +0000 (14:25 +0700)]
Fix sporadically failing test

4 years agoAllow test builds to have info and debug logs stripped
Mark Felder [Tue, 19 Nov 2019 22:21:30 +0000 (16:21 -0600)]
Allow test builds to have info and debug logs stripped

4 years agoAllow mix tasks to always run with debug logging
Mark Felder [Tue, 19 Nov 2019 22:01:17 +0000 (16:01 -0600)]
Allow mix tasks to always run with debug logging

4 years agoMerge branch 'chore/bump-fe' into 'develop'
rinpatch [Tue, 19 Nov 2019 21:03:42 +0000 (21:03 +0000)]
Merge branch 'chore/bump-fe' into 'develop'

Bump fe and sync changelogs

See merge request pleroma/pleroma!1996

4 years agochangelog: add 1.1.6 entries from stable
rinpatch [Tue, 19 Nov 2019 21:01:58 +0000 (00:01 +0300)]
changelog: add 1.1.6 entries from stable

4 years agobundles: bump pleroma-fe to 0eda60eeb49f4fa460fe6f9f6196ddbb014427c7
rinpatch [Tue, 19 Nov 2019 16:45:20 +0000 (19:45 +0300)]
bundles: bump pleroma-fe to 0eda60eeb49f4fa460fe6f9f6196ddbb014427c7

4 years agoremove docs/ from .dockerignore
kPherox [Tue, 19 Nov 2019 14:52:47 +0000 (23:52 +0900)]
remove docs/ from .dockerignore

4 years agoFix tests
Maxim Filippov [Tue, 19 Nov 2019 13:50:24 +0000 (22:50 +0900)]
Fix tests

4 years agoMerge branch 'feature/admin-api/support-token-header' into 'develop'
lain [Tue, 19 Nov 2019 13:16:49 +0000 (13:16 +0000)]
Merge branch 'feature/admin-api/support-token-header' into 'develop'

Admin API: Support authentication via `x-admin-token` HTTP header

Closes #1430

See merge request pleroma/pleroma!1993

4 years agoAdminAPI: Confirm user account, resend confirmation email
Maxim Filippov [Tue, 19 Nov 2019 11:14:02 +0000 (20:14 +0900)]
AdminAPI: Confirm user account, resend confirmation email

4 years agoSupport authentication via `x-admin-token` HTTP header
Egor Kislitsyn [Tue, 19 Nov 2019 08:58:20 +0000 (15:58 +0700)]
Support authentication via `x-admin-token` HTTP header

4 years agoMerge branch 'docs/remove_activation_status_endpoint' into 'develop'
feld [Mon, 18 Nov 2019 16:16:27 +0000 (16:16 +0000)]
Merge branch 'docs/remove_activation_status_endpoint' into 'develop'

Remove deprecated endpoint from docs that is fully removed from backend now

See merge request pleroma/pleroma!1992

4 years agoRemove deprecated endpoint from docs that is fully removed from backend now
feld [Mon, 18 Nov 2019 16:16:27 +0000 (16:16 +0000)]
Remove deprecated endpoint from docs that is fully removed from backend now

4 years agoMerge branch 'chore/bump-fast-sanitize' into 'develop'
rinpatch [Sat, 16 Nov 2019 17:49:49 +0000 (17:49 +0000)]
Merge branch 'chore/bump-fast-sanitize' into 'develop'

Bump fast_sanitize

See merge request pleroma/pleroma!1988

4 years agoBump fast_sanitize
rinpatch [Sat, 16 Nov 2019 16:19:25 +0000 (19:19 +0300)]
Bump fast_sanitize

4 years agoAdmin API: Error when trying to update reports in the "old" format
Maxim Filippov [Sat, 16 Nov 2019 09:44:48 +0000 (18:44 +0900)]
Admin API: Error when trying to update reports in the "old" format

4 years agoMerge branch 'chore/changelog-sync-' into 'develop'
rinpatch [Fri, 15 Nov 2019 22:03:28 +0000 (22:03 +0000)]
Merge branch 'chore/changelog-sync-' into 'develop'

Sync the changelogs between develop and stable

See merge request pleroma/pleroma!1985

4 years agoSync the changelogs between develop and stable
rinpatch [Fri, 15 Nov 2019 22:02:08 +0000 (01:02 +0300)]
Sync the changelogs between develop and stable

4 years agoMerge branch 'nodeinfo-fields-limit' into 'develop'
kaniini [Fri, 15 Nov 2019 20:29:38 +0000 (20:29 +0000)]
Merge branch 'nodeinfo-fields-limit' into 'develop'

Add fieldsLimit to metadata of nodeinfo

See merge request pleroma/pleroma!1983

4 years agoMerge branch 'mix-task-warning' into 'develop'
rinpatch [Fri, 15 Nov 2019 19:38:52 +0000 (19:38 +0000)]
Merge branch 'mix-task-warning' into 'develop'

Documentation: Add warning about database mix tasks.

See merge request pleroma/pleroma!1984

4 years agoAdd test
kPherox [Fri, 15 Nov 2019 14:55:28 +0000 (23:55 +0900)]
Add test

4 years agoMerge branch 'bugfix/1395-email-activation' into 'develop'
rinpatch [Fri, 15 Nov 2019 14:11:48 +0000 (14:11 +0000)]
Merge branch 'bugfix/1395-email-activation' into 'develop'

Bugfix/1395 email activation

Closes #1395

See merge request pleroma/pleroma!1965

4 years agoDocumentation: Add warning about database mix tasks.
lain [Fri, 15 Nov 2019 13:30:59 +0000 (14:30 +0100)]
Documentation: Add warning about database mix tasks.

4 years agoOAuthPlug, Router: Handle deactivated users in the UserEnabledPlug
lain [Fri, 15 Nov 2019 13:13:21 +0000 (14:13 +0100)]
OAuthPlug, Router: Handle deactivated users in the UserEnabledPlug

4 years agoMerge branch 'feature/mrf-object-age-policy' into 'develop'
lain [Fri, 15 Nov 2019 12:44:54 +0000 (12:44 +0000)]
Merge branch 'feature/mrf-object-age-policy' into 'develop'

MRF: add ObjectAgePolicy

See merge request pleroma/pleroma!1982

4 years agoApply suggestion to CHANGELOG.md
lain [Fri, 15 Nov 2019 12:31:09 +0000 (12:31 +0000)]
Apply suggestion to CHANGELOG.md

4 years agoAdd fieldsLimit to metadata of nodeinfo
kPherox [Fri, 15 Nov 2019 09:51:55 +0000 (18:51 +0900)]
Add fieldsLimit to metadata of nodeinfo

4 years agofix credo
Ariadne Conill [Fri, 15 Nov 2019 02:18:45 +0000 (20:18 -0600)]
fix credo

4 years agoobject age policy: remove debug logging
Ariadne Conill [Fri, 15 Nov 2019 01:56:14 +0000 (19:56 -0600)]
object age policy: remove debug logging

4 years agoadd changelog entry for MRF ObjectAgePolicy
Ariadne Conill [Fri, 15 Nov 2019 01:49:25 +0000 (19:49 -0600)]
add changelog entry for MRF ObjectAgePolicy

4 years agoMRF: add ObjectAgePolicy which deals with old posts being imported
Ariadne Conill [Fri, 15 Nov 2019 01:48:10 +0000 (19:48 -0600)]
MRF: add ObjectAgePolicy which deals with old posts being imported

4 years agodocs: document MRF ObjectAgePolicy
Ariadne Conill [Fri, 15 Nov 2019 00:31:30 +0000 (18:31 -0600)]
docs: document MRF ObjectAgePolicy

4 years agoconfig: add configuration for MRF ObjectAgePolicy
Ariadne Conill [Fri, 15 Nov 2019 00:26:06 +0000 (18:26 -0600)]
config: add configuration for MRF ObjectAgePolicy

4 years agoMerge branch 'develop' into feature/admin-api-list-statuses-for-a-given-instance
Maxim Filippov [Thu, 14 Nov 2019 14:45:29 +0000 (23:45 +0900)]
Merge branch 'develop' into feature/admin-api-list-statuses-for-a-given-instance

4 years agoAdmin API: list all statuses from a given instance
Maxim Filippov [Thu, 14 Nov 2019 14:44:07 +0000 (23:44 +0900)]
Admin API: list all statuses from a given instance

4 years agoMerge branch 'fix/conversations-rendering' into 'develop'
rinpatch [Thu, 14 Nov 2019 14:40:37 +0000 (14:40 +0000)]
Merge branch 'fix/conversations-rendering' into 'develop'

Fix rendering conversations when there's a malformed status

Closes #1401

See merge request pleroma/pleroma!1973

4 years agoformat the code
rinpatch [Thu, 14 Nov 2019 14:26:59 +0000 (17:26 +0300)]
format the code

4 years agoMerge branch 'feature/reports-groups-and-multiple-state-update' into 'develop'
feld [Thu, 14 Nov 2019 13:35:41 +0000 (13:35 +0000)]
Merge branch 'feature/reports-groups-and-multiple-state-update' into 'develop'

Admin API: Grouped reports, update multiple reports in one query

Closes admin-fe#43

See merge request pleroma/pleroma!1815

4 years agoMerge branch 'ci/disable-trace' into 'develop'
rinpatch [Thu, 14 Nov 2019 13:26:15 +0000 (13:26 +0000)]
Merge branch 'ci/disable-trace' into 'develop'

ci: disable --trace for unit tests

See merge request pleroma/pleroma!1980

4 years agoci: disable --trace for unit tests
rinpatch [Thu, 14 Nov 2019 13:06:08 +0000 (16:06 +0300)]
ci: disable --trace for unit tests

it is mostly useless, but makes failures harder to find

4 years agoMerge branch 'reactions' into 'develop'
rinpatch [Thu, 14 Nov 2019 08:47:10 +0000 (08:47 +0000)]
Merge branch 'reactions' into 'develop'

Emoji Reactions

See merge request pleroma/pleroma!1662

4 years agoUpdate CHANGELOG.md
lain [Thu, 14 Nov 2019 08:21:06 +0000 (08:21 +0000)]
Update CHANGELOG.md

4 years agoMerge branch 'static-fe-object-id' into 'develop'
lain [Wed, 13 Nov 2019 17:37:48 +0000 (17:37 +0000)]
Merge branch 'static-fe-object-id' into 'develop'

Redirect object/activity ID to notice in static-fe

Closes #1412

See merge request pleroma/pleroma!1977