about summary refs log tree commit diff
path: root/app
AgeCommit message (Collapse)Author
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-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-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 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-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-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-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
2017-05-07Remove local_time gem, and add similar (#2875)Yamagishi Kazutoshi
2017-05-07Fix a aspect ratio for the embedded video (#2872)Yamagishi Kazutoshi
2017-05-07i18n: Update Hebrew interface translation. (#2880)Ira
* follow the instructions for registering the language as stated on the Tootsuite's docs. * Added translation strings from latest master Adding ‏ characters to many strings that are misdirected in the interface. A tiny grammar fix Updates of Hebrew strings to v1.3.1 Hebrew translation of the mailer templates. Fix strings and a missing comma. Just discovered two string keys were updated. this should lay Travis' mind to rest at last. Remove mentions before counting characters to decide RTL ratio Fixes for PR #2573 updated strings for latest master Undo RTL counting, moved out to another branch for future consideration...
2017-05-07Unblock domain service specs/refactor (#2867)Matt Jankowski
* Add spec for unblock domain service * Refactor UnblockDomainService
2017-05-07Fix unused key issue in zh-HK (#2870)Koala Yeung
* locale: remove unused keys in zh-HK * locale: update json translations * handled the untranslated strings. * removed unused keys.
2017-05-07Fix locale key for account card (#2866)Yamagishi Kazutoshi
2017-05-07add asynchronous emojione-picker (code-splitting) (#2863)Nolan Lawson
2017-05-06Hotfix convert string from symbol (#2856)alpaca-tc
* Convert key to string from symbol * Prefer :public_send instead of
2017-05-06Fixes slow query in notifications api (#2851)alpaca-tc
* Add inclusion validation for activity_type * When excluding all types with `WHERE NOT IN`, the query search all rows.
2017-05-06Fix Croatian localedata issues in mastodon.js (#2844)Koala Yeung
* locale: added hr and oc react-intl locale data * adds Croatian locale data in mastodon.js * adds Occitan locale data in mastodon.js Resolves #2667 * locale: sort locale data imports in mastodon.js * locale: remove oc reference * [react-intl](https://github.com/yahoo/react-intl) does not provide default locale data for Occitan. Hence removed from reference.
2017-05-06Add Japanese tranlsation for getting started, and run manage:tranlation (#2839)Yamagishi Kazutoshi
* Add Japanese tranlsation for getting started, and run manage:tranlation * remove unnecessary {apps}
2017-05-06Refactor domain_blocks_controller (#2843)alpaca-tc
* Set domain_block by before_action * Cast value with ActiveRecord::Type * Batch update
2017-05-06Use null as default oEmbed height (#2842)rch850
Height 640 is too big for most toots. Twitter use null value to support flexible height.
2017-05-06Optimize MuteService and AfterBlockService (#2836)alpaca-tc
2017-05-06Added support options to the bottom right (#2769)jeroenpraat
* Added support options to the bottom right I don't know if this is actually wanted, but I made these changes on my instance, so why not share it. Not wanted? No problem! BTW: Maybe the Mastodon image should leave here, cause there is no space left cause of the increased height of the getting started column. * 2 paragraphs looks cleaner * Update * Good morning
2017-05-06Fix Scheduler::SubscriptionsScheduler (#2834)Eugen Rochko
* Fix Scheduler::SubscriptionsScheduler, add worker test for it * Change production log level of Sidekiq to "warn" instead of "info"
2017-05-06Handling failed http response (#2823)alpaca-tc
2017-05-06i18n: Updated Polish translation (#2832)m4sk1n
* i18n: updated Polish translation Signed-off-by: Marcin Mikołajczak <m4sk1n@vivaldi.net> * i18n: completed Polish translation Signed-off-by: Marcin Mikołajczak <m4sk1n@vivaldi.net>
2017-05-06remove legacy decorators, use lodash.debounce (#2830)Nolan Lawson
2017-05-06Streamline javascript translation by improving translationRunner (#2808)Koala Yeung
* package.json: Add "build:*" targets * Improve react-intl-translations-manager workflow. * Added "build:production" to build production bundle. * Added "build:development" to build development bundle. * Fix json translation files * Run `yarn manage:translations` to fix translation files. * Fix `pl.json` for syntax error. * translationRunner: auto detect existing languages * Auto detect existing rfc5646 language tag in *.json filenames in `app/javascript/mastodon/locale` folder. No need to manually define every new language in the languages array here. * translationRunner: add more functionality * Allow script user to specify language code to check. * Added available language check. * Added --force flag to force creation of unexists language. * Added --help flag and help messages. * gitignore: ignore npm-debug.log * Fix webpack error if NODE_ENV is not defined Default to use 'development' in config/webpack/configuration.js
2017-05-06Optimize follower_accounts and following_accounts (#2820)alpaca-tc
2017-05-06Stream entry specs and refactor to use delegate (#2827)Matt Jankowski
* Add coverage for stream entry delegated methods * Use delegate with allow_nil to clean up stream entry
2017-05-06Added japanese version of terms of service and privacy policy (#2703)gentaro
* Added japanese version of terms of service and privacy policy * Fix typo * Add trasnlation for title. * Improve translation and update the date.
2017-05-05Move account header and avatar methods to a concern (#2825)Matt Jankowski
2017-05-05Fixes unknown mime type (#2822)alpaca-tc