lain
65689ba9bd
If Credo fixes is so good, why is there no Credo fixes 2?
4 years ago
lain
f3ea6ee2c8
Credo fixes.
4 years ago
lain
0efa8aa0b9
Transmogrifier: For follows, create notifications last.
...
As the notification type changes depending on the follow state,
the notification should not be created and streamed out before the
state settles. For this reason, the notification creation has been
delayed until it's clear if the user has been followed or not.
This is a bit hacky but it will be properly rewritten using the
pipeline soon.
4 years ago
lain
cc8a7dc205
SideEffects / ChatView: Add an unread cache.
...
This is to prevent wrong values in the stream.
4 years ago
lain
aa2ac76510
Notification: Don't break on figuring out the type of old EmojiReactions
4 years ago
lain
d44da91bbf
SubscriptionOperation: Let chat mentions through.
4 years ago
Egor Kislitsyn
317e2b8d61
Use atoms as keys in `ActivityPub.fetch_*` functions options
4 years ago
lain
56dfa0e0fb
Transmogrifier: Update notification after accepting.
4 years ago
lain
00748e9650
ChatMessageReferences: Change seen -> unread
4 years ago
minibikini
b57e4ad1ab
Merge branch 'develop' into 'openapi/admin/relay'
...
# Conflicts:
# lib/pleroma/web/admin_api/controllers/admin_api_controller.ex
4 years ago
lain
b952f3f379
WebPush: Push out chat message notications.
4 years ago
Egor Kislitsyn
70f054b083
Merge branch 'develop' into openapi/admin/relay
4 years ago
Egor Kislitsyn
b4d5bdd6f1
Merge branch 'develop' into openapi/admin/config
4 years ago
lain
e46aecda55
Notification: Fix notifications backfill for compacted activities
4 years ago
lain
b3407344d3
ChatController: Add function to mark single message as read.
4 years ago
lain
c020fd4352
ChatMessageReferenceView: Return read status as `unread`.
4 years ago
Egor Kislitsyn
c16315d055
Add OpenAPI spec for AdminAPI.ReportController
4 years ago
Egor Kislitsyn
9d572f2f66
Move report actions to AdminAPI.ReportController
4 years ago
lain
fb4ae9c720
Streamer, SideEffects: Stream out ChatMessageReferences
...
Saves us a few calles to fetch things from the DB that we already
have.
4 years ago
Haelwenn
18b050dfd1
Merge branch 'openapi/update-admin-api/status' into 'develop'
...
Update OpenAPI spec for AdminAPI.StatusController
See merge request pleroma/pleroma!2624
4 years ago
lain
903955b189
FollowingRelationship: Remove meaningless change
4 years ago
lain
7f5c5b11a5
Chats: Remove `unread` from the db, calculate from unseen messages.
4 years ago
lain
73127cff75
Credo fixes.
4 years ago
lain
2591745fc2
ChatMessageReferences: Move tests
4 years ago
Egor Kislitsyn
8a43611e01
Use AdminAPI.StatusView in api/admin/users
4 years ago
lain
f3ccd50a33
ChatMessageReferences: Adjust views
4 years ago
lain
aa22fce8f4
ChatMessageReference: Introduce and switch in chat controller.
4 years ago
feld
6c1c2cddec
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 ago
Egor Kislitsyn
7922e63825
Update OpenAPI spec for AdminAPI.StatusController
4 years ago
Egor Kislitsyn
68cb152a08
Merge branch 'develop' into openapi/admin/relay
4 years ago
lain
879304dcd9
Merge branch 'replies-domain-block' into 'develop'
...
Replies domain block
Closes #1650
See merge request pleroma/pleroma!2622
4 years ago
lain
5da38c15cd
Merge branch 'openapi/admin/oauth-apps' into 'develop'
...
Add OpenAPI spec for AdminAPI.OAuthAppContoller
See merge request pleroma/pleroma!2582
4 years ago
lain
6977500ef7
Merge branch 'tagline' into 'develop'
...
Update default instance description
See merge request pleroma/pleroma!2600
4 years ago
lain
022d975a39
Merge branch 'openapi/admin/invites' into 'develop'
...
Add OpenAPI spec for AdminAPI.InviteController
See merge request pleroma/pleroma!2585
4 years ago
lain
2860c66e88
Merge branch 'feature/embeddable-posts' into 'develop'
...
Add embeddable posts
Closes #1288
See merge request pleroma/pleroma!2319
4 years ago
lain
2c6ebe709a
Credo fixes
4 years ago
lain
6cd2fa2a4c
Migrations: Add a migration to backfill notification types.
4 years ago
lain
38dce485c4
Notification: Add function to backfill notification types
4 years ago
lain
904295d53b
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
4 years ago
lain
37542a9dfa
Activity: Remove notifications-related functions.
4 years ago
lain
127ccc4e1c
NotificationController: Don't return chat_mentions by default.
4 years ago
lain
cd2abcc0e3
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 ago
lain
805ab86933
Notifications: Make notifications save their type.
4 years ago
rinpatch
165a4b2a69
Do not include activities of invisible users unless explicitly requested
...
Closes #1833
4 years ago
lain
d111eae798
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 ago
lain
8e1db6a835
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
4 years ago
Alexander Strizhakov
19f468c5bc
replies filtering for blocked domains
4 years ago
rinpatch
6fb900a496
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 ago
Alexander Strizhakov
7e6ec778d9
exclude replies on blocked domains
4 years ago
Egor Kislitsyn
6b84c62d4a
Merge remote-tracking branch 'origin/develop' into feature/embeddable-posts
4 years ago
lain
af9090238e
CommonAPI: Newlines -> br for chat messages.
4 years ago
Egor Kislitsyn
a7627bdc7a
Merge remote-tracking branch 'origin/develop' into global-status-expiration
4 years ago
lain
8ff3425828
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
4 years ago
lain
d4d4b92f75
TimelineController: Only return `Create` in public timelines.
4 years ago
lain
9460983032
AccountController: Federate user account changes.
...
Hotfixy commit, will be moved to the pipeline.
4 years ago
Haelwenn
e96765df6b
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 ago
rinpatch
0cb7b0ea84
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 ago
lain
6ff079ca9f
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
4 years ago
lain
8bdf18d7c1
CommonAPI: Linkify chat messages.
4 years ago
lain
2c9465cc51
SafeText: Let through basic html.
4 years ago
lain
b004c427a0
Merge branch 'conversation-pagination' into 'develop'
...
Conversation pagination
See merge request pleroma/pleroma!2601
4 years ago
Steven Fuchs
6d4b80822b
Conversation pagination
4 years ago
Ivan Tashkinov
24f40b8a26
[ #1794 ] Fixed search query splitting regex to deal with Unicode. Adjusted a test.
4 years ago
Ivan Tashkinov
78c80a261a
Merge remote-tracking branch 'remotes/origin/develop' into fix/1794-hashtag-search-results
4 years ago
rinpatch
d23b3701d8
Merge branch 'bugfix/csp-unproxied' into 'develop'
...
http_security_plug.ex: Fix non-proxied media
See merge request pleroma/pleroma!2610
4 years ago
rinpatch
109af93227
Apply suggestion to lib/pleroma/plugs/http_security_plug.ex
4 years ago
rinpatch
660d49227b
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
Ivan Tashkinov
c181e555db
[ #1794 ] Improvements to hashtags extraction from search query.
4 years ago
Alex Gleason
d38f28870e
Add blob: to connect-src CSP
4 years ago
lain
219d2b3146
Merge branch 'fix-streaming' into 'develop'
...
Fix argument error in streamer
See merge request pleroma/pleroma!2609
4 years ago
feld
81db758e8e
Merge branch 'mix/database-vacuum-options' into 'develop'
...
Database vacuum mix task
See merge request pleroma/pleroma!2599
4 years ago
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.
4 years ago
Haelwenn (lanodan) Monnier
da1e31fae3
http_security_plug.ex: Fix non-proxied media
4 years ago
Haelwenn (lanodan) Monnier
a43b435c0a
AP C2S: allow limit & order on outbox & read_inbox
4 years ago
Haelwenn (lanodan) Monnier
2c18830d0d
Bugfix: router: allow basic_auth for outbox
4 years ago
Haelwenn (lanodan) Monnier
b3b367b894
Bugfix: Reuse Controller.Helper pagination for APC2S
4 years ago
lain
3898dd69a6
SideEffects: Ensure a chat is present before streaming something out.
4 years ago
lain
767ce8b803
StreamerView: Actually send Chats, not ChatMessages.
4 years ago
lain
863c02b25d
SideEffects: Stream out chat messages.
4 years ago
lain
c86a88edec
Streamer: Add a chat message stream.
4 years ago
lain
9848978109
Merge branch 'fix-relay-repeat-notification' into 'develop'
...
Fix relay repeat notification
See merge request pleroma/pleroma!2590
4 years ago
lain
af6d01ec93
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
4 years ago
kPherox
228ff3760e
Use `User.is_internal_user?` instead
4 years ago
kPherox
9df5b1e6ae
Don't make relay announce notification
4 years ago
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
4 years ago
rinpatch
27180611df
HTTP Security plug: make starting csp string generation more readable
4 years ago
Egor Kislitsyn
06f20e9181
Add OpenApi spec to AdminAPI.ConfigController
4 years ago
Egor Kislitsyn
d1ee3527ef
Move config actions to AdminAPI.ConfigController
4 years ago
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
4 years ago
lain
f6ddf0cc50
Merge branch 'feature/1792-update-actor-type' into 'develop'
...
Validate actor type
See merge request pleroma/pleroma!2593
4 years ago
Alex Gleason
d4a18d44fe
Update default instance description
4 years ago
Alexander Strizhakov
ae05792d2a
get-packs for local generated pack
4 years ago
Mark Felder
92fba24c74
Alpha sort
4 years ago
Mark Felder
30f96b19c1
Abstract out the database maintenance. I'd like to use this from AdminFE too.
4 years ago
Mark Felder
0d57e06626
Make clearer that this is time and resource consuming
4 years ago
Mark Felder
73ca57e4f1
Make it obvious a full vacuum can take a while
4 years ago
Mark Felder
a2f57bd82b
Permit easy access to vaccum full and analyze via a mix task
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