Alexander Strizhakov [Sat, 3 Aug 2019 18:16:09 +0000 (18:16 +0000)]
Admin fixes
kaniini [Sat, 3 Aug 2019 18:13:21 +0000 (18:13 +0000)]
Merge branch 'fix/search-space-error' into 'develop'
Remove spaces from the domain search
Closes #1154
See merge request pleroma/pleroma!1521
Sergey Suprunenko [Sat, 3 Aug 2019 18:13:20 +0000 (18:13 +0000)]
Remove spaces from the domain search
kaniini [Sat, 3 Aug 2019 18:12:39 +0000 (18:12 +0000)]
Merge branch 'fix/with-reject-nil-clause' into 'develop'
Handle MRF rejections of incoming AP activities
Closes #1095
See merge request pleroma/pleroma!1520
Sergey Suprunenko [Sat, 3 Aug 2019 18:12:38 +0000 (18:12 +0000)]
Handle MRF rejections of incoming AP activities
kaniini [Sat, 3 Aug 2019 18:12:03 +0000 (18:12 +0000)]
Merge branch 'official-docker-support' into 'develop'
Add Dockerfile
See merge request pleroma/pleroma!1523
Ashlynn Anderson [Sat, 3 Aug 2019 17:42:57 +0000 (13:42 -0400)]
Run mix format
Thibaut Girka [Sat, 3 Aug 2019 17:24:57 +0000 (17:24 +0000)]
Add preferredUsername to service actors so Mastodon can resolve them
Ashlynn Anderson [Sat, 3 Aug 2019 03:33:47 +0000 (23:33 -0400)]
Add .dockerignore
Ashlynn Anderson [Sat, 3 Aug 2019 02:40:31 +0000 (22:40 -0400)]
Optimize Dockerfile
Just merging RUNs to decrease the number of layers
Ashlynn Anderson [Sat, 3 Aug 2019 02:28:48 +0000 (22:28 -0400)]
Create docker.exs and docker-entrypoint + round out Dockerfile
At this point, the implementation is completely working and has been
tested running live and federating with other instances.
Ashlynn Anderson [Wed, 31 Jul 2019 23:35:14 +0000 (19:35 -0400)]
Basic working Dockerfile
No fancy script or minit automatic migration, etc, but if you start
the docker image and go in and manually do everything, it works.
Haelwenn [Fri, 2 Aug 2019 21:38:28 +0000 (21:38 +0000)]
Merge branch 'docfix/mix_task_options' into 'develop'
tasks/pleroma/user.ex: Fix documentation of --max-use and --expire-at
Closes #1155
See merge request pleroma/pleroma!1522
Haelwenn (lanodan) Monnier [Fri, 2 Aug 2019 21:30:47 +0000 (23:30 +0200)]
tasks/pleroma/user.ex: Fix documentation of --max-use and --expire-at
Closes: https://git.pleroma.social/pleroma/pleroma/issues/1155
[ci skip]
lain [Fri, 2 Aug 2019 17:53:08 +0000 (19:53 +0200)]
Pleroma API: Add endpoint to get conversation statuses.
feld [Fri, 2 Aug 2019 17:07:09 +0000 (17:07 +0000)]
Merge branch 'fix/mediaproxy-whitelist-base_url' into 'develop'
Fix/mediaproxy whitelist base url
See merge request pleroma/pleroma!1486
feld [Fri, 2 Aug 2019 17:07:09 +0000 (17:07 +0000)]
Fix/mediaproxy whitelist base url
Roman Chvanikov [Fri, 2 Aug 2019 15:16:04 +0000 (18:16 +0300)]
Merge branch 'develop' into feature/digest-email
lain [Fri, 2 Aug 2019 13:05:27 +0000 (15:05 +0200)]
CommonAPI: Extend api with conversation replies.
lain [Fri, 2 Aug 2019 11:23:07 +0000 (11:23 +0000)]
Merge branch 'feature/hide-follows-remote' into 'develop'
Refactor Follows/Followers counter syncronization and set hide_followers/hide_follows for remote users
See merge request pleroma/pleroma!1411
lain [Fri, 2 Aug 2019 09:55:41 +0000 (11:55 +0200)]
Conversations: Add recipient list to conversation participation.
This enables to address the same group of people every time.
kaniini [Thu, 1 Aug 2019 16:37:04 +0000 (16:37 +0000)]
Merge branch 'fix/semver-violations' into 'develop'
Fix Invalid SemVer version generation
See merge request pleroma/pleroma!1517
lain [Thu, 1 Aug 2019 15:25:46 +0000 (17:25 +0200)]
nothing
rinpatch [Thu, 1 Aug 2019 13:38:15 +0000 (13:38 +0000)]
Merge branch 'cleanup-tests' into 'develop'
Clean up `AdminAPIControllerTest` output
See merge request pleroma/pleroma!1516
rinpatch [Thu, 1 Aug 2019 11:15:18 +0000 (14:15 +0300)]
Fix Invalid SemVer version generation
when the current branch does not have commits ahead of tag/checked out on a tag
Egor Kislitsyn [Thu, 1 Aug 2019 09:33:36 +0000 (16:33 +0700)]
Clean up tests output
Egor Kislitsyn [Thu, 1 Aug 2019 08:53:37 +0000 (15:53 +0700)]
Add configurable length limits for `User.bio` and `User.name`
kaniini [Wed, 31 Jul 2019 20:08:27 +0000 (20:08 +0000)]
Merge branch 'chore/changelog-update' into 'develop'
Add a changelog entry for disallowing locked accounts follows over OStatus
See merge request pleroma/pleroma!1513
rinpatch [Wed, 31 Jul 2019 20:03:06 +0000 (23:03 +0300)]
Add a changelog entry for disallowing locked accounts follows over OStatus
kaniini [Wed, 31 Jul 2019 19:13:56 +0000 (19:13 +0000)]
Merge branch 'fix/disallow-ostatus-follows-locked' into 'develop'
Disallow following locked accounts over OStatus
See merge request pleroma/pleroma!1512
rinpatch [Wed, 31 Jul 2019 19:05:12 +0000 (22:05 +0300)]
Disallow following locked accounts over OStatus
kaniini [Wed, 31 Jul 2019 18:35:15 +0000 (18:35 +0000)]
Merge branch 'test/web_common_api_utils' into 'develop'
test for Pleroma.Web.CommonAPI.Utils.get_by_id_or_ap_id
See merge request pleroma/pleroma!1510
Maksim [Wed, 31 Jul 2019 18:35:15 +0000 (18:35 +0000)]
test for Pleroma.Web.CommonAPI.Utils.get_by_id_or_ap_id
kaniini [Wed, 31 Jul 2019 18:30:40 +0000 (18:30 +0000)]
Merge branch 'hardening/disallow-ostatus-downgrade' into 'develop'
ostatus: explicitly disallow protocol downgrade from activitypub
See merge request pleroma/pleroma!1511
Ariadne Conill [Wed, 31 Jul 2019 17:23:16 +0000 (17:23 +0000)]
ostatus: explicitly disallow protocol downgrade from activitypub
This closes embargoed bug #1135.
rinpatch [Wed, 31 Jul 2019 16:37:55 +0000 (19:37 +0300)]
Add tests for counters being updated on follow
kaniini [Wed, 31 Jul 2019 15:14:36 +0000 (15:14 +0000)]
Merge branch 'test/twitter/util_controller' into 'develop'
tests for TwitterApi/UtilController
See merge request pleroma/pleroma!1509
Maksim [Wed, 31 Jul 2019 15:14:36 +0000 (15:14 +0000)]
tests for TwitterApi/UtilController
lain [Wed, 31 Jul 2019 13:12:29 +0000 (15:12 +0200)]
StatusView: Return direct conversation id.
rinpatch [Wed, 31 Jul 2019 11:20:34 +0000 (14:20 +0300)]
Fix credo issues
rinpatch [Wed, 31 Jul 2019 11:12:29 +0000 (14:12 +0300)]
Merge branch 'develop' into feature/hide-follows-remote
kaniini [Tue, 30 Jul 2019 16:36:05 +0000 (16:36 +0000)]
Merge branch 'admin-changes' into 'develop'
Admin changes
See merge request pleroma/pleroma!1489
Alexander Strizhakov [Tue, 30 Jul 2019 16:36:05 +0000 (16:36 +0000)]
Admin changes
kaniini [Mon, 29 Jul 2019 20:10:59 +0000 (20:10 +0000)]
Merge branch 'security/remote-follow-commonapi' into 'develop'
twitter api: utils: rework do_remote_follow() to use CommonAPI
Closes #1138
See merge request pleroma/pleroma!1506
Ariadne Conill [Mon, 29 Jul 2019 20:00:57 +0000 (20:00 +0000)]
twitter api: utils: rework do_remote_follow() to use CommonAPI
Closes #1138
kaniini [Mon, 29 Jul 2019 19:42:35 +0000 (19:42 +0000)]
Merge branch 'revert-
83508418' into 'develop'
Revert "Merge branch 'bugfix/clean-up-markdown-rendering' into 'develop'"
See merge request pleroma/pleroma!1505
kaniini [Mon, 29 Jul 2019 19:42:26 +0000 (19:42 +0000)]
Revert "Merge branch 'bugfix/clean-up-markdown-rendering' into 'develop'"
This reverts merge request !1504
Haelwenn [Mon, 29 Jul 2019 19:24:14 +0000 (19:24 +0000)]
Merge branch 'bugfix/clean-up-markdown-rendering' into 'develop'
markdown: clean up html generated by earmark
See merge request pleroma/pleroma!1504
Ariadne Conill [Mon, 29 Jul 2019 19:09:58 +0000 (19:09 +0000)]
markdown: clean up html generated by earmark
lain [Mon, 29 Jul 2019 16:30:47 +0000 (16:30 +0000)]
Merge branch 'refactor/use-constants' into 'develop'
refactoring: begin to use constants
See merge request pleroma/pleroma!1500
kaniini [Mon, 29 Jul 2019 16:17:41 +0000 (16:17 +0000)]
Merge branch 'mailer-enabled-nodeinfo' into 'develop'
Add `mailerEnabled` to the NodeInfo metadata
See merge request pleroma/pleroma!1502
Eugenij [Mon, 29 Jul 2019 16:17:40 +0000 (16:17 +0000)]
Add `mailerEnabled` to the NodeInfo metadata
kaniini [Mon, 29 Jul 2019 16:17:23 +0000 (16:17 +0000)]
Merge branch 'fix/access-mastofe-auth-on-private-instances' into 'develop'
Redirect not logged-in users to the MastoFE login page on private instances
Closes #1045
See merge request pleroma/pleroma!1503
Sergey Suprunenko [Mon, 29 Jul 2019 16:17:22 +0000 (16:17 +0000)]
Redirect not logged-in users to the MastoFE login page on private instances
kaniini [Mon, 29 Jul 2019 05:02:20 +0000 (05:02 +0000)]
Merge branch 'tests/ostatus_controller' into 'develop'
added tests for OstatusController
See merge request pleroma/pleroma!1501
Maksim [Mon, 29 Jul 2019 05:02:20 +0000 (05:02 +0000)]
added tests for OstatusController
Ariadne Conill [Mon, 29 Jul 2019 02:43:19 +0000 (02:43 +0000)]
constants: add as_public constant and use it everywhere
Ariadne Conill [Mon, 29 Jul 2019 02:12:35 +0000 (02:12 +0000)]
mix: add ex_const dependency
kaniini [Sun, 28 Jul 2019 21:40:55 +0000 (21:40 +0000)]
Merge branch 'bugfix/transmogrifier-fix-delete' into 'develop'
transmogrifier: use User.delete() instead of handrolled user deletion code for remote users
Closes #1104
See merge request pleroma/pleroma!1498
Ariadne Conill [Sun, 28 Jul 2019 21:29:10 +0000 (21:29 +0000)]
transmogrifier: use User.delete() instead of handrolled user deletion code for remote users
Closes #1104
kaniini [Sun, 28 Jul 2019 20:30:10 +0000 (20:30 +0000)]
Merge branch 'confirmation-resend' into 'develop'
add account confirmation email resend in mastodon api
See merge request pleroma/pleroma!1492
Sachin Joshi [Sun, 28 Jul 2019 20:30:10 +0000 (20:30 +0000)]
add account confirmation email resend in mastodon api
kaniini [Sun, 28 Jul 2019 20:29:27 +0000 (20:29 +0000)]
Merge branch 'fix/user_update_and_set_cache' into 'develop'
fixed User.update_and_set_cache for stale user
See merge request pleroma/pleroma!1493
Maksim [Sun, 28 Jul 2019 20:29:26 +0000 (20:29 +0000)]
fixed User.update_and_set_cache for stale user
kaniini [Sun, 28 Jul 2019 20:25:35 +0000 (20:25 +0000)]
Merge branch 'develop' into 'develop'
Fix HTTP sig tweak on KeyId
See merge request pleroma/pleroma!1496
kaniini [Sun, 28 Jul 2019 20:24:39 +0000 (20:24 +0000)]
Merge branch 'feature/hackney-303-redirect' into 'develop'
Handle 303 redirects
Closes #1127
See merge request pleroma/pleroma!1497
Sergey Suprunenko [Sun, 28 Jul 2019 20:24:39 +0000 (20:24 +0000)]
Handle 303 redirects
Thomas Sileo [Sun, 28 Jul 2019 12:17:56 +0000 (14:17 +0200)]
Fix HTTP sig tweak on KeyId
rinpatch [Fri, 26 Jul 2019 20:27:38 +0000 (20:27 +0000)]
Merge branch 'issue/1097' into 'develop'
[#1097] added redirect: /pleroma/admin -> /pleroma/admin/
See merge request pleroma/pleroma!1495
Maksim [Fri, 26 Jul 2019 20:27:38 +0000 (20:27 +0000)]
[#1097] added redirect: /pleroma/admin -> /pleroma/admin/
Haelwenn [Fri, 26 Jul 2019 15:27:12 +0000 (15:27 +0000)]
Merge branch 'changelog/1484-base_url-remove-media' into 'develop'
Changelog: !1484 base_url removed /media/
See merge request pleroma/pleroma!1494
Haelwenn (lanodan) Monnier [Fri, 26 Jul 2019 13:33:25 +0000 (15:33 +0200)]
CHANGELOG.md: Add entry for !1484
Related to: https://git.pleroma.social/pleroma/pleroma/merge_requests/1484
[ci skip]
rinpatch [Thu, 25 Jul 2019 15:43:30 +0000 (18:43 +0300)]
Merge branch 'develop' into feature/hide-follows-remote
kaniini [Thu, 25 Jul 2019 03:43:13 +0000 (03:43 +0000)]
Merge branch 'tests/filter_dedupe' into 'develop'
fixed test for elixir 1.7.4
See merge request pleroma/pleroma!1487
Maksim [Thu, 25 Jul 2019 03:43:13 +0000 (03:43 +0000)]
fixed test for elixir 1.7.4
kaniini [Wed, 24 Jul 2019 19:29:01 +0000 (19:29 +0000)]
Merge branch 'fix-remote-follow-from-ostatus-subscribe' into 'develop'
Fix remote follow from /ostatus_subscribe
Closes #1103
See merge request pleroma/pleroma!1472
kaniini [Wed, 24 Jul 2019 19:28:21 +0000 (19:28 +0000)]
Merge branch 'fix/put-correct-activity-url' into 'develop'
Show the url advertised in the Activity in the Status JSON response
Closes #1077
See merge request pleroma/pleroma!1485
Sergey Suprunenko [Wed, 24 Jul 2019 19:28:21 +0000 (19:28 +0000)]
Show the url advertised in the Activity in the Status JSON response
kPherox [Wed, 24 Jul 2019 16:27:34 +0000 (01:27 +0900)]
Add WebFinger test for AP-only account
kaniini [Wed, 24 Jul 2019 15:35:25 +0000 (15:35 +0000)]
Merge branch 'fix/Upload_base_url' into 'develop'
Fix/upload base url
See merge request pleroma/pleroma!1484
feld [Wed, 24 Jul 2019 15:35:25 +0000 (15:35 +0000)]
Do not prepend /media/ when using base_url
This ensures admin has full control over the path where media resides.
Mike Verdone [Wed, 24 Jul 2019 15:25:11 +0000 (17:25 +0200)]
WIP
kPherox [Wed, 24 Jul 2019 14:38:38 +0000 (23:38 +0900)]
Change to not require `magic-public-key` on WebFinger
kaniini [Wed, 24 Jul 2019 15:13:11 +0000 (15:13 +0000)]
Merge branch 'tests/web_finger' into 'develop'
tests WebFinger
See merge request pleroma/pleroma!1483
Maksim [Wed, 24 Jul 2019 15:13:10 +0000 (15:13 +0000)]
tests WebFinger
kaniini [Wed, 24 Jul 2019 15:12:27 +0000 (15:12 +0000)]
Merge branch 'domain-blocking-relationship-api' into 'develop'
Add `domain_blocking` to the relationship API (GET /api/v1/accounts/relationships)
See merge request pleroma/pleroma!1481
Eugenij [Wed, 24 Jul 2019 15:12:27 +0000 (15:12 +0000)]
Add `domain_blocking` to the relationship API (GET /api/v1/accounts/relationships)
Mike Verdone [Wed, 24 Jul 2019 15:09:59 +0000 (17:09 +0200)]
Revert "squash! Expose expires_at datetime in mastoAPI only for the activity actor"
This reverts commit
2981821db834448bf9b2ba26590314e36201664c.
Mike Verdone [Wed, 24 Jul 2019 15:07:51 +0000 (17:07 +0200)]
fixup! Update changelog
Mike Verdone [Wed, 24 Jul 2019 14:51:09 +0000 (16:51 +0200)]
squash! Expose expires_at datetime in mastoAPI only for the activity actor
NOTE: rewrite the commit msg
Mike Verdone [Wed, 24 Jul 2019 11:02:28 +0000 (13:02 +0200)]
Update changelog to document expiring posts feature
Roman Chvanikov [Wed, 24 Jul 2019 13:37:52 +0000 (16:37 +0300)]
Merge branch 'develop' into feature/digest-email
Mike Verdone [Wed, 24 Jul 2019 10:43:20 +0000 (12:43 +0200)]
Expose expires_at datetime in mastoAPI only for the activity actor
In the "pleroma" section of the MastoAPI for status activities you can
see an expires_at item that states when the activity will expire, or
nothing if the activity will not expire.
The expires_at date is only visible to the person who posted the
activity. This is the conservative approach in case some attacker
decides to write a logger for expiring posts. However, in the future of
OCAP, signed requests, and all that stuff, this attack might not be that
likely. Some other pleroma dev should remove the restriction in the code
at that time, if they're satisfied with the security implications of
doing so.
Mike Verdone [Tue, 23 Jul 2019 14:33:45 +0000 (16:33 +0200)]
Require that ephemeral posts live for at least one hour
If we didn't put some kind of lifetime requirement on these, I guess you
could annoy people by sending large numbers of ephemeral posts that
provoke notifications but then disappear before anyone can read them.
Mike Verdone [Mon, 22 Jul 2019 14:46:20 +0000 (16:46 +0200)]
Add support for activity expiration to common and Masto API
The "expires_at" parameter accepts an ISO8601-formatted date which
defines when the activity will expire.
At this point the API will not give you any feedback about if your post
will expire or not.
lain [Wed, 24 Jul 2019 11:28:05 +0000 (11:28 +0000)]
Merge branch 'develop' into 'develop'
Honour domain blocks on streamed notifications/statuses
See merge request pleroma/pleroma!1482
Mike Verdone [Mon, 22 Jul 2019 12:18:58 +0000 (14:18 +0200)]
Add activity expiration worker
This is a worker that runs every minute and deletes expired activities.
It's based heavily on the scheduled activities worker.
Mike Verdone [Mon, 22 Jul 2019 12:16:20 +0000 (14:16 +0200)]
Add activity expirations table
Add a table to store activity expirations. An activity can have zero or
one expirations. The expiration has a scheduled_at field which stores
the time at which the activity should expire and be deleted.
Mike Verdone [Mon, 22 Jul 2019 07:10:30 +0000 (09:10 +0200)]
Make test.exs read config in the same way as dev.exs
This way, if your test.secret.exs has an error, you'll actually see it.
Mike Verdone [Mon, 22 Jul 2019 14:45:54 +0000 (16:45 +0200)]
Cleanup: fix a comment