about summary refs log tree commit diff
AgeCommit message (Collapse)Author
2017-05-10Update cld3 to 3.1.1 (#2958)Akihiko Odaki
According to the release message: > Fix for macOS and minor improvements
2017-05-10Handle hashtags in spoiler_texts (partial fix for #699) (#2683)R Tucker
* services: scan spoiler_text for hashtags (#699) * views: link hashtags from spoiler_texts This covers linking hashtags from within the spoiler text on the server-generated pages. * services: fix string concat going into hashtag RE Cleaner Ruby syntax, may handle immutable strings better
2017-05-10Add spec for Pubsubhubbub::DistributionWorker. PuSH-deliver public items (#2954)Eugen Rochko
to all subscribers. IDN-normalize callback URLs for subscriptions on insert.
2017-05-10Disabled auto focus on toot form when search results are shown. (#2942)fusshi-
2017-05-09Specs for pubsub subscribe service (#2951)Matt Jankowski
* Add spec for pubsubhubbub/subscribe * Refactor pubsubhubbub/subscribe service
2017-05-09Spec and refactor for pubsubhubbub/unsubscribe service (#2946)Matt Jankowski
* Add coverage for pubsub unsubscribe service * Refactor pubsub unsubscribe service
2017-05-09Use CLD3 (#2949)Akihiko Odaki
Compact Language Detector v3 (CLD3) is the successor of CLD2, which was used in the previous implementation. CLD3 includes improvements since CLD2, and supports newer compilers. On the other hand, it has additional requirements and cld3-ruby, the FFI of CLD3 for Ruby, is still new and may be still inmature. Though CLD3 is named after CLD2, it is implemented with a neural network model, different from the old implementation, which is based on a Naïve Bayesian classifier. CLD3 supports newer compilers, such as GCC 6. CLD2 is not compatible with GCC 6 because it assigns negative values to varibales typed unsigned. (see internal/cld_generated_cjk_uni_prop_80.cc) The support for GCC 6 and newer compilers are essential today, when some server operating system such as Ubuntu Server 16.10 has GCC 6 by default. On the one hand, CLD3 requires C++11 support. Environments with old compilers such as Ubuntu Server 14.04 needs to update the system or install a newer compiler. CLD3 needs protocol buffers as a new dependency. However,it is not considered problematic because major server operating systems, CentOS and Ubuntu Server provide them. The FFI cld3-ruby was written by me (Akihiko Odaki) for use in Mastodon. It is still new and may be inmature, but confirmed to pass existing tests.
2017-05-09Use RegExp for require.context to filter custom stylesheets (#2950)Akihiko Odaki
ExtractTextWebpackPlugin extracts the content of loaded files, which means it loads files loaded by require.context but not required after that. However the former implementation is not aware of that. require.context can have a RegExp to filter files to load. This change gives a RegExp which matches with SCSSes with 'custom' prefix to require.context to take advantage of the feature.
2017-05-09Fixed bug that timeline can not be displayed by InvalidURIError (#2947)abcang
2017-05-09add content-type in pubsubhubhub request header (#2943)haoyayoi
* add content-type in pubsubhubhub request header * fix type
2017-05-09Fix missing or not gender neutral strings. (#2944)Alda Marteau-Hardi
2017-05-09Remove jquery-ujs (#2939)Yamagishi Kazutoshi
* Remove jquery-ujs * fix for eslint
2017-05-09Fix duplicated values in nl.json (#2931)Yamagishi Kazutoshi
2017-05-09Update Norwegian translations (#2937)Koala Yeung
* Update Norwegian translations * Updated no.json * Updated activerecord.no.yml * Updated no.yml * Updated simple_form.no.yml * i18n: fix Unicode character error in no.yml * Javascript escaping code "\uD83D\uDC18" should be "\U0001f418" in Ruby / yml * i18n: remove unused keys in Norwegian translation * Remove unused keys in no.yml and activerecord.no.yml by running: `bundle exec i18n-tasks remove-unused no` * Add missing keys in activerecord.no.yml and no.yml by running: `bundle exec i18n-tasks add-missing no` * i18n: escape the key 'no' in activerecord.no.yml
2017-05-09Fix snackbar notification stacking order (#2935)Soshi Kato
2017-05-09Remove rails_12factor (#2901)alpaca-tc
2017-05-09Add cursor property to toot user avatar. (#2933)HANATANI Takuma
2017-05-09Services specs for subscribe and unsubscribe (#2928)Matt Jankowski
* Add specs for unsubscribe service * Fix non existent methods in unsubscribe service * Clean up status handling in subscribe service
2017-05-09Specs for API push controller, with refactor (#2926)Matt Jankowski
* Coverage for api push controller * Refactor the api/push controller
2017-05-08i18n mailer files for Occitan language (#2924)Quent-in
* Create reset_password_instructions.oc.html.erb * Create reset_password_instructions.oc.text.erb * Create password_change.oc.html.erb * Create password_change.oc.text.erb * Create confirmation_instructions.oc.html.erb * Create confirmation_instructions.oc.text.erb
2017-05-08Updating and extending Dutch strings (#2930)jeroenpraat
* Update nl * Update nl * Update nl * Create confirmation_instructions.nl.html.erb * Create confirmation_instructions.nl.text.erb * Create password_change.nl.html.erb * Create password_change.nl.text.erb * Create reset_password_instructions.nl.html.erb * Create reset_password_instructions.nl.text.erb
2017-05-08Delegate Account#user_locale method and allow nil (#2927)Matt Jankowski
2017-05-08Improve error message for non-existent user being made an admin (#2929)Matt Jankowski
2017-05-08Misc gem bumps (#2919)Matt Jankowski
* Update bundler-audit to version 0.5.0 * Update oj to version 3.0.6 * Update http-form_data to version 1.0.2 * Update parallel to version 1.11.2 * Update rails-i18n to version 5.0.4 * Update rack-protection to version 2.0.0 * Update haml to version 5.0.1 * Update scss_lint to version 0.53.0 * Relax requirement on i18n-tasks * Remove haml and haml_lint gem requirement
2017-05-08Update fr.json (#2915)ButterflyOfFire
* Update fr.json Updating some missing french translations. * Update fr.json Fix repetition in line 41. * Update fr.json Fix : adding space between {name} and ? question mark.
2017-05-08Prevent selection of unacceptable Content-Type files (#2910)Yamagishi Kazutoshi
* Prevent selection of unacceptable Content-Type files * replace hard code * media_attachments accept content-types in initial state
2017-05-08Update simple_form.ar.yml (#2908)ButterflyOfFire
* Update simple_form.ar.yml Added missing strings that were introduced to simple_form.ar.yml and completing translation. * Create confirmation_instructions.ar.html.erb * Create confirmation_instructions.ar.text.erb * Create password_change.ar.html.erb * Create password_change.ar.text.erb * Create reset_password_instructions.ar.text.erb * Create reset_password_instructions.ar.html.erb
2017-05-08Improve scss color variables (#2912)Matt Jankowski
- Updates scss variables file to use better-named variables for black/white/etc - Arranges the "mastodon classic" colors into variables - Remove all references to `$color-*` naming, replacing with new This does not in itself introduce "theme" support, but: - It would probably be easier to start working on theme support after this change and others - Even without the goal of themes, these changes make it more clear how the colors are being used. There is almost definitely some edge case in here where I've guessed the intent/context of some color usage incorrectly, but it still seems like a net improvement.
2017-05-08Add Thai langauge (#2903)Koala Yeung
* Updated Thai language * locale: remove unused translation in Thai * locale: add Thai to settings menu and application * locale: fix activerecord.th.yml format
2017-05-08Fix broken features list in RTL languages (#2909)Yamagishi Kazutoshi
Fixes #2905
2017-05-08Fix small typo in ru.json (#2906)ster
2017-05-08Remove unnecessary keep file. (#2902)HANATANI Takuma
2017-05-08Render sidekiq scheduler (#2898)alpaca-tc
2017-05-08Added haml-lint and fix warnings (#2773)yhirano
* add haml_lint to Gemfile * add .haml-lint.yml * fix warnings of haml_lint
2017-05-08Improve example env file for local Postfix relay (#2892)Jarek Lipski
2017-05-08Improve allowed language handling (#2897)Matt Jankowski
* Dont allow empty value in user allowed languages * Sanitize language input to reject blank values in array
2017-05-08Fix Ukrainian malformed locale submitted in #2893, i18n-tasks normalize (#2896)Eugen Rochko
2017-05-07small ui change so that the settings buttons at the top of each column are ↵Jessica K. Litwin
actually aligned properly (#2894)
2017-05-07Update Ukrainian, Russian translations (#2893)ster
* Update Ukrainian translation (rebased off Russian translation) * Update Ukrainian, Russian translations
2017-05-07Enable CodeClimate SCSS Lint checks (#2886)yhirano
* add scss_lint to Gemfile * add .scss-lint.yml * fix warnings of scss-lint * chmod -x styles/variables.scss * Enable CodeClimate SCSS Lint checks
2017-05-07Update Russian translation (#2891)Ratmir Karabut
* Add Russian translation (ru) * Fix a missing comma * Fix the wording for better consistency * Update Russian translation * Arrange Russian setting alphabetically * Fix syntax error * Update Russian translation * Fix formatting error * Update Russian translation * Update Russian translation * Update ru.jsx * Fix syntax error * Remove two_factor_auth.warning (appears obsolete) * Add missing strings in ru.yml A lot of new strings translated, especially for the newly added admin section * Fix translation consistency * Update Russian translation * Update Russian translation (pluralizations) * Update Russian translation
2017-05-07Add final newline to locale files (#2890)Yamagishi Kazutoshi
2017-05-07namespace redis usage (#2869)beatrix
* add redis-namespace gem * namespace redis usage * refactor redis namespace code to be less intrusive previously : would be prepended to keys when the REDIS_NAMESPACE env var was not set now if it is not set the namespacing functions are not used at all, which should prevent disruptions when instances update. * fix redis namespace variable style in streaming js * remove trailing space * final redis namespace style fix
2017-05-07Update ar.json (#2888)ButterflyOfFire
* Update ar.json Adding more translations (updating the missing non translated strings) and some little minimal corrections. * Update ar.json Deleting final new line as suggested in the review. * Update ar.json * Update ar.json
2017-05-07raise-when-oembed-not-found (#2882)masarakki
2017-05-07Add effective index to subscriptions (#2885)alpaca-tc
2017-05-07Refactor account.rb (#2881)alpaca-tc
* Call simple query * Refactor Account#keypair * Replace escaped single quote * Extract similar behavior to method * Gather the same condition to one block * Remove not needed receiver
2017-05-07locale: add Occitan locale-data for js (#2845)Koala Yeung
Translation works by @Quent-in.
2017-05-07Add Turkish yml file (#2878)Özcan Zafer AYAN
* Add Turkish yml file * Add translation files for Turkish * Deleted click_to_edit key and val Deleted click_to_edit: Düzenlemek için ilgili ayara tıklayınız line
2017-05-07Fix local fonts and change font-face values (#2877)Ram Lmn
* Fix local fonts and change font-face values * Remove eot font files