Matt Jankowski
0664704cd9
Fix Performance/StartWith cop ( #24818 )
2 years ago
Nick Schonning
2177daeae9
Autofix Rubocop Style/RedundantBegin ( #23703 )
2 years ago
Nick Schonning
8aee4de034
Autofix Rubocop Style/PerlBackrefs ( #23649 )
2 years ago
Nick Schonning
0d1f192c54
Apply Rubocop Performance/BlockGivenWithExplicitBlock ( #23441 )
...
* Apply Rubocop Performance/BlockGivenWithExplicitBlock
* Unprefix used block parameter
2 years ago
Eugen Rochko
bbc7afa2a2
Fix being able to post URLs longer than 4096 characters ( #17908 )
3 years ago
Eugen Rochko
cefa526c6d
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
65db262550
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
eb51e43fb4
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
b21db9bbde
Using double splat operator ( #5859 )
7 years ago
Eugen Rochko
3e90987c8b
Fix some rubocop style issues ( #5730 )
7 years ago
Yamagishi Kazutoshi
f937cad68f
Skip formatting for cashtag in status text ( #3275 )
...
Resolve #3270
8 years ago
abcang
d22cec81fb
Unify the method of extracting tags ( #3138 )
8 years ago
masarakki
d08f1112d5
use Twitter::Extractor for creating links ( #2502 )
8 years ago