Commit Graph

3216 Commits (50269e9cacdbb7834c31fc7ad9872b68977e9f10)

Author SHA1 Message Date
Ariadne Conill 184fa61fb3 plugs: add MappedSignatureToIdentityPlug
5 years ago
Maksim b6b748d3e7 tests for Uploader with webhook
5 years ago
kaniini 1e48af9acf Merge branch 'feature/instance-fetch-actor' into 'develop'
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 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
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 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
kaniini ee5250ae56 Merge branch 'sha512-crypt' into 'develop'
5 years ago
Sachin Joshi 1d906ffa82 Merge branch 'develop' into match-file-name
5 years ago
Maksim c32384c1ea tests for Pleroma.Signature
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
Sergey Suprunenko dce8ebc9ea Unfollow should also unsubscribe
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
Alexander Strizhakov e7c39b7ac8 Feature/1072 muting notifications
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
Ivan Tashkinov d72876c57d [#1041] Minor refactoring.
5 years ago
Ivan Tashkinov 369e9bb42f [#1041] Rate-limited status actions (per user and per user+status).
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
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 5104f65b69 Wrap error messages into gettext helpers
5 years ago
Egor Kislitsyn 26a6871609 Add translation helpers
5 years ago
Egor Kislitsyn 0d54a571ca Add SetLocalePlug
5 years ago
Maksim 008c55e4e9 add test for search_controller/ 100% coverage
5 years ago
Sergey Suprunenko 2d2b50ccca Send and handle "Delete" activity for deleted users
5 years ago
feld 93a0eeab16 Add license/copyright to all project files
5 years ago
Maksim bb8065a1fd tests MRF filters
5 years ago
Roman Chvanikov 371d39e160 Merge develop
5 years ago
kaniini 670a77ecbc Merge branch 'feature/allow-user-query-via-id' into 'develop'
5 years ago
kaniini 1417627d07 Merge branch 'remove-avatar-header' into 'develop'
5 years ago
Mark Felder 9a9b60cfbc Merge branch 'develop' into feature/allow-user-query-via-id
5 years ago
kaniini 1179a13533 Merge branch 'features/sec-websocket-protocol-header' into 'develop'
5 years ago
Haelwenn 1ab4e35f27 Merge branch 'enable-ogp-by-default' into 'develop'
5 years ago
feld 167f810ff1 Merge branch 'proxy-error' into 'develop'
5 years ago
Haelwenn 95c085174d Merge branch 'test-speedup' into 'develop'
5 years ago
Mark Felder 31a59d6f23 Merge branch 'develop' into proxy-error
5 years ago
rinpatch 376a55c97f Merge branch '161-incoming-replies-depth-limit' into 'develop'
5 years ago
lain abe2e8881f Testing: Don't federate in testing.
5 years ago
rinpatch 44b2e1fdad Formatting
5 years ago
rinpatch 9e58d3c624 FallbackRedirector: Do not crash on Metadata rendering errors
5 years ago
rinpatch 7f609ee8f4 OGP/TwitterCard: Add fallbacks in case the attachment key is nonexistent
5 years ago
rinpatch 72b88c82bc Mastodon API: Fix embedded relationships not being rendered inside of statuses
5 years ago
Sachin Joshi f5ad430974 make sure the url used by proxy is same as origin url
5 years ago
Haelwenn (lanodan) Monnier e174614eb9
MastoAPI Streaming: Keep compatibility with access_token
5 years ago
KokaKiwi a7885748c7
MastoAPI streaming: Replace access_token with Sec-WebSocket-Protocol
5 years ago
Ivan Tashkinov ad8d86e7c6 Merge remote-tracking branch 'remotes/upstream/develop' into 161-incoming-replies-depth-limit
5 years ago
Maxim Filippov 6c50fbcd14 Admin API: Allow querying user by ID
5 years ago
Eugenij 15eb1235ed Expose `skip_thread_containment` in nodeinfo
5 years ago
Eugenij 5184b0f41a Use fallback values for search queries
5 years ago
Eugenij ab50c6b3ca Add fallback value to the admin report view.
5 years ago
Roman Chvanikov d2cb18b2a3 Merge branch 'develop' into feature/digest-email
5 years ago
Ivan Tashkinov a799418573 [#161] Merge remote-tracking branch 'remotes/upstream/develop' into 161-incoming-replies-depth-limit
5 years ago
Ivan Tashkinov 2b9d914089 [#161] Refactoring, documentation.
5 years ago
Eugenij 1f76740e10 Add hashtag filter to user statuses (GET /api/v1/accounts/:id/statuses)
5 years ago
rinpatch 4c60a562a7 Fix not being able to pin unlisted posts
5 years ago
Ivan Tashkinov 5b7b1040b3 [#161] Limited replies depth on incoming federation in order to prevent memory leaks on recursive replies fetching.
5 years ago
kaniini d1549a6375 Merge branch 'feature/merge-mastodon-admin-views-for-reports' into 'develop'
5 years ago
William Pitcock 034986e1fd MRF: add mediaproxy warming policy
5 years ago
Roman Chvanikov 657277ffc0 Resolve conflicts
5 years ago
Maxim Filippov 452ca5250d Merge admin and mastodon user views for reports
5 years ago
kaniini 0369a5db16 Merge branch 'idempotency-plug' into 'develop'
5 years ago
Alexander Strizhakov c6705144a2 don't delete config settings on admin update
5 years ago
Egor Kislitsyn 889a9c3a3f Polish IdempotencyPlug
5 years ago
Egor Kislitsyn 0b8aeac0f3 Remove previous idempotency implementation from `post_status`
5 years ago
Egor Kislitsyn 74132e3715 Enable IdempotencyPlug for the all API
5 years ago
Sergey Suprunenko d53fb55bb7 Return correct response when reply to a direct message is not direct itself
5 years ago
kaniini 24bcc209f9 Merge branch 'refactoring/fix_render_view' into 'develop'
5 years ago
Maksim Pechnikov 5c0f646cef fix validate_page_url
5 years ago
Roman Chvanikov a7a54068f9 Fix Controller.render/4 deprecation
5 years ago
Maksim Pechnikov 4ad15ad2a9 add ignore hosts and TLDs for rich_media
5 years ago
Maksim Pechnikov 0276cf5a02 fix validate_url for private ip
5 years ago
Maksim a0c4ebb4d7 [#184] small refactoring reset password
5 years ago
Sergey Suprunenko 2c63c67512 Rework user deletion
5 years ago
Eugenij f2c03425b0 Broadcast conversation update when DM is deleted
5 years ago
kaniini 27b9605de0 Merge branch 'rich_media_titles_two' into 'develop'
5 years ago
Alex S 982cad0268 support for config groups
5 years ago
Sachin Joshi a0c65bbd6c Merge branch 'develop' into 'remove-avatar-header'
5 years ago
Alex S 410add1c30 support for tuples with more than 2 values
5 years ago
lain 0e415921cd Rich Media Parser: Do not return just a title if nothing else is there.
5 years ago
lain 58c4d5312b Revert "Revert "Merge branch 'fix/ogp-title' into 'develop'""
5 years ago
Alex S f0fccb7578 fix for int and modules
5 years ago
kaniini 55742d978d Merge branch 'feature/mrf-anti-link-spam' into 'develop'
5 years ago
kaniini e3534f5b3c Merge branch 'oauth_secure_redirect' into 'develop'
5 years ago
William Pitcock 127a5a7d65 change the anti-link-spam MRF implementation to use old_user? instead of the previous name
5 years ago
feld b6af80f769 Revert "Merge branch 'fix/ogp-title' into 'develop'"
5 years ago
William Pitcock 21dacd4b15 unbreak polls
5 years ago
William Pitcock 736d8ad6be implement anti link spam MRF
5 years ago
rinpatch df2dab69a7 Merge branch 'begone-the-dot-hack' into 'develop'
5 years ago
lain 966317e052 Merge branch 'deps/update-auto-linker' into 'develop'
5 years ago
Ivan Tashkinov 64bc7ac619 Minor edit (comment).
5 years ago
Ivan Tashkinov 9f45f93949 Added more `redirect_uri` checks to prevent redirect to not explicitly listed URI.
5 years ago
rinpatch f30a3241d2 Deps: Update auto_linker
5 years ago
rinpatch c7acca2abb Mastodon API: Sanitize display names
5 years ago
rinpatch c4e4f7d0e4 Add proper error handling for when the post exceeds character limits
5 years ago
rinpatch dce27de733 Mastodon API: Remove the dot hack
5 years ago
rinpatch 49a49d3763 Merge branch 'removing-test-errors' into 'develop'
5 years ago
Haelwenn c34327b22e Merge branch 'fix/sanitize-report-content' into 'develop'
5 years ago
Alex S 0f59265a50 salmon fix
5 years ago
Maksim a04bf131e0 [#570] add user:notification stream
5 years ago
rinpatch bf6aa6f1a8 Fix report content stopping to be nullable
5 years ago
rinpatch 44de34d170 Credo fixes
5 years ago
rinpatch 641bcaa44e Sanitize HTML in ReportView
5 years ago
lain 135c196769 Merge branch 'bugfix/980-polls-double-vote' into 'develop'
5 years ago
lain 37ee6c6e2c Merge branch 'update/phoenix-and-plug' into 'develop'
5 years ago
kaniini 52b1b0e45d Merge branch '963_oob_oauth_redirect_fix' into 'develop'
5 years ago
Mark Felder 9b908697dd OEmbed.OEmbedController does not exist in the Pleroma codebase. It was removed in commit 92c5640f
5 years ago
lain a440cf856d Mastodon API: Return the token needed for the chat.
5 years ago
rinpatch 62ffc00a5d Merge branch 'feature/add-background-image-to-mastoapi' into 'develop'
5 years ago
Alexander Strizhakov c2ca1f22a2 it is changed in compile time
5 years ago
Maksim ee4ed87fb4 [#948] /api/v1/account_search added optional parameters (limit, offset, following)
5 years ago
lain eac298083f MastodonAPI: Add a way to update the background image.
5 years ago
lain 5965efb216 AccountView: Add user background.
5 years ago
Egor Kislitsyn a12f8e13c8 Improve <title> fallback; Add a test
5 years ago
Mark Felder 7363a0ea8a Revert "Only run Floki if title is missing from the map"
5 years ago
Mark Felder 97d2b1a45a Only run Floki if title is missing from the map
5 years ago
Mark Felder 097fdf6a5d Attempt to use <title> from HTML as a fallback
5 years ago
Ivan Tashkinov 4b2c29016c [#963] No redirect on OOB OAuth authorize request with existing authorization. OAuth-related refactoring.
5 years ago
lain 966543379d MastodonAPI Controller: Band-Aid double vote problem.
5 years ago
Egor Kislitsyn bf22ed5fbd Update `auto_linker` dependency
5 years ago
lain 63ab3c30eb Merge branch 'feature/rate-limiter' into 'develop'
5 years ago
Egor Kislitsyn ad04d12de6 Replace `MastodonAPIController.account_register/2` rate limiter
5 years ago
Egor Kislitsyn bc8f059367 Add rate limiting for search endpoints
5 years ago
rinpatch d020f68e87 Transmogrifier: Do not crash if inReplyTo does not exist and can't be fetched
5 years ago
Roman Chvanikov 01fe5abad1 Resolve conflicts
5 years ago
rinpatch 92213fb87c Replace Mix.env with Pleroma.Config.get(:env)
5 years ago
kaniini 3f6da9c45a Merge branch 'bugfix/377-stuck-follow-request' into 'develop'
5 years ago
kaniini a511d2f900 Merge branch 'improve-search' into 'develop'
5 years ago
lain e1370ba131 Utils: Use update_follow_state_for_all when appropriate.
5 years ago
lain ad19bfc7fe Utils: Split update_follow_state and update_follow_state_for_all.
5 years ago
lain 076c9ae40e User: Remove superfluous `maybe_follow`.
5 years ago
lain 3115b64cfe Transmogrifier: Add tests for incoming follows to locked accounts.
5 years ago
Egor Kislitsyn ddd4a09b72 Fix merge conflict
5 years ago
Egor Kislitsyn cfa5572d28 Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
Ivan Tashkinov 3eefb274f4 OAuth consumer: tests fix, comments, Keycloak config notes.
5 years ago
Egor Kislitsyn 93397fce3d Contain search for unauthenticated users
5 years ago
kaniini e4babb1c9f Merge branch 'explicit-addressing' into 'develop'
5 years ago
Egor Kislitsyn 6ba9055b51 Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
Roman Chvanikov b1b1a270e8 Fix conflict
5 years ago
lain 18c35d84fd NodeInfo: Add explicit addressing to nodeinfo.
5 years ago
Maksim Pechnikov 1e7bb69a95 update ActivityPub#fetch_activities_query
5 years ago
Maksim Pechnikov d3d1704e84 Merge branch 'develop' into issue/941
5 years ago
Maksim Pechnikov 0acfcf6c52 update ActivityPub#fetch_activities_query
5 years ago
rinpatch 17383861ed Fix CommonAPI.vote returning tuples inside of the activity array instead of just activities
5 years ago
rinpatch 29b022bb59 Restrict `get_existing_votes` to only get Create activities
5 years ago
Egor Kislitsyn 9ce928d823 Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
lain 4cab98b7bf Merge remote-tracking branch 'origin/develop' into explicit-addressing
5 years ago
William Pitcock 37a4ba0624 utils: access inReplyTo as an explicit string when fetching poll results`
5 years ago
Maksim Pechnikov 4f2e359687 Merge branch 'develop' into issue/941
5 years ago
William Pitcock 1c6cf0a348 nodeinfo: add pollLimits to metadata
5 years ago
kaniini 9f0d0d0805 Merge branch 'feature/mrf-subchain' into 'develop'
5 years ago
kaniini 9d2563a3de Merge branch 'generic-fe-settings' into 'develop'
5 years ago
Roman Chvanikov 3e17610587 Add task to test emails
5 years ago
Mark Felder 6ef145b4fc Merge branch 'develop' into feature/digest-email
5 years ago
Maksim Pechnikov f13d6c7f78 update api to set skip_thread_containment
5 years ago
eugenijm f2c4c99e03 Remove repeated scope lists
5 years ago
lain 80d4d83aac CommonAPI: Add explicit addressing.
5 years ago
eugenijm 243d8ed94e Use workaround for the heavy checkmark symbol in iOS
5 years ago
Mark Felder f4e2595592 Merge branch 'develop' into update-oauth-template
5 years ago
Maksim Pechnikov 080e1aa70e add option skip_thread_containment
5 years ago
rinpatch dc91bcc0af Merge branch 'develop' into feature/polls-2-electric-boogalo
5 years ago
lambda 314758c25b Merge branch 'align-mastodon-conversations' into 'develop'
5 years ago
rinpatch 026b245dbc Merge branch 'develop' into feature/polls-2-electric-boogalo
5 years ago
rinpatch 5bd41fef8b Change query order in fetch_activities_for_context_query to make poll vote exclusion work
5 years ago
rinpatch 1fd8e19d76 Remove a TODO comment as the tests for poll view were written
5 years ago
rinpatch 2fe3a20638 Make error message about author's inability to vote more sensible
5 years ago
rinpatch e3c460353d Refresh the object in CommonAPI.vote instead of MastoAPI controller
5 years ago
William Pitcock 561a21986d formatting
5 years ago
William Pitcock 4087ccdab8 mrf: add subchain policy
5 years ago
William Pitcock edf772d41e mrf: allow a policy chain to be specified when filtering
5 years ago
kaniini 5402d04e3c Merge branch 'feature/notification-control-part-2' into 'develop'
5 years ago
rinpatch 6bc9e5c020 Mastodon API: Refresh the object before rendering it after voting
5 years ago
rinpatch 444406167b Mastodon API: actually check for poll votes
5 years ago
rinpatch 65db5e9f52 Resolve merge conflicts
5 years ago
rinpatch 300d94c628 Add poll votes
5 years ago
Sachin Joshi ad5263c647 Merge remote-tracking branch 'upstream/develop' into admin-create-users
5 years ago
Sachin Joshi 5534d4c676 make bulk user creation from admin works as a transaction
5 years ago
kaniini e706b42f51 Merge branch 'bugfix/visibility-indicator-litepub-dm' into 'develop'
5 years ago
Sergey Suprunenko 2bbc2a801f Remove all follower collections but actor's from "cc"
5 years ago
William Pitcock f2efe24cf8 visibility: if litepub:directMessage is asserted, always report the object as "direct" visibility
5 years ago
Haelwenn (lanodan) Monnier 5d3ece2861
Remove now useless flavours switching
5 years ago
Haelwenn (lanodan) Monnier aa9f52edd2
mastodon_api_controller.ex: Remove vanilla from supported_flavours
5 years ago
lambda 2993361075 Merge branch 'hotfix/leaking-lists' into 'develop'
5 years ago
lain 7861974ab2 MastodonAPI: Add extension to set and get pleroma_settings_store.
5 years ago
lain aaad85c4d9 AccountView: settings -> settings_store
5 years ago
lain eb2963bc43 User: Add settings store to Info, AccountView
5 years ago
rinpatch d9c0650ff9 Mastodon API: Fix lists leaking private posts
5 years ago
rinpatch a9eaa55885 Fix fix_explicit_addressing moving follower collection to cc and add tests for it
5 years ago
lain 97fb50d9fa Mastodon Conversation API: Don't return own account in 'accounts'.
5 years ago
Sergey Suprunenko 1690be991e Replace missing non-nullable Card attributes with empty strings
5 years ago
lambda 91ac8b075b Merge branch 'use-pleroma-config' into 'develop'
5 years ago
Egor Kislitsyn 99f70c7e20 Use Pleroma.Config everywhere
5 years ago
kaniini 6aec0d1b58 Revert "Merge branch 'feature/search-authenticated-only' into 'develop'"
5 years ago
Mark Felder e7edfd9fec Permit fetching statuses from API with nickname or id
5 years ago
Roman Chvanikov ce47017c89 Merge develop
5 years ago
Mark Felder 672fddb721 Default search limit should be 40
5 years ago
William Pitcock 0159a6dbe9 router: require oauth_read for searching
5 years ago
Sachin Joshi 1452a96ad6 ability to set and reset avatar, profile banner and backgroud in Mastodon API
5 years ago
lambda 5bb843ceec Merge branch 'refactor/die-httpoison-die' into 'develop'
5 years ago
William Pitcock 79503ce90f mrf: simple policy: fix matching imported activitypub and ostatus statuses
5 years ago
William Pitcock 59a703fcbe twitter api: user view: expose user notification settings under pleroma object
5 years ago
William Pitcock 56fd7dbdd7 remove @websub and @ostatus module-level constants
5 years ago
William Pitcock 9bec891eb4 kill @httpoison
5 years ago
Aaron Tinio 9415932af5 Keep nodeinfo available when not federating
5 years ago
feld f916e4cdd9 Move the Cache Control header test to its own file
5 years ago
Egor Kislitsyn f333041a0a Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago