akkoma
3 years agoLint
Mark Felder [Wed, 7 Oct 2020 20:28:29 +0000 (15:28 -0500)]
Lint

3 years agoLint
Mark Felder [Wed, 7 Oct 2020 20:07:03 +0000 (15:07 -0500)]
Lint

3 years agoFix incorrect use of connect/1
Mark Felder [Wed, 7 Oct 2020 20:06:16 +0000 (15:06 -0500)]
Fix incorrect use of connect/1

Hint from Phoenix 1.4.17, which has a connect/7 shim:

lib/phoenix/socket/transport.ex:

  def connect(endpoint, handler, _transport_name, transport, serializers, params, _pid \\ self()) do
    IO.warn "Phoenix.Socket.Transport.connect/7 is deprecated"

    handler.connect(%{
      endpoint: endpoint,
      transport: transport,
      options: [serializer: serializers],
      params: params
    })
  end

3 years agoApply 1 suggestion(s) to 1 file(s)
Maksim [Wed, 7 Oct 2020 19:32:42 +0000 (19:32 +0000)]
Apply 1 suggestion(s) to 1 file(s)

3 years agoApply 1 suggestion(s) to 1 file(s)
Maksim [Wed, 7 Oct 2020 19:32:09 +0000 (19:32 +0000)]
Apply 1 suggestion(s) to 1 file(s)

3 years agoApply 2 suggestion(s) to 2 file(s)
feld [Wed, 7 Oct 2020 19:16:53 +0000 (19:16 +0000)]
Apply 2 suggestion(s) to 2 file(s)

3 years agoCompatibility with phoenix_pubsub 2.0.0
Mark Felder [Wed, 7 Oct 2020 18:28:39 +0000 (13:28 -0500)]
Compatibility with phoenix_pubsub 2.0.0

3 years ago@env is not used
Mark Felder [Wed, 7 Oct 2020 17:55:16 +0000 (12:55 -0500)]
@env is not used

3 years agoFix rendering of reports
Mark Felder [Wed, 7 Oct 2020 17:30:55 +0000 (12:30 -0500)]
Fix rendering of reports

3 years agoinstrumenters has no effect in Endpoint anymore
Mark Felder [Wed, 7 Oct 2020 16:52:23 +0000 (11:52 -0500)]
instrumenters has no effect in Endpoint anymore

3 years agoTransport.connect/7 is deprecated
Mark Felder [Wed, 7 Oct 2020 16:47:10 +0000 (11:47 -0500)]
Transport.connect/7 is deprecated

3 years agoMerge branch 'chore/elixir-1.11' of git.pleroma.social:pleroma/pleroma into chore...
Mark Felder [Wed, 7 Oct 2020 16:45:11 +0000 (11:45 -0500)]
Merge branch 'chore/elixir-1.11' of git.pleroma.social:pleroma/pleroma into chore/elixir-1.11

3 years agoApply 1 suggestion(s) to 1 file(s)
feld [Wed, 7 Oct 2020 16:44:52 +0000 (16:44 +0000)]
Apply 1 suggestion(s) to 1 file(s)

3 years ago:pubsub is deprecated and replaced wit :pubsub_server
Mark Felder [Wed, 7 Oct 2020 15:34:24 +0000 (10:34 -0500)]
:pubsub is deprecated and replaced wit :pubsub_server

3 years agouse Phoenix.ConnTest is deprecated
Mark Felder [Wed, 7 Oct 2020 15:31:08 +0000 (10:31 -0500)]
use Phoenix.ConnTest is deprecated

3 years agoTemporarily soft-fork prometheus_ex
Mark Felder [Wed, 7 Oct 2020 15:23:20 +0000 (10:23 -0500)]
Temporarily soft-fork prometheus_ex

3 years agoFix incompatible types warning (Elixir 1.11)
Mark Felder [Wed, 7 Oct 2020 15:04:25 +0000 (10:04 -0500)]
Fix incompatible types warning (Elixir 1.11)

3 years agoFix incompatible type (Elixir 1.11)
Mark Felder [Wed, 7 Oct 2020 15:02:20 +0000 (10:02 -0500)]
Fix incompatible type (Elixir 1.11)

3 years agoFix duplicate @doc entries
Mark Felder [Wed, 7 Oct 2020 14:58:45 +0000 (09:58 -0500)]
Fix duplicate @doc entries

3 years agoUpdate Phoenix and pubsub to solve all the System.stacktrace/0 deprecation warnings
Mark Felder [Wed, 7 Oct 2020 14:50:51 +0000 (09:50 -0500)]
Update Phoenix and pubsub to solve all the System.stacktrace/0 deprecation warnings

3 years agoImprove description yet again
Mark Felder [Tue, 6 Oct 2020 22:36:29 +0000 (17:36 -0500)]
Improve description yet again

3 years agoDon't leak internal variables in the docs. They're useless to users.
Mark Felder [Tue, 6 Oct 2020 22:29:56 +0000 (17:29 -0500)]
Don't leak internal variables in the docs. They're useless to users.

3 years agoCredo
Mark Felder [Tue, 6 Oct 2020 22:26:31 +0000 (17:26 -0500)]
Credo

3 years agoImprove descriptions for reserved and proxies
Mark Felder [Tue, 6 Oct 2020 22:21:27 +0000 (17:21 -0500)]
Improve descriptions for reserved and proxies

3 years agoAdd test for an entry without CIDR format
Mark Felder [Tue, 6 Oct 2020 22:08:26 +0000 (17:08 -0500)]
Add test for an entry without CIDR format

3 years agoMove hardcoded default configuration into config.exs
Mark Felder [Tue, 6 Oct 2020 22:02:46 +0000 (17:02 -0500)]
Move hardcoded default configuration into config.exs

3 years agoFix docs for default headers used by RemoteIp. We only use X-Forwarded-For by default.
Mark Felder [Tue, 6 Oct 2020 20:47:11 +0000 (15:47 -0500)]
Fix docs for default headers used by RemoteIp. We only use X-Forwarded-For by default.

3 years agoMerge branch 'revert/rich-media-censorship' into 'develop'
feld [Tue, 6 Oct 2020 20:19:39 +0000 (20:19 +0000)]
Merge branch 'revert/rich-media-censorship' into 'develop'

#2192 Revert Rich Media censorship for sensitive statuses

See merge request pleroma/pleroma!3044

3 years agoDocument the NSFW link preview change
Mark Felder [Tue, 6 Oct 2020 19:54:21 +0000 (14:54 -0500)]
Document the NSFW link preview change

3 years agoMerge branch 'develop' into revert/rich-media-censorship
Mark Felder [Tue, 6 Oct 2020 19:25:20 +0000 (14:25 -0500)]
Merge branch 'develop' into revert/rich-media-censorship

3 years agoMerge branch 'filtering-following' into 'develop'
rinpatch [Tue, 6 Oct 2020 18:11:34 +0000 (18:11 +0000)]
Merge branch 'filtering-following' into 'develop'

ActivityPub: Return Announces when filtering by `following`.

See merge request pleroma/pleroma!3022

3 years agoMerge branch 'feature/update-description-for-frontends-setting' into 'develop'
rinpatch [Tue, 6 Oct 2020 18:05:03 +0000 (18:05 +0000)]
Merge branch 'feature/update-description-for-frontends-setting' into 'develop'

Remove extra nesting and add labels in `:frontends` setting

See merge request pleroma/pleroma!3043

3 years agoMerge remote-tracking branch 'remotes/origin/develop' into ostatus-controller-no...
Ivan Tashkinov [Mon, 5 Oct 2020 20:50:08 +0000 (23:50 +0300)]
Merge remote-tracking branch 'remotes/origin/develop' into ostatus-controller-no-auth-check-on-non-federating-instances

3 years ago[#3053] Unauthenticated access control for OStatus-related controllers and ActivityPu...
Ivan Tashkinov [Mon, 5 Oct 2020 20:48:00 +0000 (23:48 +0300)]
[#3053] Unauthenticated access control for OStatus-related controllers and ActivityPubController (base actions: :user, :object, :activity). Tests adjustments.

3 years agoactivity_pub_controller.ex: Remove unused @doc block
Haelwenn (lanodan) Monnier [Mon, 5 Oct 2020 19:11:00 +0000 (21:11 +0200)]
activity_pub_controller.ex: Remove unused @doc block

[ci skip]

3 years agoMerge branch 'feature/1893-remote-emoji-packs-pagination' into 'develop'
feld [Mon, 5 Oct 2020 17:52:02 +0000 (17:52 +0000)]
Merge branch 'feature/1893-remote-emoji-packs-pagination' into 'develop'

Feature/1893 remote emoji packs pagination

Closes #1893

See merge request pleroma/pleroma!2698

3 years agoMerge branch 'develop' into feature/1893-remote-emoji-packs-pagination
Mark Felder [Mon, 5 Oct 2020 17:40:53 +0000 (12:40 -0500)]
Merge branch 'develop' into feature/1893-remote-emoji-packs-pagination

3 years agoAdd helper function to convert single IPs into CIDR format if they were not provided...
Mark Felder [Mon, 5 Oct 2020 16:48:41 +0000 (11:48 -0500)]
Add helper function to convert single IPs into CIDR format if they were not provided that way

3 years agodocs/ap_extensions.md: Add JSON-LD full names
Haelwenn (lanodan) Monnier [Mon, 5 Oct 2020 15:32:10 +0000 (17:32 +0200)]
docs/ap_extensions.md: Add JSON-LD full names

3 years agodocs/ap_extensions.md: document oauthRegistrationEndpoint
Haelwenn (lanodan) Monnier [Mon, 5 Oct 2020 15:18:58 +0000 (17:18 +0200)]
docs/ap_extensions.md: document oauthRegistrationEndpoint

3 years agodocs/ap_extensions.md: document uploadMedia
Haelwenn (lanodan) Monnier [Fri, 2 Oct 2020 19:47:43 +0000 (21:47 +0200)]
docs/ap_extensions.md: document uploadMedia

3 years agoMerge branch '2211-smol-documentation-fix' into 'develop'
Haelwenn [Mon, 5 Oct 2020 14:53:30 +0000 (14:53 +0000)]
Merge branch '2211-smol-documentation-fix' into 'develop'

Docs: Modify docs so the postgres config is harder to get wrong.

Closes #2211

See merge request pleroma/pleroma!3055

3 years agoDocs: Modify docs so the postgres config is harder to get wrong.
lain [Mon, 5 Oct 2020 11:58:12 +0000 (13:58 +0200)]
Docs: Modify docs so the postgres config is harder to get wrong.

3 years agoMerge branch 'fix/empty-params-openapi' into 'develop'
rinpatch [Sat, 3 Oct 2020 12:35:49 +0000 (12:35 +0000)]
Merge branch 'fix/empty-params-openapi' into 'develop'

OpenAPI CastAndValidate: filter out empty params

Closes #2198

See merge request pleroma/pleroma!3047

3 years ago[#3053] No auth check in StaticFEController, even on non-federating instances. Adjust...
Ivan Tashkinov [Fri, 2 Oct 2020 19:18:02 +0000 (22:18 +0300)]
[#3053] No auth check in StaticFEController, even on non-federating instances. Adjusted tests.

3 years agoNo auth check in UserController.feed_redirect/2, even on non-federating instances.
Ivan Tashkinov [Thu, 1 Oct 2020 18:41:22 +0000 (21:41 +0300)]
No auth check in UserController.feed_redirect/2, even on non-federating instances.

3 years agoNo auth check in OStatusController, even on non-federating instances.
Ivan Tashkinov [Thu, 1 Oct 2020 18:34:45 +0000 (21:34 +0300)]
No auth check in OStatusController, even on non-federating instances.

3 years agoMerge branch 'web-push-fix' into 'develop'
lain [Thu, 1 Oct 2020 11:15:13 +0000 (11:15 +0000)]
Merge branch 'web-push-fix' into 'develop'

web push http_client fix

Closes #2202

See merge request pleroma/pleroma!3052

3 years agoweb push http_client fix
Alexander Strizhakov [Thu, 1 Oct 2020 10:32:11 +0000 (13:32 +0300)]
web push http_client fix

3 years agoMerge branch 'chore/pleroma-vcl' into 'develop'
feld [Wed, 30 Sep 2020 18:13:34 +0000 (18:13 +0000)]
Merge branch 'chore/pleroma-vcl' into 'develop'

Make it possible for Varnish logs to contain the true scheme used by clients

See merge request pleroma/pleroma!3051

3 years agoSyntax error
Mark Felder [Wed, 30 Sep 2020 17:49:51 +0000 (12:49 -0500)]
Syntax error

3 years agoMake it possible for Varnish logs to contain the true scheme used by clients
Mark Felder [Wed, 30 Sep 2020 17:32:54 +0000 (12:32 -0500)]
Make it possible for Varnish logs to contain the true scheme used by clients
instead of always reporting http://

3 years agoMerge branch 'update/oban' into 'develop'
rinpatch [Wed, 30 Sep 2020 13:41:48 +0000 (13:41 +0000)]
Merge branch 'update/oban' into 'develop'

Update Oban to 2.1.0

See merge request pleroma/pleroma!3050

3 years agoMerge branch '2201-i-hate-this' into 'develop'
rinpatch [Wed, 30 Sep 2020 13:37:46 +0000 (13:37 +0000)]
Merge branch '2201-i-hate-this' into 'develop'

User search: Once again, change uri handling.

Closes #2201

See merge request pleroma/pleroma!3048

3 years agoUpdate Oban to 2.1.0
Mark Felder [Wed, 30 Sep 2020 12:53:19 +0000 (07:53 -0500)]
Update Oban to 2.1.0

3 years agoMigrations: Nullify old unique index on users.uri
lain [Wed, 30 Sep 2020 12:17:21 +0000 (14:17 +0200)]
Migrations: Nullify old unique index on users.uri

3 years agoUser search: Once again, change uri handling.
lain [Wed, 30 Sep 2020 12:14:41 +0000 (14:14 +0200)]
User search: Once again, change uri handling.

They can indeed be non-unique.

3 years agoFix typo
Angelina Filippova [Tue, 29 Sep 2020 21:50:53 +0000 (00:50 +0300)]
Fix typo

3 years agoFix comma typo
Angelina Filippova [Tue, 29 Sep 2020 21:49:08 +0000 (00:49 +0300)]
Fix comma typo

3 years agoApply 1 suggestion(s) to 1 file(s)
Angelina Filippova [Tue, 29 Sep 2020 20:33:04 +0000 (20:33 +0000)]
Apply 1 suggestion(s) to 1 file(s)

3 years agoApply 1 suggestion(s) to 1 file(s)
Angelina Filippova [Tue, 29 Sep 2020 20:32:55 +0000 (20:32 +0000)]
Apply 1 suggestion(s) to 1 file(s)

3 years agoOpenAPI CastAndValidate: filter out empty params
rinpatch [Tue, 29 Sep 2020 18:49:04 +0000 (21:49 +0300)]
OpenAPI CastAndValidate: filter out empty params

Closes #2198

3 years agoMerge branch 'fix/2189-unpin-activity' into 'develop'
Haelwenn [Tue, 29 Sep 2020 17:42:08 +0000 (17:42 +0000)]
Merge branch 'fix/2189-unpin-activity' into 'develop'

#2189 More robust expires_at timestamp processing

See merge request pleroma/pleroma!3046

3 years agoMore robust expires_at timestamp processing
Mark Felder [Tue, 29 Sep 2020 17:16:15 +0000 (12:16 -0500)]
More robust expires_at timestamp processing

3 years agoMerge branch 'ffmpeg-imagemagick-dependencies-documentation' into 'develop'
lain [Tue, 29 Sep 2020 14:48:30 +0000 (14:48 +0000)]
Merge branch 'ffmpeg-imagemagick-dependencies-documentation' into 'develop'

`ffmpeg` / `ImageMagick` handling as optional dependencies

See merge request pleroma/pleroma!3031

3 years agoMerge branch 'issue/2170' into 'develop'
lain [Tue, 29 Sep 2020 14:37:49 +0000 (14:37 +0000)]
Merge branch 'issue/2170' into 'develop'

[#2170] Can't remove dead relay

See merge request pleroma/pleroma!3041

3 years ago[#3031] Adjusted changelog entry.
Ivan Tashkinov [Tue, 29 Sep 2020 14:34:49 +0000 (17:34 +0300)]
[#3031] Adjusted changelog entry.

3 years agoApply 1 suggestion(s) to 1 file(s)
lain [Tue, 29 Sep 2020 14:30:18 +0000 (14:30 +0000)]
Apply 1 suggestion(s) to 1 file(s)

3 years agoChangelog: Add info about relay unfollowing
lain [Tue, 29 Sep 2020 14:24:02 +0000 (16:24 +0200)]
Changelog: Add info about relay unfollowing

3 years ago[#3031] Refactoring: moved system commands checks to ApplicationRequirements.
Ivan Tashkinov [Tue, 29 Sep 2020 13:28:06 +0000 (16:28 +0300)]
[#3031] Refactoring: moved system commands checks to ApplicationRequirements.

3 years agoRevert Rich Media censorship for sensitive statuses
Mark Felder [Mon, 28 Sep 2020 23:22:59 +0000 (18:22 -0500)]
Revert Rich Media censorship for sensitive statuses

The #NSFW hashtag test was broken anyway.

3 years agoMerge branch 'fix/revert-citext-uri' into 'develop'
rinpatch [Mon, 28 Sep 2020 15:44:20 +0000 (15:44 +0000)]
Merge branch 'fix/revert-citext-uri' into 'develop'

Revert citext user URI migration

Closes #2188

See merge request pleroma/pleroma!3042

3 years agoRevert citext user URI migration
rinpatch [Mon, 28 Sep 2020 15:15:31 +0000 (18:15 +0300)]
Revert citext user URI migration

URI paths are not actually case-insesitive, which caused migration issues
 on a number of databases.

Closes #2188

3 years agoRemove extra nesting and add labels in `:frontends` setting
Angelina Filippova [Mon, 28 Sep 2020 15:13:45 +0000 (18:13 +0300)]
Remove extra nesting and add labels in `:frontends` setting

3 years agoCI: Add ffmpeg
lain [Mon, 28 Sep 2020 12:14:32 +0000 (14:14 +0200)]
CI: Add ffmpeg

3 years agoadded `force` option to the unfollow operation
Maksim Pechnikov [Mon, 28 Sep 2020 06:16:42 +0000 (09:16 +0300)]
added `force` option to the unfollow operation

3 years agoAdjusted MediaProxyControllerTest to gracefully fail on missing dependencies. Install...
Ivan Tashkinov [Sat, 26 Sep 2020 16:32:16 +0000 (19:32 +0300)]
Adjusted MediaProxyControllerTest to gracefully fail on missing dependencies. Installation docs update.
Added ffmpeg/imagemagick checks to launch checks (if media preview proxy is enabled). Added documentation on installing optional media / graphics packages (imagemagick, ffmpeg, exiftool).

3 years agoMerge branch 'fix/deprecation-warning-welcome-message' into 'develop'
feld [Fri, 25 Sep 2020 18:40:00 +0000 (18:40 +0000)]
Merge branch 'fix/deprecation-warning-welcome-message' into 'develop'

Fix deprecation warnings for old config settings

Closes #2153

See merge request pleroma/pleroma!3021

3 years agoMerge branch 'develop' into fix/deprecation-warning-welcome-message
Mark Felder [Fri, 25 Sep 2020 18:08:33 +0000 (13:08 -0500)]
Merge branch 'develop' into fix/deprecation-warning-welcome-message

3 years agoMerge branch 'fix/noop-policy-describe' into 'develop'
feld [Fri, 25 Sep 2020 18:02:59 +0000 (18:02 +0000)]
Merge branch 'fix/noop-policy-describe' into 'develop'

Fix test failures for NoOpPolicy describe/0

See merge request pleroma/pleroma!3035

3 years agoFix test failures for NoOpPolicy describe/0
Mark Felder [Fri, 25 Sep 2020 17:46:49 +0000 (12:46 -0500)]
Fix test failures for NoOpPolicy describe/0

3 years agoConfig settings leak and break configdb migration tests when async
Mark Felder [Fri, 25 Sep 2020 17:20:52 +0000 (12:20 -0500)]
Config settings leak and break configdb migration tests when async

3 years agoMerge branch 'develop' into fix/deprecation-warning-welcome-message
Mark Felder [Fri, 25 Sep 2020 16:45:51 +0000 (11:45 -0500)]
Merge branch 'develop' into fix/deprecation-warning-welcome-message

3 years agoMerge branch 'feature/bulk-confirmation' into 'develop'
feld [Fri, 25 Sep 2020 16:15:01 +0000 (16:15 +0000)]
Merge branch 'feature/bulk-confirmation' into 'develop'

Bulk account confirmation actions

Closes #2085

See merge request pleroma/pleroma!2975

3 years agoMerge branch 'develop' into fix/deprecation-warning-welcome-message
Mark Felder [Fri, 25 Sep 2020 15:48:01 +0000 (10:48 -0500)]
Merge branch 'develop' into fix/deprecation-warning-welcome-message

3 years agoSimplify the value comparison
Mark Felder [Fri, 25 Sep 2020 15:37:59 +0000 (10:37 -0500)]
Simplify the value comparison

3 years agoMerge branch 'search-even-more' into 'develop'
rinpatch [Fri, 25 Sep 2020 12:56:21 +0000 (12:56 +0000)]
Merge branch 'search-even-more' into 'develop'

More user search improvements

See merge request pleroma/pleroma!3032

3 years agoMerge branch 'features/incoming-create-exists' into 'develop'
rinpatch [Fri, 25 Sep 2020 12:44:33 +0000 (12:44 +0000)]
Merge branch 'features/incoming-create-exists' into 'develop'

transmogrifier: Drop incoming create early if it already exists

See merge request pleroma/pleroma!3026

3 years agoLinter fixes
lain [Fri, 25 Sep 2020 07:12:48 +0000 (09:12 +0200)]
Linter fixes

3 years agoUser search: Make uri matches case insensitive.
lain [Fri, 25 Sep 2020 06:56:58 +0000 (08:56 +0200)]
User search: Make uri matches case insensitive.

3 years agoUser Search: Also find user by uri
lain [Fri, 25 Sep 2020 06:46:14 +0000 (08:46 +0200)]
User Search: Also find user by uri

3 years agoAdd some user feedback
Mark Felder [Thu, 24 Sep 2020 23:35:20 +0000 (18:35 -0500)]
Add some user feedback

3 years agoValidate emails are sent to the appropriate unconfirmed actors
Mark Felder [Thu, 24 Sep 2020 23:24:44 +0000 (18:24 -0500)]
Validate emails are sent to the appropriate unconfirmed actors

3 years agoCannot use batches with User.try_send_confirmation_email/1
Mark Felder [Thu, 24 Sep 2020 23:23:47 +0000 (18:23 -0500)]
Cannot use batches with User.try_send_confirmation_email/1

3 years agoUse the import
Mark Felder [Thu, 24 Sep 2020 21:47:34 +0000 (16:47 -0500)]
Use the import

3 years agoMerge branch '2182-profile-search-improvements' into 'develop'
rinpatch [Thu, 24 Sep 2020 18:27:55 +0000 (18:27 +0000)]
Merge branch '2182-profile-search-improvements' into 'develop'

Resolve "Profile search by URL doesn't work correctly"

Closes #2182

See merge request pleroma/pleroma!3030

3 years agoAdded documentation on installation of `ffmpeg` and `ImageMagick` dependencies.
Ivan Tashkinov [Thu, 24 Sep 2020 15:02:50 +0000 (18:02 +0300)]
Added documentation on installation of `ffmpeg` and `ImageMagick` dependencies.

3 years agoChangelog: Add info about user search.
lain [Thu, 24 Sep 2020 13:56:17 +0000 (15:56 +0200)]
Changelog: Add info about user search.

3 years agoUser Search: Boost resolved results and exact ap_id matches.
lain [Thu, 24 Sep 2020 13:54:55 +0000 (15:54 +0200)]
User Search: Boost resolved results and exact ap_id matches.

3 years agoMerge branch 'fix/test-fix' into 'develop'
rinpatch [Thu, 24 Sep 2020 09:50:39 +0000 (09:50 +0000)]
Merge branch 'fix/test-fix' into 'develop'

Fix for test on mac

See merge request pleroma/pleroma!3027