Commit Graph

13 Commits (603b245cc62acba0d8f71ad4c31d2f1676e90190)

Author SHA1 Message Date
Matt Jankowski 0664704cd9
Fix Performance/StartWith cop ()
Nick Schonning 2177daeae9
Autofix Rubocop Style/RedundantBegin ()
Nick Schonning 8aee4de034
Autofix Rubocop Style/PerlBackrefs ()
Nick Schonning 0d1f192c54
Apply Rubocop Performance/BlockGivenWithExplicitBlock ()
* Apply Rubocop Performance/BlockGivenWithExplicitBlock

* Unprefix used block parameter
Eugen Rochko bbc7afa2a2
Fix being able to post URLs longer than 4096 characters ()
Eugen Rochko cefa526c6d
Refactor formatter ()
* Refactor formatter

* Move custom emoji pre-rendering logic to view helpers

* Move more methods out of Formatter

* Fix code style issues

* Remove Formatter

* Add inline poll options to RSS feeds

* Remove unused helper method

* Fix code style issues

* Various fixes and improvements

* Fix test
Claire 65db262550
Update twitter-text from 1.14 to 3.1.0 and fix toot character counting ()
* Update twitter-text from 1.14 to 3.1.0

* Disable emoji parsing

* Properly depend on twitter-text for url detection

* Fix some URLs being wrongly detected client-side

* Add test for server-side validation of non-autolinkable URLs

* Fix server-side status length counting
luigi eb51e43fb4
Optimize some regex matching ()
* Use Regex#match?

* Replace =~ too

* Avoid to call match? from Nil

* Keep value of Regexp.last_match
Yamagishi Kazutoshi b21db9bbde Using double splat operator ()
Eugen Rochko 3e90987c8b Fix some rubocop style issues ()
Yamagishi Kazutoshi f937cad68f Skip formatting for cashtag in status text ()
Resolve 
abcang d22cec81fb Unify the method of extracting tags ()
masarakki d08f1112d5 use Twitter::Extractor for creating links ()