825 Commits (eb0f9e315939a66ebad0b174beeb1edde7ba7e8d)

Author SHA1 Message Date
ThibG 14f6ce2885 Record account suspend/silence time and keep track of domain blocks (#10660)
6 years ago
ThibG b1a0322a06 Reject follow requests of blocked users (#10633)
6 years ago
Daniel Aleksandersen 10bdd912d6 Treat meta[property] as a space-separated list (#10604)
6 years ago
ThibG cb71c95e22 Export and import show_reblogs together with following list (#10495)
6 years ago
Eugen Rochko 67b3b62b98
Improve blocked view of profiles (#10491)
6 years ago
ThibG d4882aa64a Export and import `hide_notifications` alongside user mutes (#10335)
6 years ago
ThibG 62bafa20a1 Hide blocking accounts from blocked users (#10442)
6 years ago
Eugen Rochko 1714ea5978
Add ActivityPub representation for identity proofs (#10414)
6 years ago
Eugen Rochko f1bc90ab50
Rename :poll to :preloadable_poll and :owned_poll to :poll on Status (#10401)
6 years ago
Eugen Rochko 9d0573f574
Fix vote-after-expiration not showing error, count vote as interaction (#10352)
6 years ago
ThibG 62dd0b7f9c Fix processing poll Updates (#10333)
6 years ago
ThibG 1217185cfa Do not distribute Delete when rejecting unapproved accounts (#10321)
6 years ago
ThibG a20354a20b Set and store report URIs (#10303)
6 years ago
ThibG 6b0eda14a1 Avoid race condition when streaming deleted statuses (#10280)
6 years ago
Eugen Rochko 3ad3223b46
Fix detailed poll validation errors not being returned in the API (#10261)
6 years ago
Eugen Rochko ba84b6d4d7
Add `visibility` param to reblog REST API (#9851)
6 years ago
Eugen Rochko 51e154f5e8
Admission-based registrations mode (#10250)
6 years ago
Eugen Rochko 9f5b55ad4f
Fix poll update handler calling method was that was not available (#10246)
6 years ago
Eugen Rochko a41afef80c
Optimize RemoveStatusService by removing n+1 query and using shared inboxes (#10247)
6 years ago
ThibG 3a92885a86 Support pushing and receiving updates to poll tallies (#10209)
6 years ago
ThibG c11dff5049 Reject existing Follows when suspending a remote account (#10230)
6 years ago
ThibG 3aaac4f134 Do not allow adding votes to expired polls (#10214)
6 years ago
ThibG 09c042aa10 Handle StaleObjectError when retrieving polls (#10208)
6 years ago
ThibG df5924a1db Do not error out on unsalvageable errors in FetchRepliesService (#10175)
6 years ago
ThibG d785497ba5 Fix suspended account's fields being set as empty dict instead of list (#10178)
6 years ago
Eugen Rochko 4037b5eb1e
Fix last_fetched_at not being set on polls (#10170)
6 years ago
Eugen Rochko e6900b167b
Fix another typo in ActivityPub::FetchRemotePollService (#10146)
6 years ago
Eugen Rochko 878a75ba21
Fix typo in ActivityPub::FetchRemotePollService (#10145)
6 years ago
Eugen Rochko ae1b9cf70a
Fix remote poll expiration time (#10144)
6 years ago
ThibG f821eca3b3 Correctly make polls and media mutually exclusive (#10141)
6 years ago
ThibG e13d3792f3 Make sure the poll is created before storing its id (#10142)
6 years ago
Eugen Rochko 230a012f00
Add polls (#10111)
6 years ago
ThibG 9d3c6f1849 Improved remote thread fetching (#10106)
6 years ago
Eugen Rochko e7f20cc43f
Add type, limit, offset, min_id, max_id, account_id to search API (#10091)
6 years ago
NOGISAKA Sadata e050958794 Skip some methods in BatchedRemoveStatusService when account is nil (#10095)
6 years ago
Eugen Rochko dad339da6d
Filter incoming Create activities by relation to local activity (#10005)
6 years ago
ThibG 99c4b5b75a Move sending account Delete to anyone but the account's followers to the pull̀ queue (#10016)
6 years ago
abcang e186bd2fb0 Fix Tombstone.delete_all ArgumentError (#9978)
6 years ago
Eugen Rochko 364f2ff9aa
Add featured hashtags to profiles (#9755)
6 years ago
Eugen Rochko d14c276e58
Add option to overwrite imported data (#9962)
6 years ago
ysksn bcfff65195 Create Redisable#redis (#9633)
6 years ago
ThibG e2a5be6e9a Prevent posting toots with media attachments from someone else (#9921)
6 years ago
Renato "Lond" Cerqueira e1ec3a9f09 Rescue SSL error in verify link service (#9914)
6 years ago
ThibG 061feb63ed Fix scheduled toot with media immediately creating a toot (#9894)
6 years ago
Eugen Rochko 6ca9015789
Fix error when `scheduled_at` attribute is malformed (#9866)
6 years ago
ThibG aeb124491d Reject existing Follow in addition to sending a Block (#9811)
6 years ago
ThibG 75b1488cf4 Add tombstones for remote statuses (#9830)
6 years ago
Eugen Rochko 69f782b54d
Fix code style of regeneration-related code (#9843)
6 years ago
Renato "Lond" Cerqueira 5c5e14c816 Fix undefined method error in sidekiq (#9807)
6 years ago
ThibG 28b482874a Improvements to signature verification (#9667)
6 years ago
Eugen Rochko 43c61bca60
Add locale param to sign-up API (#9747)
6 years ago
Eugen Rochko 1cbdf8d218
Fix wrong param name in scheduled statuses and return params in API (#9725)
6 years ago
Eugen Rochko a49d43d112
Add scheduled statuses (#9706)
6 years ago
Naoki Kosaka fae32634b1 Use Contact User as Relay, Report, Subscribe. (#9661)
6 years ago
kodai 6a090db4c9 Fix links not being verified (#9673)
6 years ago
Jeong Arm 511231ce57 Skip full text search if failed (#9654)
6 years ago
ThibG 6fb6a53938 Avoid duplicate work by merging ReplyDistributionWorker into DistributionWorker (#9660)
6 years ago
ThibG 290932602b Reduce usage of LD signatures (#9659)
6 years ago
Eugen Rochko 0f938ff29c
Add handler for Move activity (#9629)
6 years ago
Eugen Rochko 6e49907ecf
Improve admin UI for account view (#9643)
6 years ago
Eugen Rochko 5d2fc6de32
Add REST API for creating an account (#9572)
6 years ago
ThibG 5f387995d9 Limit maximum visibility of local silenced users to unlisted (#9583)
6 years ago
ThibG e709b8da0d Ignore low-confidence CharlockHolmes guesses when parsing link cards (#9510)
6 years ago
Sumit Khanna 769c2d2680 Error message for avatar image that's too large. #9204 (#9518)
6 years ago
ysksn 83975a2394 Remove redundant (#9503)
6 years ago
ysksn 351ed12b2f Use find_or_initialize_by (#9504)
6 years ago
Eugen Rochko 73be8f38c1
Add profile directory (#9427)
6 years ago
Eugen Rochko 6ddf0432e7
Improve account suspension speed and completeness (#9290)
6 years ago
valerauko 824497fbce Ignore JSON-LD profile in mime type comparison (#9179)
6 years ago
James Kiesel 6a65d87f4d Simplify hashtag query service, perf increase for 'any' tags (#9298)
6 years ago
Eugen Rochko 8069fd636b
Remove intermediary arrays when creating hash maps from results (#9291)
6 years ago
ThibG 7f5a4be580 Fix emoji update date processing (#9255)
6 years ago
ThibG 9b89c62d43 Check that twitter:player is valid before using it (#9254)
6 years ago
Eugen Rochko 6d59dfa15d
Optimize the process of following someone (#9220)
6 years ago
m.b cd41c2c6ad Update resolve_url_service.rb (#9188)
6 years ago
James Kiesel 4c03e05a4e Allow joining several hashtags in a single column (#8904)
6 years ago
Eugen Rochko ce2ee68b64
Revert "Fix FetchAtomService content type handling (#9132)" (#9171)
6 years ago
valerauko c36a4a1617 Fix FetchAtomService content type handling (#9132)
6 years ago
Eugen Rochko be202f9377
Accept the same payload in multiple inboxes and deliver (#9150)
6 years ago
Eugen Rochko 47b8d195e6
Always let through notifications from staff (#9152)
6 years ago
ThibG a03d506626 Fix Pleroma mentions being fetched as preview cards (#9158)
6 years ago
ThibG 33a71e8f7c Do not hide boost notifications from followed people with hidden boosts (#9147)
6 years ago
Eugen Rochko 795f0107d2
Include preview cards in status entity in REST API (#9120)
6 years ago
Eugen Rochko eef8d9a5f7
Add locality check to ActivityPub::FetchRemoteAccountService (#9109)
6 years ago
abcang 1e2695198a Skip link-back check if body is nil (#9107)
6 years ago
ThibG 7fee968e9f Do not fetch preview card for mentioned users (#6934)
6 years ago
Eugen Rochko ddd30f331c
Improve support for aspects/circles (#8950)
6 years ago
Quint Guvernator f5e2e96e95 always allow DMs from staff (#8993)
6 years ago
Eugen Rochko 87fdd139b8
Do not push DMs into the home feed (#8940)
6 years ago
Eugen Rochko 774ac47373
Add conversations API (#8832)
6 years ago
Eugen Rochko 7fe137d2f7
Fix link verification for remote accounts (#8868)
6 years ago
Eugen Rochko f92f1ee80a
Support link verification with redirects (#8735)
6 years ago
Yamagishi Kazutoshi 3da1cc7d5e Fix failed profile verification when rel attribute including values other than me (#8733)
6 years ago
Eugen Rochko 68833a50d4
Fix VerifyAccountLinksWorker not being queued (#8721)
6 years ago
Eugen Rochko f4d549d300
Redesign forms, verify link ownership with rel="me" (#8703)
6 years ago
ThibG bd9e47e9be Handle relative URLs when fetching OEmbed/OpenGraph cards (#8669)
6 years ago
Eugen Rochko c593d6df9c
Add preference for report notification e-mails, skip for duplicates (#8559)
6 years ago
Eugen Rochko cabdbb7f9c
Add CLI task for rotating keys (#8466)
6 years ago
Eugen Rochko 8adf485c0f
Bump interactions count when a follow happens (#8468)
6 years ago
Eugen Rochko 55c856c522
Delay e-mail notifications by 2 minutes (#8438)
6 years ago
ThibG 42573b76f1 Do not crash if remote custom emoji does not define updated date (fixes #8376) (#8377)
6 years ago
Eugen Rochko 802cf6a4c5
Improve federated ID validation (#8372)
6 years ago
Eugen Rochko 1b282299df
Add favourites to archive takeout (#8351)
6 years ago
Eugen Rochko d98de8ada7
Get rid of all batch order warnings (#8334)
6 years ago
Eugen Rochko 6226aa83d7
Increase reach of Delete->Actor activities (#8305)
6 years ago
ThibG abc5548cca Do not process outgoing mentions to suspended accounts (#8272)
6 years ago
ThibG 1ee675d68b Use correct activity id in Accept when receiving duplicate Follow (fixes #8218) (#8244)
6 years ago
ThibG af912fb308 Allow accessing local private/DM messages by URL (#8196)
6 years ago
Eugen Rochko cc94b1d95a Prevent ActivityPub movedTo recursion (#8092)
6 years ago
Eugen Rochko a23ac107e4
Fix activity:interactions counter to count all interactions (#8037)
6 years ago
Eugen Rochko e55dce3176
Add federation relay support (#7998)
6 years ago
Eugen Rochko 8461cd4bb5
Send undo of boost to original poster if reblog (#7959)
6 years ago
Eugen Rochko b0968623fa
Fix check for PotentialFriendshipTracker when replying (#7933)
6 years ago
Eugen Rochko da8fe8079e
Re-add follow recommendations API (#7918)
6 years ago
Eugen Rochko a58ec29631
Allow selecting default posting language instead of auto-detect (#7828)
7 years ago
Eugen Rochko ca85658975
Add autofollow option to invites (#7805)
7 years ago
Eugen Rochko c3b3594305
Remove placeholder text for media-only toots (#7806)
7 years ago
Eugen Rochko 10f51c9886
Fix domain hiding logic (#7765)
7 years ago
Yamagishi Kazutoshi e3fb528d12 Skip processing when HEAD method returns 501 (#7730)
7 years ago
Akihiko Odaki 5bf5003384 Do not mark remote status sensitive even if spoiler text is present (#7395)
7 years ago
Eugen Rochko 1e938b966e
Exclude unlisted, private and direct toots from affecting trends (#7686)
7 years ago
Eugen Rochko a7d726c383
Improve counter caches on Status and Account (#7644)
7 years ago
Eugen Rochko 461542784b
Reduce wasted work in RemoveStatusService due to inactive followers (#7672)
7 years ago
Eugen Rochko 9bd23dc4e5
Track trending tags (#7638)
7 years ago
Eugen Rochko 32d4372381
Use #any? instead of #exists? when checking media attachments (#7570)
7 years ago
Yamagishi Kazutoshi 7403e5d306 Add media timeline (#6631)
7 years ago
Akihiko Odaki 55fd55714a Raise Mastodon::RaceConditionError if Redis lock failed (#7511)
7 years ago
unarist d47091eb97 Fix custom emoji handling in UpdateRemoteProfileService (OStatus) (#7501)
7 years ago
Wiktor 7fe2993b87 Fix account URI when updating ActivityPub account (#7488)
7 years ago
abcang 3793e598d0 Call media.present? because media may be nil (#7474)
7 years ago
ThibG 7467361d70 Fetch boosted statuses on behalf of a follower (fixes #7426) (#7459)
7 years ago
Eugen Rochko b4fb766b23
Add REST API for Web Push Notifications subscriptions (#7445)
7 years ago
Yamagishi Kazutoshi d2ee48977c Rescue Mastodon::LengthValidationError in FetchLinkCardService (#7424)
7 years ago
Surinna Curtis 01dfd6dbc8 Take the first recognized actor_type. (#7410)
7 years ago
ThibG 993e68a7dd Fix hashtags not being federated on mentions (fixes #6900) (#7406)
7 years ago
Eugen Rochko 42cd363542
Bot nameplates (#7391)
7 years ago
Eugen Rochko 0f0cc3f2eb
Support explicitly supplying language code for status via REST API (#7389)
7 years ago
Eugen Rochko c947e2e4c5
Fix handling of malformed ActivityPub payloads when URIs are nil (#7370)
7 years ago
Eugen Rochko c73ce7b695
Store home feeds for 7 days instead of 14 (#7354)
7 years ago
Eugen Rochko 658cbc9425
Improve PostStatusService performance (#7317)
7 years ago
Eugen Rochko cb5b5cb5f7
Slightly reduce RAM usage (#7301)
7 years ago
abcang 71a7cea73f Keep notification when muting_notifications is true (#7311)
7 years ago
Eugen Rochko f62539ce5c
Remove most behaviour disparities between blocks and mutes (#7231)
7 years ago
Eugen Rochko 965345316f
Guard against nil URLs in Request class (#7284)
7 years ago
Surinna Curtis dc786c0cf4 Support Actors/Statuses with multiple types (#7305)
7 years ago
Emelia Smith 495303d9b8 Prevent suspended accounts from appearing in AccountSearchService (#7246)
7 years ago
Eugen Rochko 75c4ab9d12
Remove "nsfw" category for sensitive statuses in OStatus serializer (#7048)
7 years ago
Eugen Rochko ff87d1bc3e
Rescue SSL errors when processing mentions, remove useless line (#7184)
7 years ago
Kaito Sinclaire 156b916caf Direct messages column (#4514)
7 years ago
ThibG 1c379b7ef4 Remove extra spaces from search API queries and public account headers (fixes #7129) (#7152)
7 years ago
Eugen Rochko 78ed4ab75f
Add bio fields (#6645)
7 years ago
Eugen Rochko 778562c223
Ensure SynchronizeFeaturedCollectionWorker is unique and clean up (#7043)
7 years ago
Renato "Lond" Cerqueira 0c52654b52 When creating status, if no sensitive status is given, use default (#7057)
7 years ago
Nolan Lawson 6ff3b3e4db Fix nil account issue in ProcessAccountService (#7019)
7 years ago
Eugen Rochko f890d2a766
Support all ActivityPub actor types (#6997)
7 years ago
David Underwood 123a343d11 [WIP] Enable custom emoji on account pages and in the sidebar (#6124)
7 years ago
ThibG e573bb0990 Fix compatibility with PeerTube (#6968)
7 years ago
Akihiko Odaki 40e5d2303b Validate HTTP response length while receiving (#6891)
7 years ago
Akihiko Odaki 54b273bf99 Close http connection in perform method of Request class (#6889)
7 years ago
Eugen Rochko 9381a7d9d5
Use username/domain to match existing accounts in ActivityPub (#6842)
7 years ago
nightpool 566ace2d64 Add entropy to download filenames (#6811)
7 years ago
Eugen Rochko 510c9049c7
For now, put a "." into no-text statuses with media for backcompat (#6691)
7 years ago
Eugen Rochko 64db9ed5f6
After blocking domain with reject_media, invalidate cache (#6679)
7 years ago
Eugen Rochko cfa9b6e13a
Remove text requirement when media attached from statuses (#6672)
7 years ago
Eugen Rochko 9110db41c5
Federate pinned statuses over ActivityPub (#6610)
7 years ago
Aboobacker MK 49092945ab Fix 500 while searching after deleting a post (#6604)
7 years ago
Eugen Rochko 41a01bec23
Federated reports (#6570)
7 years ago
Eugen Rochko 61ed133fea
Account archive download (#6460)
7 years ago
Eugen Rochko f7765acf9d
Fix #5173: Click card to embed external content (#6471)
7 years ago
Eugen Rochko 3ebc0ad4d3
Full-text search for authorized statuses (#6423)
7 years ago
abcang 7e5c433dfc Fix saving of oEmbed image (#6409)
7 years ago
Akihiko Odaki 613e7c7521 Rename ResolveRemoteAccountService to ResolveAccountService (#6327)
7 years ago
Akihiko Odaki 17cecd75ca Rename FetchRemoteResourceService to ResolveURLService (#6328)
7 years ago
Renato "Lond" Cerqueira e56404be41 When must_be_following_dm is on, only notify if recipient dm'ed user (#6283)
7 years ago
Eugen Rochko 7badad7797
Fix home regeneration (#6251)
7 years ago
puckipedia 74c1c9ec01 Allow attributedTo in a status to be an embedded object (#6238)
7 years ago
Eugen Rochko e4a241abef
Fix bad URL schemes being accepted (#6219)
7 years ago
ThibG a594139115 When fetching an ActivityPub-enabled status, do not re-request it as text/html (#6196)
7 years ago
Eugen Rochko 02ba03d6db
Send one Delete of Actor in ActivityPub when account is suspended (#6172)
7 years ago
Eugen Rochko 7d4f4f9aab
Fix FetchAtomService not finding alternatives if there's a Link header (#6170)
7 years ago
Eugen Rochko d319b3dbe4
Update moved-to property when it's removed too (#6160)
7 years ago
ThibG cea98e0c12 Reduce the number of synchronous resolves when posting toots (#6075)
7 years ago
Eugen Rochko a8deb6648b
Fix redundant HTTP request in FetchLinkCardService (#6002)
7 years ago
Eugen Rochko 5706fe18c2
Fix #5952 - NameError (regression from #5762) (#5999)
7 years ago
Akihiko Odaki f9f6918148 Store preview image for embedded photo in preview cards (#5986)
7 years ago
Renato "Lond" Cerqueira 19257d91bf Return false if object does not respond to url (#5988)
7 years ago
Renato "Lond" Cerqueira fe180f18ff Change conditional to avoid nil into string error in sidekiq (#5987)
7 years ago
Andrea Scarpino 6a82939adb Fix account and tag searches with leading/trailing spaces (#5965)
7 years ago
Yamagishi Kazutoshi e7d55df38d Ignore HEAD method if does not support (#5949)
7 years ago
Eugen Rochko 86b4d5439c
Fix #5926 - Do not downgrade to OStatus once ActivityPub is known (#5929)
7 years ago
Akihiko Odaki c083816c24 Add embed_url to preview cards (#5775)
7 years ago
Yamagishi Kazutoshi d7a17b5e8b Search only from followees (#5897)
7 years ago
Yamagishi Kazutoshi b21db9bbde Using double splat operator (#5859)
7 years ago
Eugen Rochko e20895f251
Add list of lists component to web UI (#5811)
7 years ago
Eugen Rochko 4c6b5dbe96
Add semi-support for Video/Image objects in ActivityPub (#5848)
7 years ago
Eugen Rochko 85e97ecab6
Fix too many forwards (#5854)
7 years ago
aschmitz eeaec39888 Allow hiding of reblogs from followed users (#5762)
7 years ago
ThibG b8efb5daed Fix handling of temporary failures in ProcessMentionsService (#5842)
7 years ago
abcang 3dce6cbbd7 Fixed duplicating URL of photo type of oEmbed (#5763)
7 years ago
abcang 2bcc81700c Fix NoMethodError at ActivityPub::FetchRemoteStatusService (#5753)
7 years ago