Commit Graph

473 Commits (4fb3dc0363956a1a61613e90e9a4e7e945a7f714)

Author SHA1 Message Date
masarakki d08f1112d5 use Twitter::Extractor for creating links ()
Matt Jankowski 8c5ad23b24 Language improvements, replace whatlanguage with CLD ()
* add failing en specs

* add cld2 gem

* Replace WhatLanguage with CLD
Akihiko Odaki a6788662b0 Revert "Use PostgreSQL inheritance for blocks and mutes ()" ()
This reverts commit 5135d609b7.
Akihiko Odaki 5135d609b7 Use PostgreSQL inheritance for blocks and mutes ()
Yamagishi Kazutoshi 3ea5b948a4 Decodes URL containing IDN ()
Eugen 338df98ddf Add more FeedManager#filter? tests ()
Matt Jankowski 629d35e6f5 [WIP] Html lang on statuses ()
* Add html lang attributes around statuses

* Remove urls from language detection
Matt Jankowski 2dda356e3f Clean up settings/preferences controller ()
* Add missing fields group on preferences page

* Clean up settings/preferences controller

* Extract a UserSettingsDecorator
abcang 70891a99a9 Fix html escape characters in the URL ()
* fix character escaping in URL

* add tests

* put a comma after the last item

* add HTML escape test
Eugen 96268e76e6 Fix wording on admin instances view, fix typos in language detector spec ()
Eugen 6bd1019235 Add more tests for AtomSerializer ()
Matt Jankowski 297c11dba2 Language detection refactor ()
* Extract detect_language to separate class

* Use default locale, not just en

* Add spec to confirm that whatlanguage cant identify empty string

* Allow account locale to override default in language detector

* PostStatusService supplies an account to detect language
Eugen f03fb6c0ae Add forgotten AtomSerializer spec ()
Eugen 5dc73339ae Fix tests issue introduced in ()
Matt Jankowski aa90798386 Webfinger resource to extract username from resource string ()
* Add WebfingerResource class to extract usernames

* Use WebfingerResource in xrd#webfinger
Eugen Rochko 3202bdd744 Fix - Use a better URL parser
Eugen Rochko 0518492158 Stop trying to shoehorn all Salmon updates into the poor database-connected
StreamEntry model. Simply render Salmon slaps as they are needed
Eugen Rochko 920ba5fc4e Fix - Add list of blocked users to the UI; clean up failed push notifications API
Try to fix Travis CI setup
Eugen Rochko 80cefd5b3c Fix , fix - URL truncating is now a style so copypasting is not
affected, replaced onClick handler with onMouseUp/Down to detect text
selection not trigger onClick handler then
Eugen Rochko 76ec907993 Improved admin UI
Eugen Rochko 33f7e1cf99 Shorten rendered links (strip protocol and www, truncate to 30 chars), redirect
to sign in page after sign up instead of root path which redirects to /about
Eugen Rochko be86d4e0a3 Preparing feeds for better filtering
Eugen Rochko 3cc47beb6e Refactored generation of unique tags, URIs and object URLs into own classes,
as well as formatting of content