akkoma
4 years agoAdd validation in Pleroma.List.create/2
Egor Kislitsyn [Mon, 26 Aug 2019 11:59:57 +0000 (18:59 +0700)]
Add validation in Pleroma.List.create/2

4 years agoMerge branch 'issue/1177' into 'develop'
kaniini [Sun, 25 Aug 2019 19:43:27 +0000 (19:43 +0000)]
Merge branch 'issue/1177' into 'develop'

[#1177] fixed unfollow for relay actor

See merge request pleroma/pleroma!1589

4 years agoMerge branch 'feature/moderation-log' into 'develop'
kaniini [Sun, 25 Aug 2019 19:39:37 +0000 (19:39 +0000)]
Merge branch 'feature/moderation-log' into 'develop'

Log admin/moderator actions

See merge request pleroma/pleroma!1582

4 years agoLog admin/moderator actions
Maxim Filippov [Sun, 25 Aug 2019 19:39:37 +0000 (19:39 +0000)]
Log admin/moderator actions

4 years agoMerge branch 'fix-all-custom-fields-deleted' into 'develop'
kaniini [Sun, 25 Aug 2019 19:35:28 +0000 (19:35 +0000)]
Merge branch 'fix-all-custom-fields-deleted' into 'develop'

Fix not to use unupdated attachments when all fields are deleted

See merge request pleroma/pleroma!1596

4 years agoUpdate test for custom profile fields
kPherox [Sun, 25 Aug 2019 17:00:41 +0000 (02:00 +0900)]
Update test for custom profile fields

4 years agoMerge branch 'bugfix/rel_me_missing_mocks' into 'develop'
lain [Sun, 25 Aug 2019 16:12:13 +0000 (16:12 +0000)]
Merge branch 'bugfix/rel_me_missing_mocks' into 'develop'

Implement missing mocks for rel=me

See merge request pleroma/pleroma!1598

4 years agoMerge branch 'bugfix/log_non_implemented_mocks' into 'develop'
rinpatch [Sun, 25 Aug 2019 08:09:18 +0000 (08:09 +0000)]
Merge branch 'bugfix/log_non_implemented_mocks' into 'develop'

HttpRequestMock: Log non-implemented mock responses

Closes #1088

See merge request pleroma/pleroma!1416

4 years agoHttpRequestMock: Remove useless `error = error`
Haelwenn (lanodan) Monnier [Sun, 25 Aug 2019 06:55:29 +0000 (08:55 +0200)]
HttpRequestMock: Remove useless `error = error`

4 years agouser_test.exs: fix rel=me tests
Haelwenn (lanodan) Monnier [Sun, 25 Aug 2019 06:48:38 +0000 (08:48 +0200)]
user_test.exs: fix rel=me tests

4 years agoImplement missing mocks for rel=me
Haelwenn (lanodan) Monnier [Sun, 25 Aug 2019 06:03:25 +0000 (08:03 +0200)]
Implement missing mocks for rel=me

4 years agoHttpRequestMock: Improve non-implemented error message
Haelwenn (lanodan) Monnier [Sun, 25 Aug 2019 05:33:46 +0000 (07:33 +0200)]
HttpRequestMock: Improve non-implemented error message

4 years agoHttpRequestMock: Log mock errors as warnings
Haelwenn (lanodan) Monnier [Sun, 25 Aug 2019 05:10:22 +0000 (07:10 +0200)]
HttpRequestMock: Log mock errors as warnings

4 years agoChange to use attachment only when fields do not exist
kPherox [Sat, 24 Aug 2019 16:28:38 +0000 (01:28 +0900)]
Change to use attachment only when fields do not exist

4 years agoMerge branch 'admin-create-users' into 'develop'
lain [Sat, 24 Aug 2019 16:04:19 +0000 (16:04 +0000)]
Merge branch 'admin-create-users' into 'develop'

user creation admin api will create multiple users

See merge request pleroma/pleroma!1170

4 years agoMerge branch 'activity-expiration' into 'develop'
kaniini [Sat, 24 Aug 2019 16:01:57 +0000 (16:01 +0000)]
Merge branch 'activity-expiration' into 'develop'

Activity expiration

See merge request pleroma/pleroma!1595

4 years agoUpdate CHANGELOG.md
lain [Sat, 24 Aug 2019 15:33:17 +0000 (15:33 +0000)]
Update CHANGELOG.md

4 years agoActivity expiration: Fix docs.
lain [Sat, 24 Aug 2019 15:28:19 +0000 (17:28 +0200)]
Activity expiration: Fix docs.

4 years agoActivity Expiration: Switch to 'expires_in' system.
lain [Sat, 24 Aug 2019 15:22:48 +0000 (17:22 +0200)]
Activity Expiration: Switch to 'expires_in' system.

4 years agoActivityExpirationWorker: Fix merge issues.
lain [Sat, 24 Aug 2019 15:22:26 +0000 (17:22 +0200)]
ActivityExpirationWorker: Fix merge issues.

4 years agoupdate tests
Maksim Pechnikov [Sat, 24 Aug 2019 14:41:53 +0000 (17:41 +0300)]
update tests

4 years ago put_resp_header("content-type", "application/activity+json") -> put_resp_content_typ...
Maksim Pechnikov [Sat, 24 Aug 2019 14:17:17 +0000 (17:17 +0300)]
 put_resp_header("content-type", "application/activity+json") -> put_resp_content_type("application/activity+json")

4 years agoMerge remote-tracking branch 'origin/develop' into sixohsix/pleroma-post_expiration
lain [Sat, 24 Aug 2019 13:48:33 +0000 (15:48 +0200)]
Merge remote-tracking branch 'origin/develop' into sixohsix/pleroma-post_expiration

4 years agoadd tests
Maksim Pechnikov [Fri, 23 Aug 2019 18:17:14 +0000 (21:17 +0300)]
add tests

4 years agoMerge branch 'fix-default-config-account_field' into 'develop'
kaniini [Fri, 23 Aug 2019 21:28:52 +0000 (21:28 +0000)]
Merge branch 'fix-default-config-account_field' into 'develop'

Fix default config of account fields length

See merge request pleroma/pleroma!1593

4 years agoFix default config of account fields length
aries [Fri, 23 Aug 2019 21:28:52 +0000 (21:28 +0000)]
Fix default config of account fields length

4 years agoMerge branch 'fix/add-likes-index-objects' into 'develop'
kaniini [Fri, 23 Aug 2019 01:41:18 +0000 (01:41 +0000)]
Merge branch 'fix/add-likes-index-objects' into 'develop'

Add an index on object likes

See merge request pleroma/pleroma!1592

4 years agoAdd an index on object likes
rinpatch [Fri, 23 Aug 2019 00:17:20 +0000 (03:17 +0300)]
Add an index on object likes

In !1538 favorites timeline was switched to use the joined object, but
no idex on likes in the joined object was added.

4 years agofix /inbox for Relay
Maksim Pechnikov [Thu, 22 Aug 2019 19:39:06 +0000 (22:39 +0300)]
fix /inbox for Relay

4 years agofix test
Maksim Pechnikov [Thu, 22 Aug 2019 18:32:40 +0000 (21:32 +0300)]
fix test

4 years agoMerge branch 'develop' into issue/1177
Maksim Pechnikov [Thu, 22 Aug 2019 18:13:03 +0000 (21:13 +0300)]
Merge branch 'develop' into issue/1177

4 years agoMerge branch 'support/tests' into 'develop'
feld [Thu, 22 Aug 2019 17:37:01 +0000 (17:37 +0000)]
Merge branch 'support/tests' into 'develop'

fixed clear config after test

See merge request pleroma/pleroma!1588

4 years agoMerge branch 'improve-ap-routes-rate-limit' into 'develop'
lain [Thu, 22 Aug 2019 10:20:50 +0000 (10:20 +0000)]
Merge branch 'improve-ap-routes-rate-limit' into 'develop'

Improve AP routes rate limit

See merge request pleroma/pleroma!1590

4 years agoImprove AP routes rate limit
Egor Kislitsyn [Thu, 22 Aug 2019 09:03:43 +0000 (16:03 +0700)]
Improve AP routes rate limit

4 years agofixed unfollow for relay actor
Maksim Pechnikov [Thu, 22 Aug 2019 03:57:55 +0000 (06:57 +0300)]
fixed unfollow for relay actor

4 years agoremove old user create and delete routes for admin
Sachin Joshi [Wed, 21 Aug 2019 18:30:00 +0000 (00:15 +0545)]
remove old user create and delete routes for admin

4 years agofixed clear config after test
Maksim Pechnikov [Wed, 21 Aug 2019 18:24:35 +0000 (21:24 +0300)]
fixed clear config after test

4 years agoMerge branch 'rate-limit-ap-routes' into 'develop'
lain [Wed, 21 Aug 2019 16:45:20 +0000 (16:45 +0000)]
Merge branch 'rate-limit-ap-routes' into 'develop'

[#1174] Rate limit AP routes

See merge request pleroma/pleroma!1586

4 years agoMerge branch 'chore/fix-flakey-aws-test' into 'develop'
kaniini [Tue, 20 Aug 2019 20:28:54 +0000 (20:28 +0000)]
Merge branch 'chore/fix-flakey-aws-test' into 'develop'

test: rich media: aws signed url: increase TTL delta check to 2 seconds from 1

See merge request pleroma/pleroma!1587

4 years agotest: rich media: aws signed url: increase TTL delta check to 2 seconds from 1
Ariadne Conill [Tue, 20 Aug 2019 20:19:23 +0000 (20:19 +0000)]
test: rich media: aws signed url: increase TTL delta check to 2 seconds from 1

4 years agoMerge branch 'fix/admin-api-user-deletion' into 'develop'
lain [Tue, 20 Aug 2019 19:34:47 +0000 (19:34 +0000)]
Merge branch 'fix/admin-api-user-deletion' into 'develop'

Fix deactivated user deletion

See merge request pleroma/pleroma!1546

4 years agoAdd `:ap_routes` rate limit
Egor Kislitsyn [Tue, 20 Aug 2019 15:10:36 +0000 (22:10 +0700)]
Add `:ap_routes` rate limit

4 years agoMerge branch 'digest-template' into 'develop'
lain [Tue, 20 Aug 2019 12:55:51 +0000 (12:55 +0000)]
Merge branch 'digest-template' into 'develop'

Improve digest email template

See merge request pleroma/pleroma!1565

4 years agoUpdate CHANGELOG
Egor Kislitsyn [Tue, 20 Aug 2019 12:50:50 +0000 (19:50 +0700)]
Update CHANGELOG

4 years agoMerge branch 'feature/custom-fields' into 'develop'
lain [Tue, 20 Aug 2019 12:44:14 +0000 (12:44 +0000)]
Merge branch 'feature/custom-fields' into 'develop'

Add custom profile fields

See merge request pleroma/pleroma!1488

4 years agoRefactor check_actor_is_active
Maxim Filippov [Mon, 19 Aug 2019 17:36:25 +0000 (20:36 +0300)]
Refactor check_actor_is_active

4 years agoMerge branch 'fix/reverse-proxy-body-too-large' into 'develop'
lain [Mon, 19 Aug 2019 17:05:30 +0000 (17:05 +0000)]
Merge branch 'fix/reverse-proxy-body-too-large' into 'develop'

Reverse Proxy max_body_size is incorrect

See merge request pleroma/pleroma!1581

4 years agoMerge branch 'develop' into 'fix/reverse-proxy-body-too-large'
lain [Mon, 19 Aug 2019 17:00:59 +0000 (17:00 +0000)]
Merge branch 'develop' into 'fix/reverse-proxy-body-too-large'

# Conflicts:
#   CHANGELOG.md

4 years agoMerge branch 'tests/database-digest-tests' into 'develop'
lain [Mon, 19 Aug 2019 16:10:00 +0000 (16:10 +0000)]
Merge branch 'tests/database-digest-tests' into 'develop'

Add more tests for Database tasks and DigestEmailWorker

See merge request pleroma/pleroma!1577

4 years agoAdd more tests for Database tasks and DigestEmailWorker
Sergey Suprunenko [Mon, 19 Aug 2019 16:10:00 +0000 (16:10 +0000)]
Add more tests for Database tasks and DigestEmailWorker

4 years agoMerge branch 'support/test_helpers' into 'develop'
lain [Mon, 19 Aug 2019 15:34:29 +0000 (15:34 +0000)]
Merge branch 'support/test_helpers' into 'develop'

added test helpers to clear config after tests

See merge request pleroma/pleroma!1547

4 years agoadded test helpers to clear config after tests
Maksim [Mon, 19 Aug 2019 15:34:29 +0000 (15:34 +0000)]
added test helpers to clear config after tests

4 years agoMerge branch 'hotfix/user_unfollow' into 'develop'
lain [Mon, 19 Aug 2019 14:36:10 +0000 (14:36 +0000)]
Merge branch 'hotfix/user_unfollow' into 'develop'

[#1177] fixed User.unfollow with synchronization external user

See merge request pleroma/pleroma!1579

4 years agoremoves duplicates from relay subscription list
Maksim Pechnikov [Mon, 19 Aug 2019 10:31:56 +0000 (13:31 +0300)]
removes duplicates from relay subscription list

4 years agoMerge branch 'chore/fix-ap-muted-tests' into 'develop'
kaniini [Sun, 18 Aug 2019 22:33:51 +0000 (22:33 +0000)]
Merge branch 'chore/fix-ap-muted-tests' into 'develop'

tests: activitypub: fix muted thread tests

See merge request pleroma/pleroma!1584

4 years agotests: activitypub: fix typo
Ariadne Conill [Sun, 18 Aug 2019 22:21:31 +0000 (22:21 +0000)]
tests: activitypub: fix typo

4 years agoMerge branch 'fix/bugfix-blocked-user-follow-reqs' into 'develop'
kaniini [Sun, 18 Aug 2019 21:59:22 +0000 (21:59 +0000)]
Merge branch 'fix/bugfix-blocked-user-follow-reqs' into 'develop'

Clear follow requests when blocking a user

See merge request pleroma/pleroma!1583

4 years agoMerge branch 'feature/hide-muted-threads-from-timeline' into 'develop'
kaniini [Sun, 18 Aug 2019 21:57:55 +0000 (21:57 +0000)]
Merge branch 'feature/hide-muted-threads-from-timeline' into 'develop'

Hide muted theads from home/public timelines unless `with_muted` is set

See merge request pleroma/pleroma!1575

4 years agouse commonAPI in tests
Sadposter [Sun, 18 Aug 2019 21:54:40 +0000 (22:54 +0100)]
use commonAPI in tests

4 years agoclear follow requests when blocking a user
Sadposter [Sun, 18 Aug 2019 19:29:31 +0000 (20:29 +0100)]
clear follow requests when blocking a user

4 years agoAdd changelog entry too
Mark Felder [Fri, 16 Aug 2019 15:28:07 +0000 (10:28 -0500)]
Add changelog entry too

4 years agoFormatting
Mark Felder [Fri, 16 Aug 2019 15:00:18 +0000 (10:00 -0500)]
Formatting

4 years agofixed User.unfollow with synchronization external user
Maksim Pechnikov [Fri, 16 Aug 2019 12:58:42 +0000 (15:58 +0300)]
fixed User.unfollow with synchronization external user

4 years agoMerge branch 'pleroma-conversations' into 'develop'
lain [Fri, 16 Aug 2019 12:55:33 +0000 (12:55 +0000)]
Merge branch 'pleroma-conversations' into 'develop'

Extended Pleroma Conversations

See merge request pleroma/pleroma!1535

4 years agoAdd configurable colors and logo for the digest template
Egor Kislitsyn [Fri, 16 Aug 2019 11:32:25 +0000 (18:32 +0700)]
Add configurable colors and logo for the digest template

4 years agomax_body_size -> max_body_length, as it should be
Mark Felder [Thu, 15 Aug 2019 20:34:41 +0000 (15:34 -0500)]
max_body_size -> max_body_length, as it should be

4 years agoMerge branch 'fix/oauth-cleanup-worker-unconditional-start' into 'develop'
rinpatch [Thu, 15 Aug 2019 17:51:30 +0000 (17:51 +0000)]
Merge branch 'fix/oauth-cleanup-worker-unconditional-start' into 'develop'

Fix OAuth cleanup worker unconditionally starting

See merge request pleroma/pleroma!1578

4 years agoFix OAuth cleanup worker unconditionally starting
rinpatch [Thu, 15 Aug 2019 17:36:20 +0000 (20:36 +0300)]
Fix OAuth cleanup worker unconditionally starting

!1576 removed enabled/disabled check from the worker, in favor of just
not starting it in application.ex if disabled. However a line
unconditionally starting the worker was removed

4 years agoMerge branch 'features/formatting-sub_sup' into 'develop'
kaniini [Thu, 15 Aug 2019 17:34:16 +0000 (17:34 +0000)]
Merge branch 'features/formatting-sub_sup' into 'develop'

html.ex: Allow sub and sup elements by default

Closes #1191

See merge request pleroma/pleroma!1572

4 years agoMerge branch 'feature/parallel-rendering' into 'develop'
lain [Thu, 15 Aug 2019 15:51:11 +0000 (15:51 +0000)]
Merge branch 'feature/parallel-rendering' into 'develop'

Parallelize template rendering

See merge request pleroma/pleroma!1576

4 years agoParallelize template rendering
rinpatch [Thu, 15 Aug 2019 14:41:26 +0000 (17:41 +0300)]
Parallelize template rendering

4 years agoHide muted theads from home/public timelines unless `with_muted` is set
rinpatch [Thu, 15 Aug 2019 14:37:30 +0000 (17:37 +0300)]
Hide muted theads from home/public timelines unless `with_muted` is set

4 years agoMerge branch 'cache-follow-state' into 'develop'
lain [Thu, 15 Aug 2019 14:06:27 +0000 (14:06 +0000)]
Merge branch 'cache-follow-state' into 'develop'

Cache follow state

Closes #1180

See merge request pleroma/pleroma!1573

4 years agoMerge branch 'develop' into 'fix/admin-api-user-deletion'
Maxim Filippov [Wed, 14 Aug 2019 22:45:32 +0000 (22:45 +0000)]
Merge branch 'develop' into 'fix/admin-api-user-deletion'

# Conflicts:
#   CHANGELOG.md

4 years agoFix CHANGELOG entry
Maxim Filippov [Wed, 14 Aug 2019 22:42:43 +0000 (01:42 +0300)]
Fix CHANGELOG entry

4 years agoDo not check if actor is active when deleting a user
Maxim Filippov [Wed, 14 Aug 2019 22:35:29 +0000 (01:35 +0300)]
Do not check if actor is active when deleting a user

4 years agoMerge branch 'fix/stats-send-after' into 'develop'
rinpatch [Wed, 14 Aug 2019 22:10:44 +0000 (22:10 +0000)]
Merge branch 'fix/stats-send-after' into 'develop'

Collect stats immediately after init

See merge request pleroma/pleroma!1574

4 years agoCollect stats immediately after init
rinpatch [Wed, 14 Aug 2019 22:01:13 +0000 (01:01 +0300)]
Collect stats immediately after init

4 years agoCache follow state
rinpatch [Wed, 14 Aug 2019 21:47:30 +0000 (00:47 +0300)]
Cache follow state

4 years agoAdd a task to benchmark timeline rendering
rinpatch [Wed, 14 Aug 2019 21:43:02 +0000 (00:43 +0300)]
Add a task to benchmark timeline rendering

4 years agohtml.ex: Allow sub and sup elements by default
Haelwenn (lanodan) Monnier [Wed, 14 Aug 2019 20:48:44 +0000 (22:48 +0200)]
html.ex: Allow sub and sup elements by default

Closes: https://git.pleroma.social/pleroma/pleroma/issues/1191
4 years agoMerge branch 'misc-otp-issues' into 'develop'
rinpatch [Wed, 14 Aug 2019 19:22:15 +0000 (19:22 +0000)]
Merge branch 'misc-otp-issues' into 'develop'

Misc OTP issues

See merge request pleroma/pleroma!1567

4 years agoMerge branch 'fix/http-signatures-post' into 'develop'
rinpatch [Wed, 14 Aug 2019 19:16:52 +0000 (19:16 +0000)]
Merge branch 'fix/http-signatures-post' into 'develop'

activitypub: publisher: add (request-target) to http signature when POSTing

See merge request pleroma/pleroma!1569

4 years agoApply suggestion to lib/pleroma/web/activity_pub/publisher.ex
kaniini [Wed, 14 Aug 2019 19:05:44 +0000 (19:05 +0000)]
Apply suggestion to lib/pleroma/web/activity_pub/publisher.ex

4 years agoMerge branch 'fix/mrf-describe-keyword-lists' into 'develop'
rinpatch [Wed, 14 Aug 2019 19:03:39 +0000 (19:03 +0000)]
Merge branch 'fix/mrf-describe-keyword-lists' into 'develop'

MRF: fix up unserializable option lists in describe implementations

See merge request pleroma/pleroma!1568

4 years agoactivitypub: publisher: add (request-target) to http signature when POSTing
Ariadne Conill [Wed, 14 Aug 2019 19:00:48 +0000 (19:00 +0000)]
activitypub: publisher: add (request-target) to http signature when POSTing

4 years agoMRF: fix up unserializable option lists in describe implementations
Ariadne Conill [Wed, 14 Aug 2019 18:53:18 +0000 (18:53 +0000)]
MRF: fix up unserializable option lists in describe implementations

4 years agofix formatting
stwf [Wed, 14 Aug 2019 18:01:11 +0000 (14:01 -0400)]
fix formatting

4 years agoImplement Pleroma.Stats as GenServer
stwf [Wed, 14 Aug 2019 15:59:33 +0000 (11:59 -0400)]
Implement Pleroma.Stats as GenServer

4 years agostreamline Streamer pings
stwf [Wed, 14 Aug 2019 15:58:32 +0000 (11:58 -0400)]
streamline Streamer pings

4 years agoIsolate OAuth.Token.CleanWorker
stwf [Wed, 14 Aug 2019 15:57:50 +0000 (11:57 -0400)]
Isolate OAuth.Token.CleanWorker

4 years agouse default child_specs
stwf [Wed, 14 Aug 2019 15:55:17 +0000 (11:55 -0400)]
use default child_specs

4 years agoMerge branch 'fix/revert-tzdata-1.8' into 'develop'
lain [Wed, 14 Aug 2019 15:07:03 +0000 (15:07 +0000)]
Merge branch 'fix/revert-tzdata-1.8' into 'develop'

Switch to pre-1.8 version of tzdata.

Closes #1183

See merge request pleroma/pleroma!1566

4 years agoConversations: Load relations in one query.
lain [Wed, 14 Aug 2019 15:01:11 +0000 (17:01 +0200)]
Conversations: Load relations in one query.

4 years agoSwitch to pre-1.8 version of tzdata.
rinpatch [Wed, 14 Aug 2019 14:05:21 +0000 (17:05 +0300)]
Switch to pre-1.8 version of tzdata.

tzdata 1.0.0 requires Elixir 1.8.0, but we target 1.7. Fortunately
tzdata issues bugfix releases for pre-1.8.0 version.

4 years agoFix compatibility with Elixir 1.8
Egor Kislitsyn [Wed, 14 Aug 2019 14:03:25 +0000 (21:03 +0700)]
Fix compatibility with Elixir 1.8

4 years agoConversation: Render new participation on update.
lain [Wed, 14 Aug 2019 13:56:15 +0000 (15:56 +0200)]
Conversation: Render new participation on update.

4 years agoConversations: Use correct oauth paths for extended api.
lain [Wed, 14 Aug 2019 13:55:43 +0000 (15:55 +0200)]
Conversations: Use correct oauth paths for extended api.

4 years agoImprove digest email template
Egor Kislitsyn [Wed, 14 Aug 2019 13:46:05 +0000 (20:46 +0700)]
Improve digest email template

4 years agoMerge remote-tracking branch 'origin/develop' into pleroma-conversations
lain [Wed, 14 Aug 2019 13:30:40 +0000 (15:30 +0200)]
Merge remote-tracking branch 'origin/develop' into pleroma-conversations