Matt Jankowski
d64a2c7aa8
Fix Performance/StartWith cop ( #24818 )
2 years ago
Nick Schonning
49f1168050
Autofix Rubocop Style/RedundantBegin ( #23703 )
2 years ago
Nick Schonning
4553bc78ba
Autofix Rubocop Style/PerlBackrefs ( #23649 )
2 years ago
Nick Schonning
4a49c50e64
Apply Rubocop Performance/BlockGivenWithExplicitBlock ( #23441 )
...
* Apply Rubocop Performance/BlockGivenWithExplicitBlock
* Unprefix used block parameter
2 years ago
Eugen Rochko
d6d285eb75
Fix being able to post URLs longer than 4096 characters ( #17908 )
3 years ago
Eugen Rochko
5a7219e532
Refactor formatter ( #17828 )
...
* 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
3 years ago
Claire
a33f8f787a
Update twitter-text from 1.14 to 3.1.0 and fix toot character counting ( #15382 )
...
* 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
4 years ago
luigi
c19fe86d66
Optimize some regex matching ( #15528 )
...
* Use Regex#match?
* Replace =~ too
* Avoid to call match? from Nil
* Keep value of Regexp.last_match
4 years ago
Yamagishi Kazutoshi
fba46b6072
Using double splat operator ( #5859 )
7 years ago
Eugen Rochko
3df46ce5a8
Fix some rubocop style issues ( #5730 )
7 years ago
Yamagishi Kazutoshi
d54273621b
Skip formatting for cashtag in status text ( #3275 )
...
Resolve #3270
8 years ago
abcang
e3dcaaf0b9
Unify the method of extracting tags ( #3138 )
8 years ago
masarakki
23bf01bcd6
use Twitter::Extractor for creating links ( #2502 )
8 years ago