842 Commits (d279666bd4353ba39c41e3607db7fd6862844947)

Author SHA1 Message Date
Takeshi Umeda 68070e82cc Add signature to exported status (#12649)
5 years ago
Takeshi Umeda a391eaf4d8 Fix an error when ActivityPub::FetchRemoteStatusService url is called with nil (#12652)
5 years ago
ThibG 2ee5a9d9c3 Clean up OStatus-related codepaths (#12173)
5 years ago
Alice Gaudon 668f698077 Admin setting to disable default follows (#12566)
5 years ago
trwnh 1653ae91ce Fix account search with no query (#12549)
5 years ago
Eugen Rochko bbf926b1c0
Fix error when using search API with no query (#12541)
5 years ago
ThibG 911cc14481 Add follow_request notification type (#12198)
5 years ago
ThibG 00c219aa45 Fix empty poll options not being filtered on remote poll update (#12484)
5 years ago
Eugen Rochko a60b602ade
Fix OEmbed discovery not handling different URL variants in query (#12439)
5 years ago
ThibG c656cc2191 Fix FetchLinkCardServices crashing on a tags without a target (#12159)
5 years ago
ThibG c4d45765e3 Change domain block behavior to update user records before deleting data (#12247)
5 years ago
Eugen Rochko d14e74eff5
Add cache for OEmbed endpoints to avoid extra HTTP requests (#12403)
5 years ago
ThibG dfea7368c9 Add bookmarks (#7107)
5 years ago
ThibG 0d5f3ae331 Fix already-known remote private toots not being searchable by URL (#12336)
5 years ago
ThibG 66c1fe0495 Fix various issues with account migration (#12301)
5 years ago
ThibG 65e13cfacf Add abilityto add oneself to lists (#12271)
5 years ago
nightpool 9762fe382c microformat mentions can have an implicit property (#12189)
5 years ago
Eugen Rochko 8386d9ec10
Fix hashtag timeline REST API accepting too many hashtags (#12091)
5 years ago
Eugen Rochko eb83d6256e
Add `reason` param to `POST /api/v1/accounts` REST API (#12064)
5 years ago
ThibG 3a4d994c40 Fix BootstrapTimelineService crashing when bootstrapped accounts are invalid (#12037)
5 years ago
Eugen Rochko 9ba40a6bfd
Remove HEAD request from fetching link previews (#12028)
5 years ago
abcang 9ef5532a7e Fix follow requests N+1 (#12004)
5 years ago
ThibG 3babf8464b Add voters count support (#11917)
5 years ago
Eugen Rochko 368a87755b
Fix account migration not affecting followers on origin server (#11980)
5 years ago
Eugen Rochko 3ec80c7aec
Fix preview card image not being re-fetched even if link is re-posted (#11981)
5 years ago
Eugen Rochko ab33c4df94
Add `exclude_unreviewed` param to `GET /api/v2/search` REST API (#11977)
5 years ago
ThibG 18b451c0e6 Change silences to always require approval on follow (#11975)
5 years ago
Eugen Rochko 2f90a38f44
Fix unreviewed hashtag not being found by exact case-insensitive match (#11976)
5 years ago
Jeong Arm 00d7bdcc2a Fix search error when ElasticSearch is enabled but not available (#11954)
5 years ago
Eugen Rochko 4f6af87906
Change spam check to apply to local accounts and add a threshold (#11806)
5 years ago
Eugen Rochko 38dc51b2d6
Fix Move handler queuing jobs that will fail if account is suspended (#11864)
5 years ago
Eugen Rochko 50edf84898
Fix search API not resolving URL when type is given (#11822)
5 years ago
Eugen Rochko c5d37f18cb
Change deletes to preserve soft-deleted statuses in unresolved reports (#11805)
5 years ago
Eugen Rochko 43f56f1291
Change account deletion page to have better explanations (#11753)
5 years ago
Eugen Rochko cb447b28c4
Add profile directory to web UI (#11688)
5 years ago
Eugen Rochko 97192d9a77
Fix remote and staff-removed statuses leaving media behind for a day (#11638)
5 years ago
Eugen Rochko cc0a55cf9a
Add more accurate hashtag search (#11579)
5 years ago
Eugen Rochko 70da6d6630
Fix accounts search by full/partial display name and others (#11580)
5 years ago
Eugen Rochko 8fdff2748f
Add more accurate account search (#11537)
5 years ago
Eugen Rochko c5661b0f92
Fix account search always returning exact match on paginated results (#11525)
5 years ago
Eugen Rochko f51c7c105f
Fix acct URIs with IDN domains not being resolved (#11520)
5 years ago
ThibG bced70469a Add domain block notes (#11515)
5 years ago
Eugen Rochko 5e35aa8280
Fix non-lowercase hashtags not being picked up by the streaming API (#11508)
5 years ago
Eugen Rochko 24552b5160
Add whitelist mode (#11291)
5 years ago
Eugen Rochko f371b32137
Change hashtags to preserve first-used casing (#11416)
5 years ago
Eugen Rochko b9fbcbfe4e
Add search syntax for operators and phrases (#11411)
5 years ago
ThibG 92569ffde8 Fix invites not being disabled upon account suspension (#11412)
5 years ago
Eugen Rochko 4eeff26533
Change account domain block to clear out notifications and follows (#11393)
5 years ago
Eugen Rochko bd87e66679
Remove WebSub subscriptions (#11303)
5 years ago
ThibG 2f813b7ea1 Disable LDSigning when AUTHORIZED_FETCH is set to true (#11295)
5 years ago
ThibG 3595ce6325 Fix leaking private statuses the admin account follows (#11300)
5 years ago
Eugen Rochko 6ff67be0f6
Add a spam check (#11217)
5 years ago
ThibG 4e1260feaa Fix BlockService trying to reject incorrect follow request (#11288)
5 years ago
Eugen Rochko 4e8dcc5dbb
Add HTTP signatures to all outgoing ActivityPub GET requests (#11284)
5 years ago
Eugen Rochko 5d3feed191
Refactor fetching of remote resources (#11251)
5 years ago
ThibG 85eb418e1f Fix handling of webfinger redirects in ResolveAccountService (#11279)
5 years ago
Eugen Rochko 4e92183227
Refactor domain block checks (#11268)
5 years ago
Eugen Rochko 63c7fe8e48
Refactor controllers for statuses, accounts, and more (#11249)
5 years ago
ThibG 87c1ad4ea3 Fix BackupService crashing when an attachment is missing (#11241)
5 years ago
Eugen Rochko b851456139
Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id` (#11247)
5 years ago
Eugen Rochko 23aeef52cc
Remove Salmon and PubSubHubbub (#11205)
5 years ago
Eugen Rochko 2cfa427ea7
Change domain block behaviour to prevent creation of accounts from suspended domains (#11219)
5 years ago
ThibG 915c619394 Add support for Audio activities (#11189)
5 years ago
Eugen Rochko 707ddf7808
Change domain blocks to automatically support subdomains (#11138)
5 years ago
Eugen Rochko f7f23b4a19
Add audio uploads (#11123)
5 years ago
Eugen Rochko f2b743e715
Refactor all ActivityPub deliveries to be serialized and signed through one concern (#10966)
6 years ago
ThibG a1519a8ef5 Prevent from publicly boosting one's own private toots (#10775)
6 years ago
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