389 Commits (th-downstream)

Author SHA1 Message Date
Claire e38fc319dc
Refactor and improve tests (#17386)
3 years ago
Eugen Rochko 1060666c58
Add support for editing for published statuses (#16697)
3 years ago
Claire 7f803c41e2
Add ability to purge undeliverable domains from admin interface (#16686)
3 years ago
Eugen Rochko 7de0ee7aba
Remove Keybase integration (#17045)
3 years ago
Claire 013bee6afb
Fix filtering DMs from non-followed users (#17042)
3 years ago
Eugen Rochko 39cdf61ab7
Add support for structured data and more OpenGraph tags to link cards (#16938)
3 years ago
Claire ec059317fa
Fix some link previews being incorrectly generated from other prior links (#16885)
3 years ago
Claire 3f9b28ce26
Add support for fetching Create and Announce activities by URI (#16383)
3 years ago
Takeshi Umeda 17f4e457b3
Add remove from followers api (#16864)
3 years ago
Claire 216570ad98
Fix scheduled statuses decreasing statuses counts (#16791)
3 years ago
Claire 2b18f7a943
Fix processing mentions to domains with non-ascii TLDs (#16689)
3 years ago
Claire 6702148472
Add tests for SuspendAccountService and UnsuspendAccountService (#16627)
3 years ago
Claire 13b08610a0
Fix crash when encountering invalid account fields (#16598)
3 years ago
Claire 4ac78e2a06
Add feature to automatically delete old toots (#16529)
3 years ago
Claire 763ab0c7eb
Fix owned account notes not being deleted when an account is deleted (#16579)
3 years ago
Claire 225c6582d1
Add tests for BootstrapTimelineService (#16476)
3 years ago
Claire afb7882189
Fix blocking someone not clearing up list feeds (#16205)
4 years ago
Eugen Rochko 1294f9ee4f
Remove PubSubHubbub-related columns from accounts table (#16170)
4 years ago
Eugen Rochko daccc07dc1
Change auto-following admin-selected accounts, show in recommendations (#16078)
4 years ago
Claire 5614e6724e
Fix URL scanning in note length validator and preview card fetching (#15827)
4 years ago
Claire 5f4c0b79c2
Change ResolveAccountService's handling of skip_webfinger (#15750)
4 years ago
ThibG 3249d35bdc
Improve account deletion performances further (#15407)
4 years ago
Eugen Rochko 9915d11c0d
Fix unnecessary queries when batch-removing statuses, 100x faster (#15387)
4 years ago
ThibG 43961035a9
Fix some notifications not being deleted on poll/status deletion (#15402)
4 years ago
ThibG a60d9335d8
Fix resolving accounts sometimes creating duplicate records for a given AP id (#15364)
4 years ago
ThibG b1feb47055
Improve searching for private toots from URL (#14856)
4 years ago
ThibG 8b8004a962
Fix webfinger redirect handling in ResolveAccountService (#15187)
4 years ago
ThibG 96c1e71329
Add import/export feature for bookmarks (#14956)
4 years ago
Eugen Rochko 3134691948
Add support for reversible suspensions through ActivityPub (#14989)
4 years ago
ThibG ca56527140
Add follower synchronization mechanism (#14510)
4 years ago
Eugen Rochko 5e1364c448
Add IP-based rules (#14963)
4 years ago
Eugen Rochko 974b1b79ce
Add option to be notified when a followed user posts (#13546)
4 years ago
Eugen Rochko ed099d8bdc
Change account suspensions to be reversible by default (#14726)
4 years ago
Eugen Rochko e8bc187845
Refactor how public and tag timelines are queried (#14728)
4 years ago
Eugen Rochko 68d3b160de
Fix various warnings in rspec (#14729)
4 years ago
ThibG d658af7ff8
Fix removing allowed domains being done synchronously (#14302)
4 years ago
ThibG e96e9cae62
Add test for removing endorsed accounts on account deletion/suspension (#14241)
4 years ago
ThibG 89f40b6c3e
Make domain block/silence/reject-media code more robust (#13424)
4 years ago
ThibG 27ea7c13a5
Fix hashtag search performing account search as well (#13758)
5 years ago
Eugen Rochko 2744f61696
Fix not being able to resolve public resources in development environment (#13505)
5 years ago
Eugen Rochko 9014367bd8
Fix background jobs not using locks like they are supposed to (#13361)
5 years ago
ThibG f08f880f58
Fix media not being marked sensitive when client sets a CW but no text (#13277)
5 years ago
Eugen Rochko 81cc86bb1f
Fix media attachments without file being uploadable (#12562)
5 years ago
Eugen Rochko f86ee4b59f
Fix IDN mentions not being processed, IDN domains not being rendered (#12715)
5 years ago
ThibG 2ee5a9d9c3 Clean up OStatus-related codepaths (#12173)
5 years ago
Thomas Citharel 8094955461 Add Event activity-type support (#12637)
5 years ago
ThibG c656cc2191 Fix FetchLinkCardServices crashing on a tags without a target (#12159)
5 years ago
Eugen Rochko d14e74eff5
Add cache for OEmbed endpoints to avoid extra HTTP requests (#12403)
5 years ago
BSKY fccf83e1f2 Add noopener and/or noreferrer (#12202)
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
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 8fdff2748f
Add more accurate account search (#11537)
5 years ago
ThibG bced70469a Add domain block notes (#11515)
5 years ago
Eugen Rochko b9fbcbfe4e
Add search syntax for operators and phrases (#11411)
5 years ago
Eugen Rochko bd87e66679
Remove WebSub subscriptions (#11303)
5 years ago
ThibG 730c4053d6 Add ActivityPub actor representing the entire server (#11321)
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
Eugen Rochko 4e92183227
Refactor domain block checks (#11268)
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
ThibG 915c619394 Add support for Audio activities (#11189)
5 years ago
ThibG a353dc6030 Fix NotifyService test with regards to reblogs (#10928)
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 62f5235b6f Prevent silenced local users from notifying remote users not following them (#10575)
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
ThibG 2acd8940de Fix more keybase-related test failures (#10443)
6 years ago
ThibG abecaba317 Fix failing keybase-related test (#10428)
6 years ago
Eugen Rochko 1714ea5978
Add ActivityPub representation for identity proofs (#10414)
6 years ago
ThibG a20354a20b Set and store report URIs (#10303)
6 years ago
ThibG 5e38ef87a7 Fix reblogs privacy (#10302)
6 years ago
Eugen Rochko 51e154f5e8
Admission-based registrations mode (#10250)
6 years ago
ThibG c11dff5049 Reject existing Follows when suspending a remote account (#10230)
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
ThibG e2a5be6e9a Prevent posting toots with media attachments from someone else (#9921)
6 years ago
ThibG 061feb63ed Fix scheduled toot with media immediately creating a toot (#9894)
6 years ago
ThibG aeb124491d Reject existing Follow in addition to sending a Block (#9811)
6 years ago
Renato "Lond" Cerqueira 5c5e14c816 Fix undefined method error in sidekiq (#9807)
6 years ago
ysksn 9a38357111 Remove `pending` (#9752)
6 years ago
Eugen Rochko a49d43d112
Add scheduled statuses (#9706)
6 years ago
ThibG 290932602b Reduce usage of LD signatures (#9659)
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
valerauko db9aea34de Ensure replied-to is a status not a boost (#9129)
6 years ago
valerauko 824497fbce Ignore JSON-LD profile in mime type comparison (#9179)
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
ThibG 33a71e8f7c Do not hide boost notifications from followed people with hidden boosts (#9147)
6 years ago
ashleyhull-versent f194857ac9 rubocop issues - Cleaning up (#8912)
6 years ago
Eugen Rochko 7fe137d2f7
Fix link verification for remote accounts (#8868)
6 years ago
aus-social 1f98eae1cf Lint pass (#8876)
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 f4d549d300
Redesign forms, verify link ownership with rel="me" (#8703)
6 years ago
luzpaz 40dd19be37 Misc. typos (#8694)
6 years ago
Eugen Rochko c593d6df9c
Add preference for report notification e-mails, skip for duplicates (#8559)
6 years ago
Eugen Rochko 802cf6a4c5
Improve federated ID validation (#8372)
6 years ago
Eugen Rochko 6226aa83d7
Increase reach of Delete->Actor activities (#8305)
6 years ago
ThibG af912fb308 Allow accessing local private/DM messages by URL (#8196)
6 years ago
Eugen Rochko 10f51c9886
Fix domain hiding logic (#7765)
7 years ago
Surinna Curtis 01dfd6dbc8 Take the first recognized actor_type. (#7410)
7 years ago
Eugen Rochko cb5b5cb5f7
Slightly reduce RAM usage (#7301)
7 years ago
Surinna Curtis dc786c0cf4 Support Actors/Statuses with multiple types (#7305)
7 years ago
MIYAGI Hikaru eb593a5a0c Append '.test' to hostname in stub data (#7260)
7 years ago
Emelia Smith 495303d9b8 Prevent suspended accounts from appearing in AccountSearchService (#7246)
7 years ago
Eugen Rochko 78ed4ab75f
Add bio fields (#6645)
7 years ago
Eugen Rochko 41a01bec23
Federated reports (#6570)
7 years ago
Akihiko Odaki f8f0572ee0 Do not push status to feed if its reblog is already inserted (#6488)
7 years ago
Kazushige Tominaga 78936461d7 Added fetch_remote_status_service call spec case actibitypub (#6500)
7 years ago
Daniel King 6ef3874b2e Fix URLs incorrectly having trailing hyphen removed (#6465)
7 years ago
Kazushige Tominaga 718802a05d Added FetchRemoteAccountService spec (#6456)
7 years ago
Kazushige Tominaga cbe8743e47 Added #call spec (#6455)
7 years ago
Kazushige Tominaga 1167c6dbf8 Perform request spec (#6446)
7 years ago
Kazushige Tominaga 2bb393684b Added #link_header spec (#6439)
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
Mike Burns ea75ae2d1f Use be_within instead of eq for a to_f test match (#6275)
7 years ago
Eugen Rochko e4a241abef
Fix bad URL schemes being accepted (#6219)
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
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
Eugen Rochko 24cafd73a2
Lists (#5703)
7 years ago
ysksn 9dd5e329ab Remove empty strings (#5732)
7 years ago
Surinna Curtis 031a5a8f92 Optional notification muting (#5087)
7 years ago
Eugen Rochko fbef909c2a
Add option to block direct messages from people you don't follow (#5669)
7 years ago
Lex Alexander b8bae96647 Retoot count increases without reason (#5363)
7 years ago
Eugen Rochko 0717d9b3e6 Set snowflake IDs for backdated statuses (#5260)
7 years ago
ThibG 2559d9166c Fix regression in FetchRemoteResourceService (#5217)
7 years ago
aschmitz 468523f4ad Non-Serial ("Snowflake") IDs (#4801)
7 years ago
Akihiko Odaki 63f0979799 Validate id of ActivityPub representations (#5114)
7 years ago
Eugen Rochko cf7fbf2c56 Fix #5059 - Stop processing payload if it's from local account (#5100)
7 years ago
Akihiko Odaki bb4d005a83 Introduce OStatus::TagManager (#5008)
7 years ago
unarist 1eab53ee10 Fix an error when actor json couldn't be fetched in ResolveRemoteAccountService (#4979)
7 years ago
Akihiko Odaki 48d77ea1eb Fix filterable_languages method of SettingsHelper (#4966)
7 years ago
ふぁぼ原 3816943e6b Enable to recognize most kinds of characters as URL paths (#4941)
7 years ago
Eugen Rochko 7d7844a47f Default follows for new users (#4871)
7 years ago
Eugen Rochko 90712d4293 Fix errors preventing UnsubscribeService from working (#4866)
7 years ago
Eugen Rochko a4caa7eb62 Fetch statuses/following/followers numbers from ActivityPub collections (#4840)
7 years ago
Eugen Rochko e7adbf572a Switch to static URIs, new URI format in both protocols for new statuses (#4815)
7 years ago
Eugen Rochko 7dc5035031 Make PreviewCard records reuseable between statuses (#4642)
7 years ago
unarist f7937d903c Don't process ActivityPub payload if signature is invalid (#4752)
7 years ago
Eugen Rochko 4c76402ba1 Serialize ActivityPub alternate link into OStatus deletes, handle it (#4730)
7 years ago
unarist 7876aed134 Fix deletion of status which has been reblogged (#4728)
7 years ago
Eugen Rochko 00840f4f2e Add handling of Linked Data Signatures in payloads (#4687)
7 years ago
unarist b01a19fe39 Fetch reblogs as Announce activity instead of Note object (#4672)
7 years ago
unarist d63de55ef8 Fix bugs which OStatus accounts may detected as ActivityPub ready (#4662)
7 years ago
Yamagishi Kazutoshi 5f22c0189d Add support for searching AP users (#4599)
7 years ago
Eugen Rochko 4e75f0d889 Hook up URL-based resource look-up to ActivityPub (#4589)
7 years ago
Eugen Rochko b7370ac8ba ActivityPub delivery (#4566)
7 years ago
Eugen Rochko dd7ef0dc41 Add ActivityPub inbox (#4216)
7 years ago
Eugen Rochko dbaa6a0e13 Fix intermittent test failures due to accidentally reused class instance between threads (#4287)
7 years ago
Eugen Rochko 1fcdaafa6f Fix webfinger retries (#4275)
7 years ago
Eugen Rochko 8400bee3b1 Refactor ResolveRemoteAccountService (#4258)
7 years ago
Akihiko Odaki 89b988cab5 Introduce Ostatus name space (#4164)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 7bacdd718a Fix PrecomputeFeedService for filtered statuses (#4148)
7 years ago
nullkal 007ab330e6 Use charlock_holmes instead of nkf at FetchLinkCardService (#4080)
7 years ago
abcang 5e6acf9601 Fix Nokogiri::HTML at FetchLinkCardService (#4072)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 7362469d89 Do not raise an error if PrecomputeFeed could not find any status (#4015)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 7d8e3721ae Overwrite old statuses with reblogs in PrecomputeFeedService (#3984)
7 years ago
Eugen Rochko f3be605286 Rename FollowRemoteAccountService to ResolveRemoteAccountService (#3847)
8 years ago
Eugen Rochko e17c2e5da5 Batched remove status service (#3735)
8 years ago
Eugen Rochko ce812466c7 Fix removal of status sending the original status to mentioned users instead of delete Salmon (#3672)
8 years ago
unarist e34c5a3503 Fix 500 errors on searching invalid URLs (#3613)
8 years ago
René Klačan 037f96c5ae Don't follow account if it's already followed (#3575)
8 years ago
Jack Jennings 33f669a5f8 Add status destroy authorization to policy (#3453)
8 years ago
happycoloredbanana 9642601126 Avoid comparing domains when looking for an exact match of a local account (#3336)
8 years ago
Eugen Rochko f1ab70649b Add buttons to block and unblock domain (#3127)
8 years ago
Matt Jankowski db4119f971 Specs for precompute feed service (#3142)
8 years ago
Eugen Rochko 620d0d8029 Account domain blocks (#2381)
8 years ago
Eugen Rochko 1efda1c453 Fix #2572 - Resolve preview cards for remote statuses as well as local ones (#3088)
8 years ago
Eugen Rochko af706583bd Fix change of status callbacks not setting in_reply_to_account_id and (#3072)
8 years ago
Eugen Rochko d0dd9eb5b5 Feature conversations muting (#3017)
8 years ago
Eugen Rochko a231f915a0 Fix #2955 - Send HEAD request ahead of GET when fetching URL previews (#2972)
8 years ago
Matt Jankowski 682507bc3c Specs for pubsub subscribe service (#2951)
8 years ago
Matt Jankowski 441d6dc734 Spec and refactor for pubsubhubbub/unsubscribe service (#2946)
8 years ago
Matt Jankowski 5bea42412e Services specs for subscribe and unsubscribe (#2928)
8 years ago
Matt Jankowski b8ba719f73 Unblock domain service specs/refactor (#2867)
8 years ago
alpaca-tc 74036a2c9d Hotfix convert string from symbol (#2856)
8 years ago
alpaca-tc 59804abc3d Optimize MuteService and AfterBlockService (#2836)
8 years ago
Matt Jankowski 484c9709b6 Misc spec coverage improvements (#2821)
8 years ago
Matt Jankowski 20c37ed0f9 Add specs (and refactor) of FetchRemoteResourceService and SearchService (#2812)
8 years ago
Eugen Rochko 81584779cb More robust PuSH subscription refreshes (#2799)
8 years ago
alpaca-tc 74c8ca699c Delete records in smaller transaction (#2802)
8 years ago
Eugen Rochko 13c16b4e95 Likely fix #2458, fix #2031 - handle out-of-order deletes for statuses (#2734)
8 years ago
ThibG 8d4e7504b1 Additional specs for URI handling (#2759)
8 years ago
ThibG bea97ea766 Add rspec to further specify FollowRemoteAccountService (#2414)
8 years ago
Patrick Figel 8ac7fca5d0 Set correct attachment type for rejected media (#2599)
8 years ago