rinpatch
32ba2b7f9f
Merge branch 'media-docs' into 'develop'
...
Docs: Attachement limitations in MastoAPI differences
See merge request pleroma/pleroma!2607
2020-05-29 21:20:36 +00:00
lain
f361264e1a
Merge branch 'hotfix/streamer-test-unused-var-warning' into 'develop'
...
fix unused var warning in streamer test
See merge request pleroma/pleroma!2612
2020-05-29 20:31:07 +00:00
Roman Chvanikov
0a83af330b
fix unused var warning
2020-05-29 23:05:03 +03:00
rinpatch
660d49227b
Merge branch 'connect-src' into 'develop'
...
Add blob: to connect-src CSP, fixes #1827
Closes #1827
See merge request pleroma/pleroma!2608
2020-05-29 19:26:54 +00:00
Alex Gleason
d38f28870e
Add blob: to connect-src CSP
2020-05-29 11:08:17 -05:00
lain
219d2b3146
Merge branch 'fix-streaming' into 'develop'
...
Fix argument error in streamer
See merge request pleroma/pleroma!2609
2020-05-29 15:42:43 +00:00
feld
81db758e8e
Merge branch 'mix/database-vacuum-options' into 'develop'
...
Database vacuum mix task
See merge request pleroma/pleroma!2599
2020-05-29 15:33:35 +00:00
kPherox
9ca978494f
Add test for stream boosts of mastodon user
2020-05-30 00:31:20 +09:00
kPherox
de0e262839
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.
2020-05-30 00:31:18 +09:00
Mark Felder
1b586ff3ae
Document new database vacuum tasks
2020-05-29 10:17:06 -05:00
lain
9848978109
Merge branch 'fix-relay-repeat-notification' into 'develop'
...
Fix relay repeat notification
See merge request pleroma/pleroma!2590
2020-05-29 10:42:49 +00:00
kPherox
228ff3760e
Use `User.is_internal_user?` instead
2020-05-29 19:07:05 +09:00
kPherox
9df5b1e6ae
Don't make relay announce notification
2020-05-29 19:06:38 +09:00
rinpatch
396bc69aee
Merge branch 'fix/mediaproxy-bypass-emoji' into 'develop'
...
Fix profile emojis bypassing mediaproxy and harden CSP
Closes #1810
See merge request pleroma/pleroma!2596
2020-05-29 09:46:31 +00:00
rinpatch
27180611df
HTTP Security plug: make starting csp string generation more readable
2020-05-29 12:32:48 +03:00
Alex Gleason
394258d548
Docs: Attachement limitations in MastoAPI differences
2020-05-28 16:11:33 -05:00
lain
1d30608e20
Merge branch 'fix/1557-gets-local-pack' into 'develop'
...
get-packs for local generated pack
Closes #1557
See merge request pleroma/pleroma!2604
2020-05-28 17:08:30 +00:00
lain
f6ddf0cc50
Merge branch 'feature/1792-update-actor-type' into 'develop'
...
Validate actor type
See merge request pleroma/pleroma!2593
2020-05-28 16:58:28 +00:00
lain
ddbf7084e2
Merge branch 'update-install-guides' into 'develop'
...
Update installation guides
See merge request pleroma/pleroma!2603
2020-05-28 16:54:09 +00:00
Alexander Strizhakov
ae05792d2a
get-packs for local generated pack
2020-05-28 19:41:34 +03:00
Egor Kislitsyn
800e624058
Update installation guides
2020-05-28 19:32:56 +04:00
rinpatch
089d72d2e6
Merge branch 'chore/fix-spelling' into 'develop'
...
Fix minor spelling error
See merge request pleroma/pleroma!2598
2020-05-28 11:38:35 +00:00
Mark Felder
92fba24c74
Alpha sort
2020-05-27 17:17:06 -05:00
Mark Felder
30f96b19c1
Abstract out the database maintenance. I'd like to use this from AdminFE too.
2020-05-27 16:40:51 -05:00
Mark Felder
0d57e06626
Make clearer that this is time and resource consuming
2020-05-27 16:31:37 -05:00
Mark Felder
73ca57e4f1
Make it obvious a full vacuum can take a while
2020-05-27 16:27:29 -05:00
Mark Felder
a2f57bd82b
Permit easy access to vaccum full and analyze via a mix task
2020-05-27 16:27:07 -05:00
Mark Felder
95f6240889
Fix minor spelling error
2020-05-27 14:34:37 -05:00
rinpatch
a23df89b5d
Merge branch 'bundle/adminfe-20200527' into 'develop'
...
Update AdminFE build, re-enables emoji packs
See merge request pleroma/pleroma!2597
2020-05-27 19:22:53 +00:00
Mark Felder
d28b9708d2
Update AdminFE build, re-enables emoji packs
2020-05-27 13:50:24 -05:00
rinpatch
29ff6d414b
HTTP security plug: Harden img-src and media-src when MediaProxy is enabled
2020-05-27 21:41:19 +03:00
rinpatch
455a402c8a
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.
2020-05-27 21:31:47 +03:00
rinpatch
8f6d428880
AccountView: Use mediaproxy URLs for emojis
...
Also use atom keys in emoji maps instead of binaries
Closes #1810
2020-05-27 19:44:02 +03:00
rinpatch
78c46fb7ba
MediaProxy test: use config macros instead of directly putting values
...
They were not properly cleaned later and caused trouble for another tests
2020-05-27 19:34:56 +03:00
kPherox
48fd9be65a
Exclude post actor from to of relay announce
2020-05-27 23:51:15 +09:00
rinpatch
d35be02e70
Merge branch 'refactor-add-mention-step-one' into 'develop'
...
Fix ObjectView calling into strange functions
Closes #1807
See merge request pleroma/pleroma!2580
2020-05-27 14:17:12 +00:00
rinpatch
91f73a7592
Merge branch 'notification-fixes' into 'develop'
...
Notification performance fixes
See merge request pleroma/pleroma!2595
2020-05-27 13:45:14 +00:00
lain
73f222d76a
Migrations: Make user_id index on notifications better for query.
2020-05-27 12:56:15 +02:00
Alexander Strizhakov
047a11c48f
Apply suggestion to lib/pleroma/web/admin_api/controllers/admin_api_controller.ex
2020-05-27 10:55:42 +00:00
lain
b8e029b5ea
Notification: Actually preload objects.
2020-05-27 12:41:06 +02:00
lain
b9e2678b9e
Merge branch 'fav-speedup' into 'develop'
...
ActivityPub: Change ordering to `nulls last` in favorites query
See merge request pleroma/pleroma!2594
2020-05-27 08:02:00 +00:00
lain
7e13200869
ActivityPub: Change ordering to `nulls last` in favorites query
...
This makes it use our existing index and speeds up the query.
2020-05-27 09:46:12 +02:00
Alexander Strizhakov
3249141588
validate actor type
2020-05-27 10:14:22 +03:00
rinpatch
cf139b06a3
Merge branch 'fav-speedup' into 'develop'
...
Fix favorites query performance
See merge request pleroma/pleroma!2591
2020-05-26 16:33:13 +00:00
rinpatch
3601c0015c
Merge branch '1808-pleroma-sucks' into 'develop'
...
Resolve "Don't fail message ingestions when we can't update a user"
Closes #1808
See merge request pleroma/pleroma!2576
2020-05-26 15:57:01 +00:00
rinpatch
5ad28ff405
Merge branch 'apps-index' into 'develop'
...
Migrations: Add index on client_id and client_secret for apps.
See merge request pleroma/pleroma!2589
2020-05-26 15:56:23 +00:00
rinpatch
ed08da9135
Merge branch '1813-throttling' into 'develop'
...
Mastodon API Controllers: Use the correct params for rate limiting.
Closes #1813
See merge request pleroma/pleroma!2586
2020-05-26 15:55:09 +00:00
lain
d8d99fd4cf
Activity.Queries: Use correct actor restriction.
2020-05-26 17:46:16 +02:00
lain
acba7043be
Migrations: Add index on client_id and client_secret for apps.
...
Greatly speeds up app lookup.
2020-05-26 16:46:57 +02:00
lain
5083558ecd
Merge branch 'restore-new-image' into 'develop'
...
Config: Restore old new background image
See merge request pleroma/pleroma!2588
2020-05-26 14:17:54 +00:00