akkoma
4 years agoMerge branch 'fix/safe-render-notifications' into 'develop'
rinpatch [Thu, 5 Sep 2019 05:47:06 +0000 (05:47 +0000)]
Merge branch 'fix/safe-render-notifications' into 'develop'

Do not crash if one notification failed to render

See merge request pleroma/pleroma!1630

4 years agoDo not crash if one notification failed to render
rinpatch [Thu, 5 Sep 2019 05:32:49 +0000 (08:32 +0300)]
Do not crash if one notification failed to render

4 years agoMerge branch 'dockerfile-touchups' into 'develop'
rinpatch [Wed, 4 Sep 2019 20:22:41 +0000 (20:22 +0000)]
Merge branch 'dockerfile-touchups' into 'develop'

Update Dockerfile + some touchups to docker.exs

See merge request pleroma/pleroma!1624

4 years agoSwitch to alpine:3.9 to avoid dlsym errors
Ashlynn Anderson [Wed, 4 Sep 2019 18:56:26 +0000 (14:56 -0400)]
Switch to alpine:3.9 to avoid dlsym errors

4 years agoMerge branch 'feat/mastoapi-status-threadmuted' into 'develop'
Haelwenn [Wed, 4 Sep 2019 11:26:34 +0000 (11:26 +0000)]
Merge branch 'feat/mastoapi-status-threadmuted' into 'develop'

Mastodon API: Add `pleroma.thread_muted` to Status entity

See merge request pleroma/pleroma!1626

4 years agoMastodon API: Add `pleroma.thread_muted` to Status entity
rinpatch [Wed, 4 Sep 2019 11:16:56 +0000 (14:16 +0300)]
Mastodon API: Add `pleroma.thread_muted` to Status entity

Needed for pleroma-fe!941

4 years agoMerge branch 'feature/mastoapi-read-notifications' into 'develop'
Haelwenn [Wed, 4 Sep 2019 10:46:49 +0000 (10:46 +0000)]
Merge branch 'feature/mastoapi-read-notifications' into 'develop'

Extend `/api/pleroma/notifications/read` to mark multiple notifications as read and make it respond with Mastoapi entities

See merge request pleroma/pleroma!1625

4 years agoClarify that read notifications are returned
rinpatch [Wed, 4 Sep 2019 10:39:39 +0000 (13:39 +0300)]
Clarify that read notifications are returned

4 years agoApply suggestion to docs/api/pleroma_api.md
rinpatch [Wed, 4 Sep 2019 10:37:43 +0000 (10:37 +0000)]
Apply suggestion to docs/api/pleroma_api.md

4 years agoApply suggestion to lib/pleroma/notification.ex
rinpatch [Wed, 4 Sep 2019 10:14:15 +0000 (10:14 +0000)]
Apply suggestion to lib/pleroma/notification.ex

4 years agoExtend `/api/pleroma/notifications/read` to mark multiple notifications
rinpatch [Wed, 4 Sep 2019 08:33:08 +0000 (11:33 +0300)]
Extend `/api/pleroma/notifications/read` to mark multiple notifications
as read and make it respond with Mastoapi entities

4 years agoSwitch to official elixir:1.9-alpine image for build
Ashlynn Anderson [Tue, 3 Sep 2019 15:44:57 +0000 (11:44 -0400)]
Switch to official elixir:1.9-alpine image for build

4 years agoRemove dynamic config as default, add healthcheck
Ashlynn Anderson [Mon, 5 Aug 2019 19:35:34 +0000 (15:35 -0400)]
Remove dynamic config as default, add healthcheck

4 years agoMerge branch 'feature/pagination-total' into 'develop'
rinpatch [Tue, 3 Sep 2019 13:03:06 +0000 (13:03 +0000)]
Merge branch 'feature/pagination-total' into 'develop'

Return total items count from pagination + tests

See merge request pleroma/pleroma!1620

4 years agoReturn "total" optionally
Maxim Filippov [Tue, 3 Sep 2019 10:58:27 +0000 (13:58 +0300)]
Return "total" optionally

4 years agoReturn total from pagination + tests
Maxim Filippov [Mon, 2 Sep 2019 19:48:52 +0000 (22:48 +0300)]
Return total from pagination + tests

4 years agoMerge branch 'iss-930-media' into 'develop'
feld [Fri, 30 Aug 2019 15:23:15 +0000 (15:23 +0000)]
Merge branch 'iss-930-media' into 'develop'

Fix missing changes in pleroma/pleroma!1197

See merge request pleroma/pleroma!1613

4 years agoFix missing changes in pleroma/pleroma!1197
kPherox [Fri, 30 Aug 2019 12:00:50 +0000 (21:00 +0900)]
Fix missing changes in pleroma/pleroma!1197

4 years agoMerge branch 'fix/antifollowbot-and-relays' into 'develop'
kaniini [Fri, 30 Aug 2019 00:38:03 +0000 (00:38 +0000)]
Merge branch 'fix/antifollowbot-and-relays' into 'develop'

Fix AntiFollowbotPolicy when trying to follow a relay

Closes #1231

See merge request pleroma/pleroma!1610

4 years agoFix AntiFollowbotPolicy when trying to follow a relay
feld [Fri, 30 Aug 2019 00:38:03 +0000 (00:38 +0000)]
Fix AntiFollowbotPolicy when trying to follow a relay

4 years agoMerge branch 'fix-osada-follow' into 'develop'
Haelwenn [Wed, 28 Aug 2019 07:10:35 +0000 (07:10 +0000)]
Merge branch 'fix-osada-follow' into 'develop'

Transmogrifier: Fix follow handling when the actor is an object.

Closes #1211

See merge request pleroma/pleroma!1604

4 years agoMerge branch 'list-controller' into 'develop'
lain [Tue, 27 Aug 2019 21:15:54 +0000 (21:15 +0000)]
Merge branch 'list-controller' into 'develop'

Extract list actions from `MastodonAPIController` into `ListController`

See merge request pleroma/pleroma!1600

4 years agoMerge branch 'tests/activity_pub' into 'develop'
lain [Tue, 27 Aug 2019 20:59:09 +0000 (20:59 +0000)]
Merge branch 'tests/activity_pub' into 'develop'

added tests for ActivityPub.like\unlike

See merge request pleroma/pleroma!1606

4 years agoApply suggestion to lib/pleroma/web/activity_pub/activity_pub_controller.ex
Maksim [Tue, 27 Aug 2019 17:37:19 +0000 (17:37 +0000)]
Apply suggestion to lib/pleroma/web/activity_pub/activity_pub_controller.ex

4 years agoTransmogrifier: Use Containment.get_actor to get actors.
lain [Tue, 27 Aug 2019 17:22:30 +0000 (12:22 -0500)]
Transmogrifier: Use Containment.get_actor to get actors.

4 years agoadded tests for ActivityPub.like\unlike
Maksim Pechnikov [Tue, 27 Aug 2019 13:21:03 +0000 (16:21 +0300)]
added tests for ActivityPub.like\unlike

4 years agoMerge branch 'fix-typo' into 'develop'
lain [Mon, 26 Aug 2019 19:37:24 +0000 (19:37 +0000)]
Merge branch 'fix-typo' into 'develop'

Fix typo

See merge request pleroma/pleroma!1603

4 years agoTransmogrifier: Fix follow handling when the actor is an object.
lain [Mon, 26 Aug 2019 19:34:52 +0000 (14:34 -0500)]
Transmogrifier: Fix follow handling when the actor is an object.

4 years agoFix typo
Egor Kislitsyn [Mon, 26 Aug 2019 19:24:14 +0000 (02:24 +0700)]
Fix typo

4 years agoMerge branch 'fix/sporadic-test' into 'develop'
rinpatch [Mon, 26 Aug 2019 14:44:11 +0000 (14:44 +0000)]
Merge branch 'fix/sporadic-test' into 'develop'

Fix sporadic test

Closes #1221

See merge request pleroma/pleroma!1602

4 years agoFix sporadic test
Maxim Filippov [Mon, 26 Aug 2019 14:24:22 +0000 (17:24 +0300)]
Fix sporadic test

4 years agoMerge branch 'disable-rate-limiter' into 'develop'
kaniini [Mon, 26 Aug 2019 14:01:51 +0000 (14:01 +0000)]
Merge branch 'disable-rate-limiter' into 'develop'

Disable rate limiter by default

Closes #1217

See merge request pleroma/pleroma!1601

4 years agoDisable rate limiter by default
Egor Kislitsyn [Mon, 26 Aug 2019 13:36:44 +0000 (20:36 +0700)]
Disable rate limiter by default

4 years agoMove test/web/mastodon_api/*_test.exs to test/web/mastodon_api/controllers and test...
Egor Kislitsyn [Mon, 26 Aug 2019 12:34:43 +0000 (19:34 +0700)]
Move test/web/mastodon_api/*_test.exs to test/web/mastodon_api/controllers and test/web/mastodon_api/views

4 years agoMove mastodon_api/*_controller.ex to mastodon_api/controllers/
Egor Kislitsyn [Mon, 26 Aug 2019 12:32:47 +0000 (19:32 +0700)]
Move mastodon_api/*_controller.ex to mastodon_api/controllers/

4 years agoExtract MastodonAPIController's list actions into MastodonAPI.ListController; Add...
Egor Kislitsyn [Mon, 26 Aug 2019 12:37:54 +0000 (19:37 +0700)]
Extract MastodonAPIController's list actions into MastodonAPI.ListController; Add more tests

4 years agoExtract MastodonAPI.MastodonAPIController.errors/2 to MastodonAPI.FallbackController
Egor Kislitsyn [Mon, 26 Aug 2019 12:16:40 +0000 (19:16 +0700)]
Extract MastodonAPI.MastodonAPIController.errors/2 to MastodonAPI.FallbackController

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