364 Commits (5517df61de1e867afa531268755ee893ffca3c99)

Author SHA1 Message Date
Matt Jankowski a471e1c48f
Add spec for the CLI `version` task (#23978)
2 years ago
Matt Jankowski 688287c59d
Coverage improvement round-out following up previous work (#23987)
2 years ago
Christian Schmidt 684a970b3c
Unescape HTML entities (#24019)
2 years ago
Christian Schmidt 5a8c651e8f
Only offer translation for supported languages (#23879)
2 years ago
Claire 3a6451c867
Add support for incoming rich text (#23913)
2 years ago
Nick Schonning 84cc805cae
Enable Style/FrozenStringLiteralComment for specs (#23790)
2 years ago
Nick Schonning 2c3c734bcc
Autofix Rubocop Style/SymbolProc (#23742)
2 years ago
Nick Schonning 5116347eb7
Autofix Rubocop RSpec/BeEq (#23740)
2 years ago
Nick Schonning 4552685f6b
Autofix Rubocop RSpec/LeadingSubject (#23670)
2 years ago
Nick Schonning 38a1d8bb85
Autofix Rubocop RSpec/ImplicitSubject (#23721)
2 years ago
Nick Schonning 5179c47087
Autofix Rubocops RSpec/ScatteredLet (#23725)
2 years ago
Nick Schonning bd1d57c230
Autofix Rubocop RSpec/EmptyLineAfterSubject (#23719)
2 years ago
Nick Schonning dbc6d7b276
Autofix Rubocop Lint/UnusedBlockArgument (#23712)
2 years ago
Nick Schonning 65ba0d92ef
Enable Rubocop RSpec/NotToNot (#23723)
2 years ago
Nick Schonning 81ad6c2e39
Autofix Rubocop Style/StringLiterals (#23695)
2 years ago
Nick Schonning 3680e032b4
Autofix Rubocop RSpec/EmptyLineAfterFinalLet (#23707)
2 years ago
Nick Schonning 167709f6b0
Autofix Rubocop Style/BlockDelimiters (#23706)
2 years ago
Nick Schonning 08289a38fa
Autofix Rubocop Style/TrailingCommaInArrayLiteral (#23692)
2 years ago
Nick Schonning 5069769cbe
Autofix Rubocop Style/TrailingCommaInHashLiteral (#23693)
2 years ago
Nick Schonning a7db0b41cd
Autofix Rubocop Lint/ParenthesesAsGroupedExpression (#23682)
2 years ago
Nick Schonning efd424506a
Autofix Rubocop Style/RedundantPercentQ (#23651)
2 years ago
Nick Schonning 54318dcd6d
Autofix Rubocop RSpec/ClassCheck (#23685)
2 years ago
Nick Schonning 634368c491
Autofix Rubocop Lint/SymbolConversion (#23683)
2 years ago
Nick Schonning 6d42820e5d
Autofix Rubocop Lint/AmbiguousOperator (#23680)
2 years ago
Nick Schonning 669f6d2c0a
Run rubocop formatting except line length (#23632)
2 years ago
Claire 0c9eac80d8
Fix unbounded recursion in post discovery (#23506)
2 years ago
Claire 15b88a83ab
Fix sanitizer parsing link text as HTML when stripping unsupported links (#22558)
2 years ago
Markus Unterwaditzer 0c689b9d01
fix: allow verification when page size exceeds 1MB (using HTML5 parser) (#22879)
2 years ago
Jeong Arm fdd1facba1
Fix home TL could contain post from who blocked me (#22849)
2 years ago
luzpaz 6ba52306f9
Fix typos (#19849)
2 years ago
Claire 3114c826a7
Fix filter handling in status cache hydration (#19963)
2 years ago
Claire bb89f83cc0
Fix additional issues with status cache hydration (#19747)
2 years ago
Claire 03b991de6c
Fix various issues with store hydration (#19746)
2 years ago
Eugen Rochko 5f9e47be34
Add caching for payload serialization during fan-out (#19642)
2 years ago
Eugen Rochko bf0ab3e0fa
Fix vacuum scheduler missing lock, locks never expiring (#19458)
2 years ago
Eugen Rochko 839f893168
Change public accounts pages to mount the web UI (#19319)
2 years ago
Eugen Rochko 43b5d5e38d
Add logged-out access to the web UI (#18961)
2 years ago
Eugen Rochko 5c9abdeff1
Add retention policy for cached content and media (#19232)
2 years ago
Claire 8cf7006d4e
Refactor ActivityPub handling to prepare for non-Account actors (#19212)
2 years ago
Eugen Rochko 50948b46aa
Add ability to filter followed accounts' posts by language (#19095)
2 years ago
luzpaz 4aa3b9bd01
Fix typos (#18604)
2 years ago
Eugen Rochko e7aa2be828
Change how hashtags are normalized (#18795)
2 years ago
Claire 1b4054256f
Fix crash when a remote Flag activity mentions a private post (#18760)
2 years ago
Claire 02851848e9
Revamp post filtering system (#18058)
2 years ago
Eugen Rochko 2b8dc58b7f
Change RSS feeds (#18356)
3 years ago
Eugen Rochko 3917353645
Fix single Redis connection being used across all threads (#18135)
3 years ago
Claire 0360135d4d
Fix PeerTube videos appearing with an erroneous “Edited at” marker (#18100)
3 years ago
Eugen Rochko 6221b36b27
Remove sign-in token authentication, instead send e-mail about new sign-in (#17970)
3 years ago
Claire 30658924a8
Fix test-related issues (#17888)
3 years ago
Eugen Rochko cefa526c6d
Refactor formatter (#17828)
3 years ago
Eugen Rochko b58db8f12e
Add workaround for YouTube Shorts links (#17869)
3 years ago
Josh Soref b5329e0035
Spelling (#17705)
3 years ago
Eugen Rochko 50ea54b3ed
Change authorized applications page (#17656)
3 years ago
Claire 8f537a1168
Change relays handling to not record boosts (#17571)
3 years ago
Eugen Rochko b6d7726ecb
Remove language detection through cld3 (#17478)
3 years ago
Eugen Rochko f1f6ddd536
Fix structured data parsing from links choking on bad data (#17403)
3 years ago
Eugen Rochko 6505b39e5d
Fix poll updates being saved as status edits (#17373)
3 years ago
Eugen Rochko 1060666c58
Add support for editing for published statuses (#16697)
3 years ago
Claire d5c9feb7b7
Add support for private pinned posts (#16954)
3 years ago
Eugen Rochko 7de0ee7aba
Remove Keybase integration (#17045)
3 years ago
Eugen Rochko 39cdf61ab7
Add support for structured data and more OpenGraph tags to link cards (#16938)
3 years ago
Eugen Rochko 52e5c07948
Change routing paths to use usernames in web UI (#16171)
3 years ago
Claire 12cd097e7c
Fix addressing of remote groups' followers (#16700)
3 years ago
Eugen Rochko 2c77d97e0d
Add joined date to profiles in web UI (#16169)
4 years ago
Claire 0b36e3419d
Fix processing of remote Delete activities (#16084)
4 years ago
Eugen Rochko 619fad6cf8
Remove spam check and dependency on nilsimsa gem (#16011)
4 years ago
Eugen Rochko 7183d9a113
Change multiple mentions with same username to render with domain (#15718)
4 years ago
Claire 1c4dee4554
Fix Mastodon not understanding as:Public and Public (#15948)
4 years ago
Claire a4dcaef53b
Prepare Mastodon for zeitwerk autoloader (#15917)
4 years ago
Claire 5027abecd1
Fix cache_collection crashing when given an empty collection (#15921)
4 years ago
Claire 65db262550
Update twitter-text from 1.14 to 3.1.0 and fix toot character counting (#15382)
4 years ago
Claire be3b9f8151
Fix URI of repeat follow requests not being recorded (#15662)
4 years ago
ThibG a044ddac5b
Fix race conditions on account migration creation (#15597)
4 years ago
Shubhendra Singh Chauhan c8d11b8bdb
Fixed code quality issues (#15541)
4 years ago
trwnh 127c543a6e
rename replies_policy enumerables (#15304)
4 years ago
Eugen Rochko 5e1364c448
Add IP-based rules (#14963)
4 years ago
Eugen Rochko 7d985f2aac
Remove dependency on goldfinger gem (#14919)
4 years ago
Eugen Rochko 65760f59df
Refactor feed manager (#14761)
4 years ago
ThibG 517af45e32
Fix multiple boosts of a same toot erroneously appearing in TL (#14759)
4 years ago
Eugen Rochko 68d3b160de
Fix various warnings in rspec (#14729)
4 years ago
ThibG 79305428a7
Add configuration option to filter replies in lists (#9205)
4 years ago
Eugen Rochko 52157fdcba
Add support for dereferencing objects through bearcaps (#14683)
4 years ago
ThibG 720214feb0
Add support for inlined objects in activity audience (#14514)
4 years ago
ThibG a1412491b7
Change content-type to be always computed from file data (#14452)
4 years ago
ThibG bfd5aea206
Fix handling of Reject Follow when a matching follow relationship exists (#14479)
4 years ago
ThibG 5d9acc0ce4
Fix not handling Undo on some activity types when they aren't inlined (#14346)
4 years ago
ThibG 322d74fc2a
Fix boosted toots from blocked account not being retroactively removed from TL (#14339)
4 years ago
Eugen Rochko 5d8398c8b8
Add E2EE API (#13820)
5 years ago
ThibG a319c1e60f
Add support for `summary` field for media description (#13763)
5 years ago
ThibG 71fce71c94
Fix webfinger returning wrong status code on malformed or missing param (#13759)
5 years ago
ThibG a4240fd027
Improve RSS entries for statuses (#13592)
5 years ago
Eugen Rochko 5edff32733
Change delivery failure tracking to work with hostnames instead of URLs (#13437)
5 years ago
Eugen Rochko b1349342d2
Fix rendering `<a>` without `href` when scheme unsupported (#13040)
5 years ago
ThibG a8e46cf7a1 Add support for magnet: URIs (#12905)
5 years ago
ThibG ea436b355b Add support for linking XMPP URIs in toots (#12709)
5 years ago
ThibG da2143b308 Fixes featured hashtag setting page erroring out instead of rejecting invalid tags (#12436)
5 years ago
ThibG 650820d62d Fix remote media descriptions being cut off at 420 chars (#12262)
5 years ago
BSKY fccf83e1f2 Add noopener and/or noreferrer (#12202)
5 years ago
Eugen Rochko b5f7e12817
Remove auto-silence behaviour from spam check (#12117)
5 years ago
ThibG 18b451c0e6 Change silences to always require approval on follow (#11975)
5 years ago
Eugen Rochko 4f6af87906
Change spam check to apply to local accounts and add a threshold (#11806)
5 years ago
ThibG 692c5b439a Fix ActivityPub context not being dynamically computed (#11746)
5 years ago
ThibG ff789a751a Fix boosting & unboosting preventing a boost from appearing in the TL (#11405)
5 years ago
ysksn d6ada2eb30 Implement pending tests (#11415)
5 years ago
ThibG 7de8c51873 Play animated custom emoji on hover (#11348)
5 years ago
ThibG fda437a020 Fix sanitizing lists contents (#11354)
5 years ago
Eugen Rochko 5bfe1e1f05
Change language detection to include hashtags as words (#11341)
5 years ago
Eugen Rochko 6ff67be0f6
Add a spam check (#11217)
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 0d9ffe56fb
Add request pool to improve delivery performance (#10353)
5 years ago
ThibG 47ef4a6c7a Apply filters to poll options (#11174)
5 years ago
Eugen Rochko 103a9f4466
Fix sanitizer making block level elements unreadable (#10836)
5 years ago
ThibG 6c464cd424 Do not misattribute inlined boosts if `attributedTo` isn't present (#10967)
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
Eugen Rochko a9f130b8d8
Fix Keybase verification using wrong domain for remote accounts (#10547)
6 years ago
Eugen Rochko f1bc90ab50
Rename :poll to :preloadable_poll and :owned_poll to :poll on Status (#10401)
6 years ago
Eugen Rochko 11fe293e1b
Remove unused ActivityPub `@context` values depending on response (#10378)
6 years ago
Eugen Rochko 9c4cbdbafb
Add Keybase integration (#10297)
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 1b167707c2
Fix language detection of non-latin alphabets even at few characters (#10276)
6 years ago
ThibG 3aaac4f134 Do not allow adding votes to expired polls (#10214)
6 years ago
Eugen Rochko 0a39c81dd8 Add test ensuring that unknown object types are rejected (#10166)
6 years ago
ThibG 833ffce2df Store remote votes URI (#10158)
6 years ago
Eugen Rochko 0e6998da3c
Add tests for ActivityPub poll processing (#10143)
6 years ago
Eugen Rochko 1a1b8170bb
Fix Announce activities of unknown statuses not fetching those statuses (#10065)
6 years ago
Eugen Rochko 147b4c2c3a
Add logging for rejected ActivityPub payloads and add tests (#10062)
6 years ago
Eugen Rochko c417e8c198
Filter incoming Announce activities by relation to local activity (#10041)
6 years ago
ThibG 6a5307a573 Alternative handling of private self-boosts (#9998)
6 years ago
Eugen Rochko 016ad37bc8
Fix URL linkifier grabbing full-width spaces and quotations (#9997)
6 years ago
Hinaloe 157d3af46c Only URLs extract with pre-escaped text (#9991)
6 years ago
Jakub Mendyk 6a5e3da6b0 Allow most kinds of characters in URL query (fixes #8408) (#8447)
6 years ago
Eugen Rochko a49d43d112
Add scheduled statuses (#9706)
6 years ago
ThibG 70be301d69 Ensure blocked user unfollows blocker if Block/Undo Block are processed out of order (#9687)
6 years ago
Eugen Rochko 0f938ff29c
Add handler for Move activity (#9629)
6 years ago
Eugen Rochko fd8145d232
Fix connect timeout not being enforced (#9329)
6 years ago
Eugen Rochko b40ea6d1d4
Bump sanitize from 4.6.6 to 5.0.0 (#9140)
6 years ago
Eugen Rochko ddd30f331c
Improve support for aspects/circles (#8950)
6 years ago
ashleyhull-versent f194857ac9 rubocop issues - Cleaning up (#8912)
6 years ago
Jeong Arm 144d73730d Leave unknown language as nil if account is remote (#8861)
6 years ago
aus-social 1f98eae1cf Lint pass (#8876)
6 years ago
Renato "Lond" Cerqueira fe56d26f7b Fix autoplay issue with spoiler tag (#8540)
6 years ago
sundevour 4bfd786550 formatter spec fixes & clarification (#8481)
6 years ago
Eugen Rochko 5e1767173f
Display pending message on admin relays UI (#8494)
6 years ago
ThibG 59f7f4c923 Implement Undo { Accept { Follow } } (fixes #8234) (#8245)
6 years ago
Eugen Rochko 38e9662d78
Disable language detection for texts shorter than 140 characters (#8010)
6 years ago
ThibG 1ca4e51eb3 Add option to not consider word boundaries when processing keyword filtering (#7975)
6 years ago
Eugen Rochko cdb101340a
Keyword/phrase filtering (#7905)
6 years ago