340 Commits (3833c8b6908b78249441337173b4912759e5995b)

Author SHA1 Message Date
Eugen Rochko aee1db8fa1 Improve ActivityPub/OStatus compatibility (#4632)
7 years ago
Eugen Rochko e96d64397e Parse OStatus tag URIs in ActivityPub handlers when those are local (#4631)
7 years ago
Eugen Rochko 0afaecf61f Make ActivityPub::TagManager#local_uri? recognize local URIs with ports (#4628)
7 years ago
Eugen Rochko 75afe35f09 If url attribute not present in Note, fallback to id attribute (#4629)
7 years ago
Eugen Rochko ce7e12bd72 Put ActivityPub alternate link into Atom, prefer it when processing Atom (#4623)
7 years ago
Eugen Rochko c2101d3ad7 Add _:atomUri property for deduplicating OStatus/ActivityPub legacy records (#4593)
7 years ago
Eugen Rochko 5bd2dcd436 Re-add missing transaction around status-from-OStatus creation (#4603)
7 years ago
unarist 83b48812e4 Fix ActivityPub follow interaction and add more specs (#4601)
7 years ago
Eugen Rochko 5516767c75 ActivityPub delivery (#4566)
7 years ago
Eugen Rochko 0e2a3049e7 Add serializing/unserializing of "locked" actor attribute (#4585)
7 years ago
Eugen Rochko 719a5212be Handle ActivityPub follows correctly (#4571)
7 years ago
Eugen Rochko 1b6ced5887 Add Digest header to requests with body, handle acct and URI keyId (#4565)
7 years ago
Eugen Rochko f18739fd60 Add ActivityPub inbox (#4216)
7 years ago
TheKinrar a62b6a4f12 Don't normalize invalid domain names (#4499)
7 years ago
Yamagishi Kazutoshi f95fca19d4 Change RuboCop rules to loose (#4464)
7 years ago
Eugen Rochko 14004daca4 Fix length validator counting things that look like URIs like URLs (#4462)
7 years ago
Ondřej Hruška 5eb1a1aaca Fix multipoint shortcode bug (#4387)
7 years ago
Clworld 0c86b36cac Add callback_url/acct information for Sidekiq PuSH workers Exception. (#4281)
7 years ago
Eugen Rochko 65a1c48653 Use the same emoji data on the frontend and backend (#4284)
7 years ago
Eugen Rochko 75ab767791 Fix webfinger retries (#4275)
7 years ago
Eugen Rochko 3852032953 Correct OStatus inflection (Ostatus -> OStatus) (#4255)
7 years ago
Yamagishi Kazutoshi 87bb16a236 Add unfollow modal (optional) (#4246)
7 years ago
Akihiko Odaki b0f97d9a87 Introduce Ostatus name space (#4164)
7 years ago
ThibG 9c1791c546 Optimize uri normalization (#4212)
7 years ago
Eugen Rochko c99f41dc3c Improve ActivityPub representations (#3844)
7 years ago
Eugen Rochko c38739d81e Fix subsequent replies to unresolved status not being filtered from home (#4190)
7 years ago
Eugen Rochko c5fa4aba91 HTTP signatures (#4146)
7 years ago
Eugen Rochko 7d8fd050eb Add option to opt out of search engines on public profile/status pages (#4199)
7 years ago
Yamagishi Kazutoshi 865f5170a8 Add setting a always mark media as sensitive (#4136)
7 years ago
Eugen Rochko 20e15ecfb3 Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090)
7 years ago
Damien Erambert 387de88e2f Add a setting allowing the use of system's default font in Web UI (#4033)
7 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 05f73fbdab Reduce number of commands in FeedManager#trim (#3989)
7 years ago
nightpool 0048f7ac72 Whitelist allowed classes for federated statuses (#3810)
8 years ago
Eugen Rochko 7181178007 Fix regression from #3490 - filter out hidden statuses from ancestors/descendants even if the viewer is anonymous (#3752)
8 years ago
Matt Jankowski b439018342 Language detection defaults to nil (#3666)
8 years ago
Yamagishi Kazutoshi 5da41e0cae Improve RuboCop rules (compatibility to Code Climate) (#3636)
8 years ago
unarist eebfad1ac8 Allow "class" attribute on the "a" tag in sanitization (#3623)
8 years ago
Matt Jankowski d339ac2c76 Introduce StatusThreadingConcern (#3490)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 10da1db4e6 Remove some code in TagManager and spec (#3547)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 3dd0d62583 A minor change for ProviderDiscovery and spec (#3543)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) 267468e232 Remove some arguments of Formatter.instance.format and spec (#3541)
8 years ago
Akihiko Odaki (@fn_aki@pawoo.net) e285f6086c Remove redundant code in AtomSerializer and spec (#3528)
8 years ago
Clworld 7e95d45c8d Execute PushUpdateWorker only for accounts who uses StreamingAPI just now. (#3278)
8 years ago
Matt Jankowski d327e1d105 Remove usernames and hashtags from language detection (#3503)
8 years ago
Matt Jankowski 533a8cc68b Misc tidying and clean ups (#3445)
8 years ago
Matt Jankowski 4e89226243 Improve api oembed controller (#3450)
8 years ago
Atsushi Yamamoto 4547e3585a Add preference setting for delete toot modal (#3368)
8 years ago
alpaca-tc 0931218b3f Refactor Setting (#3302)
8 years ago
masarakki 0949d86d83 fix-cache-returns-nil (#3213)
8 years ago
Yamagishi Kazutoshi d54273621b Skip formatting for cashtag in status text (#3275)
8 years ago
abcang e3dcaaf0b9 Unify the method of extracting tags (#3138)
8 years ago
Matt Jankowski 6619cfe934 Conditional validations no longer accept strings for if/unless (#3124)
8 years ago
Eugen Rochko 0cafe62561 Account domain blocks (#2381)
8 years ago
beatrix b460582b67 Revert HTML CW changes (#3020)
8 years ago
Eugen Rochko 12ef99556e Add conversation model, <ostatus:conversation /> (#3016)
8 years ago
Eugen Rochko 7b5af13d19 Prepend reblogs' wrapper content with "RT @original_author", (#3013)
8 years ago
Eugen Rochko b5091f16f0 Fix not rejecting remote URIs when parsing out local IDs (#3012)
8 years ago
Eugen Rochko db707c7af3 Fix #1426 - Trim long usernames in public follower/following lists (#2993)
8 years ago
Eugen Rochko 090f27b86f When avatar/header are missing, do not include the missing file into Atom (#2988)
8 years ago
Eugen Rochko 3702e2c924 Fix regressions from #2683 (#2970)
8 years ago
beatrix e71ac76f5e fix a regression introduced by 4f54465c3b (#2966)
8 years ago
R Tucker 4f54465c3b Handle hashtags in spoiler_texts (partial fix for #699) (#2683)
8 years ago
Akihiko Odaki a1abb11656 Use CLD3 (#2949)
8 years ago
abcang 5b538cde50 Fixed bug that timeline can not be displayed by InvalidURIError (#2947)
8 years ago
Matt Jankowski 23f6ec856f Delegate Account#user_locale method and allow nil (#2927)
8 years ago
masarakki 38d8eb7b97 raise-when-oembed-not-found (#2882)
8 years ago
alpaca-tc 0f6ae77634 Optimize MuteService and AfterBlockService (#2836)
8 years ago
masarakki 23bf01bcd6 use Twitter::Extractor for creating links (#2502)
8 years ago
Eugen Rochko c32e312061 More robust PuSH subscription refreshes (#2799)
8 years ago
Matt Jankowski 9db85085a9 Language improvements, replace whatlanguage with CLD (#2753)
8 years ago
Yamagishi Kazutoshi 4a582aceed Add target=_blank to user note (#2622)
8 years ago
Eugen Rochko 9841dcaca7 Hotfix remote status formatting (#2543)
8 years ago
Yamagishi Kazutoshi cc6d730bdc Fix broken oEmbed provider (#2537)
8 years ago
Eugen Rochko 4a7dc4fadc OEmbed support for PreviewCard (#2337)
8 years ago
Yamagishi Kazutoshi 7f02d09887 Decodes URL containing IDN (#2436)
8 years ago
Eugen 87f7a3922c Punycode URI normalization (#2370)
8 years ago
178inaba a1bc7b0fdc Add simple_format to simplified_format (#2198)
8 years ago
ThibG e9bb5e8e8a Allow webfinger controller to reply to user@WEB_DOMAIN in addition to user@LOCAL_DOMAIN (#2351)
8 years ago
Matt Jankowski 1a0960ba88 [WIP] Html lang on statuses (#2297)
8 years ago
Eugen 1ccf2c8e52 Improve bio compatibility (#2278)
8 years ago
Mingye Wang e3fbd2db30 Fix mangling of ##tag matches (#2194) (#2247)
8 years ago
Matt Jankowski be1ecde300 Clean up settings/preferences controller (#2237)
8 years ago
abcang 815462feff Fix html escape characters in the URL (#2138)
8 years ago
Matt Jankowski 4591c7dbdb Language detection refactor (#2099)
8 years ago
Eugen 7e230fc786 Fix #1972, fix #1870 - Fix special characters in XML, add tests (#1988)
8 years ago
Eugen 4921bf4b20 Fix #1870 - Strip control characters out of strings in AtomSerializer (#1876)
8 years ago
Eugen b9b9edd4c8 Add language detection (#1772)
8 years ago
Eugen 86e2b25355 Fix #1852 - Ensure feeds have valid <title> tags (#1875)
8 years ago
ThibG c45c67c2ac Allow running mastodon on a different domain as the one used for identifying users (#1267)
8 years ago
Effy Elden 089c5a76ba Change usage of gsub to delete, as per Code Climate/Rubocop recommendation (#1753)
8 years ago
Eugen 5c414c98e2 Fix #1220, fix #1671 - Hook up comment box to the Redux comment value (#1699)
8 years ago
Eugen 5f9cd9b246 Fix #1609, fix #1628 - Revert #1397 (#1700)
8 years ago
Matt Jankowski 49c3000d62 Organize coverage dirs (#1695)
8 years ago
Ben Roberts 462e956164 significant improvement in microformats markup (#1063)
8 years ago
Matt Jankowski d1ebb63c54 Quick best practice cleanup of views/helpers (#1546)
8 years ago
Matt Jankowski 9d1d8797fd Webfinger resource to extract username from resource string (#1607)
8 years ago
Matt Jankowski 43143fb22e Remove order prior to .find_in_batches (#1470)
8 years ago
Matt Jankowski 874a240a58 Clean up generation of account webfinger string (#1477)
8 years ago
Rachel H b07990c94f Keep newlines in xml (#1397)
8 years ago
Eugen d30a82a22f Fix #1339 - better Atom titles (#1343)
8 years ago
Joël Quenneville 8a67fb5eca DRY up reblog vs original status check
8 years ago
Eugen Rochko eaa0b8e669 Fix nil#object_type error
8 years ago
Eugen Rochko a1c63cb01d Re-add forgotten <author> element on standalone <entry>
8 years ago
Eugen 1781fcaea4 Force UTF8 encoding on generated XML (#1140)
8 years ago
Eugen 24c77e57b2 Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124)
8 years ago
Eugen Rochko 5189ce9cd1 Replace calls to FeedManager#inline_render and #broadcast
8 years ago
Kurtis Rainbolt-Greene 9b8f587c8d Moved to the worker
8 years ago
Kurtis Rainbolt-Greene 9e58c2b0e3 This method isn't used anymore
8 years ago
Kurtis Rainbolt-Greene de1bb4bd56 By pushing this into a worker we can reduce the amount of time the feed manager using workers eat up a connection
8 years ago
Eugen 4751381a24 Merge pull request #852 from peterkeen/email-whitelist-817
8 years ago
Eugen 6a8bb89f80 Merge pull request #858 from krainboltgreene/patch-6
8 years ago
Eugen Rochko fa2a1af90a Spawn FeedInsertWorker to deliver status into personal feed
8 years ago
Kurtis Rainbolt-Greene 8dace45447 Use active record shorthand
8 years ago
Pete Keen f28fcf9080 [#817] Add email whitelist
8 years ago
Eugen Rochko e60c473917 Reduce number of items in feeds, optimize regeneration worker slightly,
8 years ago
Eugen Rochko 9123aca6df Optimize FeedManager#unmerge, and slightly optimize FeedManager#merge
8 years ago
Eugen Rochko fbf64105a5 Optimize filter methods in FeedManager a bit, use redis pipelining on merge/unmerge feed methods,
8 years ago
Eugen Rochko 8796f7a125 Add check for visibility.nil? even though it can't ever be, to check for race conditions
8 years ago
Eugen Rochko 4db2e2f4eb Fix issue with feed merge-in code as well
8 years ago
Eugen Rochko 4ef48bcc42 Fix #408 - link @ names in bios
8 years ago
Eugen Rochko b3cb765a94 Prettier account and stream entry URLs
8 years ago
Eugen Rochko f1b9644cfd Add "direct" visibility level in the backend. Web UI is not yet
8 years ago
Eugen Rochko 0cb5a2a0a7 Add digest e-mails
8 years ago
Eugen Rochko 9989890e2e Fix #231 - Muting
8 years ago
Kit Redgrave 4554ccd5d0 Mute button progress so far. WIP, doesn't entirely work correctly.
8 years ago
Eugen Rochko cb17a23483 If a status is within 40 statuses from the top of a home feed, do not
8 years ago
Eugen Rochko ff8a080d40 Add validation of media attachments, clean up mastodon-own exception classes
8 years ago
Eugen Rochko 75d5dc1df8 Improve glow
8 years ago
Eugen Rochko 7413dcb28a Fix #555 - Use a better URL parser
8 years ago
Eugen Rochko ce193afa4f Mentions in private statuses allow mentioned people to see them
8 years ago
Eugen Rochko 59c8c2b28a Make follow requests federate
8 years ago
Eugen Rochko 81be690f95 Fix #614 - extra reply-boolean on statuses to account for cases when replied-to
8 years ago
Eugen Rochko 9c736975bd Fix showing ellipsis even when link hasn't been cut off
8 years ago
Eugen Rochko 728817fba2 Add tracking of delay to streaming API
8 years ago
Eugen Rochko 727d236fcc Cleaning up format of broadcast real-time messages, removing
8 years ago
Eugen Rochko 27ad4ce9e8 Do not run FetchLinkCardService on local URLs, increase file size limit to 8MB,
8 years ago
Eugen Rochko 959e064186 Instead of using spoiler boolean and spoiler_text, simply check for non-blank spoiler_text
8 years ago
Eugen c7778752e3 Merge branch 'master' into master
8 years ago
Eugen Rochko cb33960e0e Fix #204, fix #515 - URL truncating is now a style so copypasting is not
8 years ago
blackle e25fc71c2c Implement a click-to-view spoiler system
8 years ago
Eugen Rochko 98660a76d9 Move merging/unmerging of timelines into background. Move blocking into
8 years ago
Eugen Rochko 4d39cc7bf9 Add /api/v1/notifications/clear, non-existing link cards for statuses will
8 years ago
Eugen Rochko 28e65027b2 Fix #365, 1/2 of #408 - replace rails_autolink with URI.regexp, run link_hashtags on simplified_format
8 years ago
Eugen Rochko f748a91ec7 Fix #463 - Fetch and display previews of URLs using OpenGraph tags
8 years ago
Eugen Rochko 86264a950c Add optional StatsD performance tracking
8 years ago
Eugen Rochko 5d88ef90c9 Fix tests, add applications to eager loading/cache for statuses, fix
8 years ago
Eugen Rochko 533448be42 Add extended about page stub
8 years ago
Eugen Rochko 6d98465db2 Extend rails-settings-cached to merge db-saved hash values with defaults
8 years ago
Eugen Rochko 7e7c2bbb0f Migrate from ledermann/rails-settings to rails-settings-cached which allows global settings
8 years ago
Eugen Rochko 043d9114bf Federate blocks with the http://mastodon.social/schema/1.0 verb namespace
8 years ago
Eugen Rochko d7bc0d8a33 Set in_reply_to_account on statuses to non-self value when possible, thus
8 years ago
Eugen Rochko 337c3d0ed8 Private posts mentioning non-followers should not notify them, neither locally nor via Salmon
8 years ago
Eugen Rochko 238233440f Follow call on locked account creates follow request instead
8 years ago
Eugen Rochko 09a477c782 Add "locked" flag to accounts, prevent blocked users from following, force-unfollow blocked users
8 years ago
Eugen Rochko 47921a626c Fixed AS delete verb
8 years ago
Eugen Rochko a2fee40e8f Fix whitespace preservation in status text
8 years ago
Eugen Rochko e5e702a976 Adding configurable e-mail blacklist
8 years ago
Eugen Rochko 42b065d3d7 Automatically block outgoing notifications from silenced accounts to users
8 years ago
Eugen Rochko 8d4ef0b6c3 Per-status control for unlisted mode, also federation for unlisted mode
8 years ago
Eugen Rochko ea0846645a Fix #65 - Options to block notifications from people you don't follow/who don't follow you
8 years ago
Eugen Rochko 3b3bf2dd59 Filter statuses that mention blocked users
8 years ago
Eugen Rochko 38025dfea3 Adding unified streamable notifications
8 years ago
Eugen Rochko e71b152d89 Fix rubocop issues, introduce usage of frozen literal to improve performance
8 years ago
Eugen Rochko 7a55e3c409 Fix #63 - Filter mentions that reply to blocked users
8 years ago
Eugen Rochko ebe726f774 Fix #122 - Add microformats-2 classes to mention links
8 years ago
Eugen Rochko 6d9f8ee11e Improve filtering of public/hashtag timelines, both in backlog and real-time
8 years ago
Eugen Rochko f1d2c46ded Improve feed regeneration
8 years ago
Eugen Rochko 8f0869876b Improved configuration from ENV, cleaned up timeline filter methods
8 years ago
Eugen Rochko 6d948a809e Account notes (bios) can now contain links. Character limit upped to 160
8 years ago
Eugen Rochko cb22dce970 Adding hashtags
8 years ago
Eugen Rochko 082e57fc13 Adding hashtag model
8 years ago
Eugen Rochko 72565e9e61 Fix subtle bugs, new icon button
8 years ago
Eugen Rochko 84495615b4 Shorten rendered links (strip protocol and www, truncate to 30 chars), redirect
8 years ago
Eugen Rochko 12a6eb95be Make account domains case-insensitive, downcase before checking against local
8 years ago
Eugen Rochko c3f5dfeabb Adding public timeline
8 years ago
Eugen Rochko b23c4b488c Better comparison of "local" domain
8 years ago
Eugen Rochko 9d59d7b463 Adding a block model and filter mentions from blocked users (fix #60)
8 years ago
Eugen Rochko be86d4e0a3 Preparing feeds for better filtering
8 years ago
Eugen Rochko a4f7eca5fa Fix #25 - Only latest reblog of status kept on feed as zset value is set to "true" status ID
8 years ago
Eugen Rochko 927333f4f8 Improve code style
8 years ago
Eugen Rochko 4f9b7432dd Fix #52 - Add API versioning (v1)
8 years ago
Eugen 3f75f52285 Fix subtle home feed filtering bug
8 years ago
Eugen Rochko ce29624c6d Fixing image upload limits, allowing webm, merge/unmerge events trigger
8 years ago
Eugen Rochko 3d566279cb Fix formatter return block
8 years ago
Eugen Rochko 0077fc26df Merge and unmerge timelines on follow/unfollow, solves #21, #22
8 years ago
Eugen Rochko 73615d7a79 Newlines and paragraphs in local statuses properly formatted
8 years ago
Eugen Rochko 33ad2e5423 Shorten mentions to only usernames
8 years ago
Eugen Rochko 3cc47beb6e Refactored generation of unique tags, URIs and object URLs into own classes,
8 years ago
Eugen Rochko e24bfbde1a Fixing FanOutOnWriteService, fixing Sidekiq not having enough DB connections
9 years ago
Eugen Rochko a08e724476 Fix subscriptions:clear task, refactor feeds, refactor streamable activites
9 years ago