-
- Téléchargements
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
parent
a8139ab0
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- Gemfile 1 ajout, 1 suppressionGemfile
- Gemfile.lock 3 ajouts, 2 suppressionsGemfile.lock
- app/javascript/mastodon/features/compose/util/counter.js 1 ajout, 1 suppressionapp/javascript/mastodon/features/compose/util/counter.js
- app/javascript/mastodon/features/compose/util/url_regex.js 28 ajouts, 194 suppressionsapp/javascript/mastodon/features/compose/util/url_regex.js
- app/lib/extractor.rb 4 ajouts, 4 suppressionsapp/lib/extractor.rb
- app/lib/formatter.rb 1 ajout, 1 suppressionapp/lib/formatter.rb
- app/services/fetch_link_card_service.rb 6 ajouts, 6 suppressionsapp/services/fetch_link_card_service.rb
- app/validators/status_length_validator.rb 8 ajouts, 1 suppressionapp/validators/status_length_validator.rb
- config/initializers/twitter_regex.rb 8 ajouts, 2 suppressionsconfig/initializers/twitter_regex.rb
- package.json 1 ajout, 0 suppressionpackage.json
- spec/lib/formatter_spec.rb 8 ajouts, 0 suppressionspec/lib/formatter_spec.rb
- spec/validators/status_length_validator_spec.rb 8 ajouts, 0 suppressionspec/validators/status_length_validator_spec.rb
- yarn.lock 22 ajouts, 2 suppressionsyarn.lock
Chargement en cours
Veuillez vous inscrire ou vous se connecter pour commenter