about summary refs log tree commit diff
path: root/app
AgeCommit message (Collapse)Author
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
2017-05-05Fixes propTypes warning introduced by #2774 (#2824)alpaca-tc
2017-05-05Misc spec coverage improvements (#2821)Matt Jankowski
* Dont use raise_error by itself (avoids warning) * Add coverage for AccountFilter * Improve coverage and refactor for Subscription#lease_seconds * Improve coverage and refactor for NotificationMailer * Simplify assignment of min/max threshold on subscription
2017-05-05use Twitter::Extractor for creating links (#2502)masarakki
2017-05-05Update Locale zh-HK (#2818)Koala Yeung
* locale: Add missing translation in zh-HK.yml * locale: fix consistancy in zh-HK.yml translation * locale: Improve zh-HK yml translations * Use "PuSH" in all "PubSubHubBub" occurances. * Simplify text on front page. * Improve doorkeeper authorization table translations. * Simplify setting form text for better layout. * Improve "Business Email" translation. * locale: Update zh-HK.json * Fix untranslated text. * Improve translations.
2017-05-05Run manage:translations (#2816)Yamagishi Kazutoshi
2017-05-05Add specs (and refactor) of FetchRemoteResourceService and SearchService (#2812)Matt Jankowski
* Coverage for fetch remote resource service * Refactor fetch remote resource service * Coverage for search service * Refactor search service
2017-05-05Add Japanese translate to home column when inactive (#2813)Yamagishi Kazutoshi
2017-05-05Update ar.json (#2815)ButterflyOfFire
Adding more arabic translated strings.
2017-05-05More robust PuSH subscription refreshes (#2799)Eugen Rochko
* Fix #2473 - Use sidekiq scheduler to refresh PuSH subscriptions instead of cron Fix an issue where / in domain would raise exception in TagManager#normalize_domain PuSH subscriptions refresh done in a round-robin way to avoid hammering a single server's hub in sequence. Correct handling of failures/retries through Sidekiq (see also #2613). Optimize Account#with_followers scope. Also, since subscriptions are now delegated to Sidekiq jobs, an uncaught exception will not stop the entire refreshing operation halfway through Fix #2702 - Correct user agent header on outgoing http requests * Add test for SubscribeService * Extract #expiring_accounts into method * Make mastodon:push:refresh no-op * Queues are now defined in sidekiq.yml * Queues are now in sidekiq.yml