akkoma
4 years agoUploads: Sandbox them in the CSP.
lain [Wed, 15 Apr 2020 10:05:22 +0000 (12:05 +0200)]
Uploads: Sandbox them in the CSP.

4 years agoFix Oban not receiving :ok from RichMediaHelper job
Mark Felder [Tue, 14 Apr 2020 16:43:53 +0000 (11:43 -0500)]
Fix Oban not receiving :ok from RichMediaHelper job

4 years ago[#1682] Fixed Basic Auth permissions issue by disabling OAuth scopes checks when...
Ivan Tashkinov [Fri, 17 Apr 2020 18:21:10 +0000 (21:21 +0300)]
[#1682] Fixed Basic Auth permissions issue by disabling OAuth scopes checks when password is provided. Refactored plugs skipping functionality.

4 years agoMerge branch 'authenticated-api-oauth-check-enforcement' into 'develop'
rinpatch [Thu, 16 Apr 2020 21:58:57 +0000 (21:58 +0000)]
Merge branch 'authenticated-api-oauth-check-enforcement' into 'develop'

Enforcement of OAuth scopes check for authenticated API endpoints

See merge request pleroma/pleroma!2349

4 years agoMerge branch 'fix-object_age_policy' into 'develop'
lain [Mon, 20 Apr 2020 12:59:16 +0000 (12:59 +0000)]
Merge branch 'fix-object_age_policy' into 'develop'

Fix ObjectAgePolicy

See merge request pleroma/pleroma!2404

4 years agomix.exs: Do not bail out when .git doesn’t exists
Haelwenn (lanodan) Monnier [Sun, 19 Apr 2020 18:23:48 +0000 (20:23 +0200)]
mix.exs: Do not bail out when .git doesn’t exists

4 years agoMerge branch 'bugfix/1670-user-count' into 'develop'
Haelwenn [Wed, 22 Apr 2020 17:37:09 +0000 (17:37 +0000)]
Merge branch 'bugfix/1670-user-count' into 'develop'

Stats: Ignore internal users for user count.

Closes #1670

See merge request pleroma/pleroma!2414

4 years agoMerge branch 'fix/follow-and-blocks-import' into 'develop'
Haelwenn [Wed, 22 Apr 2020 15:46:04 +0000 (15:46 +0000)]
Merge branch 'fix/follow-and-blocks-import' into 'develop'

Fix follower/blocks import when nicknames starts with @

Closes #1698

See merge request pleroma/pleroma!2416

4 years agoCommonAPI: Don't make repeating announces possible
lain [Thu, 23 Apr 2020 11:33:30 +0000 (13:33 +0200)]
CommonAPI: Don't make repeating announces possible

4 years agoLet blob: pass CSP
Alex Gleason [Sun, 26 Apr 2020 05:28:57 +0000 (00:28 -0500)]
Let blob: pass CSP

4 years agoMastodon API: do not create a following relationship if the corresponding follow...
eugenijm [Mon, 27 Apr 2020 14:41:38 +0000 (17:41 +0300)]
Mastodon API: do not create a following relationship if the corresponding follow request doesn't exist when calling `POST /api/v1/follow_requests/:id/authorize`

4 years agoDeactivate local users on deletion instead of deleting the record
rinpatch [Wed, 29 Apr 2020 11:26:31 +0000 (14:26 +0300)]
Deactivate local users on deletion instead of deleting the record

Prevents the possibility of re-registration, which allowed to read
DMs of the deleted account.

Also includes a migration that tries to find any already deleted
accounts and insert skeletons for them.

Closes pleroma/pleroma#1687

4 years agoMerge branch 'release/2.0.2' into 'stable'
rinpatch [Wed, 8 Apr 2020 15:51:56 +0000 (15:51 +0000)]
Merge branch 'release/2.0.2' into 'stable'

2.0.2 Release

See merge request pleroma/pleroma!2336

4 years agopleroma-fe bundle: update to 8e049297ff6a125298ba9d06a3a4a563b231360f
rinpatch [Wed, 8 Apr 2020 13:24:45 +0000 (16:24 +0300)]
pleroma-fe bundle: update to 8e049297ff6a125298ba9d06a3a4a563b231360f

4 years agoCHANGELOG.md: update 2.0.2 release date
rinpatch [Tue, 7 Apr 2020 21:39:55 +0000 (00:39 +0300)]
CHANGELOG.md: update 2.0.2 release date

4 years agoCHANGELOG.md: add 2.0.2 update notes
rinpatch [Tue, 7 Apr 2020 21:38:48 +0000 (00:38 +0300)]
CHANGELOG.md: add 2.0.2 update notes

4 years agoUpdate AdminFE build in preparation for Pleroma 2.0.2
Mark Felder [Tue, 31 Mar 2020 18:05:16 +0000 (13:05 -0500)]
Update AdminFE build in preparation for Pleroma 2.0.2

4 years agoMerge branch 'fix-auto-link-for-profile-fields' into 'develop'
rinpatch [Tue, 7 Apr 2020 11:41:10 +0000 (11:41 +0000)]
Merge branch 'fix-auto-link-for-profile-fields' into 'develop'

Use Pleroma.Formatter.linkify/2 instead

See merge request pleroma/pleroma!2352

4 years agoCHANGELOG.md: add entries for funkwhale-related changes
rinpatch [Thu, 2 Apr 2020 20:37:14 +0000 (23:37 +0300)]
CHANGELOG.md: add entries for funkwhale-related changes

4 years agoMerge branch 'bugfix/earmark_renderer_test' into 'develop'
rinpatch [Sun, 15 Mar 2020 20:04:31 +0000 (20:04 +0000)]
Merge branch 'bugfix/earmark_renderer_test' into 'develop'

test/earmark_renderer_test.exs: Rename from test/earmark_renderer_test.ex

See merge request pleroma/pleroma!2300

4 years agoMerge branch 'feature/funkwhale-audio' into 'develop'
Haelwenn [Sun, 29 Mar 2020 19:18:22 +0000 (19:18 +0000)]
Merge branch 'feature/funkwhale-audio' into 'develop'

Add support for funkwhale Audio activity

Closes #764 and #1624

See merge request pleroma/pleroma!2287

4 years agoMerge branch 'bugfix/funkwhale-channel' into 'develop'
Haelwenn [Tue, 31 Mar 2020 22:04:02 +0000 (22:04 +0000)]
Merge branch 'bugfix/funkwhale-channel' into 'develop'

Fix profile url for funkwhale channels, removes one source_data use

Closes #1653

See merge request pleroma/pleroma!2333

4 years agoMerge branch 'fix-testing' into 'develop'
lain [Thu, 19 Mar 2020 18:10:39 +0000 (18:10 +0000)]
Merge branch 'fix-testing' into 'develop'

Fix CI by temporarily removing federated testing

See merge request pleroma/pleroma!2314

4 years agomix.exs bump version to 2.0.2
rinpatch [Tue, 31 Mar 2020 11:02:51 +0000 (14:02 +0300)]
mix.exs bump version to 2.0.2

4 years agoCHANGELOG.md: Add 2.0.2 entry
rinpatch [Tue, 31 Mar 2020 10:59:26 +0000 (13:59 +0300)]
CHANGELOG.md: Add 2.0.2 entry

4 years agoMerge branch 'docs/mrf_object_age' into 'develop'
Haelwenn [Mon, 16 Mar 2020 17:42:10 +0000 (17:42 +0000)]
Merge branch 'docs/mrf_object_age' into 'develop'

Improve documentation of mrf_object_age

See merge request pleroma/pleroma!2305

4 years agoMerge branch 'fix/ecto_ssl_option' into 'develop'
rinpatch [Sun, 22 Mar 2020 14:32:40 +0000 (14:32 +0000)]
Merge branch 'fix/ecto_ssl_option' into 'develop'

Fix ssl option on Ecto config breaking release

See merge request pleroma/pleroma!2307

4 years agoMerge branch 'bugfix/profile-bio-newline' into 'develop'
rinpatch [Mon, 23 Mar 2020 19:32:01 +0000 (19:32 +0000)]
Merge branch 'bugfix/profile-bio-newline' into 'develop'

AccountView: fix for other forms of <br> in bio

Closes #1643

See merge request pleroma/pleroma!2322

4 years agoMerge branch 'admin-api-change-password' into 'develop'
lain [Tue, 24 Mar 2020 17:34:13 +0000 (17:34 +0000)]
Merge branch 'admin-api-change-password' into 'develop'

Admin API: `PATCH /api/pleroma/admin/users/:nickname/update_credentials`

See merge request pleroma/pleroma!2149

4 years agoMerge branch 'fix/activity-deletion' into 'develop'
feld [Tue, 24 Mar 2020 19:10:32 +0000 (19:10 +0000)]
Merge branch 'fix/activity-deletion' into 'develop'

Fix activity deletion

Closes #1640

See merge request pleroma/pleroma!2328

4 years agoMerge branch '1364-notifications-sending-control' into 'develop'
rinpatch [Wed, 25 Mar 2020 18:00:24 +0000 (18:00 +0000)]
Merge branch '1364-notifications-sending-control' into 'develop'

[#1364] Ability to opt-out of notifications (in all clients)

Closes #1364

See merge request pleroma/pleroma!2301

4 years agoMerge branch 'release/2.0.1' into 'stable'
rinpatch [Sun, 15 Mar 2020 21:54:24 +0000 (21:54 +0000)]
Merge branch 'release/2.0.1' into 'stable'

2.0.1 release

See merge request pleroma/pleroma!2298

4 years agoCHANGELOG.md: Add upgrade notes for 2.0.1
rinpatch [Sun, 15 Mar 2020 21:50:03 +0000 (00:50 +0300)]
CHANGELOG.md: Add upgrade notes for 2.0.1

4 years agoCHANGELOG.md: Add remaining entries for 2.0.1
rinpatch [Sun, 15 Mar 2020 21:18:16 +0000 (00:18 +0300)]
CHANGELOG.md: Add remaining entries for 2.0.1

4 years agostatic-fe tests: fix to work on stable
rinpatch [Sun, 15 Mar 2020 21:17:28 +0000 (00:17 +0300)]
static-fe tests: fix to work on stable

4 years agorate limiter: disable based on if remote ip was found, not on if the plug was enabled
rinpatch [Fri, 13 Mar 2020 18:15:42 +0000 (21:15 +0300)]
rate limiter: disable based on if remote ip was found, not on if the plug was enabled

The current rate limiter disable logic won't trigger when the remote ip
is not forwarded, only when the remoteip plug is not enabled, which is
not the case on most instances since it's enabled by default. This
changes the behavior to warn and disable  when the remote ip was not forwarded,
even if the RemoteIP plug is enabled.

Also closes #1620

4 years agorip out fetch_initial_posts
rinpatch [Sat, 14 Mar 2020 12:39:58 +0000 (15:39 +0300)]
rip out fetch_initial_posts

Every time someone tries to use it, it goes mad and tries to scrape the
entire fediverse for no visible reason, it's better to just remove it
than continue shipping it in it's current state.

idea acked by lain and feld on irc

Closes #1595 #1422

4 years agoMerge branch 'features/staticfe-sanitization' into 'develop'
rinpatch [Sun, 15 Mar 2020 19:53:52 +0000 (19:53 +0000)]
Merge branch 'features/staticfe-sanitization' into 'develop'

static_fe: Sanitize HTML

Closes #1614

See merge request pleroma/pleroma!2299

4 years agochangelog.md: add 2.0.1 entry
rinpatch [Sun, 15 Mar 2020 14:26:58 +0000 (17:26 +0300)]
changelog.md: add 2.0.1 entry

4 years agopleroma_api_controller.ex: Improve conversations error reporting
Haelwenn (lanodan) Monnier [Mon, 2 Mar 2020 03:23:29 +0000 (04:23 +0100)]
pleroma_api_controller.ex: Improve conversations error reporting

Related: https://git.pleroma.social/pleroma/pleroma/issues/1594

4 years agoUpdate AdminFE
Mark Felder [Thu, 12 Mar 2020 20:12:29 +0000 (15:12 -0500)]
Update AdminFE

4 years agoMerge branch 'fix/cache-control-headers' into 'develop'
rinpatch [Sat, 14 Mar 2020 11:19:42 +0000 (11:19 +0000)]
Merge branch 'fix/cache-control-headers' into 'develop'

Fix Cache Control headers on media

See merge request pleroma/pleroma!2295

4 years agoauth_controller.ex: Add admin scope to MastoFE
Haelwenn (lanodan) Monnier [Sat, 29 Feb 2020 00:23:36 +0000 (01:23 +0100)]
auth_controller.ex: Add admin scope to MastoFE

Related: https://git.pleroma.social/pleroma/pleroma/issues/1265

4 years agopleroma_api.md: direct_conversation_id vs. conversation_id
Haelwenn (lanodan) Monnier [Mon, 2 Mar 2020 03:01:37 +0000 (04:01 +0100)]
pleroma_api.md: direct_conversation_id vs. conversation_id

Related: https://git.pleroma.social/pleroma/pleroma/issues/1594

4 years agoFix hashtags WebSocket streaming
Egor Kislitsyn [Fri, 13 Mar 2020 15:30:42 +0000 (19:30 +0400)]
Fix hashtags WebSocket streaming

4 years agoFix static FE plug to handle missing Accept header.
Phil Hagelberg [Sun, 1 Mar 2020 02:53:49 +0000 (18:53 -0800)]
Fix static FE plug to handle missing Accept header.

4 years agoFormatting: Do not use \n and prefer <br> instead
Haelwenn (lanodan) Monnier [Thu, 13 Feb 2020 02:39:47 +0000 (03:39 +0100)]
Formatting: Do not use \n and prefer <br> instead

It moves bbcode to bbcode_pleroma as the former is owned by kaniini
and transfering ownership wasn't done in a timely manner.

Closes: https://git.pleroma.social/pleroma/pleroma/issues/1374
Closes: https://git.pleroma.social/pleroma/pleroma/issues/1375
4 years agoRevert "Set better Cache-Control header for static content"
rinpatch [Wed, 11 Mar 2020 14:58:25 +0000 (17:58 +0300)]
Revert "Set better Cache-Control header for static content"

On furher investigation it seems like all that did was cause unintuitive
behavior. The emoji request flood that was the reason for introducing it
isn't really that big of a deal either, since Plug.Static only needs to
read file modification time and size to determine the ETag.

Closes #1613

4 years agoMerge branch 'docs/new_user' into 'develop'
rinpatch [Wed, 11 Mar 2020 20:26:50 +0000 (20:26 +0000)]
Merge branch 'docs/new_user' into 'develop'

CLI_tasks/user.md: Fix `pleroma.user new` documentation

Closes #1621

See merge request pleroma/pleroma!2286

4 years agoMerge branch 'fix/signup-without-email' into 'develop'
feld [Wed, 11 Mar 2020 16:53:05 +0000 (16:53 +0000)]
Merge branch 'fix/signup-without-email' into 'develop'

Allow account registration without an email

See merge request pleroma/pleroma!2246

4 years agoinstallation/otp_en.md: Fix pleroma.nginx target [deb]
Haelwenn (lanodan) Monnier [Tue, 10 Mar 2020 10:49:02 +0000 (11:49 +0100)]
installation/otp_en.md: Fix pleroma.nginx target [deb]

Needs to be backported to stable.

Related: https://git.pleroma.social/pleroma/pleroma-support/issues/29

4 years agoFix enforcement of character limits
Mark Felder [Tue, 10 Mar 2020 18:08:00 +0000 (13:08 -0500)]
Fix enforcement of character limits

4 years agoMerge branch 'fix/1610-release-compilation-config-fix' into 'develop'
rinpatch [Wed, 11 Mar 2020 15:16:18 +0000 (15:16 +0000)]
Merge branch 'fix/1610-release-compilation-config-fix' into 'develop'

Merging default release config on app start

Closes #1610

See merge request pleroma/pleroma!2288

4 years agorelay list shows hosts without accepted follow
Alexander Strizhakov [Tue, 25 Feb 2020 13:21:48 +0000 (16:21 +0300)]
relay list shows hosts without accepted follow

4 years agostatic-fe.css: Restore from before a65ee8ea
Haelwenn (lanodan) Monnier [Wed, 11 Mar 2020 05:35:18 +0000 (06:35 +0100)]
static-fe.css: Restore from before a65ee8ea

Related: https://git.pleroma.social/pleroma/pleroma/issues/1616

4 years agomix.exs: bump version to 2.0.1
rinpatch [Sun, 15 Mar 2020 13:54:27 +0000 (16:54 +0300)]
mix.exs: bump version to 2.0.1

4 years agoMerge branch 'release/2.0.0' into 'stable'
rinpatch [Sun, 8 Mar 2020 10:38:35 +0000 (10:38 +0000)]
Merge branch 'release/2.0.0' into 'stable'

Release/2.0.0

See merge request pleroma/pleroma!2273

4 years agopleroma-fe bundle: update to 38455294120a27d254b6cbe237a1adcf9d27e6af
rinpatch [Sat, 7 Mar 2020 15:18:43 +0000 (18:18 +0300)]
pleroma-fe bundle: update to 38455294120a27d254b6cbe237a1adcf9d27e6af

4 years agoMerge branch 'fix/moderation-log-crashes' into 'release/2.0.0'
rinpatch [Sat, 7 Mar 2020 14:45:00 +0000 (14:45 +0000)]
Merge branch 'fix/moderation-log-crashes' into 'release/2.0.0'

moderation log: fix improperly migrated data

See merge request pleroma/pleroma!2277

4 years agomoderation log: fix improperly migrated data
rinpatch [Sat, 7 Mar 2020 10:51:28 +0000 (13:51 +0300)]
moderation log: fix improperly migrated data

Some of the actions used to have a user map as a subject, which was then
changed to an array of user maps. However instead of migrating old data
there was just a hack to transform it every time, moreover this hack
didn't include all possible actions, which resulted in crashes. This
commit fixes the crashes by introducing a proper database migration for old data.

Closes #1606

4 years agowait in mix task while pleroma is rebooted
Alexander Strizhakov [Tue, 18 Feb 2020 15:10:39 +0000 (18:10 +0300)]
wait in mix task while pleroma is rebooted

4 years agoMerge branch 'update/adminfe-2.0.0-release' into 'release/2.0.0'
rinpatch [Fri, 6 Mar 2020 20:23:39 +0000 (20:23 +0000)]
Merge branch 'update/adminfe-2.0.0-release' into 'release/2.0.0'

Remove EmojiPacks from AdminFE build

See merge request pleroma/pleroma!2275

4 years agoRemove EmojiPacks from AdminFE build
Mark Felder [Fri, 6 Mar 2020 15:54:38 +0000 (09:54 -0600)]
Remove EmojiPacks from AdminFE build

Once more, with feeling

4 years agopleroma-fe bundle: update to 83d8343777050f6ee5fad09832b3878885eda4dd
rinpatch [Thu, 5 Mar 2020 20:41:47 +0000 (23:41 +0300)]
pleroma-fe bundle: update to 83d8343777050f6ee5fad09832b3878885eda4dd

4 years agoMerge branch 'stable' into release/2.0.0
rinpatch [Thu, 5 Mar 2020 19:38:38 +0000 (22:38 +0300)]
Merge branch 'stable' into release/2.0.0

4 years agoMerge branch 'stable' into release/2.0.0
rinpatch [Thu, 5 Mar 2020 19:36:35 +0000 (22:36 +0300)]
Merge branch 'stable' into release/2.0.0

4 years agoversion bump changelog and mix version
rinpatch [Thu, 5 Mar 2020 19:35:23 +0000 (22:35 +0300)]
version bump changelog and mix version

4 years agochangelog: sync with stable
rinpatch [Thu, 5 Mar 2020 19:28:37 +0000 (22:28 +0300)]
changelog: sync with stable

4 years agoMerge branch 'proper_error_messages' into 'develop'
lain [Thu, 5 Mar 2020 11:49:51 +0000 (11:49 +0000)]
Merge branch 'proper_error_messages' into 'develop'

MastodonController: Return 404 errors correctly.

See merge request pleroma/pleroma!2270

4 years agoAdmin API tests: Fix wrong test.
lain [Thu, 5 Mar 2020 11:42:02 +0000 (12:42 +0100)]
Admin API tests: Fix wrong test.

4 years agoMerge branch 'fix/stats-on-startup' into 'develop'
Haelwenn [Thu, 5 Mar 2020 07:25:23 +0000 (07:25 +0000)]
Merge branch 'fix/stats-on-startup' into 'develop'

Generate instance stats on startup

Closes #1598

See merge request pleroma/pleroma!2271

4 years agoDocument the instance stats fix
Mark Felder [Wed, 4 Mar 2020 19:41:04 +0000 (13:41 -0600)]
Document the instance stats fix

4 years agoGenerate instance stats on startup
Mark Felder [Wed, 4 Mar 2020 19:33:26 +0000 (13:33 -0600)]
Generate instance stats on startup

4 years agoMerge branch 'exclude-reblogs-from-admin-api-by-default' into 'develop'
feld [Wed, 4 Mar 2020 18:22:37 +0000 (18:22 +0000)]
Merge branch 'exclude-reblogs-from-admin-api-by-default' into 'develop'

Exclude reblogs from `GET /api/pleroma/admin/statuses` by default

Closes #1596

See merge request pleroma/pleroma!2267

4 years agoMastodonController: Return 404 errors correctly.
lain [Wed, 4 Mar 2020 17:09:06 +0000 (18:09 +0100)]
MastodonController: Return 404 errors correctly.

4 years agoMerge branch 'fix/no-email-no-fail' into 'develop'
lain [Wed, 4 Mar 2020 12:43:06 +0000 (12:43 +0000)]
Merge branch 'fix/no-email-no-fail' into 'develop'

Do not fail when user has no email

See merge request pleroma/pleroma!2249

4 years agoMerge branch 'chore/update-copyrights' into 'develop'
Haelwenn [Tue, 3 Mar 2020 23:15:12 +0000 (23:15 +0000)]
Merge branch 'chore/update-copyrights' into 'develop'

Update Copyrights

See merge request pleroma/pleroma!2269

4 years agoOlder copyright updates
Mark Felder [Tue, 3 Mar 2020 22:46:45 +0000 (16:46 -0600)]
Older copyright updates

4 years agoUpdate Copyrights
Mark Felder [Tue, 3 Mar 2020 22:44:49 +0000 (16:44 -0600)]
Update Copyrights

4 years agoMerge branch 'prepared-statements-settings' into 'develop'
lain [Mon, 2 Mar 2020 17:00:04 +0000 (17:00 +0000)]
Merge branch 'prepared-statements-settings' into 'develop'

Prepared statements settings

See merge request pleroma/pleroma!2238

4 years agoExclude reblogs from `GET /api/pleroma/admin/statuses` by default
eugenijm [Mon, 2 Mar 2020 13:47:30 +0000 (16:47 +0300)]
Exclude reblogs from `GET /api/pleroma/admin/statuses` by default

4 years agoMerge branch 'docs_cheatsheet_fix' into 'develop'
rinpatch [Mon, 2 Mar 2020 10:05:03 +0000 (10:05 +0000)]
Merge branch 'docs_cheatsheet_fix' into 'develop'

fix for :fetch_initial_posts

See merge request pleroma/pleroma!2266

4 years agofix for :fetch_initial_posts
ilja [Mon, 2 Mar 2020 09:29:24 +0000 (10:29 +0100)]
fix for :fetch_initial_posts

A warning was added, but their were some newlines and whitespaces missing which broke the rendering of the setting. I've added them now

4 years agoMerge branch 'feature/1482-activity_pub_transactions' into 'develop'
Haelwenn [Mon, 2 Mar 2020 07:58:01 +0000 (07:58 +0000)]
Merge branch 'feature/1482-activity_pub_transactions' into 'develop'

ActivityPub actions & side-effects in transaction

Closes #1482

See merge request pleroma/pleroma!2089

4 years agoMerge branch 'chores/bump-copyright' into 'develop'
Haelwenn [Mon, 2 Mar 2020 05:15:13 +0000 (05:15 +0000)]
Merge branch 'chores/bump-copyright' into 'develop'

Bump copyright

See merge request pleroma/pleroma!2265

4 years agoBump copyright years of files changed after 2020-01-07
Haelwenn (lanodan) Monnier [Mon, 2 Mar 2020 05:08:45 +0000 (06:08 +0100)]
Bump copyright years of files changed after 2020-01-07

Done via the following command:
git diff fcd5dd259a1700a045be902b43391b0d1bd58a5b --stat --name-only | xargs sed -i '/Pleroma Authors/c# Copyright © 2017-2020 Pleroma Authors <https:\/\/pleroma.social\/>'

4 years agoBump copyright years of files changed after 2019-01-01
Haelwenn (lanodan) Monnier [Mon, 2 Mar 2020 04:54:39 +0000 (05:54 +0100)]
Bump copyright years of files changed after 2019-01-01

Done via the following command:
git diff 1e6c102b --stat --name-only | cat - | xargs sed -i 's/2017-2018 Pleroma Authors/2017-2019 Pleroma Authors/'

4 years agoMerge branch 'docs_cheatsheet' into 'develop'
rinpatch [Sun, 1 Mar 2020 19:16:54 +0000 (19:16 +0000)]
Merge branch 'docs_cheatsheet' into 'develop'

DOCS Add warning for fetch_initial_posts + more explicit distinction between OTP and from source

See merge request pleroma/pleroma!2262

4 years agoAdd warning to the fetch_initial_posts setting. Now we sometimes have people who...
Ilja [Sun, 1 Mar 2020 19:16:54 +0000 (19:16 +0000)]
Add warning to the fetch_initial_posts setting. Now we sometimes have people who enable this without realising the consequences (tons of posts being fetcht as each fetch makes Pleroma discover new users)
I also made a more explicit distinction between OTP and from source installs in the general explanation

4 years agospec fix
Alexander Strizhakov [Fri, 17 Jan 2020 08:51:08 +0000 (11:51 +0300)]
spec fix

4 years agofix for compiling
Alexander Strizhakov [Mon, 30 Dec 2019 09:35:41 +0000 (12:35 +0300)]
fix for compiling

4 years agoActivityPub actions & side-effects in transaction
Alexander Strizhakov [Mon, 30 Dec 2019 08:30:20 +0000 (11:30 +0300)]
ActivityPub actions & side-effects in transaction

4 years agoMerge branch 'fix/easy-timeline-dos' into 'develop'
rinpatch [Sat, 29 Feb 2020 23:08:14 +0000 (23:08 +0000)]
Merge branch 'fix/easy-timeline-dos' into 'develop'

Cap the number of requested statuses in timelines to 40 and rate limit them

See merge request pleroma/pleroma!2253

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.