akkoma
4 years agotimeline controller: add a TODO for replacing copypaste with a macro
rinpatch [Sat, 29 Feb 2020 23:03:46 +0000 (02:03 +0300)]
timeline controller: add a TODO for replacing copypaste with a macro

4 years agochangelog: entries for timeline DoS fixes
rinpatch [Fri, 28 Feb 2020 14:59:16 +0000 (17:59 +0300)]
changelog: entries for timeline DoS fixes

4 years agotimeline controller: rate limit timelines to 3 requests per 500ms per timeline per...
rinpatch [Fri, 28 Feb 2020 14:44:59 +0000 (17:44 +0300)]
timeline controller: rate limit timelines to 3 requests per 500ms per timeline per ip/user

4 years agorate limiter: Fix a race condition
rinpatch [Fri, 28 Feb 2020 14:35:01 +0000 (17:35 +0300)]
rate limiter: Fix a race condition

When multiple requests are processed by rate limiter plug at the same
time and the bucket is not yet initialized, both would try to initialize
the bucket resulting in an internal server error.

4 years agopagination: limit the number of elements returned at one time to 40
rinpatch [Fri, 28 Feb 2020 14:29:53 +0000 (17:29 +0300)]
pagination: limit the number of elements returned at one time to 40

4 years agoMerge branch 'rate-limiter-runtime-settings' into 'develop'
rinpatch [Sat, 29 Feb 2020 21:52:33 +0000 (21:52 +0000)]
Merge branch 'rate-limiter-runtime-settings' into 'develop'

RateLimiter improvements: runtime configurability, no default limits in tests

See merge request pleroma/pleroma!2250

4 years ago[#2250] Tiny refactoring per merge request review.
Ivan Tashkinov [Sat, 29 Feb 2020 19:04:09 +0000 (22:04 +0300)]
[#2250] Tiny refactoring per merge request review.

4 years agoMerge branch 'chore/update-cachex' into 'develop'
rinpatch [Sat, 29 Feb 2020 17:58:48 +0000 (17:58 +0000)]
Merge branch 'chore/update-cachex' into 'develop'

deps: update cachex to 3.2.0

See merge request pleroma/pleroma!2259

4 years agodeps: update cachex to 3.2.0
rinpatch [Sat, 29 Feb 2020 17:40:23 +0000 (20:40 +0300)]
deps: update cachex to 3.2.0

4 years agoMerge branch 'mastofe/bundle-2020-01-20' into 'develop'
rinpatch [Sat, 29 Feb 2020 16:31:31 +0000 (16:31 +0000)]
Merge branch 'mastofe/bundle-2020-01-20' into 'develop'

MastoFE: Bundle 2020-01-20

See merge request pleroma/pleroma!2257

4 years agoMerge branch 'descriptions-changes' into 'develop'
Haelwenn [Sat, 29 Feb 2020 11:29:45 +0000 (11:29 +0000)]
Merge branch 'descriptions-changes' into 'develop'

Adding streamer group & Oban crontab child to descriptions.exs

Closes #1592

See merge request pleroma/pleroma!2258

4 years agostreamer group & Oban crontab child
Alexander Strizhakov [Sat, 29 Feb 2020 08:24:30 +0000 (11:24 +0300)]
streamer group & Oban crontab child

4 years agoMastoFE: Bundle 2020-01-20
Haelwenn (lanodan) Monnier [Sat, 29 Feb 2020 05:41:13 +0000 (06:41 +0100)]
MastoFE: Bundle 2020-01-20

4 years agoMerge branch 'update/pleroma-fe-20200228' into 'develop'
feld [Fri, 28 Feb 2020 23:28:58 +0000 (23:28 +0000)]
Merge branch 'update/pleroma-fe-20200228' into 'develop'

Update PleromaFE bundle for the 2.0 release

See merge request pleroma/pleroma!2255

4 years agoMerge branch 'develop' into update/pleroma-fe-20200228
Mark Felder [Fri, 28 Feb 2020 22:18:09 +0000 (16:18 -0600)]
Merge branch 'develop' into update/pleroma-fe-20200228

4 years agoUpdate PleromaFE bundle for the 2.0 release
Mark Felder [Fri, 28 Feb 2020 22:15:12 +0000 (16:15 -0600)]
Update PleromaFE bundle for the 2.0 release

4 years agoMerge branch 'update/admin-fe-20200228' into 'develop'
feld [Fri, 28 Feb 2020 18:40:22 +0000 (18:40 +0000)]
Merge branch 'update/admin-fe-20200228' into 'develop'

Update AdminFE build

See merge request pleroma/pleroma!2254

4 years agoUpdate AdminFE build
Mark Felder [Fri, 28 Feb 2020 18:32:44 +0000 (12:32 -0600)]
Update AdminFE build

- Removed Grouped Reports; API needs proper architecture/refactor
- Cannot set Tesla adapter in AdminFE as it's not safe yet
- Layout/rendering improvements

4 years agoApply suggestion to lib/pleroma/plugs/rate_limiter/rate_limiter.ex
Ivan Tashkinov [Fri, 28 Feb 2020 13:33:42 +0000 (13:33 +0000)]
Apply suggestion to lib/pleroma/plugs/rate_limiter/rate_limiter.ex

4 years agoMerge branch 'filtered-params' into 'develop'
Haelwenn [Fri, 28 Feb 2020 04:27:50 +0000 (04:27 +0000)]
Merge branch 'filtered-params' into 'develop'

add confirm field to filtered params

See merge request pleroma/pleroma!2251

4 years agoadd confirm field to filtered params
Steven Fuchs [Fri, 28 Feb 2020 04:27:50 +0000 (04:27 +0000)]
add confirm field to filtered params

4 years agoMerge branch 'descriptions-changes' into 'develop'
feld [Thu, 27 Feb 2020 18:11:26 +0000 (18:11 +0000)]
Merge branch 'descriptions-changes' into 'develop'

Removing unnecessary groups from descriptions.exs

See merge request pleroma/pleroma!2247

4 years agoMerge branch 'admin-status-list' into 'develop'
feld [Thu, 27 Feb 2020 18:11:04 +0000 (18:11 +0000)]
Merge branch 'admin-status-list' into 'develop'

Admin API: `/api/pleroma/admin/statuses` (accepts `godmode` and `local_only`)

Closes #1550

See merge request pleroma/pleroma!2192

4 years agoMerge branch 'exclude-boosts-admin-api' into 'develop'
feld [Thu, 27 Feb 2020 18:09:19 +0000 (18:09 +0000)]
Merge branch 'exclude-boosts-admin-api' into 'develop'

Admin API: filter out boosts from recent statuses

Closes #1589

See merge request pleroma/pleroma!2248

4 years agoRuntime configurability of RateLimiter. Refactoring. Disabled default rate limits...
Ivan Tashkinov [Thu, 27 Feb 2020 15:46:05 +0000 (18:46 +0300)]
Runtime configurability of RateLimiter. Refactoring. Disabled default rate limits in tests.

4 years agoAdmin API: Exclude boosts from `GET /api/pleroma/admin/users/:nickname/statuses`...
eugenijm [Wed, 26 Feb 2020 11:47:19 +0000 (14:47 +0300)]
Admin API: Exclude boosts from `GET /api/pleroma/admin/users/:nickname/statuses` and `GET /api/pleroma/admin/instance/:instance/statuses`

4 years agoAdmin API: `GET /api/pleroma/admin/statuses` - list all statuses (accepts `godmode...
eugenijm [Mon, 10 Feb 2020 11:32:38 +0000 (14:32 +0300)]
Admin API: `GET /api/pleroma/admin/statuses` - list all statuses (accepts `godmode` and `local_only`)

4 years agounnecessary groups
Alexander Strizhakov [Wed, 26 Feb 2020 16:50:07 +0000 (19:50 +0300)]
unnecessary groups

4 years agoMerge branch 'feat/instance-gen-improvements' into 'develop'
lain [Wed, 26 Feb 2020 08:26:16 +0000 (08:26 +0000)]
Merge branch 'feat/instance-gen-improvements' into 'develop'

small instance.gen task improvements

See merge request pleroma/pleroma!2245

4 years agoinstance.gen task: make example instance name less confusing
rinpatch [Tue, 25 Feb 2020 21:32:34 +0000 (00:32 +0300)]
instance.gen task: make example instance name less confusing

See https://git.pleroma.social/pleroma/pleroma/merge_requests/2245#note_52217

4 years agoinstance.gen task: remind to transfer the config to the database after
rinpatch [Tue, 25 Feb 2020 19:13:08 +0000 (22:13 +0300)]
instance.gen task: remind to transfer the config to the database after
migrations

4 years agoinstance.gen task: make instance name default to the domain
rinpatch [Tue, 25 Feb 2020 18:59:37 +0000 (21:59 +0300)]
instance.gen task: make instance name default to the domain

4 years agoMerge branch 'fix/dialyzer-warnings' into 'develop'
rinpatch [Tue, 25 Feb 2020 18:56:37 +0000 (18:56 +0000)]
Merge branch 'fix/dialyzer-warnings' into 'develop'

Fix Dialyzer warnings

See merge request pleroma/pleroma!2242

4 years agoMerge branch 'merge/admin-fe-20200225' into 'develop'
feld [Tue, 25 Feb 2020 17:14:54 +0000 (17:14 +0000)]
Merge branch 'merge/admin-fe-20200225' into 'develop'

Update AdminFE build

See merge request pleroma/pleroma!2244

4 years agoUpdate AdminFE build
Mark Felder [Tue, 25 Feb 2020 17:08:35 +0000 (11:08 -0600)]
Update AdminFE build

4 years agoMerge branch 'token-web-push-test' into 'develop'
feld [Tue, 25 Feb 2020 16:06:06 +0000 (16:06 +0000)]
Merge branch 'token-web-push-test' into 'develop'

Add a test to ensure OAuth tokens are tied to Push subscriptions

Closes #1551

See merge request pleroma/pleroma!2241

4 years agoFix Dialyzer warnings
Egor Kislitsyn [Tue, 25 Feb 2020 14:34:56 +0000 (18:34 +0400)]
Fix Dialyzer warnings

4 years agoAdd a test to ensure OAuth tokens are tied to Push subscriptions
Egor Kislitsyn [Tue, 25 Feb 2020 14:04:28 +0000 (18:04 +0400)]
Add a test to ensure OAuth tokens are tied to Push subscriptions

4 years agoMerge branch 'test-fix' into 'develop'
lain [Tue, 25 Feb 2020 12:26:39 +0000 (12:26 +0000)]
Merge branch 'test-fix' into 'develop'

Compile fix in tests

See merge request pleroma/pleroma!2239

4 years agocompile fix
Alexander Strizhakov [Tue, 25 Feb 2020 12:19:52 +0000 (15:19 +0300)]
compile fix

4 years agoMerge branch 'fix/instance-gen-custom-static' into 'develop'
rinpatch [Mon, 24 Feb 2020 20:52:10 +0000 (20:52 +0000)]
Merge branch 'fix/instance-gen-custom-static' into 'develop'

instance.gen task: fix crash when using custom static directory

Closes #1082

See merge request pleroma/pleroma!2237

4 years agoinstance.gen task: fix crash when using custom static directory
rinpatch [Mon, 24 Feb 2020 19:52:38 +0000 (22:52 +0300)]
instance.gen task: fix crash when using custom static directory

Closes #1082

4 years agoMerge branch 'status-visibility-count-stats' into 'develop'
Haelwenn [Mon, 24 Feb 2020 19:21:29 +0000 (19:21 +0000)]
Merge branch 'status-visibility-count-stats' into 'develop'

Status count by visibility scope (`GET /api/pleroma/admin/stats` )

See merge request pleroma/pleroma!2097

4 years agoAdmin API: `GET /api/pleroma/admin/stats` to get status count by visibility scope
eugenijm [Thu, 9 Jan 2020 19:18:55 +0000 (22:18 +0300)]
Admin API: `GET /api/pleroma/admin/stats` to get status count by visibility scope

4 years agoMerge branch 'theming_your_instance' into 'develop'
lain [Mon, 24 Feb 2020 17:48:18 +0000 (17:48 +0000)]
Merge branch 'theming_your_instance' into 'develop'

DOCS Theming your instance

See merge request pleroma/pleroma!2232

4 years agoDOCS Theming your instance
Ilja [Mon, 24 Feb 2020 17:48:18 +0000 (17:48 +0000)]
DOCS Theming your instance

I added a new file to explain
* where a custom theme can be created
* where themes can be downloaded
* where to add the theme on the server
* how to make the theme available on the instance
* how to set the theme as default on the instance

4 years agoMerge branch 'bugfix/captcha-nil-answer_data' into 'develop'
lain [Mon, 24 Feb 2020 14:54:22 +0000 (14:54 +0000)]
Merge branch 'bugfix/captcha-nil-answer_data' into 'develop'

Bugfix: return invalid when answer_data is nil

Closes #1585

See merge request pleroma/pleroma!2236

4 years agoMerge branch '1505-threads-federation' into 'develop'
Haelwenn [Mon, 24 Feb 2020 07:28:35 +0000 (07:28 +0000)]
Merge branch '1505-threads-federation' into 'develop'

[#1505] Threads / replies federation

Closes #1505

See merge request pleroma/pleroma!2129

4 years agoCaptcha: return invalid when answer_data is nil
Haelwenn (lanodan) Monnier [Mon, 24 Feb 2020 01:41:48 +0000 (02:41 +0100)]
Captcha: return invalid when answer_data is nil

4 years agocaptcha_test.exs: Use the same testing logic in Kocaptcha and native
Haelwenn (lanodan) Monnier [Mon, 24 Feb 2020 00:27:16 +0000 (01:27 +0100)]
captcha_test.exs: Use the same testing logic in Kocaptcha and native

4 years agoMerge branch 'fix/missing-config-settings' into 'develop'
feld [Sat, 22 Feb 2020 15:35:33 +0000 (15:35 +0000)]
Merge branch 'fix/missing-config-settings' into 'develop'

Add missing invites_enabled and account_activation_required settings

See merge request pleroma/pleroma!2234

4 years agoAdd missing invites_enabled and account_activation_required settings
Mark Felder [Sat, 22 Feb 2020 15:29:05 +0000 (09:29 -0600)]
Add missing invites_enabled and account_activation_required settings

4 years agoMerge remote-tracking branch 'remotes/origin/develop' into 1505-threads-federation
Ivan Tashkinov [Sat, 22 Feb 2020 06:31:43 +0000 (09:31 +0300)]
Merge remote-tracking branch 'remotes/origin/develop' into 1505-threads-federation

# Conflicts:
# CHANGELOG.md
# config/config.exs

4 years agoMerge branch 'patch-1' into 'develop'
lain [Fri, 21 Feb 2020 19:34:45 +0000 (19:34 +0000)]
Merge branch 'patch-1' into 'develop'

added why doing a vacuum after restoring a backup is so important

See merge request pleroma/pleroma!2230

4 years agoadded why doing a vacuum after restoring a backup is so important
Igeljäger [Fri, 21 Feb 2020 15:30:52 +0000 (15:30 +0000)]
added why doing a vacuum after restoring a backup is so important

4 years agoMerge branch 'migration-fixes-20' into 'develop'
Haelwenn [Thu, 20 Feb 2020 23:53:52 +0000 (23:53 +0000)]
Merge branch 'migration-fixes-20' into 'develop'

Migrations: Make them not fail for old databases

See merge request pleroma/pleroma!2227

4 years agoMerge branch 'fix/gin-fuzzy' into 'develop'
Haelwenn [Thu, 20 Feb 2020 23:52:45 +0000 (23:52 +0000)]
Merge branch 'fix/gin-fuzzy' into 'develop'

Improve GIN full text search performance

See merge request pleroma/pleroma!2228

4 years agoMerge branch 'single_emoji_reaction' into 'develop'
Haelwenn [Thu, 20 Feb 2020 23:50:40 +0000 (23:50 +0000)]
Merge branch 'single_emoji_reaction' into 'develop'

Single emoji reaction

Closes #1578

See merge request pleroma/pleroma!2226

4 years agoApply database session parameter to improve GIN full text search
Mark Felder [Thu, 20 Feb 2020 21:34:10 +0000 (15:34 -0600)]
Apply database session parameter to improve GIN full text search

4 years agoMigrations: Make them not fail for old databases
lain [Thu, 20 Feb 2020 15:44:31 +0000 (16:44 +0100)]
Migrations: Make them not fail for old databases

4 years ago[#1505] Typo fix.
Ivan Tashkinov [Thu, 20 Feb 2020 12:18:28 +0000 (15:18 +0300)]
[#1505] Typo fix.

4 years agoMerge branch 'require-signature' into 'develop'
lain [Thu, 20 Feb 2020 12:13:21 +0000 (12:13 +0000)]
Merge branch 'require-signature' into 'develop'

Add an option to require fetches to be signed

Closes #1444

See merge request pleroma/pleroma!2071

4 years agoMerge branch 'features/remote-follow-userpage-redirect' into 'develop'
lain [Thu, 20 Feb 2020 12:04:29 +0000 (12:04 +0000)]
Merge branch 'features/remote-follow-userpage-redirect' into 'develop'

remote_follow_controller.ex: Redirect to the user page on success

Closes #1245

See merge request pleroma/pleroma!2123

4 years agoMerge branch 'docs_updating' into 'develop'
lain [Thu, 20 Feb 2020 12:03:21 +0000 (12:03 +0000)]
Merge branch 'docs_updating' into 'develop'

DOCS Add OTP to updating.md

See merge request pleroma/pleroma!2108

4 years agoMerge remote-tracking branch 'remotes/origin/develop' into 1505-threads-federation
Ivan Tashkinov [Thu, 20 Feb 2020 12:00:48 +0000 (15:00 +0300)]
Merge remote-tracking branch 'remotes/origin/develop' into 1505-threads-federation

# Conflicts:
# config/config.exs

4 years agoMerge branch 'feature/new-registrations-digest' into 'develop'
lain [Thu, 20 Feb 2020 11:58:37 +0000 (11:58 +0000)]
Merge branch 'feature/new-registrations-digest' into 'develop'

New users digest email

Closes #1514

See merge request pleroma/pleroma!2128

4 years ago[#1505] Fixed @spec for Queries.by_object_in_reply_to_id/3
Ivan Tashkinov [Thu, 20 Feb 2020 11:48:46 +0000 (14:48 +0300)]
[#1505] Fixed @spec for Queries.by_object_in_reply_to_id/3

4 years agoMerge branch 'tests-clear-config-tweaks' into 'develop'
lain [Thu, 20 Feb 2020 11:36:48 +0000 (11:36 +0000)]
Merge branch 'tests-clear-config-tweaks' into 'develop'

Tweaks to `clear_config` calls in tests

See merge request pleroma/pleroma!2209

4 years agoEmoji Reactions: Add documentation
lain [Wed, 19 Feb 2020 16:17:05 +0000 (17:17 +0100)]
Emoji Reactions: Add documentation

4 years agoPleroma API: Add endpoint to get reaction information on a single emoji
lain [Wed, 19 Feb 2020 16:16:45 +0000 (17:16 +0100)]
Pleroma API: Add endpoint to get reaction information on a single emoji

4 years agoMerge branch 'fix/mrf-sample-doc' into 'develop'
feld [Tue, 18 Feb 2020 21:03:01 +0000 (21:03 +0000)]
Merge branch 'fix/mrf-sample-doc' into 'develop'

Update MRF docs, make sample code actually compile

See merge request pleroma/pleroma!2210

4 years agoMerge branch 'develop' into 'fix/mrf-sample-doc'
feld [Tue, 18 Feb 2020 20:58:15 +0000 (20:58 +0000)]
Merge branch 'develop' into 'fix/mrf-sample-doc'

# Conflicts:
#   docs/configuration/mrf.md

4 years agoMerge branch 'fix/mrf-docs' into 'develop'
feld [Tue, 18 Feb 2020 20:57:23 +0000 (20:57 +0000)]
Merge branch 'fix/mrf-docs' into 'develop'

Fix MRF documentation

See merge request pleroma/pleroma!2187

4 years agoMerge branch 'chore/config-descriptions' into 'develop'
feld [Tue, 18 Feb 2020 20:45:31 +0000 (20:45 +0000)]
Merge branch 'chore/config-descriptions' into 'develop'

Additional config description improvements

See merge request pleroma/pleroma!2207

4 years agoMerge branch 'fix/status-view/expires_at' into 'develop'
lain [Tue, 18 Feb 2020 14:56:59 +0000 (14:56 +0000)]
Merge branch 'fix/status-view/expires_at' into 'develop'

Fix `status.expires_at` type

Closes #1573

See merge request pleroma/pleroma!2222

4 years agoMerge remote-tracking branch 'remotes/origin/develop' into tests-clear-config-tweaks
Ivan Tashkinov [Tue, 18 Feb 2020 14:52:31 +0000 (17:52 +0300)]
Merge remote-tracking branch 'remotes/origin/develop' into tests-clear-config-tweaks

# Conflicts:
# test/web/admin_api/admin_api_controller_test.exs

4 years agoMerge remote-tracking branch 'remotes/origin/develop' into 1505-threads-federation
Ivan Tashkinov [Tue, 18 Feb 2020 14:46:09 +0000 (17:46 +0300)]
Merge remote-tracking branch 'remotes/origin/develop' into 1505-threads-federation

4 years agoMerge branch 'chore/standardize-mrf-behavior' into 'develop'
lain [Tue, 18 Feb 2020 14:36:10 +0000 (14:36 +0000)]
Merge branch 'chore/standardize-mrf-behavior' into 'develop'

Standardize @behaviour usage in MRFs

See merge request pleroma/pleroma!2212

4 years agoMerge branch 'need-reboot-flag' into 'develop'
lain [Tue, 18 Feb 2020 14:32:03 +0000 (14:32 +0000)]
Merge branch 'need-reboot-flag' into 'develop'

need_reboot flag for adminFE

See merge request pleroma/pleroma!2188

4 years agoAdd a test
Egor Kislitsyn [Tue, 18 Feb 2020 13:09:50 +0000 (17:09 +0400)]
Add a test

4 years agoMerge branch 'chore/floki-update' into 'develop'
lain [Tue, 18 Feb 2020 13:09:37 +0000 (13:09 +0000)]
Merge branch 'chore/floki-update' into 'develop'

Update floki to 0.25

See merge request pleroma/pleroma!2217

4 years agoFix `status.expires_at` type
Egor Kislitsyn [Tue, 18 Feb 2020 10:52:11 +0000 (14:52 +0400)]
Fix `status.expires_at` type

4 years agoMerge branch 'update/admin-fe-20200217' into 'develop'
feld [Mon, 17 Feb 2020 22:22:53 +0000 (22:22 +0000)]
Merge branch 'update/admin-fe-20200217' into 'develop'

Update adminFE build

See merge request pleroma/pleroma!2221

4 years agoUpdate adminFE build
Mark Felder [Mon, 17 Feb 2020 21:50:45 +0000 (15:50 -0600)]
Update adminFE build

4 years agoMerge branch 'develop' into chore/floki-update
Mark Felder [Mon, 17 Feb 2020 20:13:05 +0000 (14:13 -0600)]
Merge branch 'develop' into chore/floki-update

4 years agoMerge branch 'upgrade_crypto' into 'develop'
rinpatch [Mon, 17 Feb 2020 11:13:37 +0000 (11:13 +0000)]
Merge branch 'upgrade_crypto' into 'develop'

Update plug_crypto

See merge request pleroma/pleroma!2219

4 years agoUpdate plug_crypto
lain [Mon, 17 Feb 2020 10:41:14 +0000 (11:41 +0100)]
Update plug_crypto

4 years agoMerge branch 'feat/git-attributes-elixir' into 'develop'
rinpatch [Mon, 17 Feb 2020 10:34:32 +0000 (10:34 +0000)]
Merge branch 'feat/git-attributes-elixir' into 'develop'

.gitattributes: use native support for elixir definitions

See merge request pleroma/pleroma!2218

4 years ago.gitattributes: use native support for elixir definitions
rinpatch [Mon, 17 Feb 2020 10:19:04 +0000 (13:19 +0300)]
.gitattributes: use native support for elixir definitions

see https://github.com/elixir-lang/elixir/pull/9823

4 years agoUse floki's new APIs for parsing fragments
rinpatch [Sat, 15 Feb 2020 22:55:26 +0000 (01:55 +0300)]
Use floki's new APIs for parsing fragments

4 years ago[#1505] Restricted max thread distance for fetching replies on incoming federation...
Ivan Tashkinov [Sat, 15 Feb 2020 17:41:38 +0000 (20:41 +0300)]
[#1505] Restricted max thread distance for fetching replies on incoming federation (in addition to reply-to depth restriction).

4 years agoMerge branch 'bugfix/link-preview-site_name' into 'develop'
lain [Sat, 15 Feb 2020 12:56:32 +0000 (12:56 +0000)]
Merge branch 'bugfix/link-preview-site_name' into 'develop'

MastodonAPI.StatusView: Do not use site_name

See merge request pleroma/pleroma!2216

4 years agoMastodonAPI.StatusView: Do not use site_name
Haelwenn (lanodan) Monnier [Fri, 14 Feb 2020 23:35:46 +0000 (00:35 +0100)]
MastodonAPI.StatusView: Do not use site_name

site_name allow to spoof the origin of the domain and so hacks like:

<!-- served on https://hacktivis.me/tmp/joinmastodon.org.html -->
<meta property="og:image" content="https://hacktivis.me/datalove/img/meme/pleroma/mastodon%2C%20forbidden%20amuse%20yourself.jpeg" />
<meta property="og:title" content="Mastodon: Forbidden Amuse Yourself" />
<meta property="og:site_name" content="joinmastodon.org" />
<meta http-equiv="refresh" content="0; url=http://joinmastodon.org/">

4 years agoMerge branch 'chores/deps-to-hexpm' into 'develop'
rinpatch [Fri, 14 Feb 2020 18:25:54 +0000 (18:25 +0000)]
Merge branch 'chores/deps-to-hexpm' into 'develop'

Move ex_syslogger & recon to hexpm, update dependencies

See merge request pleroma/pleroma!2213

4 years agoUpdate all dependencies
Haelwenn (lanodan) Monnier [Fri, 14 Feb 2020 18:15:59 +0000 (19:15 +0100)]
Update all dependencies

Upgraded:
  db_connection 2.2.0 => 2.2.1
  earmark 1.4.2 => 1.4.3
  ecto 3.3.1 => 3.3.3
  ecto_sql 3.3.2 => 3.3.4
  esshd 0.1.0 => 0.1.1
  ex_doc 0.21.2 => 0.21.3
  excoveralls 0.12.1 => 0.12.2
  gettext 0.17.1 => 0.17.4
  html_entities 0.5.0 => 0.5.1
  httpoison 1.6.1 => 1.6.2
  joken 2.1.0 => 2.2.0
  jose 1.9.0 => 1.10.1
  nimble_parsec 0.5.1 => 0.5.3
  phoenix 1.4.10 => 1.4.13
  phoenix_ecto 4.0.0 => 4.1.0
  phoenix_html 2.13.3 => 2.14.0
  plug_cowboy 2.1.0 => 2.1.2
  plug_crypto 1.1.0 => 1.1.1
  prometheus 4.4.1 => 4.5.0
  tesla 1.3.0 => 1.3.2

4 years agomix.exs: Move ex_syslogger and recon to hexpm
Haelwenn (lanodan) Monnier [Fri, 14 Feb 2020 18:08:37 +0000 (19:08 +0100)]
mix.exs: Move ex_syslogger and recon to hexpm

4 years agoMerge branch 'update/ferd/recon' into 'develop'
Haelwenn [Fri, 14 Feb 2020 17:58:26 +0000 (17:58 +0000)]
Merge branch 'update/ferd/recon' into 'develop'

Update ferd/recon

See merge request pleroma/pleroma!2211

4 years agoMerge branch 'fix/mrf-sample-doc' of git.pleroma.social:pleroma/pleroma into fix...
Mark Felder [Fri, 14 Feb 2020 17:06:04 +0000 (11:06 -0600)]
Merge branch 'fix/mrf-sample-doc' of git.pleroma.social:pleroma/pleroma into fix/mrf-sample-doc

4 years agoFix MRF docs further. I don't think anyone has actually tested with the old docs.
Mark Felder [Fri, 14 Feb 2020 17:04:27 +0000 (11:04 -0600)]
Fix MRF docs further. I don't think anyone has actually tested with the old docs.

4 years agoStandardize @behaviour usage in MRFs
Mark Felder [Fri, 14 Feb 2020 17:02:24 +0000 (11:02 -0600)]
Standardize @behaviour usage in MRFs