akkoma
4 years agoMerge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop
sadposter [Sat, 6 Jun 2020 17:20:10 +0000 (18:20 +0100)]
Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop

4 years agoMerge branch 'features/apc2s-pagination' into 'develop'
Haelwenn [Fri, 5 Jun 2020 14:52:09 +0000 (14:52 +0000)]
Merge branch 'features/apc2s-pagination' into 'develop'

Fix AP C2S pagination

Closes #866 and #751

See merge request pleroma/pleroma!2491

4 years agoMerge branch 'features/put_if_present' into 'develop'
Haelwenn [Fri, 5 Jun 2020 14:48:02 +0000 (14:48 +0000)]
Merge branch 'features/put_if_present' into 'develop'

Create Pleroma.Maps.put_if_present(map, key, value, value_function // &{:ok, &1}) :: map

See merge request pleroma/pleroma!2436

4 years agoCreate Pleroma.Maps.put_if_present(map, key, value, value_fun // &{:ok, &1})
Haelwenn [Fri, 5 Jun 2020 14:48:02 +0000 (14:48 +0000)]
Create Pleroma.Maps.put_if_present(map, key, value, value_fun // &{:ok, &1})

Unifies all the similar functions to one and simplify some blocks with it.

4 years agoMerge branch 'openapi/admin/config' into 'develop'
lain [Thu, 4 Jun 2020 13:00:13 +0000 (13:00 +0000)]
Merge branch 'openapi/admin/config' into 'develop'

Add OpenAPI spec to AdminAPI.ConfigController

See merge request pleroma/pleroma!2606

4 years agoFix credo
Egor Kislitsyn [Thu, 4 Jun 2020 09:46:13 +0000 (13:46 +0400)]
Fix credo

4 years agoMerge branch 'develop' into openapi/admin/config
Egor Kislitsyn [Thu, 4 Jun 2020 09:28:00 +0000 (13:28 +0400)]
Merge branch 'develop' into openapi/admin/config

4 years agoMerge branch 'openapi/admin/reports' into 'develop'
lain [Wed, 3 Jun 2020 17:00:59 +0000 (17:00 +0000)]
Merge branch 'openapi/admin/reports' into 'develop'

Add OpenAPI spec for AdminAPI.ReportController

See merge request pleroma/pleroma!2628

4 years agoAdd OpenAPI spec for AdminAPI.ReportController
Egor Kislitsyn [Wed, 3 Jun 2020 15:10:11 +0000 (19:10 +0400)]
Add OpenAPI spec for AdminAPI.ReportController

4 years agoMove report actions to AdminAPI.ReportController
Egor Kislitsyn [Thu, 21 May 2020 15:43:56 +0000 (19:43 +0400)]
Move report actions to AdminAPI.ReportController

4 years agoMerge branch 'openapi/update-admin-api/status' into 'develop'
Haelwenn [Wed, 3 Jun 2020 14:04:12 +0000 (14:04 +0000)]
Merge branch 'openapi/update-admin-api/status' into 'develop'

Update OpenAPI spec for AdminAPI.StatusController

See merge request pleroma/pleroma!2624

4 years agoMerge branch 'admin-api/account-view' into 'develop'
lain [Wed, 3 Jun 2020 11:28:56 +0000 (11:28 +0000)]
Merge branch 'admin-api/account-view' into 'develop'

Use AdminAPI.StatusView in api/admin/users

Closes #1836

See merge request pleroma/pleroma!2627

4 years agoUse AdminAPI.StatusView in api/admin/users
Egor Kislitsyn [Wed, 3 Jun 2020 10:53:46 +0000 (14:53 +0400)]
Use AdminAPI.StatusView in api/admin/users

4 years agoMerge branch 'patch-3' into 'develop'
lain [Wed, 3 Jun 2020 07:18:32 +0000 (07:18 +0000)]
Merge branch 'patch-3' into 'develop'

docs: clients.md: Add Husky

See merge request pleroma/pleroma!2626

4 years agodocs: clients.md: Add Husky
Alibek Omarov [Wed, 3 Jun 2020 04:36:09 +0000 (04:36 +0000)]
docs: clients.md: Add Husky

4 years agoMerge branch 'fix/1794-hashtag-search-results' into 'develop'
feld [Tue, 2 Jun 2020 16:30:03 +0000 (16:30 +0000)]
Merge branch 'fix/1794-hashtag-search-results' into 'develop'

[#1794] Improvements to hashtags extraction from search query

Closes #1794

See merge request pleroma/pleroma!2611

4 years agoUpdate OpenAPI spec for AdminAPI.StatusController
Egor Kislitsyn [Tue, 2 Jun 2020 15:07:17 +0000 (19:07 +0400)]
Update OpenAPI spec for AdminAPI.StatusController

4 years agoMerge branch 'replies-domain-block' into 'develop'
lain [Tue, 2 Jun 2020 14:14:23 +0000 (14:14 +0000)]
Merge branch 'replies-domain-block' into 'develop'

Replies domain block

Closes #1650

See merge request pleroma/pleroma!2622

4 years agoMerge branch 'openapi/admin/oauth-apps' into 'develop'
lain [Tue, 2 Jun 2020 14:13:24 +0000 (14:13 +0000)]
Merge branch 'openapi/admin/oauth-apps' into 'develop'

Add OpenAPI spec for AdminAPI.OAuthAppContoller

See merge request pleroma/pleroma!2582

4 years agoMerge branch 'tagline' into 'develop'
lain [Tue, 2 Jun 2020 14:10:53 +0000 (14:10 +0000)]
Merge branch 'tagline' into 'develop'

Update default instance description

See merge request pleroma/pleroma!2600

4 years agoMerge branch 'openapi/admin/invites' into 'develop'
lain [Tue, 2 Jun 2020 14:10:21 +0000 (14:10 +0000)]
Merge branch 'openapi/admin/invites' into 'develop'

Add OpenAPI spec for AdminAPI.InviteController

See merge request pleroma/pleroma!2585

4 years agoMerge branch 'feature/embeddable-posts' into 'develop'
lain [Tue, 2 Jun 2020 14:04:34 +0000 (14:04 +0000)]
Merge branch 'feature/embeddable-posts' into 'develop'

Add embeddable posts

Closes #1288

See merge request pleroma/pleroma!2319

4 years agoMerge branch 'fix/invisible-repeats' into 'develop'
lain [Tue, 2 Jun 2020 11:32:03 +0000 (11:32 +0000)]
Merge branch 'fix/invisible-repeats' into 'develop'

Do not include activities of invisible users unless explicitly requested

Closes #1833

See merge request pleroma/pleroma!2620

4 years agoDo not include activities of invisible users unless explicitly requested
rinpatch [Mon, 1 Jun 2020 19:18:20 +0000 (22:18 +0300)]
Do not include activities of invisible users unless explicitly requested

Closes #1833

4 years agoMerge branch 'weblate-pleroma-pleroma' into 'develop'
lain [Tue, 2 Jun 2020 09:15:56 +0000 (09:15 +0000)]
Merge branch 'weblate-pleroma-pleroma' into 'develop'

Translations update from Weblate

See merge request pleroma/pleroma!2623

4 years agoTranslated using Weblate (Dutch)
Fristi [Mon, 1 Jun 2020 16:25:57 +0000 (16:25 +0000)]
Translated using Weblate (Dutch)

Currently translated at 29.2% (31 of 106 strings)

Translation: Pleroma/Pleroma backend
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma/nl/

4 years agoMerge branch 'feature/status-by-id-account-view' into 'develop'
lain [Tue, 2 Jun 2020 08:49:24 +0000 (08:49 +0000)]
Merge branch 'feature/status-by-id-account-view' into 'develop'

another view for account in admin-fe status_show

Closes #1783

See merge request pleroma/pleroma!2543

4 years agoreplies filtering for blocked domains
Alexander Strizhakov [Tue, 2 Jun 2020 05:50:24 +0000 (08:50 +0300)]
replies filtering for blocked domains

4 years agoMerge branch 'user-updates' into 'develop'
rinpatch [Mon, 1 Jun 2020 20:48:11 +0000 (20:48 +0000)]
Merge branch 'user-updates' into 'develop'

AccountController: Federate user account changes.

Closes pleroma-support#33 and #1801

See merge request pleroma/pleroma!2617

4 years agoMerge branch 'only-creates-in-public-tl' into 'develop'
rinpatch [Mon, 1 Jun 2020 20:45:59 +0000 (20:45 +0000)]
Merge branch 'only-creates-in-public-tl' into 'develop'

TimelineController: Only return `Create` in public timelines.

Closes #1833 and #1821

See merge request pleroma/pleroma!2618

4 years agoexclude replies on blocked domains
Alexander Strizhakov [Wed, 20 May 2020 14:45:06 +0000 (17:45 +0300)]
exclude replies on blocked domains

4 years agoMerge remote-tracking branch 'origin/develop' into feature/embeddable-posts
Egor Kislitsyn [Mon, 1 Jun 2020 13:38:57 +0000 (17:38 +0400)]
Merge remote-tracking branch 'origin/develop' into feature/embeddable-posts

4 years agoMerge branch 'default-to-hackney-again' into 'develop'
lain [Mon, 1 Jun 2020 13:24:03 +0000 (13:24 +0000)]
Merge branch 'default-to-hackney-again' into 'develop'

Config: Default to Hackney again

See merge request pleroma/pleroma!2619

4 years agoConfig: Default to Hackney again
lain [Mon, 1 Jun 2020 11:35:39 +0000 (13:35 +0200)]
Config: Default to Hackney again

Gun needs some server setting changes (files) and has problems with
OTP 23 (wildcards), so use Hackney as a default again for now.

4 years agoTimelineController: Only return `Create` in public timelines.
lain [Mon, 1 Jun 2020 11:17:56 +0000 (13:17 +0200)]
TimelineController: Only return `Create` in public timelines.

4 years agoAccountController: Federate user account changes.
lain [Mon, 1 Jun 2020 11:03:22 +0000 (13:03 +0200)]
AccountController: Federate user account changes.

Hotfixy commit, will be moved to the pipeline.

4 years agoMerge branch 'chore/bump-hackney' into 'develop'
Haelwenn [Sat, 30 May 2020 15:51:19 +0000 (15:51 +0000)]
Merge branch 'chore/bump-hackney' into 'develop'

mix.lock: update hackney to 1.16.0

Closes #1612

See merge request pleroma/pleroma!2614

4 years agoMerge branch 'test/fix-config-setting-in-user-test' into 'develop'
lain [Sat, 30 May 2020 14:03:43 +0000 (14:03 +0000)]
Merge branch 'test/fix-config-setting-in-user-test' into 'develop'

Fix config setting to not affect other tests

See merge request pleroma/pleroma!2615

4 years agoFix config setting to not affect other tests
Roman Chvanikov [Sat, 30 May 2020 13:47:09 +0000 (16:47 +0300)]
Fix config setting to not affect other tests

4 years agohackney adapter helper: support tlsv1.3 and remove custom opts
rinpatch [Sat, 30 May 2020 10:59:04 +0000 (13:59 +0300)]
hackney adapter helper: support tlsv1.3 and remove custom opts

- partitial_chain is no longer exported, but it seems to be the default anyway.
- The bug that caused sni to not be sent automatically seems to be fixed -
https://github.com/benoitc/hackney/issues/612

4 years agoMerge branch 'conversation-pagination' into 'develop'
lain [Sat, 30 May 2020 10:02:37 +0000 (10:02 +0000)]
Merge branch 'conversation-pagination' into 'develop'

Conversation pagination

See merge request pleroma/pleroma!2601

4 years agoConversation pagination
Steven Fuchs [Sat, 30 May 2020 10:02:37 +0000 (10:02 +0000)]
Conversation pagination

4 years ago[#1794] Fixed search query splitting regex to deal with Unicode. Adjusted a test.
Ivan Tashkinov [Sat, 30 May 2020 07:29:08 +0000 (10:29 +0300)]
[#1794] Fixed search query splitting regex to deal with Unicode. Adjusted a test.

4 years agoMerge remote-tracking branch 'remotes/origin/develop' into fix/1794-hashtag-search...
Ivan Tashkinov [Sat, 30 May 2020 05:51:38 +0000 (08:51 +0300)]
Merge remote-tracking branch 'remotes/origin/develop' into fix/1794-hashtag-search-results

4 years agoMerge branch 'bugfix/csp-unproxied' into 'develop'
rinpatch [Fri, 29 May 2020 21:23:49 +0000 (21:23 +0000)]
Merge branch 'bugfix/csp-unproxied' into 'develop'

http_security_plug.ex: Fix non-proxied media

See merge request pleroma/pleroma!2610

4 years agoMerge branch 'media-docs' into 'develop'
rinpatch [Fri, 29 May 2020 21:20:36 +0000 (21:20 +0000)]
Merge branch 'media-docs' into 'develop'

Docs: Attachement limitations in MastoAPI differences

See merge request pleroma/pleroma!2607

4 years agomix.lock: update hackney to 1.16.0
rinpatch [Fri, 29 May 2020 21:18:17 +0000 (00:18 +0300)]
mix.lock: update hackney to 1.16.0

Closes #1612

4 years agoApply suggestion to lib/pleroma/plugs/http_security_plug.ex
rinpatch [Fri, 29 May 2020 21:15:07 +0000 (21:15 +0000)]
Apply suggestion to lib/pleroma/plugs/http_security_plug.ex

4 years agoMerge branch 'hotfix/streamer-test-unused-var-warning' into 'develop'
lain [Fri, 29 May 2020 20:31:07 +0000 (20:31 +0000)]
Merge branch 'hotfix/streamer-test-unused-var-warning' into 'develop'

fix unused var warning in streamer test

See merge request pleroma/pleroma!2612

4 years agofix unused var warning
Roman Chvanikov [Fri, 29 May 2020 20:05:03 +0000 (23:05 +0300)]
fix unused var warning

4 years agoMerge branch 'connect-src' into 'develop'
rinpatch [Fri, 29 May 2020 19:26:54 +0000 (19:26 +0000)]
Merge branch 'connect-src' into 'develop'

Add blob: to connect-src CSP, fixes #1827

Closes #1827

See merge request pleroma/pleroma!2608

4 years ago[#1794] Improvements to hashtags extraction from search query.
Ivan Tashkinov [Fri, 29 May 2020 19:03:14 +0000 (22:03 +0300)]
[#1794] Improvements to hashtags extraction from search query.

4 years agoAdd blob: to connect-src CSP
Alex Gleason [Fri, 29 May 2020 15:33:31 +0000 (10:33 -0500)]
Add blob: to connect-src CSP

4 years agoMerge branch 'fix-streaming' into 'develop'
lain [Fri, 29 May 2020 15:42:43 +0000 (15:42 +0000)]
Merge branch 'fix-streaming' into 'develop'

Fix argument error in streamer

See merge request pleroma/pleroma!2609

4 years agoMerge branch 'mix/database-vacuum-options' into 'develop'
feld [Fri, 29 May 2020 15:33:35 +0000 (15:33 +0000)]
Merge branch 'mix/database-vacuum-options' into 'develop'

Database vacuum mix task

See merge request pleroma/pleroma!2599

4 years agoAdd test for stream boosts of mastodon user
kPherox [Fri, 29 May 2020 12:08:09 +0000 (21:08 +0900)]
Add test for stream boosts of mastodon user

4 years agoFix argument error in streamer
kPherox [Mon, 25 May 2020 14:21:43 +0000 (23:21 +0900)]
Fix argument error in streamer

`Repo.exists` can't use `nil` as it is unsafe.
Use parent object instead of activity because currently Announce activity's context is null.

4 years agohttp_security_plug.ex: Fix non-proxied media
Haelwenn (lanodan) Monnier [Fri, 29 May 2020 15:17:02 +0000 (17:17 +0200)]
http_security_plug.ex: Fix non-proxied media

4 years agoDocument new database vacuum tasks
Mark Felder [Fri, 29 May 2020 15:17:06 +0000 (10:17 -0500)]
Document new database vacuum tasks

4 years agoAP C2S: allow limit & order on outbox & read_inbox
Haelwenn (lanodan) Monnier [Fri, 8 May 2020 01:05:56 +0000 (03:05 +0200)]
AP C2S: allow limit & order on outbox & read_inbox

4 years agoBugfix: router: allow basic_auth for outbox
Haelwenn (lanodan) Monnier [Fri, 8 May 2020 01:08:11 +0000 (03:08 +0200)]
Bugfix: router: allow basic_auth for outbox

4 years agoBugfix: Reuse Controller.Helper pagination for APC2S
Haelwenn (lanodan) Monnier [Thu, 7 May 2020 19:52:45 +0000 (21:52 +0200)]
Bugfix: Reuse Controller.Helper pagination for APC2S

4 years agoMerge branch 'fix-relay-repeat-notification' into 'develop'
lain [Fri, 29 May 2020 10:42:49 +0000 (10:42 +0000)]
Merge branch 'fix-relay-repeat-notification' into 'develop'

Fix relay repeat notification

See merge request pleroma/pleroma!2590

4 years agoUse `User.is_internal_user?` instead
kPherox [Wed, 27 May 2020 05:24:36 +0000 (05:24 +0000)]
Use `User.is_internal_user?` instead

4 years agoDon't make relay announce notification
kPherox [Tue, 26 May 2020 11:32:05 +0000 (11:32 +0000)]
Don't make relay announce notification

4 years agoMerge branch 'fix/mediaproxy-bypass-emoji' into 'develop'
rinpatch [Fri, 29 May 2020 09:46:31 +0000 (09:46 +0000)]
Merge branch 'fix/mediaproxy-bypass-emoji' into 'develop'

Fix profile emojis bypassing mediaproxy and harden CSP

Closes #1810

See merge request pleroma/pleroma!2596

4 years agoHTTP Security plug: make starting csp string generation more readable
rinpatch [Fri, 29 May 2020 09:32:48 +0000 (12:32 +0300)]
HTTP Security plug: make starting csp string generation more readable

4 years agoDocs: Attachement limitations in MastoAPI differences
Alex Gleason [Thu, 28 May 2020 21:10:06 +0000 (16:10 -0500)]
Docs: Attachement limitations in MastoAPI differences

4 years agoAdd OpenApi spec to AdminAPI.ConfigController
Egor Kislitsyn [Thu, 28 May 2020 19:11:12 +0000 (23:11 +0400)]
Add OpenApi spec to AdminAPI.ConfigController

4 years agoMove config actions to AdminAPI.ConfigController
Egor Kislitsyn [Thu, 28 May 2020 18:23:15 +0000 (22:23 +0400)]
Move config actions to AdminAPI.ConfigController

4 years agoMerge branch 'fix/1557-gets-local-pack' into 'develop'
lain [Thu, 28 May 2020 17:08:30 +0000 (17:08 +0000)]
Merge branch 'fix/1557-gets-local-pack' into 'develop'

get-packs for local generated pack

Closes #1557

See merge request pleroma/pleroma!2604

4 years agoMerge branch 'feature/1792-update-actor-type' into 'develop'
lain [Thu, 28 May 2020 16:58:28 +0000 (16:58 +0000)]
Merge branch 'feature/1792-update-actor-type' into 'develop'

Validate actor type

See merge request pleroma/pleroma!2593

4 years agoUpdate default instance description
Alex Gleason [Thu, 28 May 2020 05:49:49 +0000 (00:49 -0500)]
Update default instance description

4 years agoMerge branch 'update-install-guides' into 'develop'
lain [Thu, 28 May 2020 16:54:09 +0000 (16:54 +0000)]
Merge branch 'update-install-guides' into 'develop'

Update installation guides

See merge request pleroma/pleroma!2603

4 years agoget-packs for local generated pack
Alexander Strizhakov [Thu, 28 May 2020 16:41:34 +0000 (19:41 +0300)]
get-packs for local generated pack

4 years agoUpdate installation guides
Egor Kislitsyn [Thu, 28 May 2020 15:32:56 +0000 (19:32 +0400)]
Update installation guides

4 years agoMerge branch 'chore/fix-spelling' into 'develop'
rinpatch [Thu, 28 May 2020 11:38:35 +0000 (11:38 +0000)]
Merge branch 'chore/fix-spelling' into 'develop'

Fix minor spelling error

See merge request pleroma/pleroma!2598

4 years agoAlpha sort
Mark Felder [Wed, 27 May 2020 22:17:06 +0000 (17:17 -0500)]
Alpha sort

4 years agoAbstract out the database maintenance. I'd like to use this from AdminFE too.
Mark Felder [Wed, 27 May 2020 21:40:51 +0000 (16:40 -0500)]
Abstract out the database maintenance. I'd like to use this from AdminFE too.

4 years agoMake clearer that this is time and resource consuming
Mark Felder [Wed, 27 May 2020 21:31:37 +0000 (16:31 -0500)]
Make clearer that this is time and resource consuming

4 years agoMake it obvious a full vacuum can take a while
Mark Felder [Wed, 27 May 2020 21:27:29 +0000 (16:27 -0500)]
Make it obvious a full vacuum can take a while

4 years agoPermit easy access to vaccum full and analyze via a mix task
Mark Felder [Wed, 27 May 2020 21:27:07 +0000 (16:27 -0500)]
Permit easy access to vaccum full and analyze via a mix task

4 years agoFix minor spelling error
Mark Felder [Wed, 27 May 2020 19:34:37 +0000 (14:34 -0500)]
Fix minor spelling error

4 years agoMerge branch 'bundle/adminfe-20200527' into 'develop'
rinpatch [Wed, 27 May 2020 19:22:53 +0000 (19:22 +0000)]
Merge branch 'bundle/adminfe-20200527' into 'develop'

Update AdminFE build, re-enables emoji packs

See merge request pleroma/pleroma!2597

4 years agoUpdate AdminFE build, re-enables emoji packs
Mark Felder [Wed, 27 May 2020 18:50:24 +0000 (13:50 -0500)]
Update AdminFE build, re-enables emoji packs

4 years agoHTTP security plug: Harden img-src and media-src when MediaProxy is enabled
rinpatch [Wed, 27 May 2020 18:01:36 +0000 (21:01 +0300)]
HTTP security plug: Harden img-src and media-src when MediaProxy is enabled

4 years agoHTTP Security plug: rewrite &csp_string/0
rinpatch [Wed, 27 May 2020 17:27:30 +0000 (20:27 +0300)]
HTTP Security plug: rewrite &csp_string/0

- Directives are now separated with ";" instead of " ;",
according to https://www.w3.org/TR/CSP2/#policy-parsing
the space is optional
- Use an IO list, which at the end gets converted to a binary as
opposed to ++ing a bunch of arrays with binaries together and joining
them to a string. I doubt it gives any significant real world advantage,
but the code is cleaner and now I can sleep at night.
- The static part of csp is pre-joined to a single binary at compile time.
Same reasoning as the last point.

4 years agoAccountView: Use mediaproxy URLs for emojis
rinpatch [Wed, 27 May 2020 16:35:35 +0000 (19:35 +0300)]
AccountView: Use mediaproxy URLs for emojis

Also use atom keys in emoji maps instead of binaries

Closes #1810

4 years agoMediaProxy test: use config macros instead of directly putting values
rinpatch [Wed, 27 May 2020 16:34:56 +0000 (19:34 +0300)]
MediaProxy test: use config macros instead of directly putting values

They were not properly cleaned later and caused trouble for another tests

4 years agoExclude post actor from to of relay announce
kPherox [Tue, 26 May 2020 09:47:03 +0000 (09:47 +0000)]
Exclude post actor from to of relay announce

4 years agoMerge branch 'refactor-add-mention-step-one' into 'develop'
rinpatch [Wed, 27 May 2020 14:17:12 +0000 (14:17 +0000)]
Merge branch 'refactor-add-mention-step-one' into 'develop'

Fix ObjectView calling into strange functions

Closes #1807

See merge request pleroma/pleroma!2580

4 years agoMerge branch 'notification-fixes' into 'develop'
rinpatch [Wed, 27 May 2020 13:45:14 +0000 (13:45 +0000)]
Merge branch 'notification-fixes' into 'develop'

Notification performance fixes

See merge request pleroma/pleroma!2595

4 years agoMigrations: Make user_id index on notifications better for query.
lain [Wed, 27 May 2020 10:56:15 +0000 (12:56 +0200)]
Migrations: Make user_id index on notifications better for query.

4 years agoApply suggestion to lib/pleroma/web/admin_api/controllers/admin_api_controller.ex
Alexander Strizhakov [Wed, 27 May 2020 10:55:42 +0000 (10:55 +0000)]
Apply suggestion to lib/pleroma/web/admin_api/controllers/admin_api_controller.ex

4 years agoFix typo
Egor Kislitsyn [Wed, 27 May 2020 10:42:21 +0000 (14:42 +0400)]
Fix typo

4 years agoNotification: Actually preload objects.
lain [Wed, 27 May 2020 10:41:06 +0000 (12:41 +0200)]
Notification: Actually preload objects.

4 years agoMerge branch 'fav-speedup' into 'develop'
lain [Wed, 27 May 2020 08:02:00 +0000 (08:02 +0000)]
Merge branch 'fav-speedup' into 'develop'

ActivityPub: Change ordering to `nulls last` in favorites query

See merge request pleroma/pleroma!2594

4 years agoActivityPub: Change ordering to `nulls last` in favorites query
lain [Wed, 27 May 2020 07:46:12 +0000 (09:46 +0200)]
ActivityPub: Change ordering to `nulls last` in favorites query

This makes it use our existing index and speeds up the query.

4 years agovalidate actor type
Alexander Strizhakov [Wed, 27 May 2020 06:42:28 +0000 (09:42 +0300)]
validate actor type

4 years agoMerge branch 'fav-speedup' into 'develop'
rinpatch [Tue, 26 May 2020 16:33:13 +0000 (16:33 +0000)]
Merge branch 'fav-speedup' into 'develop'

Fix favorites query performance

See merge request pleroma/pleroma!2591