797 Commits (4dccf2c8c81a98682223e38c159773c45b85de43)

Author SHA1 Message Date
Eugen Rochko 952045604c Fix remote poll expiration time (#10144)
6 years ago
ThibG ad11260825 Correctly make polls and media mutually exclusive (#10141)
6 years ago
ThibG 7d0dc066a7 Make sure the poll is created before storing its id (#10142)
6 years ago
Eugen Rochko 4a3acdc916 Add polls (#10111)
6 years ago
ThibG 9f3f47e91f Improved remote thread fetching (#10106)
6 years ago
Eugen Rochko 693f2353bc Add type, limit, offset, min_id, max_id, account_id to search API (#10091)
6 years ago
NOGISAKA Sadata ae346fd6d1 Skip some methods in BatchedRemoveStatusService when account is nil (#10095)
6 years ago
Eugen Rochko ddbf75ea87 Filter incoming Create activities by relation to local activity (#10005)
6 years ago
ThibG b27f715601 Move sending account Delete to anyone but the account's followers to the pull̀ queue (#10016)
6 years ago
abcang 4a8a8bcb8a Fix Tombstone.delete_all ArgumentError (#9978)
6 years ago
Eugen Rochko d2d4d38f22 Add featured hashtags to profiles (#9755)
6 years ago
Eugen Rochko 1f303e5591 Add option to overwrite imported data (#9962)
6 years ago
ysksn 9cad360caa Create Redisable#redis (#9633)
6 years ago
ThibG b1c76ef610 Prevent posting toots with media attachments from someone else (#9921)
6 years ago
Renato "Lond" Cerqueira cde2fe25b9 Rescue SSL error in verify link service (#9914)
6 years ago
ThibG a238beb870 Fix scheduled toot with media immediately creating a toot (#9894)
6 years ago
Eugen Rochko 17a8c10a03 Fix error when `scheduled_at` attribute is malformed (#9866)
6 years ago
ThibG 8de5d28891 Reject existing Follow in addition to sending a Block (#9811)
6 years ago
ThibG d0008b5051 Add tombstones for remote statuses (#9830)
6 years ago
Eugen Rochko 9a98e3fe76 Fix code style of regeneration-related code (#9843)
6 years ago
Renato "Lond" Cerqueira ed55b4f8fb Fix undefined method error in sidekiq (#9807)
6 years ago
ThibG e60999c3c5 Improvements to signature verification (#9667)
6 years ago
Eugen Rochko d62a2a69e4 Add locale param to sign-up API (#9747)
6 years ago
Eugen Rochko bf1ee883d8 Fix wrong param name in scheduled statuses and return params in API (#9725)
6 years ago
Eugen Rochko ae1aaa3b8a Add scheduled statuses (#9706)
6 years ago
Naoki Kosaka ef6de324c4 Use Contact User as Relay, Report, Subscribe. (#9661)
6 years ago
kodai 9648c59d6f Fix links not being verified (#9673)
6 years ago
Jeong Arm c176b4ec80 Skip full text search if failed (#9654)
6 years ago
ThibG 0244534700 Avoid duplicate work by merging ReplyDistributionWorker into DistributionWorker (#9660)
6 years ago
ThibG bdc44c3558 Reduce usage of LD signatures (#9659)
6 years ago
Eugen Rochko 4e3131f02f Add handler for Move activity (#9629)
6 years ago
Eugen Rochko 8958e58bd4 Improve admin UI for account view (#9643)
6 years ago
Eugen Rochko bbf9f4f93b Add REST API for creating an account (#9572)
6 years ago
ThibG a2492a89fb Limit maximum visibility of local silenced users to unlisted (#9583)
6 years ago
ThibG f76665a276 Ignore low-confidence CharlockHolmes guesses when parsing link cards (#9510)
6 years ago
Sumit Khanna b1b6e5911d Error message for avatar image that's too large. #9204 (#9518)
6 years ago
ysksn 316bc93abd Remove redundant (#9503)
6 years ago
ysksn 201a9e844a Use find_or_initialize_by (#9504)
6 years ago
Eugen Rochko fd8ca11f19 Add profile directory (#9427)
6 years ago
Eugen Rochko 626a544d08 Improve account suspension speed and completeness (#9290)
6 years ago
valerauko a6ebcda59b Ignore JSON-LD profile in mime type comparison (#9179)
6 years ago
James Kiesel b874d9dac7 Simplify hashtag query service, perf increase for 'any' tags (#9298)
6 years ago
Eugen Rochko 7a939f7cfc Remove intermediary arrays when creating hash maps from results (#9291)
6 years ago
ThibG b6e377a340 Fix emoji update date processing (#9255)
6 years ago
ThibG 49889c0b8b Check that twitter:player is valid before using it (#9254)
6 years ago
Eugen Rochko 5f613d55e6 Optimize the process of following someone (#9220)
6 years ago
m.b 1093295902 Update resolve_url_service.rb (#9188)
6 years ago
James Kiesel d2a9ea58da Allow joining several hashtags in a single column (#8904)
6 years ago
Eugen Rochko 3981da6f90 Revert "Fix FetchAtomService content type handling (#9132)" (#9171)
6 years ago
valerauko c20d55f7dd Fix FetchAtomService content type handling (#9132)
6 years ago
Eugen Rochko d84886f35e Accept the same payload in multiple inboxes and deliver (#9150)
6 years ago
Eugen Rochko c15b8ee75b Always let through notifications from staff (#9152)
6 years ago
ThibG cfe92b50bb Fix Pleroma mentions being fetched as preview cards (#9158)
6 years ago
ThibG 1cbcb09d67 Do not hide boost notifications from followed people with hidden boosts (#9147)
6 years ago
Eugen Rochko cf2ab9c394 Include preview cards in status entity in REST API (#9120)
6 years ago
Eugen Rochko 7c01fbf4fd Add locality check to ActivityPub::FetchRemoteAccountService (#9109)
6 years ago
abcang 95ef0e144a Skip link-back check if body is nil (#9107)
6 years ago
ThibG 8d76db2714 Do not fetch preview card for mentioned users (#6934)
6 years ago
Eugen Rochko 654520ec8c Improve support for aspects/circles (#8950)
6 years ago
Quint Guvernator 96388bae5f always allow DMs from staff (#8993)
6 years ago
Eugen Rochko 8efdf1a898 Do not push DMs into the home feed (#8940)
6 years ago
Eugen Rochko c9b5168ebd Add conversations API (#8832)
6 years ago
Eugen Rochko 24f168e58e Fix link verification for remote accounts (#8868)
6 years ago
Eugen Rochko 52168073a3 Support link verification with redirects (#8735)
6 years ago
Yamagishi Kazutoshi 6d970d6e71 Fix failed profile verification when rel attribute including values other than me (#8733)
6 years ago
Eugen Rochko 3f9f3a351b Fix VerifyAccountLinksWorker not being queued (#8721)
6 years ago
Eugen Rochko d3105031f8 Redesign forms, verify link ownership with rel="me" (#8703)
6 years ago
ThibG 441238b938 Handle relative URLs when fetching OEmbed/OpenGraph cards (#8669)
6 years ago
Eugen Rochko 601a0dc6cc Add preference for report notification e-mails, skip for duplicates (#8559)
6 years ago
Eugen Rochko 1d319c531e Add CLI task for rotating keys (#8466)
6 years ago
Eugen Rochko f9836d593c Bump interactions count when a follow happens (#8468)
6 years ago
Eugen Rochko 63859550d3 Delay e-mail notifications by 2 minutes (#8438)
6 years ago
ThibG 5da13c3980 Do not crash if remote custom emoji does not define updated date (fixes #8376) (#8377)
6 years ago
Eugen Rochko bb7dce98a0 Improve federated ID validation (#8372)
6 years ago
Eugen Rochko 025e7c6f8c Add favourites to archive takeout (#8351)
6 years ago
Eugen Rochko fe88a4f42c Get rid of all batch order warnings (#8334)
6 years ago
Eugen Rochko 35c99eeb0f Increase reach of Delete->Actor activities (#8305)
6 years ago
ThibG 8f788fe92a Do not process outgoing mentions to suspended accounts (#8272)
6 years ago
ThibG c16294d20a Use correct activity id in Accept when receiving duplicate Follow (fixes #8218) (#8244)
6 years ago
ThibG fff6297a24 Allow accessing local private/DM messages by URL (#8196)
6 years ago
Eugen Rochko 3dc21c1ff6 Prevent ActivityPub movedTo recursion (#8092)
6 years ago
Eugen Rochko 38f413e583 Fix activity:interactions counter to count all interactions (#8037)
6 years ago
Eugen Rochko 171c20ce72 Add federation relay support (#7998)
6 years ago
Eugen Rochko 68d884e556 Send undo of boost to original poster if reblog (#7959)
6 years ago
Eugen Rochko e57d9177dc Fix check for PotentialFriendshipTracker when replying (#7933)
6 years ago
Eugen Rochko aa4e75166b Re-add follow recommendations API (#7918)
6 years ago
Eugen Rochko f91fa10804 Allow selecting default posting language instead of auto-detect (#7828)
7 years ago
Eugen Rochko 907694df6a Add autofollow option to invites (#7805)
7 years ago
Eugen Rochko 681ac8580a Remove placeholder text for media-only toots (#7806)
7 years ago
Eugen Rochko b051d74029 Fix domain hiding logic (#7765)
7 years ago
Yamagishi Kazutoshi 1a145c6af1 Skip processing when HEAD method returns 501 (#7730)
7 years ago
Akihiko Odaki 3114ac9655 Do not mark remote status sensitive even if spoiler text is present (#7395)
7 years ago
Eugen Rochko 946091af45 Exclude unlisted, private and direct toots from affecting trends (#7686)
7 years ago
Eugen Rochko 9e3f9b8250 Improve counter caches on Status and Account (#7644)
7 years ago
Eugen Rochko dc7bf28635 Reduce wasted work in RemoveStatusService due to inactive followers (#7672)
7 years ago
Eugen Rochko 8a3b9d26fb Track trending tags (#7638)
7 years ago
Eugen Rochko f68736088b Use #any? instead of #exists? when checking media attachments (#7570)
7 years ago
Yamagishi Kazutoshi ccc240b59c Add media timeline (#6631)
7 years ago
Akihiko Odaki 5dadb6896b Raise Mastodon::RaceConditionError if Redis lock failed (#7511)
7 years ago
unarist 63a10a7ffe Fix custom emoji handling in UpdateRemoteProfileService (OStatus) (#7501)
7 years ago
Wiktor 37136f5986 Fix account URI when updating ActivityPub account (#7488)
7 years ago
abcang e6c952476c Call media.present? because media may be nil (#7474)
7 years ago
ThibG 74c2a46423 Fetch boosted statuses on behalf of a follower (fixes #7426) (#7459)
7 years ago
Eugen Rochko e86a4fe36b Add REST API for Web Push Notifications subscriptions (#7445)
7 years ago
Yamagishi Kazutoshi 6092325a48 Rescue Mastodon::LengthValidationError in FetchLinkCardService (#7424)
7 years ago
Surinna Curtis a2b84b644b Take the first recognized actor_type. (#7410)
7 years ago
ThibG 10be4c496c Fix hashtags not being federated on mentions (fixes #6900) (#7406)
7 years ago
Eugen Rochko 7ff3c849d1 Bot nameplates (#7391)
7 years ago
Eugen Rochko b890e5830c Support explicitly supplying language code for status via REST API (#7389)
7 years ago
Eugen Rochko ef1a273322 Fix handling of malformed ActivityPub payloads when URIs are nil (#7370)
7 years ago
Eugen Rochko 8913ccb434 Store home feeds for 7 days instead of 14 (#7354)
7 years ago
Eugen Rochko ba4e838b7f Improve PostStatusService performance (#7317)
7 years ago
Eugen Rochko ca1c696dbd Slightly reduce RAM usage (#7301)
7 years ago
abcang fcfc44de66 Keep notification when muting_notifications is true (#7311)
7 years ago
Eugen Rochko c5fa8041c2 Remove most behaviour disparities between blocks and mutes (#7231)
7 years ago
Eugen Rochko 192746ec3e Guard against nil URLs in Request class (#7284)
7 years ago
Surinna Curtis 72793b3fc7 Support Actors/Statuses with multiple types (#7305)
7 years ago
Emelia Smith 1071ecfebc Prevent suspended accounts from appearing in AccountSearchService (#7246)
7 years ago
Eugen Rochko 599aa39aca Remove "nsfw" category for sensitive statuses in OStatus serializer (#7048)
7 years ago
Eugen Rochko 7cba58aeaf Rescue SSL errors when processing mentions, remove useless line (#7184)
7 years ago
Kaito Sinclaire 447741e456 Direct messages column (#4514)
7 years ago
ThibG 60d86501b5 Remove extra spaces from search API queries and public account headers (fixes #7129) (#7152)
7 years ago
Eugen Rochko 466442b764 Add bio fields (#6645)
7 years ago
Eugen Rochko 1343b9f329 Ensure SynchronizeFeaturedCollectionWorker is unique and clean up (#7043)
7 years ago
Renato "Lond" Cerqueira ddbc1572f2 When creating status, if no sensitive status is given, use default (#7057)
7 years ago
Nolan Lawson 3e30ac6b7d Fix nil account issue in ProcessAccountService (#7019)
7 years ago
Eugen Rochko 40afedc030 Support all ActivityPub actor types (#6997)
7 years ago
David Underwood 44274257de [WIP] Enable custom emoji on account pages and in the sidebar (#6124)
7 years ago
ThibG 1cda8b247a Fix compatibility with PeerTube (#6968)
7 years ago
Akihiko Odaki acece7a2e6 Validate HTTP response length while receiving (#6891)
7 years ago
Akihiko Odaki 11c19f6cc9 Close http connection in perform method of Request class (#6889)
7 years ago
Eugen Rochko ab96a9ff11 Use username/domain to match existing accounts in ActivityPub (#6842)
7 years ago
nightpool 2902b97c83 Add entropy to download filenames (#6811)
7 years ago
Eugen Rochko 0277ca9a0c For now, put a "." into no-text statuses with media for backcompat (#6691)
7 years ago
Eugen Rochko f92176899e After blocking domain with reject_media, invalidate cache (#6679)
7 years ago
Eugen Rochko 0c2a08adeb Remove text requirement when media attached from statuses (#6672)
7 years ago
Eugen Rochko b1f8dfd3cf Federate pinned statuses over ActivityPub (#6610)
7 years ago
Aboobacker MK fab75c2396 Fix 500 while searching after deleting a post (#6604)
7 years ago
Eugen Rochko 0ebd2a1718 Federated reports (#6570)
7 years ago
Eugen Rochko f6884555d7 Account archive download (#6460)
7 years ago
Eugen Rochko 0357e93a91 Fix #5173: Click card to embed external content (#6471)
7 years ago
Eugen Rochko 7ca5a06505 Full-text search for authorized statuses (#6423)
7 years ago
abcang b209de40f4 Fix saving of oEmbed image (#6409)
7 years ago
Akihiko Odaki b5162e2aff Rename ResolveRemoteAccountService to ResolveAccountService (#6327)
7 years ago
Akihiko Odaki fabc4af7ff Rename FetchRemoteResourceService to ResolveURLService (#6328)
7 years ago
Renato "Lond" Cerqueira b2632dfad7 When must_be_following_dm is on, only notify if recipient dm'ed user (#6283)
7 years ago
Eugen Rochko 9cfbbbce1f Fix home regeneration (#6251)
7 years ago
puckipedia 87dd003ea5 Allow attributedTo in a status to be an embedded object (#6238)
7 years ago
Eugen Rochko d4e0d2563c Fix bad URL schemes being accepted (#6219)
7 years ago
ThibG 090bd4d505 When fetching an ActivityPub-enabled status, do not re-request it as text/html (#6196)
7 years ago
Eugen Rochko c647ce902b Send one Delete of Actor in ActivityPub when account is suspended (#6172)
7 years ago
Eugen Rochko 289355749f Fix FetchAtomService not finding alternatives if there's a Link header (#6170)
7 years ago
Eugen Rochko afa3852159 Update moved-to property when it's removed too (#6160)
7 years ago
ThibG 7eb2f42976 Reduce the number of synchronous resolves when posting toots (#6075)
7 years ago
Eugen Rochko 8c04f9417f Fix redundant HTTP request in FetchLinkCardService (#6002)
7 years ago
Eugen Rochko 5b2ab607db Fix #5952 - NameError (regression from #5762) (#5999)
7 years ago
Akihiko Odaki d67575edea Store preview image for embedded photo in preview cards (#5986)
7 years ago
Renato "Lond" Cerqueira 15bc3398f7 Return false if object does not respond to url (#5988)
7 years ago
Renato "Lond" Cerqueira ab3d248f48 Change conditional to avoid nil into string error in sidekiq (#5987)
7 years ago
Andrea Scarpino e8198cd298 Fix account and tag searches with leading/trailing spaces (#5965)
7 years ago
Yamagishi Kazutoshi f54ca825c5 Ignore HEAD method if does not support (#5949)
7 years ago
Eugen Rochko 856e8465ea Fix #5926 - Do not downgrade to OStatus once ActivityPub is known (#5929)
7 years ago
Akihiko Odaki ce3989fc6a Add embed_url to preview cards (#5775)
7 years ago
Yamagishi Kazutoshi 9c1cbddf70 Search only from followees (#5897)
7 years ago
Yamagishi Kazutoshi fba46b6072 Using double splat operator (#5859)
7 years ago
Eugen Rochko 1e7f022fa2 Add list of lists component to web UI (#5811)
7 years ago
Eugen Rochko cfe67ba832 Add semi-support for Video/Image objects in ActivityPub (#5848)
7 years ago
Eugen Rochko 2421fd745a Fix too many forwards (#5854)
7 years ago
aschmitz ce341c7cf6 Allow hiding of reblogs from followed users (#5762)
7 years ago
ThibG f33fd11c87 Fix handling of temporary failures in ProcessMentionsService (#5842)
7 years ago
abcang 4e409e629d Fixed duplicating URL of photo type of oEmbed (#5763)
7 years ago
abcang ef14321fff Fix NoMethodError at ActivityPub::FetchRemoteStatusService (#5753)
7 years ago
Eugen Rochko b89f614bd7 Profile redirect notes (#5746)
7 years ago
Eugen Rochko e149067561 Lists (#5703)
7 years ago
Eugen Rochko 3df46ce5a8 Fix some rubocop style issues (#5730)
7 years ago
Surinna Curtis 582dd1b7c7 Optional notification muting (#5087)
7 years ago
ThibG 4531b67c3e Use already-known remote user data if resolving temporarily fails in mentions (#5702)
7 years ago
Eugen Rochko 80873c1134 Add option to block direct messages from people you don't follow (#5669)
7 years ago
ThibG 5abd97e5ba Fix process mentions for local users, as local users are considered to use OStatus (#5618)
7 years ago
ThibG 4912f539c3 Twidere mention workaround (#5552)
7 years ago
Eugen Rochko 7f1a0241c1 Add ability to disable login and mark accounts as memorial (#5615)
7 years ago
ThibG 02608c2292 Do not process undeliverable mentions (#5598)
7 years ago
ThibG a8249d2486 Resolve remote accounts when mentioned even if they are already known (#5539)
7 years ago
ThibG fec32921d5 Update remote ActivityPub users when fetching their toots (#5545)
7 years ago
ThibG b41ed24f74 Instantiate service classes for each call (fixes #5540) (#5543)
7 years ago
unarist 8b2ee20dfa Don't capture scheme-less URLs in the status (#5435)
7 years ago
abcang 7c1f3173bb Close connection when succeeded posting (#5390)
7 years ago
ThibG 10c5fafbe1 Fix remote status fetching for “pure” ActivityPub WEB_ACCOUNT users (#5372)
7 years ago
unarist dead33f113 Fix some failure cases on FetchLinkCardService (#5347)
7 years ago
Eugen Rochko a431000b97 Fix #5272 - Order of checks in ActivityPub handler (#5276)
7 years ago
Eugen Rochko 007fce8c10 Set snowflake IDs for backdated statuses (#5260)
7 years ago
unarist 4acb1c73dd Improve error handling on LinkCrawlWorker (#5250)
7 years ago
ThibG a89d69a269 Fix regression in FetchRemoteResourceService (#5217)
7 years ago
ThibG dee5c22790 Check Webfinger-returned author URI even when not redirected (#5213)
7 years ago
aschmitz 5b2d855d86 Non-Serial ("Snowflake") IDs (#4801)
7 years ago
Yamagishi Kazutoshi e671d77e8f Fix undefined local variable (regression from #5114) (#5210)
7 years ago
Eugen Rochko 23dd2eb614 Follow up to #5172, clean up notifications after mute like after block (#5198)
7 years ago
Akihiko Odaki 2e6db37776 Validate id of ActivityPub representations (#5114)
7 years ago
Eugen Rochko 7983da13cd Fix possible acct: uri usurpation in ActivityPub account discovery (#5208)
7 years ago
Eugen Rochko c35e6234ab If HTTP signature is wrong and webfinger cache is stale, retry with resolve (#5129)
7 years ago