327 Commits (b9e2eb5184f3f2c92836f6aec68d0500e8de23ae)

Author SHA1 Message Date
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
Shuhei Kitagawa 22caa32ba2 Add tests for embeds controller (#7719)
7 years ago
Eugen Rochko 57b503d4ef
Resolve unknown status from Add activity, skip Remove if unknown (#7526)
7 years ago
Eugen Rochko cb5b5cb5f7
Slightly reduce RAM usage (#7301)
7 years ago
MIYAGI Hikaru eb593a5a0c Append '.test' to hostname in stub data (#7260)
7 years ago
Eugen Rochko 75c4ab9d12
Remove "nsfw" category for sensitive statuses in OStatus serializer (#7048)
7 years ago
Levi Bard cd0eaa349c Enable updating additional account information from user preferences via rest api (#6789)
7 years ago
David Underwood 123a343d11 [WIP] Enable custom emoji on account pages and in the sidebar (#6124)
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
Rey Tucker 36b5703796 request: in the event of failure, try other IPs (#6761) (#6813)
7 years ago
Eugen Rochko e6520c0270
Fix #6657 - Use target instead of origin in Remove activity (#6664)
7 years ago
Eugen Rochko 9110db41c5
Federate pinned statuses over ActivityPub (#6610)
7 years ago
Eugen Rochko 44829d8216
Fix missing focalPoint in ActivityPub JSON (#6609)
7 years ago
Eugen Rochko 41a01bec23
Federated reports (#6570)
7 years ago
Akihiko Odaki 2e8a492e88 Raise Mastodon::HostValidationError when host for HTTP request is private (#6410)
7 years ago
Akihiko Odaki f8f0572ee0 Do not push status to feed if its reblog is already inserted (#6488)
7 years ago
abcang 7124881273 Improve performance of feed_manager_spec (#6517)
7 years ago
Eugen Rochko dbda87c31f
Revert #5772 (#6221)
7 years ago
Eugen Rochko e4a241abef
Fix bad URL schemes being accepted (#6219)
7 years ago
ThibG a8b51124ba Don't normalize URLs in toots (#6134)
7 years ago
Akihiko Odaki 161c72d66d Allow to dereference Follow object for ActivityPub (#5772)
7 years ago
puckipedia 545095b3ce [!] Sanitize incoming classlist properly (#6162)
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
ysksn 8f638a2bf2 Add a test for Settings::Extend#settings (#5720)
7 years ago
Eugen Rochko 24cafd73a2
Lists (#5703)
7 years ago
ysksn 9dd5e329ab Remove empty strings (#5732)
7 years ago
ysksn 19e8b861a2 Delegate some methods of User to @settings (#5706)
7 years ago
aschmitz 554c2fd8af Clean up reblog tracking keys, related improvements (#5428)
7 years ago
Eugen Rochko 34118169ac Keep references to all reblogs of a status on home feed (#5419)
7 years ago
unarist 6f490b4bfe Fix un-reblogged status being at wrong position in the home timeline (#5418)
7 years ago
unarist 8125fdc19f Use atomUri in Undo activity of Announce (#5376)
7 years ago
Eugen Rochko 3a3475450e Encode custom emojis as resolveable objects in ActivityPub (#5243)
7 years ago
aschmitz 468523f4ad Non-Serial ("Snowflake") IDs (#4801)
7 years ago
Eugen Rochko f4ca116ea8 After 7 days of repeated delivery failures, give up on inbox (#5131)
7 years ago
Akihiko Odaki 98936bfcdf Add missing validations in ActivityPub::Activity::Create (#5096)
7 years ago
Eugen Rochko 1e02ba111a Add emoji autosuggest (#5053)
7 years ago