Commit Graph

4327 Commits (0447c4271587f6dc3d87fa079aa78ae0b4e38245)

Author SHA1 Message Date
kaniini 5c35d2f1d8 Merge branch 'preload-user-timelines' into 'develop'
5 years ago
kaniini fe42844bda Merge branch 'get-context-optimizations' into 'develop'
5 years ago
rinpatch 8202f1634a Preload thread mutes/bookmarks in user_statuses
5 years ago
rinpatch f4e087ee48 Preload thread mutes/bookmarks in get_context
5 years ago
rinpatch 9ef31767f2 Merge branch 'feature/mrf-vocabulary' into 'develop'
5 years ago
kaniini c3a54cc34d Merge branch 'feature/mrf-describe' into 'develop'
5 years ago
rinpatch 83a3de8cc4 Merge branch 'length-limit-bio' into 'develop'
5 years ago
Ariadne Conill abfbcfdcb3 mrf_vocabulary: add describe API support
5 years ago
Ariadne Conill 4244e17de0 fix credo
5 years ago
Haelwenn 47c20ab796 Merge branch 'fix/mastoapi-more-object-preloads' into 'develop'
5 years ago
rinpatch 46d7bef7e7 Nicer formatting for safe_render errors
5 years ago
Ariadne Conill f305e97eeb nodeinfo: use MRF.describe() instead of hardcoded MRF transparency stuff
5 years ago
Ariadne Conill c574b7a1fc MRF: add describe() to all modules, add base MRF configuration to base describe()
5 years ago
Ariadne Conill 694bc43123 MRF: add describe() for gathering and describing the MRF configuration
5 years ago
Maksim fea4d89e9f tests for Web/ActivityPub/Relay
5 years ago
Maksim 04da1166db tests for /web/mastodon_api/mastodon_api.ex
5 years ago
Ariadne Conill 3fdbeb7087 MRF: add vocabulary policy module
5 years ago
rinpatch c1b6952d2a Mastodon API: Preloading and normalization optimizations
5 years ago
Ivan Tashkinov 0e1c481a94 [#1149] Added more oban workers. Refactoring.
5 years ago
Ariadne Conill f46cd7e9c7 config: remove legacy activitypub accept_blocks setting
5 years ago
lain 511ccea5aa ConversationView: Align parameter names with other views.
5 years ago
lain 60231ec7bd Conversation: Add endpoint to get a conversation by id.
5 years ago
lain 23c46f7e72 Conversations: Use 'recipients' for accounts in conversation view.
5 years ago
rinpatch 92479c6f48 Do not fetch the reply object in `fix_type` unless the object has the
5 years ago
Ariadne Conill 9cfc289594 MRF: ensure that subdomain_match calls are case-insensitive
5 years ago
kaniini 84808e1697 Merge branch 'develop' into 'fix/hide-follows-counters'
5 years ago
Sergey Suprunenko af4cf35e20 Strip internal fields including likes from incoming and outgoing activities
5 years ago
Maksim 11d08c2de0 tests for Pleroma.Uploaders
5 years ago
Ivan Tashkinov 33a5fc4a70 [#1149] Fixed failing tests. Ensured Instance.set_unreachable/2 supports ISO 8601 datetime.
5 years ago
rinpatch 0802a08871 Mastodon API: Fix thread mute detection
5 years ago
Maksim bb9c539580 Uploader.S3 added support stream uploads
5 years ago
Maxim Filippov dfae61c25c Fix deactivated user deletion
5 years ago
Ivan Tashkinov 267262491e Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
5 years ago
Ivan Tashkinov b7fad8d395 [#1149] Oban jobs implementation for :federator_incoming and :federator_outgoing queues.
5 years ago
rinpatch 409bcad54b Mastodon API: Set follower/following counters to 0 when hiding
5 years ago
lain 29807ef6a5 Merge branch 'feature/digest-email' into 'develop'
5 years ago
lain a2b98f6d58 Merge remote-tracking branch 'origin/develop' into pleroma-conversations
5 years ago
Thibaut Girka 9c0da1009a Return profile URL in MastodonAPI's `url` field
5 years ago
Thibaut Girka 089d53a961 Simplify logic to mention.js `url` field
5 years ago
Thibaut Girka a10c840aba Return profile URL when available instead of actor URI for MastodonAPI mention URL
5 years ago
Haelwenn aa718ab8f6 Merge branch 'fix/object-reembeds' into 'develop'
5 years ago
rinpatch 4f1b9c54b9 Do not rembed the object after updating it
5 years ago
rinpatch 03ad31328c OStatus Announce Representer: Do not depend on the object being embedded
5 years ago
rinpatch 73d8d5c49f Stop depending on the embedded object in restrict_favorited_by
5 years ago
Maksim 139b196bc0 [#1150] fixed parser TwitterCard
5 years ago
lain e4a01d253e Conversation: Rename function to better express what it does.
5 years ago
lain a49c92f6ae Participation: Setting recipients will always add the owner.
5 years ago
Maksim bdc9a7222c tests for CommonApi/Utils
5 years ago
lain d6fe220e32 Linting.
5 years ago
lain b64b6fee2a CommonAPI: Replies to conversations also get the correct context id.
5 years ago
lain 3af6d14da7 Pleroma Conversations API: Add a way to set recipients.
5 years ago
Eugenij 96028cd585 Remove Reply-To from report emails
5 years ago
kaniini f7fc902c29 Merge branch 'feature/relay-list-task' into 'develop'
5 years ago
Sergey Suprunenko e8ad116c2a Do not add the "next" key to likes.json if there is no more items
5 years ago
Ariadne Conill cef3af5536 tasks: relay: add list task
5 years ago
Haelwenn (lanodan) Monnier a035ab8c1d
templates/layout/app.html.eex: Style anchors
5 years ago
kaniini 86fffe9c27 Merge branch 'patch-2' into 'develop'
5 years ago
Thibaut Girka 1fce56c7df Refactor
5 years ago
Thibaut Girka 16cfb89240 Only add `preferredUsername` to service actor json when the underlying user actually has a username
5 years ago
Alexander Strizhakov de0f3b73dd Admin fixes
5 years ago
Sergey Suprunenko 040347b248 Remove spaces from the domain search
5 years ago
Sergey Suprunenko 8b2fa31fed Handle MRF rejections of incoming AP activities
5 years ago
Thibaut Girka a187dbb326 Add preferredUsername to service actors so Mastodon can resolve them
5 years ago
Haelwenn (lanodan) Monnier 8815f07058
tasks/pleroma/user.ex: Fix documentation of --max-use and --expire-at
5 years ago
lain eee98aaa73 Pleroma API: Add endpoint to get conversation statuses.
5 years ago
feld d93d777915 Fix/mediaproxy whitelist base url
5 years ago
Roman Chvanikov 9d4f34fbcb Merge branch 'develop' into feature/digest-email
5 years ago
lain 56b1c3af13 CommonAPI: Extend api with conversation replies.
5 years ago
lain 5ff8f07ca9 Merge branch 'feature/hide-follows-remote' into 'develop'
5 years ago
lain f88560accd Conversations: Add recipient list to conversation participation.
5 years ago
Ivan Tashkinov 23d279e03e [#1149] Replaced RetryQueue with oban-based retries.
5 years ago
Egor Kislitsyn 9ca4506355 Add configurable length limits for `User.bio` and `User.name`
5 years ago
kaniini 6c06529cd4 Merge branch 'fix/disallow-ostatus-follows-locked' into 'develop'
5 years ago
rinpatch 813c686dd7 Disallow following locked accounts over OStatus
5 years ago
Maksim 6eb33e7303 test for Pleroma.Web.CommonAPI.Utils.get_by_id_or_ap_id
5 years ago
Ariadne Conill f72e0b7cad ostatus: explicitly disallow protocol downgrade from activitypub
5 years ago
rinpatch 301ea0dc04 Add tests for counters being updated on follow
5 years ago
Maksim 58443d0cd6 tests for TwitterApi/UtilController
5 years ago
lain 7483679a7b StatusView: Return direct conversation id.
5 years ago
rinpatch f42719506c Fix credo issues
5 years ago
rinpatch c88a5d3251 Merge branch 'develop' into feature/hide-follows-remote
5 years ago
Alexander Strizhakov 51b3b6d816 Admin changes
5 years ago
Ariadne Conill 3850812503 twitter api: utils: rework do_remote_follow() to use CommonAPI
5 years ago
kaniini 5835069215 Revert "Merge branch 'bugfix/clean-up-markdown-rendering' into 'develop'"
5 years ago
Ariadne Conill 5795a890e9 markdown: clean up html generated by earmark
5 years ago
lain 1dfde4151c Merge branch 'refactor/use-constants' into 'develop'
5 years ago
Eugenij 0bee2131ce Add `mailerEnabled` to the NodeInfo metadata
5 years ago
Sergey Suprunenko c0e258cf21 Redirect not logged-in users to the MastoFE login page on private instances
5 years ago
Maksim 159bbec570 added tests for OstatusController
5 years ago
Ariadne Conill b93498eb52 constants: add as_public constant and use it everywhere
5 years ago
Ariadne Conill 492d854e7a transmogrifier: use User.delete() instead of handrolled user deletion code for remote users
5 years ago
Sachin Joshi 242f5c585e add account confirmation email resend in mastodon api
5 years ago
Maksim 6a4b8b2681 fixed User.update_and_set_cache for stale user
5 years ago
kaniini 488c06b6f5 Merge branch 'develop' into 'develop'
5 years ago
Sergey Suprunenko 02dc651828 Handle 303 redirects
5 years ago
Thomas Sileo 961e778531 Fix HTTP sig tweak on KeyId
5 years ago
Maksim 6b77a88365 [#1097] added redirect: /pleroma/admin -> /pleroma/admin/
5 years ago
rinpatch 41e0304757 Merge branch 'develop' into feature/hide-follows-remote
5 years ago
kaniini 19835be067 Merge branch 'fix-remote-follow-from-ostatus-subscribe' into 'develop'
5 years ago
Sergey Suprunenko b20020da16 Show the url advertised in the Activity in the Status JSON response
5 years ago
feld 84fca14c3c Do not prepend /media/ when using base_url
5 years ago
kPherox ac27b94ffa
Change to not require `magic-public-key` on WebFinger
5 years ago
Maksim 55341ac717 tests WebFinger
5 years ago
Eugenij 4504135894 Add `domain_blocking` to the relationship API (GET /api/v1/accounts/relationships)
5 years ago
Mike Verdone 2c83eb0b15 Revert "squash! Expose expires_at datetime in mastoAPI only for the activity actor"
5 years ago
Mike Verdone 2981821db8 squash! Expose expires_at datetime in mastoAPI only for the activity actor
5 years ago
Roman Chvanikov d2da3d30f3 Merge branch 'develop' into feature/digest-email
5 years ago
Mike Verdone 3cb471ec06 Expose expires_at datetime in mastoAPI only for the activity actor
5 years ago
Mike Verdone 36012ef6c1 Require that ephemeral posts live for at least one hour
5 years ago
Mike Verdone 704960b3c1 Add support for activity expiration to common and Masto API
5 years ago
Mike Verdone 378f5f0fbe Add activity expiration worker
5 years ago
Mike Verdone 666514194a Add activity expirations table
5 years ago
sadposter f5d574f4ed check both item and parent domain blocks
5 years ago
Sadposter 48bd3be9cb move domain block check to with block
5 years ago
Sadposter 4af4f6166b honour domain blocks on streaming notifications
5 years ago
kaniini 9c6357324e Merge branch 'feature/admin-api-user-statuses' into 'develop'
5 years ago
Ariadne Conill d3bdb8e704 rich media: parser: splice the given URL into the result
5 years ago
Maxim Filippov f46805bb40 Merge branch 'develop' into feature/admin-api-user-statuses
5 years ago
Maxim Filippov 03471151d6 AdminAPI: Add "godmode" while fetching user statuses (i.e. admin can see private statuses)
5 years ago
kaniini bd265acf91 Merge branch 'chore/adminapi-deprecated-endpoints' into 'develop'
5 years ago
Haelwenn (lanodan) Monnier 90be91b0e0
Router: Remove deprecated AdminAPI endpoints
5 years ago
Alexander Strizhakov 5e72554f3c Admin config fix
5 years ago
Maksim c49a09ed88 tests for Pleroma.Web.ActivityPub.Publisher
5 years ago
kaniini 8d3cf7e519 Merge branch 'bugfix/unauthed-liked-by' into 'develop'
5 years ago
kaniini 03d89e182e Merge branch 'fix/subscriber-notifications' into 'develop'
5 years ago
Mark Felder 6a79bb12c3 Fix function
5 years ago
Sadposter 54a161cb7a move unauth'd user blocks?/2 check
5 years ago
Mark Felder fd287387a0 Do not notify subscribers for messages from users which are replies to others
5 years ago
Ariadne Conill e7c64f106e signature: properly deduce the actor from misskey key IDs
5 years ago
Sadposter 452980652d Mix format
5 years ago
Sadposter eacf61d823 fix unauthenticated req to favourited/rebloggd_by
5 years ago
kPherox e818381042
Use User.get_or_fetch/1 instead of OStatus.find_or_make_user/1
5 years ago
Alexander Strizhakov b70e659304 Feature/1087 wildcard option for blocks
5 years ago
Haelwenn 674ad5e1df Merge branch 'hardening/stop-misusing-sharedinbox' into 'develop'
5 years ago
Sadposter f712ee879a Bugfix: muted/blocked user notification streaming
5 years ago
Sergey Suprunenko 05b5af8075 Add tests for users tasks and PleromaAuthenticator
5 years ago
Sadposter a5d6287ba8 Hide blocked users from interactions
5 years ago
Ariadne Conill 56019d53a8 activitypub: publisher: align sharedinbox usage with AP specification rules
5 years ago
kaniini a00aab3402 Merge branch 'fix/rich-media-ttl-fallback' into 'develop'
5 years ago
rinpatch 3368174785 Fix rich media parser failing when no TTL can be found by image TTL
5 years ago
Ariadne Conill bc6c5c513a router: ensure the AP sharedinbox path is registered first
5 years ago
rinpatch 196cad46f3 Resolve merge conflicts
5 years ago
rinpatch c3ecaea64d Apply suggestion to lib/pleroma/object/fetcher.ex
5 years ago
rinpatch d4ee76ab63 Apply suggestion to lib/pleroma/user.ex
5 years ago
Roman Chvanikov 8292331b35 Merge branch 'develop' into feature/digest-email
5 years ago
Ivan Tashkinov d0198fe215 [#1112] Preserving `id` on user insert conflict on order not to violate conversation_partipations_user_id_fkey constraint.
5 years ago
Roman Chvanikov ae4fc58589 Remove flavour from userinfo
5 years ago
Roman Chvanikov 36049f08ef Merge develop
5 years ago
feld 93df0796f0 Merge branch 'feature/matstodon-statuses-by-name' into 'develop'
5 years ago
Mark Felder 9169f331b6 Merge branch 'develop' into feature/matstodon-statuses-by-name
5 years ago
kaniini 33729bbb28 Merge branch 'feature/richmedia-ttl' into 'develop'
5 years ago
Ariadne Conill 9a8eb2c94d mix: add pleroma.user unsubscribe_all_from_instance
5 years ago
kaniini 716afc83ce Merge branch 'refactor/http-signature-plug' into 'develop'
5 years ago
Maksim c2e2aadc42 #1110 fixed /api/pleroma/healthcheck
5 years ago
Sachin Joshi de9906ad56 change the structure of image ttl parsar
5 years ago
Maxim Filippov 9570a5be40 Merge branch 'develop' into feature/admin-api-user-statuses
5 years ago
Ariadne Conill c947cfec5a mapped signature plug: use `user` assign like authentication plug
5 years ago
Maksim f435217e50 tests for Plugs.AuthenticationPlug
5 years ago
Ariadne Conill a8af0ac053 mapped signature plug: fix user lookup
5 years ago
Ariadne Conill 5ea0cd69f7 mapped signature plug: don't invalidate in cases where a signature is actually not present (testsuite)
5 years ago
Ariadne Conill 184fa61fb3 plugs: add MappedSignatureToIdentityPlug
5 years ago
Ariadne Conill 18d8d12d53 signature: make key_id_to_actor_id() public
5 years ago
Ariadne Conill 88d064d80e http signature plug: remove redundant checks handled by HTTPSignatures library
5 years ago
kaniini f9a0014681 Merge branch 'feature/signed-object-fetches' into 'develop'
5 years ago
Maksim b6b748d3e7 tests for Uploader with webhook
5 years ago
Ariadne Conill 399acd4c42 fetcher: sign object fetches if configured
5 years ago
kaniini 1e48af9acf Merge branch 'feature/instance-fetch-actor' into 'develop'
5 years ago
kaniini 60b54ee64a Merge branch 'feature/http-signatures-keyid' into 'develop'
5 years ago
Ariadne Conill f84fb340b7 http signatures: derive actor ID from key ID.
5 years ago
Eugenij 4bf2bb9cff Fix password reset for non-test env
5 years ago
Ariadne Conill cf9cb953d5 activitypub: represent internal fetch actor
5 years ago
Ariadne Conill d930e5d5c3 activitypub: introduce internal fetch service actor
5 years ago
Ariadne Conill 62e5ff624e user: add is_internal_user? helper function
5 years ago
Ariadne Conill 0a6f6e1b5b webfinger: allow resolution of usernames with dots in them (internal actors)
5 years ago
Ariadne Conill a9d6a12bb3 activitypub: controller: rework the way the relay actor is presented so the code can be reused
5 years ago
Ariadne Conill 4885473be2 user: refactor get_or_create_instance_user() into get_or_create_service_actor_by_id()
5 years ago
kaniini ce73d5f6a5 Merge branch 'feature/mention-mrf' into 'develop'
5 years ago
RX14 96a2890a9e
Add MRF MentionPolicy for dropping posts which mention specific actors
5 years ago
Alexander Strizhakov 10f82c88b8 mastoapi password reset
5 years ago
Maksim 21e3f9ac69 added tests for Pleroma.Upload.Filter
5 years ago
Sachin Joshi 18234cc44e add the rich media ttl based on image exp time
5 years ago
Ivan Tashkinov 889dc17abd [#1094] Rate-limited follow & unfollow actions.
5 years ago
Roman Chvanikov e7c175c943 Use PleromaJobQueue for scheduling
5 years ago
Roman Chvanikov 9bca70b10a Merge develop
5 years ago
Eugenij 520ee6c591 Add `pleroma.deactivated` to the Account entity (Mastodon API)
5 years ago
Eugenij c4ca142e14 Add the `blocked_by` attribute to the relationship API (`GET /api/v1/accounts/relationships`)
5 years ago
Egor Kislitsyn 70439494af Fix typo
5 years ago
rinpatch 996fd58ac4 Merge branch 'bugfix/poll-id-as-string' into 'develop'
5 years ago
lain 1ed24bcc76 Status View: Poll ids are strings.
5 years ago
Mark Felder ffb4eb9779 Merge branch 'develop' into feature/matstodon-statuses-by-name
5 years ago
feld 9f987dd017 Merge branch 'match-file-name' into 'develop'
5 years ago
Sergey Suprunenko b74300bc7a Add more tests for MastodonAPIController and CommonAPI
5 years ago
Alex S 33fd4c0ed7 query fix
5 years ago
kaniini ee5250ae56 Merge branch 'sha512-crypt' into 'develop'
5 years ago
Sachin Joshi 1d906ffa82 Merge branch 'develop' into match-file-name
5 years ago
Moonman 105f437ce9 formatting
5 years ago
kaniini 03c4ea44ad Merge branch 'admin-configure-atom-keys' into 'develop'
5 years ago
Maksim c32384c1ea tests for Pleroma.Signature
5 years ago
Alex S b8607c151c migrating task refactor
5 years ago
Alex S c66044b923 atom keys with leading :
5 years ago
Egor Kislitsyn de13c9bb8f List messages must be visible for mentioned users
5 years ago
Egor Kislitsyn d86a97abfb Add an explanation comment to Publisher.publish/2
5 years ago
Egor Kislitsyn 64a946643e Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
Egor Kislitsyn a87c313309 Support `list` visibility in StatusView
5 years ago
Maksim fa17879c20 added tests for Web.MediaProxy
5 years ago
Roman Chvanikov b052a9d4d0 Update DigestEmailWorker to compile and send emails via queue
5 years ago
Sergey Suprunenko dce8ebc9ea Unfollow should also unsubscribe
5 years ago
Roman Chvanikov 168dc97c37 Make opts optional in Pleroma.Notification.for_user_query/2
5 years ago
Roman Chvanikov c729883936 Merge branch 'develop' into feature/digest-email
5 years ago
Ariadne Conill 739bbe0d3b security: detect object containment violations at the IR level
5 years ago
Moonman f98f7ad1b9 detect and use sha512-crypt for stored password hash.
5 years ago
kaniini cef4337f95 Merge branch 'bugfix/llal-object-containment' into 'develop'
5 years ago
Haelwenn (lanodan) Monnier 2592934480
Object.Fetcher: Keep the with-do block as per kaniini proposition
5 years ago
Haelwenn (lanodan) Monnier e1c08a67d6
Object.Fetcher: Fallback to OStatus only if AP actually fails
5 years ago
Alexander Strizhakov e7c39b7ac8 Feature/1072 muting notifications
5 years ago
Haelwenn (lanodan) Monnier 40d0a198e2
Object.Fetcher: Handle error on Containment.contain_origin/2
5 years ago
Alex S f4447d82b8 parsers configurable
5 years ago
rinpatch 0c2dcb4c69 Add follow information refetching after following/unfollowing
5 years ago
rinpatch 183da33e00 Add tests for fetch_follow_information_for_user and check object type
5 years ago
Maxim Filippov 418ae6638d Merge branch 'develop' into feature/admin-api-user-statuses
5 years ago
Maxim Filippov a9459ff98f Admin API: Endpoint for fetching latest user's statuses
5 years ago
rinpatch d06d1b751d Use atoms when updating user info
5 years ago
rinpatch e5b850a991 Refactor fetching follow information to a separate function
5 years ago
Ariadne Conill 80c46d6d8b nodeinfo: implement MRF transparency exclusions
5 years ago
rinpatch e8fa477793 Refactor Follows/Followers counter syncronization
5 years ago
kaniini f4c001062e Merge branch '1041-status-actions-rate-limit' into 'develop'
5 years ago
Ivan Tashkinov d72876c57d [#1041] Minor refactoring.
5 years ago
Haelwenn 9497d14f09 Merge branch 'fix/hackney-global-options' into 'develop'
5 years ago
Ivan Tashkinov 369e9bb42f [#1041] Rate-limited status actions (per user and per user+status).
5 years ago
rinpatch b001b8891a Merge the default options with custom ones in ReverseProxy and
5 years ago
rinpatch 095117a58c Merge branch 'develop' into fix/ap-hide-follows
5 years ago
rinpatch 97b79efbcd ActivityPub Controller: Actually pass for_user to following/followers
5 years ago
Sachin Joshi f8e3ae6154 try to always match the filename for proxy url
5 years ago
Maksim 92055941bd Pleroma.Web.Metadata - tests
5 years ago
rinpatch 1f6ac7680d ActivityPub User view: Following/Followers refactoring
5 years ago
Mark Felder 360e4cdaa2 Move these to pleroma namespace in Mastodon API
5 years ago
Sachin Joshi 6a6c4d134b preserve the original path/filename (no encoding/decoding) for proxy
5 years ago
Roman Chvanikov eae991b06a merge develop
5 years ago
Eugenij 4198c3ac39 Extend Pleroma.Pagination to support offset-based pagination, use async/await to execute status and account search in parallel
5 years ago
Alexander Strizhakov 846ad9a463 admin api configure changes
5 years ago
kaniini e4e3fd7e55 Merge branch 'fix/1019-refactor' into 'develop'
5 years ago
Egor Kislitsyn 9e06873d58 Add `list` to Visibility
5 years ago
Egor Kislitsyn 958fb9aa80 Add "listMessage"
5 years ago
Egor Kislitsyn 182f7bbb11 Merge branch 'develop' into feature/addressable-lists
5 years ago
Alexander Strizhakov a237c6a2d4 support for idna domains
5 years ago
Haelwenn (lanodan) Monnier 252e129b1e
MastoAPI: Add categories to custom emojis
5 years ago
Alex S beba7bbc85 removing synchronization worker
5 years ago
Alex S f8786fa6f2 adding following_address field to user
5 years ago
Sergey Suprunenko ff55e3c16f Create mentions only for explicitly mentioned users
5 years ago
Egor Kislitsyn ed8ce21a22 Fix unused import warning
5 years ago