lain [Fri, 29 May 2020 13:44:03 +0000 (15:44 +0200)]
SideEffects: Stream out chat messages.
lain [Fri, 29 May 2020 13:24:41 +0000 (15:24 +0200)]
Streamer: Add a chat message stream.
lain [Fri, 29 May 2020 10:36:17 +0000 (12:36 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
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
rinpatch [Fri, 29 May 2020 09:32:48 +0000 (12:32 +0300)]
HTTP Security plug: make starting csp string generation more readable
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
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
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
Alexander Strizhakov [Thu, 28 May 2020 16:41:34 +0000 (19:41 +0300)]
get-packs for local generated pack
Egor Kislitsyn [Thu, 28 May 2020 15:32:56 +0000 (19:32 +0400)]
Update installation guides
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
Mark Felder [Wed, 27 May 2020 19:34:37 +0000 (14:34 -0500)]
Fix minor spelling error
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
Mark Felder [Wed, 27 May 2020 18:50:24 +0000 (13:50 -0500)]
Update AdminFE build, re-enables emoji packs
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
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.
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
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
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
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
lain [Wed, 27 May 2020 10:56:15 +0000 (12:56 +0200)]
Migrations: Make user_id index on notifications better for query.
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
lain [Wed, 27 May 2020 10:41:06 +0000 (12:41 +0200)]
Notification: Actually preload objects.
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
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.
Alexander Strizhakov [Wed, 27 May 2020 06:42:28 +0000 (09:42 +0300)]
validate actor type
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
rinpatch [Tue, 26 May 2020 15:57:01 +0000 (15:57 +0000)]
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
rinpatch [Tue, 26 May 2020 15:56:23 +0000 (15:56 +0000)]
Merge branch 'apps-index' into 'develop'
Migrations: Add index on client_id and client_secret for apps.
See merge request pleroma/pleroma!2589
rinpatch [Tue, 26 May 2020 15:55:09 +0000 (15:55 +0000)]
Merge branch '1813-throttling' into 'develop'
Mastodon API Controllers: Use the correct params for rate limiting.
Closes #1813
See merge request pleroma/pleroma!2586
lain [Tue, 26 May 2020 15:46:16 +0000 (17:46 +0200)]
Activity.Queries: Use correct actor restriction.
lain [Tue, 26 May 2020 14:46:57 +0000 (16:46 +0200)]
Migrations: Add index on client_id and client_secret for apps.
Greatly speeds up app lookup.
lain [Tue, 26 May 2020 14:17:54 +0000 (14:17 +0000)]
Merge branch 'restore-new-image' into 'develop'
Config: Restore old new background image
See merge request pleroma/pleroma!2588
lain [Tue, 26 May 2020 14:00:56 +0000 (16:00 +0200)]
Config: Restore old new background image
Became lost in a settings restructure
lain [Tue, 26 May 2020 12:41:46 +0000 (12:41 +0000)]
Merge branch 'fix/oban-warnings' into 'develop'
Fix Oban warnings
See merge request pleroma/pleroma!2587
Egor Kislitsyn [Tue, 26 May 2020 12:11:42 +0000 (16:11 +0400)]
Fix Oban warnings
lain [Tue, 26 May 2020 11:45:54 +0000 (13:45 +0200)]
Mastodon API Controllers: Use the correct params for rate limiting.
lain [Tue, 26 May 2020 10:56:40 +0000 (10:56 +0000)]
Merge branch '1501-include-unlisted-posts-in-user-feed' into 'develop'
[#1501] Made user feed contain public and unlisted activities
Closes #1501
See merge request pleroma/pleroma!2584
lain [Tue, 26 May 2020 08:32:13 +0000 (08:32 +0000)]
Merge branch 'skip-crypt-test' into 'develop'
Skip failing `:crypt` test on mac
See merge request pleroma/pleroma!2583
Ivan Tashkinov [Mon, 25 May 2020 20:27:47 +0000 (23:27 +0300)]
[#1501] Made user feed contain public and unlisted activities.
Egor Kislitsyn [Mon, 25 May 2020 19:01:37 +0000 (23:01 +0400)]
Skip failing `:crypt` test on mac
lain [Mon, 25 May 2020 17:45:40 +0000 (17:45 +0000)]
Merge branch '1471-tuning-advice' into 'develop'
Docs: Document reasonable Postgres settings.
See merge request pleroma/pleroma!2581
lain [Mon, 25 May 2020 17:26:07 +0000 (19:26 +0200)]
Docs: sql -> SQL
lain [Mon, 25 May 2020 17:11:35 +0000 (17:11 +0000)]
Apply suggestion to docs/installation/otp_en.md
lain [Mon, 25 May 2020 15:27:45 +0000 (17:27 +0200)]
Streamer: Don't crash on streaming chat notifications
lain [Mon, 25 May 2020 14:52:03 +0000 (16:52 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
lain [Mon, 25 May 2020 13:53:14 +0000 (15:53 +0200)]
Docs: Document reasonable Postgres settings.
lain [Mon, 25 May 2020 13:08:43 +0000 (15:08 +0200)]
Transmogrifier: Use a simpler way to get mentions.
lain [Mon, 25 May 2020 13:06:35 +0000 (15:06 +0200)]
User: Change signature of get_users_from_set
lain [Mon, 25 May 2020 12:01:16 +0000 (14:01 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into 1808-pleroma-sucks
lain [Mon, 25 May 2020 12:00:53 +0000 (12:00 +0000)]
Merge branch 'flaky-tests' into 'develop'
Flaky tests
See merge request pleroma/pleroma!2578
lain [Mon, 25 May 2020 12:00:18 +0000 (14:00 +0200)]
StealEmojiPolicyTest: Clean up.
lain [Mon, 25 May 2020 11:48:47 +0000 (13:48 +0200)]
StealEmojiPolicyTest: Fix flaky test.
lain [Mon, 25 May 2020 11:57:27 +0000 (13:57 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
lain [Mon, 25 May 2020 11:48:47 +0000 (13:48 +0200)]
StealEmojiPolicyTest: Fix flaky test.
lain [Mon, 25 May 2020 11:40:54 +0000 (11:40 +0000)]
Merge branch 'openapi/admin/status' into 'develop'
Add OpenAPI spec for AdminAPI.StatusController
See merge request pleroma/pleroma!2566
lain [Mon, 25 May 2020 10:59:42 +0000 (12:59 +0200)]
Factory: Set users to be ap_enabled by default.
lain [Mon, 25 May 2020 10:49:38 +0000 (12:49 +0200)]
UserTest: Add test for user refreshing.
lain [Mon, 25 May 2020 10:46:14 +0000 (12:46 +0200)]
User: Don't error out if we want to refresh a user but can't
rinpatch [Sun, 24 May 2020 19:05:57 +0000 (19:05 +0000)]
Merge branch 'mastodon-migration-compat' into 'develop'
Add compatibility routes for converted mastodon instances
Closes #1797
See merge request pleroma/pleroma!2572
lain [Fri, 22 May 2020 17:20:23 +0000 (17:20 +0000)]
Merge branch 'priv-warning' into 'develop'
priv/static: Add a warning discouraging admins from modifying the static files directly
See merge request pleroma/pleroma!2571
lain [Fri, 22 May 2020 16:05:35 +0000 (16:05 +0000)]
Merge branch 'feature/configure-filename-truncate' into 'develop'
Configurable filename truncation threshold
Closes #1799
See merge request pleroma/pleroma!2573
Roman Chvanikov [Fri, 22 May 2020 15:44:10 +0000 (15:44 +0000)]
Apply suggestion to lib/pleroma/web/common_api/utils.ex
Roman Chvanikov [Fri, 22 May 2020 15:30:13 +0000 (18:30 +0300)]
Update CHANGELOG and docs
Roman Chvanikov [Fri, 22 May 2020 15:19:25 +0000 (18:19 +0300)]
Add filename_display_max_length config
lain [Fri, 22 May 2020 15:13:09 +0000 (17:13 +0200)]
Add Changelog
lain [Fri, 22 May 2020 15:11:59 +0000 (17:11 +0200)]
OStatusController: Add Mastodon activity compat route.
lain [Fri, 22 May 2020 15:06:12 +0000 (17:06 +0200)]
ActivityPubController: Add Mastodon activity compat route.
lain [Fri, 22 May 2020 14:47:22 +0000 (16:47 +0200)]
OStatusController: Add Mastodon compatibility route for objects.
rinpatch [Fri, 22 May 2020 14:36:08 +0000 (14:36 +0000)]
Merge branch 'emoji-react-better-errors' into 'develop'
EmojiReactionController: Return more appropriate error.
See merge request pleroma/pleroma!2569
rinpatch [Fri, 22 May 2020 14:35:13 +0000 (14:35 +0000)]
Merge branch 'fix/notifications-api' into 'develop'
Fix notifications mark as read API
Closes #1800
See merge request pleroma/pleroma!2570
rinpatch [Fri, 22 May 2020 14:33:19 +0000 (17:33 +0300)]
priv/static: Add a warning discouraging admins from modifying the static files directly
Egor Kislitsyn [Fri, 22 May 2020 14:15:36 +0000 (18:15 +0400)]
Fix notifications mark as read API
lain [Fri, 22 May 2020 14:15:29 +0000 (16:15 +0200)]
ActivityPubController: Add Mastodon compatibility route.
lain [Fri, 22 May 2020 12:38:28 +0000 (14:38 +0200)]
EmojiReactionController: Return more appropriate error.
Haelwenn [Fri, 22 May 2020 05:47:53 +0000 (05:47 +0000)]
Merge branch 'announce-validator' into 'develop'
Announce validator
See merge request pleroma/pleroma!2567
Haelwenn [Fri, 22 May 2020 05:22:07 +0000 (05:22 +0000)]
Merge branch '1113-op-mentioning' into 'develop'
CommonAPI: Change public->private implicit addressing.
Closes #1113
See merge request pleroma/pleroma!2563
lain [Thu, 21 May 2020 14:32:49 +0000 (14:32 +0000)]
Merge branch 'issue/1707' into 'develop'
[#1707] fixed `mix pleroma.instance gen`
See merge request pleroma/pleroma!2565
lain [Thu, 21 May 2020 14:30:34 +0000 (14:30 +0000)]
Merge branch 'admin-logo-upload' into 'develop'
Ability to upload background, logo, default user avatar, instance thumbnail, and the NSFW hiding image
See merge request pleroma/pleroma!2388
lain [Thu, 21 May 2020 13:35:13 +0000 (15:35 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
lain [Thu, 21 May 2020 13:31:49 +0000 (13:31 +0000)]
Merge branch 'features/emoji_stealer' into 'develop'
MRF.StealEmojiPolicy: New Policy
See merge request pleroma/pleroma!2385
lain [Thu, 21 May 2020 13:30:09 +0000 (13:30 +0000)]
Merge branch 'openapi/pleroma-api/pleroma' into 'develop'
Add OpenAPI spec for PleromaAPI.PleromaAPIController
See merge request pleroma/pleroma!2564
lain [Thu, 21 May 2020 13:27:44 +0000 (13:27 +0000)]
Merge branch 'issue/749' into 'develop'
[#749] unsubscribes of friends when user deactivated
See merge request pleroma/pleroma!2513
Egor Kislitsyn [Thu, 21 May 2020 10:03:38 +0000 (14:03 +0400)]
Add OpenAPI spec for AdminAPI.StatusController
lain [Thu, 21 May 2020 13:17:39 +0000 (15:17 +0200)]
UploadTest: Fix test.
lain [Thu, 21 May 2020 13:08:56 +0000 (15:08 +0200)]
Attachments: Have the mediaType on the root, too.
lain [Thu, 21 May 2020 13:00:05 +0000 (15:00 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
lain [Thu, 21 May 2020 12:12:32 +0000 (14:12 +0200)]
Credo fixes for the credo god.
lain [Thu, 21 May 2020 11:58:18 +0000 (13:58 +0200)]
AnnounceValidator: Check for announcability
lain [Thu, 21 May 2020 11:31:52 +0000 (13:31 +0200)]
Credo fixes.
lain [Thu, 21 May 2020 11:16:21 +0000 (13:16 +0200)]
Announcements: Fix all tests.
lain [Thu, 21 May 2020 10:43:09 +0000 (12:43 +0200)]
SideEffects: Builed out Announce effects.
lain [Thu, 21 May 2020 10:27:06 +0000 (10:27 +0000)]
Apply suggestion to docs/administration/CLI_tasks/user.md
Egor Kislitsyn [Wed, 20 May 2020 14:00:41 +0000 (18:00 +0400)]
Move status actions to AdminAPI.StatusController
Maksim Pechnikov [Thu, 21 May 2020 05:06:57 +0000 (08:06 +0300)]
rename mix task: `pleroma.user unsubscribe` -> `pleroma.user deactivate`
eugenijm [Sun, 12 Apr 2020 19:54:43 +0000 (22:54 +0300)]
Added the ability to upload background, logo, default user avatar, instance thumbnail, and the NSFW hiding image via AdminFE
Maksim Pechnikov [Wed, 20 May 2020 18:16:40 +0000 (21:16 +0300)]
fixed `mix pleroma.instance gen`
Haelwenn [Wed, 20 May 2020 17:45:19 +0000 (17:45 +0000)]
Merge branch 'chore/update-config-fe' into 'develop'
Synchronize :fe settings in config.exs
See merge request pleroma/pleroma!2560
Mark Felder [Wed, 20 May 2020 17:22:31 +0000 (12:22 -0500)]
Also add new sidebarRight setting
lain [Wed, 20 May 2020 14:36:55 +0000 (16:36 +0200)]
Pipeline: Don't federate if federation is disabled.