akkoma
4 years agoMerge branch 'benchmark-improvements' into 'develop'
lain [Mon, 30 Mar 2020 14:48:00 +0000 (14:48 +0000)]
Merge branch 'benchmark-improvements' into 'develop'

Benchmark improvements

See merge request pleroma/pleroma!2308

4 years agoMerge branch 'removing-grouped-reports' into 'develop'
rinpatch [Mon, 30 Mar 2020 12:38:21 +0000 (12:38 +0000)]
Merge branch 'removing-grouped-reports' into 'develop'

Removing grouped reports endpoint

See merge request pleroma/pleroma!2335

4 years agoremoving grouped reports admin api endpoint
Alexander Strizhakov [Mon, 30 Mar 2020 10:50:00 +0000 (13:50 +0300)]
removing grouped reports admin api endpoint

4 years agouse in timelines benchmark new user generator
Alexander Strizhakov [Mon, 30 Mar 2020 08:59:14 +0000 (11:59 +0300)]
use in timelines benchmark new user generator

4 years agofix
Alexander Strizhakov [Tue, 17 Mar 2020 10:47:13 +0000 (13:47 +0300)]
fix

4 years agosync with develop
Alexander Strizhakov [Tue, 18 Feb 2020 09:19:10 +0000 (12:19 +0300)]
sync with develop

4 years agoactivities generation tasks
Alexander Strizhakov [Tue, 14 Jan 2020 11:42:30 +0000 (14:42 +0300)]
activities generation tasks

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 'relations-preloading-for-statuses-rendering' into 'develop'
lain [Fri, 27 Mar 2020 19:14:46 +0000 (19:14 +0000)]
Merge branch 'relations-preloading-for-statuses-rendering' into 'develop'

Performance improvements (timeline / statuses / notifications / accounts rendering)

See merge request pleroma/pleroma!2323

4 years agoMisc refactoring / tweaks (`ThreadMute.exists?/2`).
Ivan Tashkinov [Fri, 27 Mar 2020 05:01:03 +0000 (08:01 +0300)]
Misc refactoring / tweaks (`ThreadMute.exists?/2`).

4 years agoEnsured no auxiliary computations (actors list preparation etc.) related to relations...
Ivan Tashkinov [Thu, 26 Mar 2020 18:54:01 +0000 (21:54 +0300)]
Ensured no auxiliary computations (actors list preparation etc.) related to relationships preloading if no user is present (for statuses / accounts / relationships rendering).

4 years agoMerge remote-tracking branch 'remotes/origin/develop' into relations-preloading-for...
Ivan Tashkinov [Thu, 26 Mar 2020 06:43:58 +0000 (09:43 +0300)]
Merge remote-tracking branch 'remotes/origin/develop' into relations-preloading-for-statuses-rendering

# Conflicts:
# lib/pleroma/thread_mute.ex

4 years agoMerge branch 'benchmark_timeline' into 'develop'
rinpatch [Wed, 25 Mar 2020 18:06:00 +0000 (18:06 +0000)]
Merge branch 'benchmark_timeline' into 'develop'

Benchmarks: Add timeline benchmark

See merge request pleroma/pleroma!2325

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 remote-tracking branch 'remotes/origin/develop' into relations-preloading-for...
Ivan Tashkinov [Wed, 25 Mar 2020 17:41:17 +0000 (20:41 +0300)]
Merge remote-tracking branch 'remotes/origin/develop' into relations-preloading-for-statuses-rendering

4 years agoFurther preloading (more endpoints), refactoring, tests.
Ivan Tashkinov [Wed, 25 Mar 2020 17:33:34 +0000 (20:33 +0300)]
Further preloading (more endpoints), refactoring, tests.

4 years agoApply suggestion to benchmarks/load_testing/generator.ex
lain [Wed, 25 Mar 2020 15:48:15 +0000 (15:48 +0000)]
Apply suggestion to benchmarks/load_testing/generator.ex

4 years agoMerge branch 'add-test-update_credentials' into 'develop'
Haelwenn [Wed, 25 Mar 2020 14:57:19 +0000 (14:57 +0000)]
Merge branch 'add-test-update_credentials' into 'develop'

Add a test for accounts/update_credentials

See merge request pleroma/pleroma!2330

4 years agoAdd a test for accounts/update_credentials
Egor Kislitsyn [Wed, 25 Mar 2020 14:46:17 +0000 (18:46 +0400)]
Add a test for accounts/update_credentials

4 years agoApplied relationships preloading to GET /api/v1/accounts/relationships. Refactoring...
Ivan Tashkinov [Wed, 25 Mar 2020 14:01:45 +0000 (17:01 +0300)]
Applied relationships preloading to GET /api/v1/accounts/relationships. Refactoring (User.binary_id/1).

4 years ago[#1364] Minor improvements / comments.
Ivan Tashkinov [Wed, 25 Mar 2020 10:05:00 +0000 (13:05 +0300)]
[#1364] Minor improvements / comments.
Further fixes of incorrect usage of "relations" as a short form of "relationships".

4 years agoMerge remote-tracking branch 'remotes/origin/develop' into 1364-notifications-sending...
Ivan Tashkinov [Wed, 25 Mar 2020 06:05:17 +0000 (09:05 +0300)]
Merge remote-tracking branch 'remotes/origin/develop' into 1364-notifications-sending-control

4 years agoFixed incorrect usage of "relations" as a short form of "relationships".
Ivan Tashkinov [Wed, 25 Mar 2020 06:04:00 +0000 (09:04 +0300)]
Fixed incorrect usage of "relations" as a short form of "relationships".

4 years agoMerge remote-tracking branch 'remotes/origin/develop' into relations-preloading-for...
Ivan Tashkinov [Tue, 24 Mar 2020 19:15:37 +0000 (22:15 +0300)]
Merge remote-tracking branch 'remotes/origin/develop' into relations-preloading-for-statuses-rendering

4 years agoImplemented preloading of relationships with parent activities' actors for statuses...
Ivan Tashkinov [Tue, 24 Mar 2020 19:14:26 +0000 (22:14 +0300)]
Implemented preloading of relationships with parent activities' actors for statuses/timeline rendering. Applied preloading for notifications rendering. Fixed announces rendering issue (preloading-related).

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 '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 agoFix activity deletion
Egor Kislitsyn [Tue, 24 Mar 2020 13:38:18 +0000 (17:38 +0400)]
Fix activity deletion

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 agoBenchmarks: Add timeline benchmark
lain [Mon, 23 Mar 2020 17:56:01 +0000 (18:56 +0100)]
Benchmarks: Add timeline benchmark

4 years agoHome timeline tests: Add failing test for relationships
lain [Mon, 23 Mar 2020 14:58:55 +0000 (15:58 +0100)]
Home timeline tests: Add failing test for relationships

4 years agoMerge remote-tracking branch 'remotes/origin/develop' into relations-preloading-for...
Ivan Tashkinov [Mon, 23 Mar 2020 11:34:58 +0000 (14:34 +0300)]
Merge remote-tracking branch 'remotes/origin/develop' into relations-preloading-for-statuses-rendering

4 years agoMerge branch 'support-emoji-staticfe' into 'develop'
rinpatch [Mon, 23 Mar 2020 10:43:20 +0000 (10:43 +0000)]
Merge branch 'support-emoji-staticfe' into 'develop'

Add emoji support in statuses in staticfe

Closes #1453

See merge request pleroma/pleroma!2324

4 years agoAdd emoji support in statuses in staticfe
Egor Kislitsyn [Mon, 23 Mar 2020 10:03:31 +0000 (14:03 +0400)]
Add emoji support in statuses in staticfe

4 years agoPreloading of follow relations for timeline/statuses rendering (performance improveme...
Ivan Tashkinov [Mon, 23 Mar 2020 09:01:11 +0000 (12:01 +0300)]
Preloading of follow relations for timeline/statuses rendering (performance improvement). Refactoring.

4 years agoWIP: preloading of user relations for timeline/statuses rendering (performance improv...
Ivan Tashkinov [Sun, 22 Mar 2020 18:51:44 +0000 (21:51 +0300)]
WIP: preloading of user relations for timeline/statuses rendering (performance improvement).

4 years agoAccountView: fix for other forms of <br> in bio
Haelwenn (lanodan) Monnier [Sun, 22 Mar 2020 15:38:12 +0000 (16:38 +0100)]
AccountView: fix for other forms of <br> in bio

Closes: https://git.pleroma.social/pleroma/pleroma/issues/1643
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 'relationship-remove-outdated-hack' into 'develop'
Haelwenn [Sun, 22 Mar 2020 14:25:11 +0000 (14:25 +0000)]
Merge branch 'relationship-remove-outdated-hack' into 'develop'

Mastodon API Account view: Remove an outdated hack

See merge request pleroma/pleroma!2321

4 years agoMastodon API Account view: Remove an outdated hack
rinpatch [Sun, 22 Mar 2020 14:10:37 +0000 (17:10 +0300)]
Mastodon API Account view: Remove an outdated hack

The hack with caching the follow relationship was introduced
when we still were storing it inside the follow activity, resulting in
slow queries. Now we store follow state in `FollowRelationship` table,
so this is no longer necessary.

4 years agoMerge branch 'fix-feed-pagination' into 'develop'
lain [Fri, 20 Mar 2020 16:57:51 +0000 (16:57 +0000)]
Merge branch 'fix-feed-pagination' into 'develop'

Fix for feed page pagination

Closes #1605

See merge request pleroma/pleroma!2281

4 years agoMerge branch 'clear-config-test-improvements' into 'develop'
lain [Fri, 20 Mar 2020 16:54:55 +0000 (16:54 +0000)]
Merge branch 'clear-config-test-improvements' into 'develop'

Improved in-test config management

See merge request pleroma/pleroma!2312

4 years agoImproved in-test `clear_config/n` applicability (setup / setup_all / in-test usage).
Ivan Tashkinov [Fri, 20 Mar 2020 15:33:00 +0000 (18:33 +0300)]
Improved in-test `clear_config/n` applicability (setup / setup_all / in-test usage).

4 years agoMerge remote-tracking branch 'remotes/origin/develop' into clear-config-test-improvements
Ivan Tashkinov [Fri, 20 Mar 2020 15:08:23 +0000 (18:08 +0300)]
Merge remote-tracking branch 'remotes/origin/develop' into clear-config-test-improvements

# Conflicts:
# test/web/mastodon_api/controllers/account_controller_test.exs

4 years agoMerge branch 'feature/1206-restrict-unauthenticated' into 'develop'
lain [Fri, 20 Mar 2020 14:40:08 +0000 (14:40 +0000)]
Merge branch 'feature/1206-restrict-unauthenticated' into 'develop'

restrict_unauthenticated setting

Closes #1206

See merge request pleroma/pleroma!2318

4 years agorestrict_unauthenticated setting
Alexander Strizhakov [Fri, 20 Mar 2020 10:04:37 +0000 (13:04 +0300)]
restrict_unauthenticated setting

4 years agoMerge branch 'feature/1635-notifications-include-types' into 'develop'
lain [Fri, 20 Mar 2020 13:27:29 +0000 (13:27 +0000)]
Merge branch 'feature/1635-notifications-include-types' into 'develop'

include_types parameter in /api/v1/notifications

Closes #1635

See merge request pleroma/pleroma!2311

4 years agoinclude_types parameter in /api/v1/notifications
Alexander Strizhakov [Wed, 18 Mar 2020 14:37:54 +0000 (17:37 +0300)]
include_types parameter in /api/v1/notifications

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 agoremove federated testing
stwf [Thu, 19 Mar 2020 16:25:36 +0000 (12:25 -0400)]
remove federated testing

4 years agoImproved in-test config management functions.
Ivan Tashkinov [Wed, 18 Mar 2020 17:30:31 +0000 (20:30 +0300)]
Improved in-test config management functions.

4 years agoMerge branch 'feature/1530-removing-with_move' into 'develop'
rinpatch [Wed, 18 Mar 2020 10:12:50 +0000 (10:12 +0000)]
Merge branch 'feature/1530-removing-with_move' into 'develop'

Feature/1530 removing with move

Closes #1530

See merge request pleroma/pleroma!2306

4 years agoFix ssl option on Ecto config breaking release
Cevado [Tue, 17 Mar 2020 01:02:01 +0000 (22:02 -0300)]
Fix ssl option on Ecto config breaking release

To use `:ssl` option on Ecto config it's required to include Erlang ssl
application, this prevents releases to start when `:ssl` option is set
to true.

4 years ago[#1364] Improved notification-related tests.
Ivan Tashkinov [Mon, 16 Mar 2020 18:58:10 +0000 (21:58 +0300)]
[#1364] Improved notification-related tests.

4 years agoAdmin API: `PATCH /api/pleroma/admin/users/:nickname/credentials`, `GET /api/pleroma...
eugenijm [Fri, 31 Jan 2020 18:07:46 +0000 (21:07 +0300)]
Admin API: `PATCH /api/pleroma/admin/users/:nickname/credentials`, `GET /api/pleroma/admin/users/:nickname/credentials`.

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 agoAdmin API: `PATCH /api/pleroma/admin/users/:nickname/change_password`
eugenijm [Tue, 28 Jan 2020 06:47:59 +0000 (09:47 +0300)]
Admin API: `PATCH /api/pleroma/admin/users/:nickname/change_password`

4 years agoremoving with_move parameter
Alexander Strizhakov [Mon, 16 Mar 2020 17:05:21 +0000 (20:05 +0300)]
removing with_move parameter

4 years agoImprove documentation of mrf_object_age
Mark Felder [Mon, 16 Mar 2020 16:44:53 +0000 (11:44 -0500)]
Improve documentation of mrf_object_age

4 years agoMerge remote-tracking branch 'remotes/origin/develop' into 1364-notifications-sending...
Ivan Tashkinov [Mon, 16 Mar 2020 14:58:42 +0000 (17:58 +0300)]
Merge remote-tracking branch 'remotes/origin/develop' into 1364-notifications-sending-control

4 years agoMerge branch 'feat/templates' into 'develop'
rinpatch [Mon, 16 Mar 2020 14:32:23 +0000 (14:32 +0000)]
Merge branch 'feat/templates' into 'develop'

gitlab: create templates for bug reports and release MRs

See merge request pleroma/pleroma!2304

4 years agogitlab: create templates for bug reports and release MRs
rinpatch [Mon, 16 Mar 2020 14:26:28 +0000 (17:26 +0300)]
gitlab: create templates for bug reports and release MRs

4 years agoMerge branch 'fix-warnings-in-tests' into 'develop'
rinpatch [Mon, 16 Mar 2020 11:27:10 +0000 (11:27 +0000)]
Merge branch 'fix-warnings-in-tests' into 'develop'

Warnings fix

See merge request pleroma/pleroma!2303

4 years agowarnings fix
Alexander Strizhakov [Mon, 16 Mar 2020 11:19:36 +0000 (14:19 +0300)]
warnings fix

4 years agoMerge branch 'removing-deprecated' into 'develop'
rinpatch [Mon, 16 Mar 2020 11:08:06 +0000 (11:08 +0000)]
Merge branch 'removing-deprecated' into 'develop'

Removing from descriptions.exs deprecated settings

See merge request pleroma/pleroma!2302

4 years agoremoving from descriptions.exs deprecated settings
Alexander Strizhakov [Mon, 16 Mar 2020 11:01:35 +0000 (14:01 +0300)]
removing from descriptions.exs deprecated settings

4 years agofix for content-type header for tag feed
Alexander Strizhakov [Fri, 13 Mar 2020 14:58:14 +0000 (17:58 +0300)]
fix for content-type header for tag feed

4 years agoadding rss for user feed
Alexander Strizhakov [Fri, 13 Mar 2020 14:41:26 +0000 (17:41 +0300)]
adding rss for user feed

4 years agofix for feed page pagination
Alexander Strizhakov [Tue, 10 Mar 2020 15:11:48 +0000 (18:11 +0300)]
fix for feed page pagination

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 '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 agostatic_fe: Sanitize HTML in users
Haelwenn (lanodan) Monnier [Sun, 15 Mar 2020 16:00:54 +0000 (17:00 +0100)]
static_fe: Sanitize HTML in users

4 years agomix.lock: [minor] last hash appended
Haelwenn (lanodan) Monnier [Sun, 15 Mar 2020 14:58:26 +0000 (15:58 +0100)]
mix.lock: [minor] last hash appended

4 years agostatic_fe: Sanitize HTML in posts
Haelwenn (lanodan) Monnier [Sun, 15 Mar 2020 14:45:57 +0000 (15:45 +0100)]
static_fe: Sanitize HTML in posts

Note: Seems to have different sanitization with TwitterCard generator giving
the following:

<meta content=\"“alert(&#39;xss&#39;)”\" property=\"twitter:description\">

4 years agoMerge branch '1560-non-federating-instances-routes-restrictions' into 'develop'
lain [Sun, 15 Mar 2020 19:15:20 +0000 (19:15 +0000)]
Merge branch '1560-non-federating-instances-routes-restrictions' into 'develop'

[#1560] Restricted AP- & OStatus-related routes for non-federating instances

Closes #1560

See merge request pleroma/pleroma!2235

4 years ago[#1364] Improved control over generation / sending of notifications. Fixed blocking...
Ivan Tashkinov [Sun, 15 Mar 2020 18:00:12 +0000 (21:00 +0300)]
[#1364] Improved control over generation / sending of notifications. Fixed blocking / muting users notifications issue. Added tests.

4 years agoMerge branch 'f' into 'develop'
Haelwenn [Sun, 15 Mar 2020 16:14:54 +0000 (16:14 +0000)]
Merge branch 'f' into 'develop'

rip out fetch_initial_posts

Closes #1422 and #1595

See merge request pleroma/pleroma!2297

4 years agotest/earmark_renderer_test.exs: Rename from test/earmark_renderer_test.ex
Haelwenn (lanodan) Monnier [Sun, 15 Mar 2020 16:07:08 +0000 (17:07 +0100)]
test/earmark_renderer_test.exs: Rename from test/earmark_renderer_test.ex

Wasn't in the test suite otherwise

4 years agoMerge branch 'fix/rate-limiter-remoteip-behavior' into 'develop'
Haelwenn [Sun, 15 Mar 2020 14:22:10 +0000 (14:22 +0000)]
Merge branch 'fix/rate-limiter-remoteip-behavior' into 'develop'

rate limiter: disable based on if remote ip was found, not on if the plug was enabled

Closes #1620

See merge request pleroma/pleroma!2296

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 'bugfix/pleroma_conversation_api' into 'develop'
rinpatch [Sun, 15 Mar 2020 12:47:39 +0000 (12:47 +0000)]
Merge branch 'bugfix/pleroma_conversation_api' into 'develop'

pleroma_api_controller.ex: Improve conversations error reporting

See merge request pleroma/pleroma!2264

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 agoMerge remote-tracking branch 'remotes/origin/develop' into 1560-non-federating-instan...
Ivan Tashkinov [Sat, 14 Mar 2020 12:37:02 +0000 (15:37 +0300)]
Merge remote-tracking branch 'remotes/origin/develop' into 1560-non-federating-instances-routes-restrictions

# Conflicts:
# lib/pleroma/plugs/static_fe_plug.ex

4 years agoMerge branch 'update/admin-fe-20200312' into 'develop'
rinpatch [Sat, 14 Mar 2020 11:25:17 +0000 (11:25 +0000)]
Merge branch 'update/admin-fe-20200312' into 'develop'

Update AdminFE

See merge request pleroma/pleroma!2292

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 agouploaded media plug: do not inject compile-time params on every request
rinpatch [Fri, 13 Mar 2020 19:12:33 +0000 (22:12 +0300)]
uploaded media plug: do not inject compile-time params on every request

4 years agoMerge branch 'feature/mastofe-admin-scope' into 'develop'
rinpatch [Fri, 13 Mar 2020 18:58:52 +0000 (18:58 +0000)]
Merge branch 'feature/mastofe-admin-scope' into 'develop'

auth_controller.ex: Add admin scope to MastoFE

See merge request pleroma/pleroma!2256

4 years agoMerge branch 'docs/direct_conversation_id' into 'develop'
rinpatch [Fri, 13 Mar 2020 18:58:22 +0000 (18:58 +0000)]
Merge branch 'docs/direct_conversation_id' into 'develop'

pleroma_api.md: direct_conversation_id vs. conversation_id

See merge request pleroma/pleroma!2263

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

4 years agoMerge branch 'fix/hashtags-streaming' into 'develop'
rinpatch [Fri, 13 Mar 2020 18:50:17 +0000 (18:50 +0000)]
Merge branch 'fix/hashtags-streaming' into 'develop'

Fix hashtags WebSocket streaming

Closes #1593

See merge request pleroma/pleroma!2294

4 years agoMerge branch 'static-accept-missing' into 'develop'
rinpatch [Fri, 13 Mar 2020 18:46:54 +0000 (18:46 +0000)]
Merge branch 'static-accept-missing' into 'develop'

Fix static FE plug to handle missing Accept header.

See merge request pleroma/pleroma!2260

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 agoMerge branch 'bugfix/br-vs-newline' into 'develop'
rinpatch [Fri, 13 Mar 2020 18:22:55 +0000 (18:22 +0000)]
Merge branch 'bugfix/br-vs-newline' into 'develop'

Formatting: Do not use \n and prefer <br> instead

Closes #1374 and #1375

See merge request pleroma/pleroma!2204

4 years agoMerge branch 'develop' into fix/cache-control-headers
Mark Felder [Fri, 13 Mar 2020 17:54:06 +0000 (12:54 -0500)]
Merge branch 'develop' into fix/cache-control-headers

4 years agoLint
Mark Felder [Fri, 13 Mar 2020 17:42:06 +0000 (12:42 -0500)]
Lint

4 years agoSynchronize cache-control header for local media with the mediaproxy
Mark Felder [Fri, 13 Mar 2020 17:27:50 +0000 (12:27 -0500)]
Synchronize cache-control header for local media with the mediaproxy

4 years agoRemove test verifying we preserve cache-control headers; we don't
Mark Felder [Fri, 13 Mar 2020 17:23:14 +0000 (12:23 -0500)]
Remove test verifying we preserve cache-control headers; we don't

4 years agoFix test to use new cache-control settings
Mark Felder [Fri, 13 Mar 2020 17:20:33 +0000 (12:20 -0500)]
Fix test to use new cache-control settings

4 years agoSet correct Cache-Control header for local media
Mark Felder [Fri, 13 Mar 2020 17:02:58 +0000 (12:02 -0500)]
Set correct Cache-Control header for local media

4 years agoUpdate comment to reflect what the code is actually doing
Mark Felder [Fri, 13 Mar 2020 16:46:40 +0000 (11:46 -0500)]
Update comment to reflect what the code is actually doing