about summary refs log tree commit diff
AgeCommit message (Collapse)Author
2017-05-06Eslintrc fix (#2850)Koala Yeung
* eslintrc: adapt changes in eslint-plugin-jsx-a11y * Replace 'jsx-a11y/img-has-alt' with 'jsx-a11y/alt-text'. Reference: evcohen/eslint-plugin-jsx-a11y@24b6193 * Replace 'jsx-a11y/onclick-has-focus' with 'jsx-a11y/interactive-supports-focus' Reference: evcohen/eslint-plugin-jsx-a11y@cbdfeb8 * Replace 'jsx-a11y/onclick-has-role' with 'jsx-a11y/no-noninteractive-element-interactions' Reference: evcohen/eslint-plugin-jsx-a11y@18c9b71 * Update eslint-plugin-jsx-a11y to 5.0.0 Follow the change in Code Climate. Make sure the same eslintrc can be executed locally and in Code Climate. * Convert .eslintrc.json to equivlant .eslintrc.yml * Less quotes and commas, more readability, allow comment.
2017-05-06remove preset-es2015 from babel config (#2849)Nolan Lawson
2017-05-06switch uglify to compress:true,mangle:true (#2852)Nolan Lawson
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-06Replace ws with uws (#2807)Eshin Kunishima
* Replace ws with uws * fix indent * Adjust indentation * remove trailing space
2017-05-06Remove final newline in generated locale files (#2840)Yamagishi Kazutoshi
2017-05-06translateionRunner: improve minimalist options (#2835)Koala Yeung
* translateionRunner: improve minimalist options * Properly added flags. * Added alias: -h, -f * translationRunner: improve logic and flow * Show all error messages instead of validate availability / name format separately. * translationRunner: check messageDirectory existance * translationRunner: changed throw string to Error * translationRunner: use short cut for boolean
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-06i18n: corrected Polish translation (#2841)m4sk1n
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-06Version bumps for gems (#2838)Matt Jankowski
* Update aws-sdk to version 2.9.15 * Update ox to version 2.5.0 * Update sidekiq-unique-jobs to version 5.0.8 * Update rspec-rails to version 3.6.0
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-06Move babel-plugin-lodash to dependencies from devDependencies (#2831)Yamagishi Kazutoshi
2017-05-06remove unnecessary buffer polyfill (#2833)Nolan Lawson
2017-05-06separate .babelrc for prod/dev, add babel-plugin-lodash (#2829)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-05add docker-compose.override to gitignore (#2809)haoyayoi
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-05Minor fix in Travis config with bundler call (#2806)Koala Yeung
* Travis: Fix bundler_args `bundler_args` is not functional if using custom install script in `.travis.yml`. Directly attach the argument to the install script. * Travis: Run i18n-tasks through bundle exec Parallel to similar scripts in the same travis config. More resiliant to changes in configuration. * Travis: bundler vendor directory Travis + rvm seems to ignore `.bundle/config` and hence use rvm global vendor directory by default. Adding `--path` will fix this and hence make `cache.bundler = true` really functional. * Travis: disable bundler cache No significant change in build time. Huge cache. Best disabled.
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-05Correct typo in german locale (#2805)Milan*
2017-05-05Add additional documentation and warnings to the WEB_DOMAIN setting. (#2386)ThibG
* Add additional documentation and warnings to the WEB_DOMAIN setting. This feature is largely undocumented, and quite a number of users have shot them in the feet already despite the warning. Added a bit of documentation and expanded the warning until we have a mechanism for dealing with conflicting user URIs. * Change WEB_DOMAIN comments to point to the extensive online documentation
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
2017-05-04ui: check spoiler_text against regex filter (#1635) (#2665)R Tucker
* ui: check spoiler_text against regex filter (#1635) When filtering by regex, also check the spoiler_text if present. * ui: concatenate spoiler and content in reducer Simplifies aa5b03c, clarifies intent of the field
2017-05-04Remove the react-rails gem (#2801)Matt Jankowski
* Remove react-rails gem * Fix broken view spec
2017-05-04Delete records in smaller transaction (#2802)alpaca-tc
2017-05-04When streaming API is disconnected, poll home/notifications (#2776)Eugen Rochko
* When streaming API is disconnected, poll home/notifications Display slightly different empty home timeline message if user is following others Cull notifications to 20 items when over 40 get added in real-time Run manage:translations * Optimize <HomeTimeline /> a little
2017-05-04Remove redis clear from before in spec (#2795)Matt Jankowski
2017-05-04Fix language selector on preferences page (#2794)AA4ch1
2017-05-04Improve style for form in site settings (#2796)Yamagishi Kazutoshi
2017-05-04Persian translation update (#2788)Masoud Abkenar
* Persian translation update * fix newline typo
2017-05-04about page : use slightly more space (#2791)Wonderfall
2017-05-04Replace best_in_place editor on admin settings page (#2789)Matt Jankowski
* Remove best_in_place * Replace best_in_place usage with rails helpers * Move admin/settings#index to #edit action * Remove click_to__edit from i18n