Thibaut Girka
|
44f2224606
|
Merge branch 'master' into glitch-soc/merge-upstream
Conflicts manually resolved:
- app/services/post_status_service.rb
- config/locales/simple_form.pl.yml
- config/routes.rb
- config/webpack/loaders/sass.js
- config/webpack/shared.js
- package.json
- yarn.lock
|
6 years ago |
ysksn
|
c4559969b4
|
Add pending specs for StatusLengthValidator (#9647)
* Add pending specs of StatusLengthValidator
* Use instance variable
|
6 years ago |
David Yip
|
4f8122a98c
|
Merge remote-tracking branch 'origin/master' into merge-upstream
Conflicts:
.env.production.sample
app/controllers/auth/confirmations_controller.rb
db/schema.rb
|
7 years ago |
abcang
|
225fdc2409
|
Validation of count works even when text of status is nil (#6429)
|
7 years ago |
Lain Iwakura
|
a77e03ede4
|
Rename MAX_CHARS to MAX_TOOT_CHARS to be more specific.
|
7 years ago |
Lain Iwakura
|
f517cbae22
|
Code style fixes.
|
7 years ago |
Lain Iwakura
|
666540f4a8
|
Make character limit configurable.
|
7 years ago |
Eugen Rochko
|
14004daca4
|
Fix length validator counting things that look like URIs like URLs (#4462)
URI.extract is too strong, not limited to URLs, matched real text.
Same issue was present in language detector.
|
7 years ago |
Eugen Rochko
|
39b0588256
|
Count all URLs in text as 23 characters flat, do not count domain part of usernames (#4427)
* Count all URLs in text as 23 characters flat, do not count domain part of usernames
* Add new status text counting logic to web UI
|
7 years ago |
Gô Shoemake
|
2d31077bdf
|
Fix character/grapheme count stuff (#3839)
* Bring Toot button in line with counter
Both should use stringz I guess
* Use grapheme_length for character count
|
8 years ago |
Matt Jankowski
|
49c3000d62
|
Organize coverage dirs (#1695)
* Add `Presenters` group to SimpleCov configuration
* Move validators to app/validators, add to simplecov config
|
8 years ago |