feld [Wed, 20 Jan 2021 22:48:48 +0000 (22:48 +0000)]
Merge branch 'deprecate-public_endpoint' into 'develop'
Deprecate Uploaders.S3, :public_endpoint
See merge request pleroma/pleroma!3251
Mark Felder [Wed, 20 Jan 2021 22:39:39 +0000 (16:39 -0600)]
Consistent comment style for :ex_aws
Mark Felder [Wed, 20 Jan 2021 22:33:00 +0000 (16:33 -0600)]
Add bucket_namespace to be extra certain truncated_namespace works
feld [Wed, 20 Jan 2021 20:32:23 +0000 (20:32 +0000)]
Merge branch 'update/oban' into 'develop'
Update Oban to 2.3.4
See merge request pleroma/pleroma!3256
Haelwenn [Wed, 20 Jan 2021 20:07:30 +0000 (20:07 +0000)]
Merge branch 'fix/active-user-query' into 'develop'
Active users must be confirmed, and other related fixes
See merge request pleroma/pleroma!3267
Mark Felder [Wed, 20 Jan 2021 17:30:29 +0000 (11:30 -0600)]
Special handling for unconfirmed users based on instance config no longer needed.
Mark Felder [Wed, 20 Jan 2021 17:26:14 +0000 (11:26 -0600)]
Only need to test if unconfirmed users are successfully deleted
It's no longer possible to have an active user account with User.is_confirmed == false
Mark Felder [Wed, 20 Jan 2021 17:17:13 +0000 (11:17 -0600)]
This scenario no longer exists. Users are auto-confirmed if confirmation not required at time of registration.
Mark Felder [Wed, 20 Jan 2021 17:14:15 +0000 (11:14 -0600)]
Special handling for unconfirmed users based on instance config no longer needed.
Alexander Strizhakov [Wed, 20 Jan 2021 17:07:24 +0000 (20:07 +0300)]
use correct versions for oban migrations
Mark Felder [Tue, 19 Jan 2021 22:39:55 +0000 (16:39 -0600)]
Active users must be confirmed
lain [Tue, 19 Jan 2021 14:08:18 +0000 (14:08 +0000)]
Merge branch 'update-changelog-reblog-fix' into 'develop'
Add Reblog fix to CHANGELOG
See merge request pleroma/pleroma!3266
Egor Kislitsyn [Tue, 19 Jan 2021 13:57:00 +0000 (17:57 +0400)]
Add Reblog fix to CHANGELOG
lain [Tue, 19 Jan 2021 11:36:56 +0000 (11:36 +0000)]
Merge branch 'feat/improved-postgres-tuning-docs' into 'develop'
Improve PostgreSQL optimization article
See merge request pleroma/pleroma!3265
rinpatch [Tue, 19 Jan 2021 11:15:55 +0000 (14:15 +0300)]
Improve PostgreSQL optimization article
Move query plan mode setting from OTP installation guide and try
to explain what it does.
rinpatch [Tue, 19 Jan 2021 10:00:15 +0000 (10:00 +0000)]
Merge branch 'mergeback/2.2.2' into 'develop'
Mergeback/2.2.2
See merge request pleroma/pleroma!3264
rinpatch [Tue, 19 Jan 2021 09:59:24 +0000 (12:59 +0300)]
Merge branch 'stable' into mergeback/2.2.2
Haelwenn [Tue, 19 Jan 2021 02:34:27 +0000 (02:34 +0000)]
Merge branch 'weblate-pleroma-pleroma' into 'develop'
Translations update from Weblate
See merge request pleroma/pleroma!3262
João Rodrigues [Mon, 18 Jan 2021 17:19:16 +0000 (17:19 +0000)]
Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (106 of 106 strings)
Translation: Pleroma/Pleroma backend
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma/pt_PT/
João Rodrigues [Mon, 18 Jan 2021 17:19:01 +0000 (17:19 +0000)]
Added translation using Weblate (Portuguese (Portugal))
feld [Mon, 18 Jan 2021 21:19:14 +0000 (21:19 +0000)]
Merge branch 'fix/reblog-api' into 'develop'
Fix Reblog API
Closes #2423
See merge request pleroma/pleroma!3261
feld [Mon, 18 Jan 2021 19:58:30 +0000 (19:58 +0000)]
Merge branch 'refactor/approval_pending_user_field' into 'develop'
Change user.approval_pending field to user.is_approved
See merge request pleroma/pleroma!3090
Mark Felder [Mon, 18 Jan 2021 19:44:59 +0000 (13:44 -0600)]
Mark Felder [Mon, 18 Jan 2021 18:07:37 +0000 (12:07 -0600)]
Document new is_approved attribute
Mark Felder [Mon, 18 Jan 2021 18:05:05 +0000 (12:05 -0600)]
Merge branch 'develop' into refactor/approval_pending_user_field
feld [Mon, 18 Jan 2021 17:54:42 +0000 (17:54 +0000)]
Merge branch 'refactor/confirmation_pending_user_field' into 'develop'
Change user.confirmation_pending field to user.is_confirmed
See merge request pleroma/pleroma!3081
Mark Felder [Mon, 18 Jan 2021 17:31:07 +0000 (11:31 -0600)]
Document new is_confirmed attribute
Mark Felder [Mon, 18 Jan 2021 17:30:06 +0000 (11:30 -0600)]
Keep *Breaking* at the top
Mark Felder [Mon, 18 Jan 2021 17:25:13 +0000 (11:25 -0600)]
Egor Kislitsyn [Mon, 18 Jan 2021 17:01:00 +0000 (21:01 +0400)]
Test that only author can reblog a private status
Egor Kislitsyn [Mon, 18 Jan 2021 16:15:57 +0000 (20:15 +0400)]
Fix Reblog API
Do not set visibility parameter to `public` by default and let CommonAPI to infer it from status.
rinpatch [Mon, 18 Jan 2021 14:33:28 +0000 (14:33 +0000)]
Merge branch 'release/2.2.2' into 'stable'
Release/2.2.2
See merge request pleroma/pleroma!3216
rinpatch [Mon, 18 Jan 2021 14:04:06 +0000 (17:04 +0300)]
rinpatch [Mon, 18 Jan 2021 12:35:15 +0000 (15:35 +0300)]
mix.exs: bump version to 2.2.2
rinpatch [Mon, 18 Jan 2021 13:20:36 +0000 (16:20 +0300)]
CHANGELOG.md: Finalize 2.2.2 changelog
lain [Fri, 8 Jan 2021 13:10:49 +0000 (13:10 +0000)]
Merge branch 'fix/missing_emoji_steal_dir' into 'develop'
Create dir for EmojiStealPolicy automatically
See merge request pleroma/pleroma!3218
lain [Sun, 17 Jan 2021 13:11:28 +0000 (13:11 +0000)]
Merge branch 'fix/changelog-entries' into 'develop'
CHANGELOG.md: Remove wrong entries from Unreleased(patch)
See merge request pleroma/pleroma!3258
rinpatch [Sun, 17 Jan 2021 12:55:33 +0000 (15:55 +0300)]
CHANGELOG.md: Remove wrong entries from Unreleased(patch)
Webpush changes are under 2.3.0 milestone and therefore should be
under Unreleased section
The emoji reaction change was introduced in 2.2.1
Alexander Strizhakov [Tue, 22 Dec 2020 14:42:23 +0000 (17:42 +0300)]
update for retired elixir_make package version
Alexander Strizhakov [Sun, 17 Jan 2021 06:58:41 +0000 (09:58 +0300)]
start oban app in migrations and mix tasks
Alexander Strizhakov [Sun, 17 Jan 2021 06:58:07 +0000 (09:58 +0300)]
use explicitly oban migration version
Ivan Tashkinov [Sat, 16 Jan 2021 20:05:31 +0000 (23:05 +0300)]
[#3251] Fixed wrong test-env config setting for [Pleroma.Upload]. Refactoring. Added warning to `clear_config/_` to minimize such issues in future.
Mark Felder [Fri, 15 Jan 2021 20:58:33 +0000 (14:58 -0600)]
Update Oban to 2.3.4
feld [Fri, 15 Jan 2021 21:01:16 +0000 (21:01 +0000)]
Merge branch 'fix/attachment-cleanup-queues' into 'develop'
Only run one attachment cleanup job per node
See merge request pleroma/pleroma!3255
Mark Felder [Fri, 15 Jan 2021 20:50:32 +0000 (14:50 -0600)]
Only run one attachment cleanup job per node
The previous limit of 5 was probably causing massing performance issues due to concurrent full table scans.
Mark Felder [Fri, 15 Jan 2021 19:40:30 +0000 (13:40 -0600)]
Revert accidental blank line removal
Mark Felder [Tue, 13 Oct 2020 21:10:00 +0000 (16:10 -0500)]
Document removal of toggle_confirmed
Mark Felder [Tue, 13 Oct 2020 21:07:36 +0000 (16:07 -0500)]
Remove toggle_confirmation; require explicit state change
Also cosmetic changes to make the code clearer
Mark Felder [Tue, 13 Oct 2020 19:29:34 +0000 (14:29 -0500)]
Change user.confirmation_pending field to user.is_confirmed
Mark Felder [Fri, 16 Oct 2020 21:50:44 +0000 (21:50 +0000)]
Further simplify changeset logic
Mark Felder [Fri, 16 Oct 2020 21:44:25 +0000 (21:44 +0000)]
Change user.approval_pending field to user.is_approved
Haelwenn [Fri, 15 Jan 2021 04:44:58 +0000 (04:44 +0000)]
Merge branch 'optimize-command_available' into 'develop'
Optimize Pleroma.Utils.command_available?/1
See merge request pleroma/pleroma!3254
Mark Felder [Thu, 14 Jan 2021 23:49:37 +0000 (17:49 -0600)]
Hack to fix tests not passing. Unclear why the filters are being set to nil.
Both of these changes are needed or it doesn't work.
Mark Felder [Thu, 14 Jan 2021 22:58:18 +0000 (16:58 -0600)]
Just validate command is in PATH; forking a shell is wasteful
Mark Felder [Thu, 14 Jan 2021 22:00:32 +0000 (16:00 -0600)]
Lint
Mark Felder [Thu, 14 Jan 2021 19:58:52 +0000 (13:58 -0600)]
Bump Copyright year
Mark Felder [Thu, 14 Jan 2021 19:53:35 +0000 (13:53 -0600)]
Add ConfigDB migration
Lain Soykaf [Thu, 14 Jan 2021 19:18:45 +0000 (20:18 +0100)]
BackupTest: Fix s3 test.
rinpatch [Thu, 14 Jan 2021 18:29:25 +0000 (18:29 +0000)]
Merge branch 'pleroma-password' into 'develop'
Add password module
See merge request pleroma/pleroma!3253
Lain Soykaf [Thu, 14 Jan 2021 15:01:14 +0000 (16:01 +0100)]
Linting.
Lain Soykaf [Thu, 14 Jan 2021 14:06:16 +0000 (15:06 +0100)]
Pbkdf2: Use it everywhere.
Lain Soykaf [Thu, 14 Jan 2021 13:49:39 +0000 (14:49 +0100)]
Password -> Password.Pbkdf2
Mark Felder [Wed, 13 Jan 2021 18:01:01 +0000 (12:01 -0600)]
Unnecessary duplication here
Mark Felder [Wed, 13 Jan 2021 18:00:48 +0000 (12:00 -0600)]
Consistent style
Mark Felder [Wed, 13 Jan 2021 17:54:45 +0000 (11:54 -0600)]
Not needed in test.exs
Mark Felder [Wed, 13 Jan 2021 17:54:00 +0000 (11:54 -0600)]
truncated_namespace should default to nil
Lain Soykaf [Wed, 13 Jan 2021 15:00:12 +0000 (16:00 +0100)]
Linting
lain [Wed, 13 Jan 2021 14:11:11 +0000 (15:11 +0100)]
Password: Replace Pbkdf2 with Password.
lain [Wed, 13 Jan 2021 14:09:01 +0000 (15:09 +0100)]
Password: Add password module
Replaces Pbkdf2.
Haelwenn [Wed, 13 Jan 2021 06:55:12 +0000 (06:55 +0000)]
Merge branch 'chores/bump-copyright' into 'develop'
Bump Copyright to 2021
See merge request pleroma/pleroma!3252
Haelwenn (lanodan) Monnier [Wed, 13 Jan 2021 06:53:44 +0000 (07:53 +0100)]
COPYING: Bump copyright to 2021
Haelwenn (lanodan) Monnier [Wed, 13 Jan 2021 06:49:20 +0000 (07:49 +0100)]
Bump Copyright to 2021
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>;'
Mark Felder [Tue, 12 Jan 2021 22:42:43 +0000 (16:42 -0600)]
Switch another test to Upload.base_url/0
Mark Felder [Tue, 12 Jan 2021 22:40:29 +0000 (16:40 -0600)]
Document deprecation
Mark Felder [Tue, 12 Jan 2021 22:35:10 +0000 (16:35 -0600)]
Fix tests relying on old behavior. Use the Upload.base_url, Luke.
Mark Felder [Tue, 12 Jan 2021 22:34:24 +0000 (16:34 -0600)]
Provide a non-nil fallback for Upload.base_url/0 for tests using TestUploaderSuccess as the uploader
Mark Felder [Tue, 12 Jan 2021 22:32:52 +0000 (16:32 -0600)]
Fix another ad-hoc construction of the upload base_url
Mark Felder [Tue, 12 Jan 2021 22:31:35 +0000 (16:31 -0600)]
Deprecate Pleroma.Uploaders.S3, :public_endpoint
feld [Tue, 12 Jan 2021 20:54:30 +0000 (20:54 +0000)]
Merge branch 'fix/backup-url-on-s3' into 'develop'
Standardize base url for uploads
See merge request pleroma/pleroma!3246
rinpatch [Tue, 12 Jan 2021 19:30:44 +0000 (19:30 +0000)]
Merge branch 'chat-message-pagination' into 'develop'
ChatMessages: Fix pagination headers.
See merge request pleroma/pleroma!3250
lain [Tue, 12 Jan 2021 11:59:50 +0000 (12:59 +0100)]
Pagination: Don't be dos'd by random parameters.
Mark Felder [Mon, 11 Jan 2021 20:19:14 +0000 (14:19 -0600)]
Simplify. We will always have a result from Upload.base_url/0, so just add it to the list
Mark Felder [Mon, 11 Jan 2021 20:01:31 +0000 (14:01 -0600)]
Fix regression in MediaProxy.local?/0 and appending the Upload.base_url to whitelisted domains
lain [Mon, 11 Jan 2021 14:30:40 +0000 (15:30 +0100)]
ChatMessages: Fix pagination headers.
They used to contain the path parameter `id` as query param,
which would break the link.
Mark Felder [Sun, 10 Jan 2021 15:03:42 +0000 (09:03 -0600)]
Formatting
rinpatch [Sun, 10 Jan 2021 08:40:13 +0000 (08:40 +0000)]
Merge branch 'feat/format-optional-migrations' into 'develop'
.formatter.exs: Format optional migrations
See merge request pleroma/pleroma!3249
rinpatch [Sun, 10 Jan 2021 08:28:41 +0000 (11:28 +0300)]
.formatter.exs: Format optional migrations
(There are no changes to optional migrations since they were manually
formatted in https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3207)
rinpatch [Sun, 10 Jan 2021 08:25:36 +0000 (08:25 +0000)]
Merge branch 'add_some_information_about_setting_up_a_development_environment' into 'develop'
Add some information about setting up a development environment
Closes #1904
See merge request pleroma/pleroma!3207
Ilja [Sun, 10 Jan 2021 08:25:36 +0000 (08:25 +0000)]
Add development section
* I cretaed a folder 'development'
* I split up the file dev.md into three parts and moved it to this folder
* index.md
* authentication_authorization.md
* mrf.md
* I also moved ap_extensions.md
* I created a new file setting_up_pleroma_dev.md
feld [Sun, 10 Jan 2021 01:34:54 +0000 (01:34 +0000)]
Apply 4 suggestion(s) to 2 file(s)
Mark Felder [Fri, 8 Jan 2021 23:24:19 +0000 (17:24 -0600)]
Move construction of S3 base URL with optional namespace and bucket to Upload.base_url/0
Now we should have a correct base URL for S3 hosted objects throughout the codebase.
Mark Felder [Fri, 8 Jan 2021 23:05:55 +0000 (17:05 -0600)]
More places we should be using Upload.base_url
Mark Felder [Fri, 8 Jan 2021 22:43:19 +0000 (16:43 -0600)]
Avoid duplicate Config calls
Mark Felder [Fri, 8 Jan 2021 16:49:12 +0000 (10:49 -0600)]
Apply Upload.base_url for S3
Mark Felder [Fri, 8 Jan 2021 00:34:30 +0000 (18:34 -0600)]
Fix URL generated for backup files, try to create a source of truth we can reuse throughout the codebase
lain [Fri, 8 Jan 2021 15:55:48 +0000 (15:55 +0000)]
Merge branch 'guppe-example' into 'develop'
ActivtityPub Test: Add example for guppe actor
See merge request pleroma/pleroma!3243
lain [Fri, 8 Jan 2021 15:36:42 +0000 (15:36 +0000)]
Merge branch 'confirm-users' into 'develop'
Automatically confirm logged-in users
See merge request pleroma/pleroma!3234
Alex Gleason [Fri, 8 Jan 2021 13:48:19 +0000 (07:48 -0600)]
Merge remote-tracking branch 'upstream/develop' into confirm-users
Alex Gleason [Fri, 8 Jan 2021 13:47:55 +0000 (07:47 -0600)]
Remove ConfirmUserPlug
lain [Fri, 8 Jan 2021 13:10:49 +0000 (13:10 +0000)]
Merge branch 'fix/missing_emoji_steal_dir' into 'develop'
Create dir for EmojiStealPolicy automatically
See merge request pleroma/pleroma!3218