akkoma
3 years agoProvide totalItems field for featured collections
Mark Felder [Thu, 27 May 2021 17:04:42 +0000 (12:04 -0500)]
Provide totalItems field for featured collections

3 years agoMerge branch 'feat/expose_email_to_self' into 'develop'
Haelwenn [Wed, 26 May 2021 18:04:23 +0000 (18:04 +0000)]
Merge branch 'feat/expose_email_to_self' into 'develop'

Expose user email address to user/owner; not publicly.

See merge request pleroma/pleroma!3412

3 years agoMerge branch 'mix_config_deprecation' into 'develop'
Haelwenn [Sat, 22 May 2021 15:46:02 +0000 (15:46 +0000)]
Merge branch 'mix_config_deprecation' into 'develop'

Switch from the deprecated "use Mix.config" to "import Config"

See merge request pleroma/pleroma!3413

3 years agoSwitch from the deprecated "use Mix.config" to "import Config"
Mark Felder [Thu, 20 May 2021 18:55:37 +0000 (13:55 -0500)]
Switch from the deprecated "use Mix.config" to "import Config"

3 years agoExpose user email address to user/owner; not publicly.
Mark Felder [Thu, 20 May 2021 17:50:43 +0000 (12:50 -0500)]
Expose user email address to user/owner; not publicly.

3 years agoMerge branch 'chore/changelog' into 'develop'
feld [Tue, 18 May 2021 21:54:54 +0000 (21:54 +0000)]
Merge branch 'chore/changelog' into 'develop'

Clarify AttachmentMetadata changes

See merge request pleroma/pleroma!3408

3 years agoClarify AttachmentMetadata changes
Mark Felder [Tue, 18 May 2021 21:46:51 +0000 (16:46 -0500)]
Clarify AttachmentMetadata changes

3 years agoMerge branch 'blurhash' into 'develop'
feld [Tue, 18 May 2021 21:41:34 +0000 (21:41 +0000)]
Merge branch 'blurhash' into 'develop'

Upload filter for media metadata (Support blurhash, get WxH)

See merge request pleroma/pleroma!3404

3 years agoFixed checking for Upload Filter required commands
Mark Felder [Tue, 18 May 2021 21:28:21 +0000 (16:28 -0500)]
Fixed checking for Upload Filter required commands

3 years agoCheck AnalyzeMetadata filter's required commands
Mark Felder [Tue, 18 May 2021 20:51:11 +0000 (15:51 -0500)]
Check AnalyzeMetadata filter's required commands

eblurhash:magick uses "convert"
Fetching image metadata uses "mogrify"

3 years agoRename upload filter to AnalyzeMetadata
Mark Felder [Tue, 18 May 2021 20:33:33 +0000 (15:33 -0500)]
Rename upload filter to AnalyzeMetadata

3 years agoMerge branch 'optional-config' into 'develop'
lain [Mon, 17 May 2021 18:41:12 +0000 (18:41 +0000)]
Merge branch 'optional-config' into 'develop'

Save ~10 minutes on source installation

See merge request pleroma/pleroma!3406

3 years agoMerge remote-tracking branch 'pleroma/develop' into optional-config
Alex Gleason [Sun, 16 May 2021 17:27:29 +0000 (12:27 -0500)]
Merge remote-tracking branch 'pleroma/develop' into optional-config

3 years agoDocs: use `MIX_ENV=prod mix pleroma.instance gen`
Alex Gleason [Sun, 16 May 2021 17:20:20 +0000 (12:20 -0500)]
Docs: use `MIX_ENV=prod mix pleroma.instance gen`

3 years agoMake prod.secret.exs optional (with warning)
Alex Gleason [Sun, 16 May 2021 17:26:32 +0000 (12:26 -0500)]
Make prod.secret.exs optional (with warning)

3 years agoMerge remote-tracking branch 'upstream/attachment-meta' into blurhash
Alex Gleason [Fri, 14 May 2021 14:09:32 +0000 (09:09 -0500)]
Merge remote-tracking branch 'upstream/attachment-meta' into blurhash

3 years agoSupport blurhash
Alex Gleason [Fri, 14 May 2021 13:38:23 +0000 (08:38 -0500)]
Support blurhash

3 years agoChangelog: attachment meta
Alex Gleason [Thu, 13 May 2021 01:15:33 +0000 (20:15 -0500)]
Changelog: attachment meta

3 years agoMerge remote-tracking branch 'upstream/develop' into attachment-meta
Alex Gleason [Thu, 13 May 2021 01:10:52 +0000 (20:10 -0500)]
Merge remote-tracking branch 'upstream/develop' into attachment-meta

3 years agoFederate attachments as Links instead of Documents
Alex Gleason [Thu, 13 May 2021 00:03:10 +0000 (19:03 -0500)]
Federate attachments as Links instead of Documents

3 years agoDon't render media `meta` if nil
Alex Gleason [Wed, 12 May 2021 21:16:10 +0000 (16:16 -0500)]
Don't render media `meta` if nil

3 years agoIngest remote attachment width/height
Alex Gleason [Wed, 12 May 2021 20:38:49 +0000 (15:38 -0500)]
Ingest remote attachment width/height

3 years agoAdd SetMeta filter to store uploaded image sizes
Alex Gleason [Wed, 12 May 2021 18:38:11 +0000 (13:38 -0500)]
Add SetMeta filter to store uploaded image sizes

3 years agoMerge branch 'dont-crash-email-settings' into 'develop'
feld [Tue, 4 May 2021 13:30:00 +0000 (13:30 +0000)]
Merge branch 'dont-crash-email-settings' into 'develop'

Don't crash so hard when email settings are invalid

Closes #2606

See merge request pleroma/pleroma!3400

3 years agoMerge branch 'earmark' into 'develop'
feld [Tue, 4 May 2021 13:29:14 +0000 (13:29 +0000)]
Merge branch 'earmark' into 'develop'

Upgrade Earmark to v1.4.15

Closes #1942 and #2026

See merge request pleroma/pleroma!3076

3 years agoCHANGELOG: don't crash so hard when email settings are invalid
Alex Gleason [Mon, 3 May 2021 19:30:21 +0000 (14:30 -0500)]
CHANGELOG: don't crash so hard when email settings are invalid

3 years agoMerge remote-tracking branch 'pleroma/develop' into dont-crash-email-settings
Alex Gleason [Mon, 3 May 2021 19:43:28 +0000 (14:43 -0500)]
Merge remote-tracking branch 'pleroma/develop' into dont-crash-email-settings

3 years agoDon't crash when email settings are invalid
Alex Gleason [Mon, 3 May 2021 19:27:03 +0000 (14:27 -0500)]
Don't crash when email settings are invalid
Fixes: https://git.pleroma.social/pleroma/pleroma/-/issues/2606
Fixes: https://gitlab.com/soapbox-pub/soapbox/-/issues/4
3 years agoCHANGELOG: markdown
Alex Gleason [Sat, 1 May 2021 16:28:06 +0000 (11:28 -0500)]
CHANGELOG: markdown

3 years agoMerge remote-tracking branch 'upstream/develop' into earmark
Alex Gleason [Fri, 30 Apr 2021 18:17:03 +0000 (13:17 -0500)]
Merge remote-tracking branch 'upstream/develop' into earmark

3 years agoFix failing remote mentions test, valid TLDs
Alex Gleason [Fri, 30 Apr 2021 17:55:43 +0000 (12:55 -0500)]
Fix failing remote mentions test, valid TLDs

3 years agoDelete obsolete EarmarkRendereTests (moved to UtilsTest)
Alex Gleason [Fri, 30 Apr 2021 17:51:18 +0000 (12:51 -0500)]
Delete obsolete EarmarkRendereTests (moved to UtilsTest)

3 years agoRemove Pleroma.Formatter.minify/2
Alex Gleason [Fri, 30 Apr 2021 17:27:06 +0000 (12:27 -0500)]
Remove Pleroma.Formatter.minify/2

3 years agoUpgrade Earmark 1.4.15
Alex Gleason [Fri, 30 Apr 2021 17:23:11 +0000 (12:23 -0500)]
Upgrade Earmark 1.4.15

3 years agoMerge branch 'oauth-token-id' into 'develop'
feld [Thu, 29 Apr 2021 19:13:50 +0000 (19:13 +0000)]
Merge branch 'oauth-token-id' into 'develop'

Return token's primary key with POST /oauth/token

See merge request pleroma/pleroma!3380

3 years agoMerge remote-tracking branch 'upstream/develop' into oauth-token-id
Alex Gleason [Thu, 29 Apr 2021 19:06:12 +0000 (14:06 -0500)]
Merge remote-tracking branch 'upstream/develop' into oauth-token-id

3 years agoMerge branch 'maybe-fix-ci' into 'develop'
feld [Thu, 29 Apr 2021 18:56:28 +0000 (18:56 +0000)]
Merge branch 'maybe-fix-ci' into 'develop'

CI: Purge pleroma build directory between runs

See merge request pleroma/pleroma!3399

3 years agoCI: Purge pleroma build directory between runs
Alex Gleason [Thu, 29 Apr 2021 18:03:41 +0000 (13:03 -0500)]
CI: Purge pleroma build directory between runs

3 years agoCHANGELOG: Return OAuth token `id`
Alex Gleason [Thu, 29 Apr 2021 17:20:46 +0000 (12:20 -0500)]
CHANGELOG: Return OAuth token `id`

3 years agoMerge remote-tracking branch 'upstream/develop' into oauth-token-id
Alex Gleason [Thu, 29 Apr 2021 17:19:10 +0000 (12:19 -0500)]
Merge remote-tracking branch 'upstream/develop' into oauth-token-id

3 years agoMerge branch 'gitlab-ci-mix-lock' into 'develop'
Haelwenn [Wed, 28 Apr 2021 04:53:25 +0000 (04:53 +0000)]
Merge branch 'gitlab-ci-mix-lock' into 'develop'

Cache GitLab CI based on mix.lock

See merge request pleroma/pleroma!3398

3 years agoCache gitlab-ci based on mix.lock
Alex Gleason [Tue, 27 Apr 2021 16:54:28 +0000 (11:54 -0500)]
Cache gitlab-ci based on mix.lock

3 years agoMerge branch 'fix/delete_activities_timeout' into 'develop'
Haelwenn [Fri, 23 Apr 2021 02:14:11 +0000 (02:14 +0000)]
Merge branch 'fix/delete_activities_timeout' into 'develop'

Fix pleroma.user delete_activities mix task

See merge request pleroma/pleroma!3394

3 years agoFixed pleroma.user delete_activities mix task.
Mark Felder [Thu, 22 Apr 2021 15:15:05 +0000 (10:15 -0500)]
Fixed pleroma.user delete_activities mix task.

3 years agoCleanup and ensure we obey custom Repo timeout
Mark Felder [Thu, 22 Apr 2021 15:11:08 +0000 (10:11 -0500)]
Cleanup and ensure we obey custom Repo timeout

3 years agoOTP releases executing commands via pleroma_ctl show the parent of the process is...
Mark Felder [Tue, 20 Apr 2021 17:00:02 +0000 (12:00 -0500)]
OTP releases executing commands via pleroma_ctl show the parent of the process is :erl_eval

3 years agoTry to set query timeout intelligently
Mark Felder [Tue, 20 Apr 2021 16:16:24 +0000 (11:16 -0500)]
Try to set query timeout intelligently

3 years agoAdd utility function to return infinite timeout for SQL transactions if we detect...
Mark Felder [Tue, 20 Apr 2021 16:10:39 +0000 (11:10 -0500)]
Add utility function to return infinite timeout for SQL transactions if we detect it was called from a Mix Task

3 years agoSet Repo.transaction/2 timeout to infinity. Fixes pleroma.user delete_activities...
Mark Felder [Mon, 19 Apr 2021 20:43:17 +0000 (15:43 -0500)]
Set Repo.transaction/2 timeout to infinity. Fixes pleroma.user delete_activities mix task.

3 years agoMerge branch 'fix/docs' into 'develop'
feld [Tue, 20 Apr 2021 18:02:48 +0000 (18:02 +0000)]
Merge branch 'fix/docs' into 'develop'

Docs: Fix incorrect shell command

See merge request pleroma/pleroma!3396

3 years agoFix incorrect shell command
Mark Felder [Tue, 20 Apr 2021 17:31:14 +0000 (12:31 -0500)]
Fix incorrect shell command

Can't be in /opt/pleroma/bin and then call ./bin/pleroma_ctl :)

3 years agoMerge branch 'feature/opt-out-of-google-floc' into 'develop'
feld [Mon, 19 Apr 2021 22:39:52 +0000 (22:39 +0000)]
Merge branch 'feature/opt-out-of-google-floc' into 'develop'

Add opting out of Google FLoC to HTTPSecurityPlug headers

Closes #2630

See merge request pleroma/pleroma!3393

3 years agoAdd CHANGELOG entry
Sean King [Mon, 19 Apr 2021 22:06:19 +0000 (16:06 -0600)]
Add CHANGELOG entry

3 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/opt-out...
Sean King [Mon, 19 Apr 2021 21:42:38 +0000 (15:42 -0600)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/opt-out-of-google-floc

3 years agoMerge branch 'fix/tests' into 'develop'
feld [Mon, 19 Apr 2021 21:34:38 +0000 (21:34 +0000)]
Merge branch 'fix/tests' into 'develop'

Fix tests broken since !3312

See merge request pleroma/pleroma!3395

3 years agoFix error response which was breaking tests related to pinned posts
Mark Felder [Mon, 19 Apr 2021 21:23:57 +0000 (16:23 -0500)]
Fix error response which was breaking tests related to pinned posts

3 years agoAdd opting out of Google FLoC to HTTPSecurityPlug headers
Sean King [Sun, 18 Apr 2021 20:00:18 +0000 (14:00 -0600)]
Add opting out of Google FLoC to HTTPSecurityPlug headers

3 years agoMerge branch 'features/ingestion-ecto-tag' into 'develop'
rinpatch [Fri, 16 Apr 2021 09:55:55 +0000 (09:55 +0000)]
Merge branch 'features/ingestion-ecto-tag' into 'develop'

TagValidator: New

See merge request pleroma/pleroma!3244

3 years agoMerge branch 'feature/521-pinned-post-federation' into 'develop'
rinpatch [Fri, 16 Apr 2021 09:53:47 +0000 (09:53 +0000)]
Merge branch 'feature/521-pinned-post-federation' into 'develop'

Pinned posts federation

Closes #521

See merge request pleroma/pleroma!3312

3 years agoMerge branch 'fix/2593-reading-exported-config-file' into 'develop'
rinpatch [Fri, 16 Apr 2021 09:50:26 +0000 (09:50 +0000)]
Merge branch 'fix/2593-reading-exported-config-file' into 'develop'

Reading the file, instead of config keyword in ReleaseRuntimeProvider

Closes #2593

See merge request pleroma/pleroma!3381

3 years agoMerge branch 'fix/notifsettings-breaking-login' into 'develop'
Haelwenn [Thu, 15 Apr 2021 21:34:55 +0000 (21:34 +0000)]
Merge branch 'fix/notifsettings-breaking-login' into 'develop'

Enforce user.notification_settings is NOT NULL

Closes #2571

See merge request pleroma/pleroma!3386

3 years agoMerge branch 'develop' into 'fix/notifsettings-breaking-login'
feld [Thu, 15 Apr 2021 14:59:26 +0000 (14:59 +0000)]
Merge branch 'develop' into 'fix/notifsettings-breaking-login'

# Conflicts:
#   CHANGELOG.md

3 years agoMerge branch 'fix/mastodon-interface-docs-link' into 'develop'
Haelwenn [Thu, 15 Apr 2021 05:44:01 +0000 (05:44 +0000)]
Merge branch 'fix/mastodon-interface-docs-link' into 'develop'

Fix Mastodon interface link in documentation, fixes #2622

Closes #2622

See merge request pleroma/pleroma!3391

3 years agoFix Mastodon interface link
Sean King [Wed, 14 Apr 2021 20:01:33 +0000 (14:01 -0600)]
Fix Mastodon interface link

3 years agoMerge branch 'fix/adminapi-concurrent-limiter' into 'develop'
feld [Wed, 14 Apr 2021 16:52:02 +0000 (16:52 +0000)]
Merge branch 'fix/adminapi-concurrent-limiter' into 'develop'

Fix ConcurrentLimiter settings via AdminAPI

See merge request pleroma/pleroma!3390

3 years agoRevert guards on string_to_elixir_types/1, remove unnecessary assignment in test
Mark Felder [Wed, 14 Apr 2021 14:39:57 +0000 (09:39 -0500)]
Revert guards on string_to_elixir_types/1, remove unnecessary assignment in test

3 years agoImprove string_to_elixir_types/1 with guards
Mark Felder [Tue, 13 Apr 2021 19:25:15 +0000 (14:25 -0500)]
Improve string_to_elixir_types/1 with guards

3 years agoDocument fixed ability to save ConcurrentLimiter settings in ConfigDB
Mark Felder [Tue, 13 Apr 2021 19:39:44 +0000 (14:39 -0500)]
Document fixed ability to save ConcurrentLimiter settings in ConfigDB

3 years agoAdd ConcurrentLimiter to module_name?/1 and apply string_to_elixir_types/1 to search_...
Mark Felder [Tue, 13 Apr 2021 17:09:18 +0000 (12:09 -0500)]
Add ConcurrentLimiter to module_name?/1 and apply string_to_elixir_types/1 to search_opts keys during update_or_create/1

3 years agoInitial test validating the AdminAPI issue
Mark Felder [Tue, 13 Apr 2021 16:15:52 +0000 (11:15 -0500)]
Initial test validating the AdminAPI issue

3 years agoMerge branch 'fix/instance-thumbnail-url' into 'develop'
Haelwenn [Tue, 13 Apr 2021 19:05:07 +0000 (19:05 +0000)]
Merge branch 'fix/instance-thumbnail-url' into 'develop'

Fix URL to custom instance thumbnail

Closes #2611

See merge request pleroma/pleroma!3388

3 years agoFix assignment / assertion
Mark Felder [Tue, 13 Apr 2021 15:55:54 +0000 (10:55 -0500)]
Fix assignment / assertion

3 years agoValidate custom instance thumbnail set via AdminAPI produces correct URL
Mark Felder [Tue, 13 Apr 2021 15:52:53 +0000 (10:52 -0500)]
Validate custom instance thumbnail set via AdminAPI produces correct URL

3 years agoUse URI.merge to prevent concatenating two canonical URLs when a custom instance...
Mark Felder [Fri, 9 Apr 2021 15:30:27 +0000 (10:30 -0500)]
Use URI.merge to prevent concatenating two canonical URLs when a custom instance thumbnail was uploaded via AdminFE

3 years agorelease runtime provider fix for paths
Alexander Strizhakov [Thu, 8 Apr 2021 12:45:31 +0000 (15:45 +0300)]
release runtime provider fix for paths

3 years agoMove tag fixup to object_validator
Haelwenn (lanodan) Monnier [Thu, 1 Apr 2021 11:49:04 +0000 (13:49 +0200)]
Move tag fixup to object_validator

3 years agoMerge branch 'chore/CHANGELOG' into 'develop'
feld [Thu, 1 Apr 2021 15:26:46 +0000 (15:26 +0000)]
Merge branch 'chore/CHANGELOG' into 'develop'

Fix CHANGELOG entry meant for next release

See merge request pleroma/pleroma!3387

3 years agoFix CHANGELOG entry meant for next release
Mark Felder [Thu, 1 Apr 2021 15:09:32 +0000 (10:09 -0500)]
Fix CHANGELOG entry meant for next release

3 years agoDocument user login failure fix for NULL notification_settings
Mark Felder [Thu, 1 Apr 2021 15:07:57 +0000 (10:07 -0500)]
Document user login failure fix for NULL notification_settings

3 years agoEnforce user.notification_settings is NOT NULL
Mark Felder [Thu, 1 Apr 2021 15:01:31 +0000 (10:01 -0500)]
Enforce user.notification_settings is NOT NULL

3 years agoobject_validators: Mark validate_data as private
Haelwenn (lanodan) Monnier [Tue, 12 Jan 2021 10:14:09 +0000 (11:14 +0100)]
object_validators: Mark validate_data as private

3 years agoInsert string-hashtags in Pipeline
Haelwenn (lanodan) Monnier [Tue, 12 Jan 2021 08:30:22 +0000 (09:30 +0100)]
Insert string-hashtags in Pipeline

Cannot be done in Ecto schemas because only one type is allowed in arrays, and
needs to be done before the MRFs.

3 years agopipeline_test: Fix usage of %Activity{}
Haelwenn (lanodan) Monnier [Tue, 12 Jan 2021 13:11:29 +0000 (14:11 +0100)]
pipeline_test: Fix usage of %Activity{}

3 years agoTagValidator: New
Haelwenn (lanodan) Monnier [Thu, 7 Jan 2021 17:23:01 +0000 (18:23 +0100)]
TagValidator: New

3 years agoMerge branch 'revert-c368bf6d' into 'develop'
Haelwenn [Thu, 1 Apr 2021 12:11:21 +0000 (12:11 +0000)]
Merge branch 'revert-c368bf6d' into 'develop'

Revert "Merge branch 'patch-fix-open-api-spec' into 'develop'"

See merge request pleroma/pleroma!3385

3 years agoRevert "Merge branch 'patch-fix-open-api-spec' into 'develop'"
Haelwenn [Thu, 1 Apr 2021 12:00:58 +0000 (12:00 +0000)]
Revert "Merge branch 'patch-fix-open-api-spec' into 'develop'"

This reverts merge request !3382

3 years agoMerge branch 'refactor/object_validator_validate' into 'develop'
rinpatch [Thu, 1 Apr 2021 11:10:12 +0000 (11:10 +0000)]
Merge branch 'refactor/object_validator_validate' into 'develop'

object_validator: Refactor most of validate/2 to a generic block

See merge request pleroma/pleroma!3383

3 years agoobject_validator: Refactor most of validate/2 to a generic block
Haelwenn (lanodan) Monnier [Thu, 1 Apr 2021 09:50:45 +0000 (11:50 +0200)]
object_validator: Refactor most of validate/2 to a generic block

3 years agoMerge branch 'patch-fix-open-api-spec' into 'develop'
rinpatch [Wed, 31 Mar 2021 08:19:31 +0000 (08:19 +0000)]
Merge branch 'patch-fix-open-api-spec' into 'develop'

OpenAPI: Fix `date-time` being specified as an `integer` in OpenAPI spec (when it should be a `string`) in AccountCreateResponse

See merge request pleroma/pleroma!3382

3 years agodate-times are always strings
Miss Pasture [Wed, 31 Mar 2021 06:51:22 +0000 (06:51 +0000)]
date-times are always strings

3 years agoMerge branch 'upstream/mrf-followbot' into 'develop'
feld [Tue, 30 Mar 2021 16:59:34 +0000 (16:59 +0000)]
Merge branch 'upstream/mrf-followbot' into 'develop'

Upstream/mrf followbot

See merge request pleroma/pleroma!3060

3 years agoFix function calls due to module name change
Mark Felder [Fri, 26 Feb 2021 17:04:27 +0000 (11:04 -0600)]
Fix function calls due to module name change

3 years agoTemp file leaked, oops
Mark Felder [Wed, 24 Feb 2021 18:07:40 +0000 (12:07 -0600)]
Temp file leaked, oops

3 years agoAdd more details to the cheatsheat for FollowBot MRF
Mark Felder [Wed, 24 Feb 2021 18:02:33 +0000 (12:02 -0600)]
Add more details to the cheatsheat for FollowBot MRF

3 years agoPrefer FollowBot naming convention vs Followbot
Mark Felder [Wed, 24 Feb 2021 17:59:11 +0000 (11:59 -0600)]
Prefer FollowBot naming convention vs Followbot

3 years agoDocument new FollowBot MRF
Mark Felder [Wed, 24 Feb 2021 17:58:09 +0000 (11:58 -0600)]
Document new FollowBot MRF

3 years agoMore tests to validate Followbot is behaving
Mark Felder [Wed, 24 Feb 2021 17:52:03 +0000 (11:52 -0600)]
More tests to validate Followbot is behaving

3 years agoRemove Task.async as it is broken here and probably a premature optimization anyway
Mark Felder [Sat, 20 Feb 2021 00:36:35 +0000 (18:36 -0600)]
Remove Task.async as it is broken here and probably a premature optimization anyway

3 years agoOnly need to validate a follow request is generated for now
Mark Felder [Sat, 20 Feb 2021 00:36:21 +0000 (18:36 -0600)]
Only need to validate a follow request is generated for now

3 years agoRevert
Mark Felder [Sat, 20 Feb 2021 00:34:52 +0000 (18:34 -0600)]
Revert