Ariadne Conill [Fri, 19 Jul 2019 19:11:04 +0000 (19:11 +0000)]
mix: add pleroma.user unsubscribe_all_from_instance
kaniini [Fri, 19 Jul 2019 16:57:24 +0000 (16:57 +0000)]
Merge branch 'refactor/http-signature-plug' into 'develop'
http signature plug: separation of concerns
See merge request pleroma/pleroma!1449
kaniini [Fri, 19 Jul 2019 16:20:23 +0000 (16:20 +0000)]
Merge branch 'issue/1110' into 'develop'
#1110 fixed /api/pleroma/healthcheck
Closes #1110
See merge request pleroma/pleroma!1453
Maksim [Fri, 19 Jul 2019 16:20:23 +0000 (16:20 +0000)]
#1110 fixed /api/pleroma/healthcheck
rinpatch [Fri, 19 Jul 2019 10:15:16 +0000 (10:15 +0000)]
Merge branch 'patch-2' into 'develop'
Update clients.md for Fedilab
See merge request pleroma/pleroma!1452
tom79 [Fri, 19 Jul 2019 08:40:47 +0000 (08:40 +0000)]
Fix domain for the contact clients.md
tom79 [Fri, 19 Jul 2019 08:39:22 +0000 (08:39 +0000)]
Update clients.md for Fedilab
- Change owner (@fedilab@framapiaf.org), Source code: Framagit, Add some other supported features
Ariadne Conill [Thu, 18 Jul 2019 20:31:25 +0000 (20:31 +0000)]
mapped signature plug: use `user` assign like authentication plug
kaniini [Thu, 18 Jul 2019 20:29:51 +0000 (20:29 +0000)]
Merge branch 'tests/authentication_plug' into 'develop'
tests for Plugs.AuthenticationPlug
See merge request pleroma/pleroma!1450
Maksim [Thu, 18 Jul 2019 20:29:51 +0000 (20:29 +0000)]
tests for Plugs.AuthenticationPlug
Ariadne Conill [Thu, 18 Jul 2019 16:28:36 +0000 (16:28 +0000)]
tests: add tests for mapped signature plug
Ariadne Conill [Thu, 18 Jul 2019 16:27:50 +0000 (16:27 +0000)]
mapped signature plug: fix user lookup
Ariadne Conill [Thu, 18 Jul 2019 16:01:21 +0000 (16:01 +0000)]
mapped signature plug: don't invalidate in cases where a signature is actually not present (testsuite)
Ariadne Conill [Thu, 18 Jul 2019 15:51:58 +0000 (15:51 +0000)]
mix: update http signatures dependency
Ariadne Conill [Thu, 18 Jul 2019 15:38:45 +0000 (15:38 +0000)]
plugs: add MappedSignatureToIdentityPlug
Ariadne Conill [Thu, 18 Jul 2019 15:35:42 +0000 (15:35 +0000)]
signature: make key_id_to_actor_id() public
Ariadne Conill [Thu, 18 Jul 2019 15:06:58 +0000 (15:06 +0000)]
http signature plug: remove redundant checks handled by HTTPSignatures library
the redundant checks assumed a POST request, which will not work for signed GETs.
this check was originally needed because the HTTPSignatures adapter assumed that
the requests were also POST requests. but now, the adapter has been corrected.
kaniini [Thu, 18 Jul 2019 13:27:50 +0000 (13:27 +0000)]
Merge branch 'feature/signed-object-fetches' into 'develop'
signed object fetches
See merge request pleroma/pleroma!1446
kaniini [Thu, 18 Jul 2019 12:30:18 +0000 (12:30 +0000)]
Merge branch 'tests/uploads' into 'develop'
tests for Uploader with webhook
See merge request pleroma/pleroma!1447
Maksim [Thu, 18 Jul 2019 12:30:18 +0000 (12:30 +0000)]
tests for Uploader with webhook
kaniini [Thu, 18 Jul 2019 12:29:26 +0000 (12:29 +0000)]
Merge branch 'fix-howto_mediaproxy' into 'develop'
Fix media proxy doc redirect setting not working
See merge request pleroma/pleroma!1448
aries [Thu, 18 Jul 2019 12:08:31 +0000 (21:08 +0900)]
Fix redirect setting not working
Ariadne Conill [Wed, 17 Jul 2019 23:07:53 +0000 (23:07 +0000)]
update changelog
Ariadne Conill [Wed, 17 Jul 2019 22:58:52 +0000 (22:58 +0000)]
tests: add tests for signed object fetches
kaniini [Wed, 17 Jul 2019 23:03:46 +0000 (23:03 +0000)]
Merge branch 'patch-2' into 'develop'
Update clients.md - added Homepage for Fedilab Android app
See merge request pleroma/pleroma!1444
tallship [Wed, 17 Jul 2019 23:03:46 +0000 (23:03 +0000)]
Update clients.md - added Homepage for Fedilab Android app
kaniini [Wed, 17 Jul 2019 23:03:30 +0000 (23:03 +0000)]
Merge branch 'patch-3' into 'develop'
Update otp_en.md - Added creation of initial admin user
See merge request pleroma/pleroma!1445
Ariadne Conill [Wed, 17 Jul 2019 22:41:42 +0000 (22:41 +0000)]
fetcher: sign object fetches if configured
Bradley D. Thornton [Wed, 17 Jul 2019 22:35:16 +0000 (22:35 +0000)]
Update otp_en.md - Added creation of initial admin user
Ariadne Conill [Wed, 17 Jul 2019 21:38:06 +0000 (21:38 +0000)]
config: add sign_object_fetches option
kaniini [Wed, 17 Jul 2019 19:45:40 +0000 (19:45 +0000)]
Merge branch 'feature/instance-fetch-actor' into 'develop'
instance fetch service actor
See merge request pleroma/pleroma!1440
kaniini [Wed, 17 Jul 2019 19:44:14 +0000 (19:44 +0000)]
Merge branch 'feature/http-signatures-keyid' into 'develop'
http signatures: derive actor from key IDs
See merge request pleroma/pleroma!1442
Ariadne Conill [Wed, 17 Jul 2019 19:18:19 +0000 (19:18 +0000)]
http signatures: derive actor ID from key ID.
Almost all AP servers return their key ID as the actor URI with #main-key
added. Hubzilla, which doesn't, uses a URL which refers to the actor
anyway, so worst case, Hubzilla users get refetched.
Ariadne Conill [Wed, 17 Jul 2019 19:00:26 +0000 (19:00 +0000)]
mix: bump http_signatures dependency to
a2a5982fa167fb1352fbd518ce6b606ba233a989
kaniini [Wed, 17 Jul 2019 18:09:31 +0000 (18:09 +0000)]
Merge branch 'password-reset-fix-for-non-test-env' into 'develop'
Fix password reset for non-test env
See merge request pleroma/pleroma!1441
Eugenij [Wed, 17 Jul 2019 18:09:31 +0000 (18:09 +0000)]
Fix password reset for non-test env
Fixes `Plug.Conn.NotSentError` that causes a 5xx error in response
instead of 404 and 400.
Fixes pattern matching error caused by different response format
in test and non-test env: `Pleroma.Emails.Mailer.deliver_async` returns
:ok when PleromaJobQueue is enabled and `{:ok, _}` when it's disabled.
In tests, it's disabled.
Ariadne Conill [Wed, 17 Jul 2019 17:49:21 +0000 (17:49 +0000)]
update changelog
Ariadne Conill [Wed, 17 Jul 2019 17:48:08 +0000 (17:48 +0000)]
tests: add test for fetching the internal fetch actor
Ariadne Conill [Wed, 17 Jul 2019 17:34:57 +0000 (17:34 +0000)]
activitypub: represent internal fetch actor
Ariadne Conill [Wed, 17 Jul 2019 17:14:08 +0000 (17:14 +0000)]
activitypub: introduce internal fetch service actor
Ariadne Conill [Wed, 17 Jul 2019 17:12:42 +0000 (17:12 +0000)]
user: add is_internal_user? helper function
Ariadne Conill [Wed, 17 Jul 2019 16:59:29 +0000 (16:59 +0000)]
webfinger: allow resolution of usernames with dots in them (internal actors)
Ariadne Conill [Wed, 17 Jul 2019 16:22:57 +0000 (16:22 +0000)]
activitypub: controller: rework the way the relay actor is presented so the code can be reused
Ariadne Conill [Wed, 17 Jul 2019 15:48:51 +0000 (15:48 +0000)]
user: refactor get_or_create_instance_user() into get_or_create_service_actor_by_id()
kaniini [Wed, 17 Jul 2019 15:28:41 +0000 (15:28 +0000)]
Merge branch 'feature/mention-mrf' into 'develop'
Add MRF MentionPolicy for dropping posts which mention specific actors
See merge request pleroma/pleroma!1439
RX14 [Wed, 17 Jul 2019 13:55:47 +0000 (14:55 +0100)]
Add MRF MentionPolicy for dropping posts which mention specific actors
kaniini [Tue, 16 Jul 2019 21:44:50 +0000 (21:44 +0000)]
Merge branch 'feature/1078-password-reset' into 'develop'
Feature/1078 password reset
Closes #1078
See merge request pleroma/pleroma!1431
Alexander Strizhakov [Tue, 16 Jul 2019 21:44:50 +0000 (21:44 +0000)]
mastoapi password reset
added rate limit to password reset
configure rate limit in runtime
kaniini [Tue, 16 Jul 2019 21:35:43 +0000 (21:35 +0000)]
Merge branch 'tests/upload_filters' into 'develop'
added tests for Pleroma.Upload.Filter
See merge request pleroma/pleroma!1434
Maksim [Tue, 16 Jul 2019 21:35:43 +0000 (21:35 +0000)]
added tests for Pleroma.Upload.Filter
kaniini [Tue, 16 Jul 2019 21:35:12 +0000 (21:35 +0000)]
Merge branch '1094-relation-actions-rate-limiting' into 'develop'
[#1094] Rate-limited follow & unfollow actions.
Closes #1094
See merge request pleroma/pleroma!1436
Ivan Tashkinov [Tue, 16 Jul 2019 16:59:02 +0000 (16:59 +0000)]
Apply suggestion to docs/config.md
Ivan Tashkinov [Tue, 16 Jul 2019 16:18:30 +0000 (19:18 +0300)]
[#1094] Rate-limited follow & unfollow actions.
kaniini [Tue, 16 Jul 2019 11:14:46 +0000 (11:14 +0000)]
Merge branch 'add-deactivated-to-account-view' into 'develop'
Add `pleroma.deactivated` to the Account entity (Mastodon API)
See merge request pleroma/pleroma!1433
Eugenij [Tue, 16 Jul 2019 11:14:46 +0000 (11:14 +0000)]
Add `pleroma.deactivated` to the Account entity (Mastodon API)
kaniini [Tue, 16 Jul 2019 11:04:11 +0000 (11:04 +0000)]
Merge branch 'add-blocked-by-to-relationship' into 'develop'
Add the `blocked_by` attribute to the relationship API (`GET /api/v1/accounts/relationships`)
See merge request pleroma/pleroma!1429
Eugenij [Tue, 16 Jul 2019 11:04:11 +0000 (11:04 +0000)]
Add the `blocked_by` attribute to the relationship API (`GET /api/v1/accounts/relationships`)
kaniini [Tue, 16 Jul 2019 10:49:24 +0000 (10:49 +0000)]
Merge branch 'feature/addressable-lists' into 'develop'
Fix typo
See merge request pleroma/pleroma!1432
Egor Kislitsyn [Tue, 16 Jul 2019 07:56:07 +0000 (14:56 +0700)]
Fix typo
rinpatch [Tue, 16 Jul 2019 06:06:22 +0000 (06:06 +0000)]
Merge branch 'bugfix/poll-id-as-string' into 'develop'
Status View: Poll ids are strings.
See merge request pleroma/pleroma!1430
lain [Tue, 16 Jul 2019 05:01:18 +0000 (14:01 +0900)]
Mastodon Controller: Fix tests.
lain [Tue, 16 Jul 2019 03:47:40 +0000 (12:47 +0900)]
Status View: Poll ids are strings.
All ids in mastodon are strings, in general.
feld [Mon, 15 Jul 2019 22:04:58 +0000 (22:04 +0000)]
Merge branch 'match-file-name' into 'develop'
try to always match the filename for proxy url
See merge request pleroma/pleroma!1405
feld [Mon, 15 Jul 2019 21:43:04 +0000 (21:43 +0000)]
Merge branch 'remove-dead-admin-tasks-links-from-docs' into 'develop'
Remove dead link from the installation docs
See merge request pleroma/pleroma!1428
Eugenij [Mon, 15 Jul 2019 21:43:04 +0000 (21:43 +0000)]
Remove dead link from the installation docs
kaniini [Mon, 15 Jul 2019 19:47:23 +0000 (19:47 +0000)]
Merge branch 'tests/mastodon-common-api' into 'develop'
Add more tests for MastodonAPIController and CommonAPI
See merge request pleroma/pleroma!1425
Sergey Suprunenko [Mon, 15 Jul 2019 19:47:23 +0000 (19:47 +0000)]
Add more tests for MastodonAPIController and CommonAPI
kaniini [Mon, 15 Jul 2019 19:46:31 +0000 (19:46 +0000)]
Merge branch 'fix/1091-notifications-query' into 'develop'
Notifications query fix
Closes #1091
See merge request pleroma/pleroma!1427
Alex S [Mon, 15 Jul 2019 17:53:07 +0000 (20:53 +0300)]
query fix
kaniini [Mon, 15 Jul 2019 16:13:17 +0000 (16:13 +0000)]
Merge branch 'sha512-crypt' into 'develop'
detect and use sha512-crypt for stored password hash.
See merge request pleroma/pleroma!1422
Sachin Joshi [Mon, 15 Jul 2019 15:45:56 +0000 (21:30 +0545)]
Merge branch 'develop' into match-file-name
# Conflicts:
# lib/pleroma/web/media_proxy/media_proxy_controller.ex
Moonman [Mon, 15 Jul 2019 15:36:51 +0000 (08:36 -0700)]
formatting
kaniini [Mon, 15 Jul 2019 13:02:59 +0000 (13:02 +0000)]
Merge branch 'update-tzdata' into 'develop'
Dependencies: Update tzdata and related packages.
See merge request pleroma/pleroma!1423
kaniini [Mon, 15 Jul 2019 13:01:58 +0000 (13:01 +0000)]
Merge branch 'admin-configure-atom-keys' into 'develop'
admin configure - atom keys with leading :
See merge request pleroma/pleroma!1424
kaniini [Mon, 15 Jul 2019 13:01:22 +0000 (13:01 +0000)]
Merge branch 'tests/http_signature' into 'develop'
tests for Pleroma.Signature
See merge request pleroma/pleroma!1426
Maksim [Mon, 15 Jul 2019 13:01:22 +0000 (13:01 +0000)]
tests for Pleroma.Signature
kaniini [Mon, 15 Jul 2019 13:00:33 +0000 (13:00 +0000)]
Merge branch 'feature/addressable-lists' into 'develop'
[#802] Add addressable lists
See merge request pleroma/pleroma!1113
Alex S [Mon, 15 Jul 2019 12:45:27 +0000 (15:45 +0300)]
migrating task refactor
Alex S [Mon, 15 Jul 2019 08:00:55 +0000 (11:00 +0300)]
atom keys with leading :
Egor Kislitsyn [Mon, 15 Jul 2019 07:54:40 +0000 (14:54 +0700)]
List messages must be visible for mentioned users
lain [Mon, 15 Jul 2019 07:47:39 +0000 (16:47 +0900)]
Dependencies: Update tzdata and related packages.
Egor Kislitsyn [Mon, 15 Jul 2019 07:29:13 +0000 (14:29 +0700)]
Add `listMessage` to to the JSON-LD context
Egor Kislitsyn [Mon, 15 Jul 2019 07:27:56 +0000 (14:27 +0700)]
Update documentation
Egor Kislitsyn [Mon, 15 Jul 2019 07:20:31 +0000 (14:20 +0700)]
Add an explanation comment to Publisher.publish/2
Egor Kislitsyn [Mon, 15 Jul 2019 07:11:54 +0000 (14:11 +0700)]
Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
Egor Kislitsyn [Mon, 15 Jul 2019 07:00:29 +0000 (14:00 +0700)]
Support `list` visibility in StatusView
kaniini [Sun, 14 Jul 2019 21:01:32 +0000 (21:01 +0000)]
Merge branch 'tests/media_proxy' into 'develop'
added tests for Web.MediaProxy
See merge request pleroma/pleroma!1418
Maksim [Sun, 14 Jul 2019 21:01:32 +0000 (21:01 +0000)]
added tests for Web.MediaProxy
kaniini [Sun, 14 Jul 2019 19:25:03 +0000 (19:25 +0000)]
Merge branch 'feature/unsubscribe-on-unfollow' into 'develop'
Unfollow should also unsubscribe
Closes #1086
See merge request pleroma/pleroma!1419
Sergey Suprunenko [Sun, 14 Jul 2019 19:25:03 +0000 (19:25 +0000)]
Unfollow should also unsubscribe
kaniini [Sun, 14 Jul 2019 19:24:39 +0000 (19:24 +0000)]
Merge branch 'security/ir-generic-containment' into 'develop'
security: IR-based generic object containment
See merge request pleroma/pleroma!1417
Ariadne Conill [Sun, 14 Jul 2019 17:49:12 +0000 (17:49 +0000)]
tests: fix object containment violations in the transmogrifier tests
Some objects were not completely rewritten in the tests, which caused object
containment violations. Fix them by rewriting the object IDs to be in an
appropriate namespace.
Ariadne Conill [Sun, 14 Jul 2019 17:47:08 +0000 (17:47 +0000)]
security: detect object containment violations at the IR level
It is more efficient to check for object containment violations at the IR
level instead of in the protocol handlers. OStatus containment is especially
a tricky situation, as the containment rules don't match those of IR and
ActivityPub.
Accordingly, we just always do a final containment check at the IR level
before the object is added to the IR object graph.
Moonman [Sun, 14 Jul 2019 16:48:42 +0000 (09:48 -0700)]
detect and use sha512-crypt for stored password hash.
kaniini [Sun, 14 Jul 2019 16:43:55 +0000 (16:43 +0000)]
Merge branch 'chore/remove-cc-by-nc-nd-license' into 'develop'
remove CC-BY-NC-ND license.
See merge request pleroma/pleroma!1415
Ariadne Conill [Sun, 14 Jul 2019 16:43:00 +0000 (16:43 +0000)]
remove CC-BY-NC-ND license.
we moved branding assets (mascot etc) to CC-BY-SA a while back.
kaniini [Sun, 14 Jul 2019 16:39:17 +0000 (16:39 +0000)]
Merge branch 'bugfix/llal-object-containment' into 'develop'
Object.Fetcher: Handle error on Containment.contain_origin/2
See merge request pleroma/pleroma!1414
Haelwenn (lanodan) Monnier [Sun, 14 Jul 2019 15:28:25 +0000 (17:28 +0200)]
Object.Fetcher: Keep the with-do block as per kaniini proposition
Haelwenn (lanodan) Monnier [Sun, 14 Jul 2019 12:24:56 +0000 (14:24 +0200)]
FetcherTest: Containment refute called(OStatus.fetch_activity_from_url)
Haelwenn (lanodan) Monnier [Sun, 14 Jul 2019 10:13:11 +0000 (12:13 +0200)]
Object.Fetcher: Fallback to OStatus only if AP actually fails