Commit Graph

4219 Commits (135ae4e35a3e6a084eb611ce3a21c7a6c6bba9fc)

Author SHA1 Message Date
lain e6a13d97d0 ObjectValidation tests: Extract delete validation tests.
4 years ago
lain 60d4c6c91d ObjectValidator tests: Extract emoji react testing
4 years ago
lain e0baaa967c ObjectValidator tests: Extract chat tests
4 years ago
lain 0aa4c20d78 ObjectValidator Test: Extract attachments.
4 years ago
lain 28feba8af4 Preloaders: Remove status_net preloader
4 years ago
lain 1963e143c5 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remove-twitter-api
4 years ago
lain ed4f9f6a29 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into 1507-static-fe-prioritize-json
4 years ago
lain 208baf157a ActivityPub: Add new 'capabilities' to user.
4 years ago
lain 74b88c0a8b Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into chat-federation-information
4 years ago
rinpatch 69f0b286f7 Merge branch '1915-dont-filter-announce-notifications' into 'develop'
4 years ago
lain cc8b4e48d9 InstanceView: Add chat limit, description limit
4 years ago
lain af7720237b Upload: Restrict description length
4 years ago
Alexander Strizhakov 818f3c2393
test fixes
4 years ago
Alexander Strizhakov 028a241b7d
tests fixes
4 years ago
Alexander Strizhakov 20c27bef40
renaming back and reject nil on create
4 years ago
Alexander Strizhakov 52ff75413a
Apply suggestion to test/notification_test.exs
4 years ago
Alexander Strizhakov 086a260c04
Apply suggestion to test/notification_test.exs
4 years ago
Sergey Suprunenko 8277b29790
Restrict thread statuses that contain user's irreversible filters
4 years ago
Sergey Suprunenko 5af1bf443d
Skip notifications for statuses that contain an irreversible filtered word
4 years ago
Sergey Suprunenko 4a8c26654e
Restrict statuses that contain user's irreversible filters
4 years ago
Alexander Strizhakov 480dfafa83
don't save tesla settings into db
4 years ago
lain cf56655614 Streamer: Don't filter out announce notifications.
4 years ago
Mark Felder 4695bdd81b Merge branch 'develop' into issue/1790-updated-oban
4 years ago
lain c2a052a346 Merge branch 'features/mastoapi-2.9.0-status_text' into 'develop'
4 years ago
lain 9a27ef47f1 Merge branch '1912-leading-trailing-space-search' into 'develop'
4 years ago
lain d3efb50262 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into features/mastoapi-2.9.0-status_text
4 years ago
lain 19fbfbb767 Merge branch '1892-exclude-bots-from-search-results' into 'develop'
4 years ago
lain 945e75c8e8 SearchController: Trim query.
4 years ago
lain e3b5559780 AccountController: Make setting accepts_chat_messages possible.
4 years ago
lain 4a7b89e372 ChatMessageValidator: Additional validation.
4 years ago
lain 5c0bf4c472 ActivityPub: Ingest information about chat acceptance.
4 years ago
lain 26a7cc3f00 UserView: Add acceptsChatMessages field
4 years ago
lain db76c26469 AccountViewTest: Fix test.
4 years ago
lain 3250228be9 AccountView: Add 'accepts_chat_messages' to view.
4 years ago
lain 98bfdba108 User: On registration, set `accepts_chat_messages` to true.
4 years ago
Ivan Tashkinov 90764670dc [#1892] Excluded internal users (applications) from user search results, reinstated service actors in search results.
4 years ago
Mark Felder 8121e46f25 Merge branch 'develop' into activation-meta
4 years ago
rinpatch 4c044f6225 Merge branch 'fetcher-fixes' into 'develop'
4 years ago
lain 311b7c19d0 Streamer: Align announce streaming with polling.
4 years ago
lain 61fe94d698 SideEffects: Refactor.
4 years ago
rinpatch fa7a0be225 Merge branch '1716-handle-nickname-clashes' into 'develop'
4 years ago
lain fedfe8f7d6 ActivityPub: Handle clashing nicknames for the same ap id
4 years ago
lain ce92e6e5ce Fetcher: Work when we can't get the OP.
4 years ago
lain 8ae572d5ae Fixtures: Pretty print.
4 years ago
lain 691742e62d Revert "Merge branch 'avatar-removing' into 'develop'"
4 years ago
Mark Felder 5a8e0208b1 Add fields limits to instance metadata, add tests
4 years ago
Ivan Tashkinov 3d2989278c [#1892] Excluded bot actors (applications, services) from search results.
4 years ago
Mark Felder d69af7f742 Rename user.settings column
4 years ago
lain 0176b7bca2 Merge branch 'preload-fixups-2' into preloadfixups
4 years ago
lain 2382a2a151 Preload: Load the correct instance panel
4 years ago
rinpatch 7bb3618939 Merge branch 'fix-notification-filtering' into 'develop'
4 years ago
lain c01f4ca07f Notification: Remove TODO.
4 years ago
lain 90083a754d Notifications: Never return `nil` in the notification list.
4 years ago
Egor Kislitsyn 3aa04b81c4
Test default "content-type" for CastAndValidate
4 years ago
lain 07ff2d62f4 Merge branch 'rich-media-parser-exclude-attachment-links' into 'develop'
4 years ago
Alexander Strizhakov 6512ef6879
excluding attachment links from RichMedia
4 years ago
Egor Kislitsyn 4a306720e8
Merge branch 'develop' into remove-twitter-api
4 years ago
lain 651f269568 Merge branch 'avatar-removing' into 'develop'
4 years ago
lain e64d08439e UpdateCredentialsTest: Add test for removing profile images.
4 years ago
lain 8630a6c7f5 Preloaders: Use strings as keys.
4 years ago
lain a19f8778af User preloader: Put user info at correct key
4 years ago
lain 577da132da Merge branch '1031-parent-visible' into 'develop'
4 years ago
Mark Felder ce85db41a3 Lint
4 years ago
Haelwenn (lanodan) Monnier 244655e884
MastoAPI: Show source field when deleting
4 years ago
Mark Felder 69848d5c97 Rename notification "privacy_option" setting
4 years ago
Haelwenn bf1c5e255a Merge branch 'block-handling' into 'develop'
4 years ago
Haelwenn 09478c9cf7 Merge branch '1258-anti-link-spam-exemption' into 'develop'
4 years ago
Mark Felder fd5e797379 Simplify notification filtering settings further
4 years ago
Mark Felder b950fb01db Merge branch 'develop' into refactor/notification_settings
4 years ago
lain a5bbfa21a1 StaticFE: Prioritize json in requests.
4 years ago
lain f378e93bf4 AccountController: Return scope in proper format.
4 years ago
lain a2002ebb63 Preloading: Fix nodeinfo url.
4 years ago
lain 4a7a34ae8c Preloading: Return correct data for statusnet stuff.
4 years ago
lain 7ed2296416 Nodeinfo: Add chat information back in.
4 years ago
lain 15a8b70318 User: Don't unfollow on block when the relevant setting is set.
4 years ago
lain c3383d4fab BlockValidator: Restore old behavior for incoming blocks.
4 years ago
Haelwenn (lanodan) Monnier 27c33f216a
activity_draft: Add source field
4 years ago
feld 8288419686 Merge branch 'preload-data' into 'develop'
4 years ago
Mark Felder 433c01b370 Merge branch 'develop' into refactor/notification_settings
4 years ago
lain 04abee782b AntiSpamLinkPolicy: Exempt local users.
4 years ago
lain 1cd1977c0f Merge branch 'issue/1872-ex_aws' into 'develop'
4 years ago
lain 84f9ca1956 Blocking: Don't federate if the options is set.
4 years ago
lain 44bb7cfccd ActivityPub: Remove `block`.
4 years ago
lain e38293c8f1 Transmogrifier: Switch to pipeline for Blocks.
4 years ago
lain 89e5b2046b ObjectValidator: Basic `Block` support.
4 years ago
lain d137f934df Transmogrifier Test: Extract block handling.
4 years ago
lain 0e26ef2ab9 Merge branch 'fix/following-request-from-deactivated' into 'develop'
4 years ago
Maksim Pechnikov 439a1a0218 added wrapper Pleroma.HTTP for ExAws.S3
4 years ago
Mark Felder 67ab580553 Filter outstanding follower requests from deactivated accounts
4 years ago
lain 35f6770436 StatusView: Add pleroma.parent_visible
4 years ago
lain 88ccade1cb Merge branch 'feature/admin-api-status-count-per-instance' into 'develop'
4 years ago
lain 65f3eb333b Apply suggestion to test/http/tzdata_test.exs
4 years ago
Maksim Pechnikov 721fc7c554 added wrapper Pleroma.HTTP for Tzdata.HTTPClient
4 years ago
lain 98af7b59e4 Merge branch 'update-validator' into 'develop'
4 years ago
Roman Chvanikov 1471b70ef1 Merge develop
4 years ago
Haelwenn c7d69e9256 Merge branch 'feature/1631-redesign-mrf-configuration' into 'develop'
4 years ago
Maksim Pechnikov a8d967762e migrate to oban 2.0-rc1
4 years ago
lain b7f297f0bd Merge branch 'issue/1798' into 'develop'
4 years ago
lain adc199c6a8 ActivityPubControllerTest: Capture error log
4 years ago
lain d93e01137b ActivityPubControllerTest: Testing changes.
4 years ago
lain 2737809bbf An act of desperation.
4 years ago
lain 2c603f2009 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into update-validator
4 years ago
Maksim Pechnikov 84aa9c78dd fix tests
4 years ago
Maksim Pechnikov 2715c40e1d added tests
4 years ago
lain 46f7e51b27 Merge branch 'add-muted-to-notifications' into 'develop'
4 years ago
Egor Kislitsyn 7e6f43c0d7
Add `is_muted` to notifications
4 years ago
Maksim Pechnikov b0a40fc2e4 added verify RUM settings before start app
4 years ago
lain 59bdef0c33 Merge branch 'feature/1739-account-endpoints' into 'develop'
4 years ago
lain 8b5bdd164e Merge branch 'fix/1825-admin-api-error-codes' into 'develop'
4 years ago
lain e785cd5cae ActivityPub: Remove `update` and switch to pipeline.
4 years ago
rinpatch c75ba63bef Merge branch '1865-media-only' into 'develop'
4 years ago
lain 1e7ca24430 Update Handling Test: Fix for re-used update ids.
4 years ago
lain 31a4d42ce0 SideEffects: Handle user updating.
4 years ago
rinpatch 282f492cd5 Merge branch '1883-mrf-chat' into 'develop'
4 years ago
lain 93ae1c8bd3 Merge branch 'feature/1854-emoji-pagination' into 'develop'
4 years ago
lain 35e9282ffd HellthreadPolicy: Restrict to Notes and Articles.
4 years ago
Alexander Strizhakov c5863438ba
proper error codes for error in adminFE
4 years ago
lain 31761340fe Merge branch 'feature/support-bot-field-in-update-credentials' into 'develop'
4 years ago
lain 7d542450b1 Merge branch 'develop' into '1865-media-only'
4 years ago
Alexander Strizhakov 1a704e1f1e
fix for packs pagination
4 years ago
Haelwenn (lanodan) Monnier 3d4cfc9c5f
Stop filling conversation field on incoming objects (legacy, unused)
4 years ago
feld f928267773 Merge branch 'issue/1855' into 'develop'
4 years ago
Sergey Suprunenko b63646169d
Add support for bot field in update_credentials
4 years ago
lain 75670a99e4 UpdateValidator: Only allow updates from the user themselves.
4 years ago
lain abdb540d45 ObjectValidators: Add basic UpdateValidator.
4 years ago
Ivan Tashkinov 5237a2df9f [#1873] Fixes missing :offset pagination param support. Added pagination support for hashtags search.
4 years ago
lain 7e488cd4a7 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into update-validator
4 years ago
Alexander Strizhakov 3e3f9253e6
adding overall count for packs and files
4 years ago
Alexander Strizhakov 4975ed86bc
emoji pagination for pack show action
4 years ago
Alexander Strizhakov 3becdafd33
emoji packs pagination
4 years ago
Maksim Pechnikov e4c61f1741 added test
4 years ago
Maksim Pechnikov 4044f24e2e fix test
4 years ago
Mark Felder 2731ea1334 Change references from "deleted_urls" to "banned_urls" as nothing is handled via media deletions anymore; all actions are manual operations by an admin to ban the url
4 years ago
Mark Felder 3462d4b995 Merge branch 'develop' into issue/1855
4 years ago
lain d772361e62 Merge branch 'fix/1787-mogrify-args' into 'develop'
4 years ago
Maksim 96493da7bd Apply suggestion to test/web/media_proxy/invalidation_test.exs
4 years ago
Maksim 078d687e6e Apply suggestion to test/web/media_proxy/media_proxy_controller_test.exs
4 years ago
Maksim 2991aae4c4 Apply suggestion to test/web/media_proxy/invalidations/script_test.exs
4 years ago
Maksim 11b22a4229 Apply suggestion to test/web/media_proxy/invalidations/http_test.exs
4 years ago
Maksim 6d33a3a51b Apply suggestion to test/web/admin_api/controllers/media_proxy_cache_controller_test.exs
4 years ago
Maksim 793a53f1ec Apply suggestion to test/web/admin_api/controllers/media_proxy_cache_controller_test.exs
4 years ago
Maksim 1b45bc7b2a Apply suggestion to test/web/admin_api/controllers/media_proxy_cache_controller_test.exs
4 years ago
rinpatch 4ec2fb967e Merge branch 'features/users-raw_bio' into 'develop'
4 years ago
Haelwenn b536e57124 Merge branch '1866-last-status-stuff' into 'develop'
4 years ago
Alexander Strizhakov b66e6eb521
fixes for tests
4 years ago
Alexander Strizhakov ed189568f3
moving mrf settings from instance to separate group
4 years ago
Alexander Strizhakov 3c2cee33ad
moving custom ecto types in context folders
4 years ago
Alexander Strizhakov e1603ac8fe
fix attemps to merge map
4 years ago
Alexander Strizhakov 23decaab81
fix for updated hackney
4 years ago
Alexander Strizhakov 9a4fde9766
Mogrify args as custom tuples
4 years ago
lain 015f9258a9 Transmogrifier: Extract user update handling tests.
4 years ago
lain 1eb6cedaad ActivityPub: When restricting to media posts, only show 'Creates'.
4 years ago
stwf faba1a6e33 fix tests
4 years ago
Maksim Pechnikov 579763126f Merge branch 'develop' into issue/1855
4 years ago
Egor Kislitsyn bd63089a63
Fix tests
4 years ago
Egor Kislitsyn 58e4e3db8b
Merge remote-tracking branch 'origin/develop' into merge-ogp-twitter-parsers
4 years ago
Maksim Pechnikov 62b8c31b7a added tests
4 years ago
lain b7df7436c8 Conversations: Return last dm for conversation, not last message.
4 years ago
Maksim Pechnikov 2e8a236cef fix invalidates media url's
4 years ago
eugenijm b15cfc3d36 Mastodon API: ensure the notification endpoint doesn't return less than the requested amount of records unless it's the last page
4 years ago
rinpatch 271ea5068f Merge branch '1851-favorites-pagination' into 'develop'
4 years ago
href cb7be6eef2 Remove use of atoms in MRF.UserAllowListPolicy
4 years ago
Egor Kislitsyn 520367d6fd Fix atom leak in Rich Media Parser
4 years ago
Mark Felder 26f710b9e3 Merge branch 'develop' into preload-data
4 years ago
Haelwenn 4115701f71 Merge branch 'recipients-experiments' into 'develop'
4 years ago
Egor Kislitsyn 697cf92024
Merge remote-tracking branch 'origin/develop' into merge-ogp-twitter-parsers
4 years ago
lain e557265a03 Merge branch 'global-status-expiration' into 'develop'
4 years ago
Mark Felder 34593d6aa5 Merge branch 'develop' into features/mix-task-reset-mfa
4 years ago
Maksim Pechnikov f9dcf15ecb added admin api for MediaProxy cache invalidation
4 years ago
Ivan Tashkinov 2188097066 [#1794] Fixes URI query handling for hashtags extraction in search.
4 years ago
Haelwenn (lanodan) Monnier 40970f6bb9
New mix task: pleroma.user reset_mfa <nickname>
4 years ago
Egor Kislitsyn 1f35acce54
Merge OGP parser with TwitterCard
4 years ago
Ivan Tashkinov b28cec4271 [#1794] Fixes URI query handling for hashtags extraction in search.
4 years ago
lain 5d87405b51 ActivityPubTest: Update test for atomized parameters.
4 years ago
Thibaut Girka 570123ae21 Add test
4 years ago
rinpatch 7aa6c82937 Merge branch 'remake-remodel-dms' into 'develop'
4 years ago
lain 600e2ea073 ActivityPubTest: Make test easier to understand.
4 years ago
lain 9e411372d0 ActivityPub: Don't show announces of your own objects in timeline.
4 years ago
Egor Kislitsyn 3dd1de61a7 Add `url` field to AdminAPI.AccountView
4 years ago
lain 063e6b9841 StatusController: Correctly paginate favorites.
4 years ago
lain 064c4f86f3 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
4 years ago
lain e1bc37d118 MigrationHelper: Move notification backfilling to own module.
4 years ago
Roman Chvanikov 604a83ae3e merge develop
4 years ago
Egor Kislitsyn d44843e677
Restrict ActivityExpirationPolicy to Notes only
4 years ago
Egor Kislitsyn da22119c2f
Merge branch 'develop' into global-status-expiration
4 years ago
lain d192492658 Merge branch 'openapi/admin/relay' into 'develop'
4 years ago
lain c450b248cc Merge branch 'feature/delete-follow-requests-on-user-deletion' into 'develop'
4 years ago
lain 3b5282bef2 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
4 years ago
lain 89b85f6529 ChatController: Remove nonsensical pagination.
4 years ago
lain 7d66dd180a Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
4 years ago
lain fe2a5d0614 ChatController: Make last_read_id mandatory.
4 years ago
Sergey Suprunenko 8d9e586887
Delete pending follow requests on user deletion
4 years ago
lain 801e668a97 ChatController: Add `last_read_id` option to mark_as_read.
4 years ago
lain 2cdaac4330 SideEffects: Move streaming of chats to after the transaction.
4 years ago
lain f4cf4ae16e ChatController: Use new oauth scope *:chats.
4 years ago
Haelwenn (lanodan) Monnier e1b07402ab
User: Add raw_bio, storing unformatted bio
4 years ago
lain 9189b489ee Migrations: Move Notification migration code to helper
4 years ago
lain ca0e6e702b ChatMessageReference -> Chat.MessageReference
4 years ago
lain 4e8c0eecd5 WebPush: Don't break on contentless chat messages.
4 years ago
Egor Kislitsyn b02df1803e
Merge remote-tracking branch 'origin/develop' into activity-pub-use-atoms-as-keys
4 years ago
lain a8ca030d85 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
4 years ago
Haelwenn d74985af23 Merge branch 'features/apc2s-pagination' into 'develop'
4 years ago
lain 115d08a754 Pipeline: Add a side effects step after the transaction finishes
4 years ago
lain 0efa8aa0b9 Transmogrifier: For follows, create notifications last.
4 years ago
lain cc8a7dc205 SideEffects / ChatView: Add an unread cache.
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 74edd4f391 Merge branch 'remake-remodel-dms' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
4 years ago
lain 56dfa0e0fb Transmogrifier: Update notification after accepting.
4 years ago
lain 9a53f619e0 Apply suggestion to test/chat_message_reference_test.exs
4 years ago
lain 41503b1673 Apply suggestion to test/web/activity_pub/transmogrifier/chat_message_test.exs
4 years ago
lain 00748e9650 ChatMessageReferences: Change seen -> unread
4 years ago
stwf a42d135cce test fix
4 years ago
minibikini b57e4ad1ab Merge branch 'develop' into 'openapi/admin/relay'
4 years ago
lain b952f3f379 WebPush: Push out chat message notications.
4 years ago
lain 5d7dda883e SideEffectsTest: More tests.
4 years ago
Egor Kislitsyn a8132690bd
Fix credo
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
stwf 3b8180d7d1 add status_net/config
4 years ago
stwf dbcc1b105e encode data properly
4 years ago
stwf 29ae5bb771 preload data into index.html
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
4 years ago
lain 7f5c5b11a5 Chats: Remove `unread` from the db, calculate from unseen messages.
4 years ago
lain 2591745fc2 ChatMessageReferences: Move tests
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'
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'
4 years ago
lain 5da38c15cd Merge branch 'openapi/admin/oauth-apps' into 'develop'
4 years ago
lain 022d975a39 Merge branch 'openapi/admin/invites' into 'develop'
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'
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
4 years ago
lain d111eae798 Merge branch 'feature/status-by-id-account-view' into 'develop'
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'
4 years ago
Alexander Strizhakov 7e6ec778d9
exclude replies on blocked domains
4 years ago
lain af9090238e CommonAPI: Newlines -> br for chat messages.
4 years ago