rinpatch
27180611df
HTTP Security plug: make starting csp string generation more readable
4 years ago
Alexander Strizhakov
ae05792d2a
get-packs for local generated pack
4 years ago
Mark Felder
95f6240889
Fix minor spelling error
4 years ago
rinpatch
29ff6d414b
HTTP security plug: Harden img-src and media-src when MediaProxy is enabled
4 years ago
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.
4 years ago
rinpatch
8f6d428880
AccountView: Use mediaproxy URLs for emojis
Also use atom keys in emoji maps instead of binaries
Closes #1810
4 years ago
Alexander Strizhakov
047a11c48f
Apply suggestion to lib/pleroma/web/admin_api/controllers/admin_api_controller.ex
4 years ago
lain
b8e029b5ea
Notification: Actually preload objects.
4 years ago
lain
7e13200869
ActivityPub: Change ordering to `nulls last` in favorites query
This makes it use our existing index and speeds up the query.
4 years ago
Alexander Strizhakov
3249141588
validate actor type
4 years ago
lain
d8d99fd4cf
Activity.Queries: Use correct actor restriction.
4 years ago
Egor Kislitsyn
2069ec5006
Fix Oban warnings
4 years ago
lain
51bc6674f6
Mastodon API Controllers: Use the correct params for rate limiting.
4 years ago
Ivan Tashkinov
d7a57004ef
[ #1501 ] Made user feed contain public and unlisted activities.
4 years ago
lain
dbd07d29a3
Streamer: Don't crash on streaming chat notifications
4 years ago
lain
6bd7070b00
Transmogrifier: Use a simpler way to get mentions.
4 years ago
lain
5fef405208
User: Change signature of get_users_from_set
4 years ago
lain
d0c26956da
User: Don't error out if we want to refresh a user but can't
4 years ago
Roman Chvanikov
5d60b25e69
Apply suggestion to lib/pleroma/web/common_api/utils.ex
4 years ago
Roman Chvanikov
cc82229ba7
Add filename_display_max_length config
4 years ago
lain
91c8467582
OStatusController: Add Mastodon activity compat route.
4 years ago
lain
355aa3bdc7
ActivityPubController: Add Mastodon activity compat route.
4 years ago
lain
8a4bd9e5d1
OStatusController: Add Mastodon compatibility route for objects.
4 years ago
Egor Kislitsyn
ba106aa9c8
Fix notifications mark as read API
4 years ago
lain
ca755f9a73
ActivityPubController: Add Mastodon compatibility route.
4 years ago
lain
bcb549531f
EmojiReactionController: Return more appropriate error.
4 years ago
Egor Kislitsyn
45d2c4157f
Add OpenAPI spec for AdminAPI.StatusController
4 years ago
lain
cc0d462e91
Attachments: Have the mediaType on the root, too.
4 years ago
lain
cdc6ba8d7b
AnnounceValidator: Check for announcability
4 years ago
lain
c76267afb9
Credo fixes.
4 years ago
lain
23e248694d
Announcements: Fix all tests.
4 years ago
lain
d9d425708e
SideEffects: Builed out Announce effects.
4 years ago
Egor Kislitsyn
9de9760aa6
Move status actions to AdminAPI.StatusController
4 years ago
Maksim Pechnikov
9bc5e18ade
rename mix task: `pleroma.user unsubscribe` -> `pleroma.user deactivate`
4 years ago
eugenijm
b7fc61e17b
Added the ability to upload background, logo, default user avatar, instance thumbnail, and the NSFW hiding image via AdminFE
4 years ago
Maksim Pechnikov
c96f425cb0
fixed `mix pleroma.instance gen`
4 years ago
lain
39031f4860
Pipeline: Don't federate if federation is disabled.
4 years ago
lain
e42bc5f557
Announcements: Handle through common pipeline.
4 years ago
lain
eb5f428565
CommonAPI: Change public->private implicit addressing.
This will not add the OP to the `to` field anymore when going from
public to private.
4 years ago
Egor Kislitsyn
26f01744bc
Add `background_image` to `InstanceOperation`
4 years ago
Egor Kislitsyn
5ba6e1c322
Move notification actions to PleromaAPI.NotificationController
4 years ago
Egor Kislitsyn
f3fc8b22b1
Move conversation actions to PleromaAPI.ConversationController
4 years ago
Egor Kislitsyn
9a5de0f454
Move reaction actions to EmojiReactionController
4 years ago
Egor Kislitsyn
490a3a34b6
Add OpenAPI spec for PleromaAPI.PleromaAPIController
4 years ago
lain
8a6ddf26ac
InstanceOperation: Add background image to example
4 years ago
Egor Kislitsyn
47ed9ee441
Fix summary
4 years ago
lain
be322541c8
User.Query: Remove superfluous `distinct`
4 years ago
Egor Kislitsyn
6609714d66
Move Scrobble views to ScrobbleView
4 years ago
Egor Kislitsyn
524d04d921
Add OpenAPI spec for PleromaAPI.ScrobbleController
4 years ago
lain
a985bd57b4
User.Query: Speed up recipients query.
4 years ago