Yamagishi Kazutoshi
eb832e88f4
Replace TextIconButton for SensitiveButton to IconButton ( #3759 )
...
* Replace TextIconButton for SensitiveButton to IconButton
* line-height
2017-06-20 19:43:09 +02:00
Yamagishi Kazutoshi
500e28442f
Re-add disableHostCheck (regression #3729 ) ( #3854 )
...
ref #2790
2017-06-19 14:01:31 +02:00
Yamagishi Kazutoshi
53e42bf91e
Upgrade Webpacker to version 2.0 ( #3729 )
2017-06-18 02:57:09 +02:00
Yamagishi Kazutoshi
c93d0978f2
Upgrade react-immutable-pure-component to version 1.0.0 ( #3786 )
2017-06-16 01:46:12 +02:00
Yamagishi Kazutoshi
df4f4e94b3
Add alt attribute to ImageLoader ( #3765 )
2017-06-15 14:10:41 +02:00
Yamagishi Kazutoshi
a208e7d655
Update React to version v15.6 ( #3736 )
2017-06-14 16:16:00 +02:00
Yamagishi Kazutoshi
c1b9ae7fc2
Enable useBuiltIns option of transform-object-rest-spread ( #3737 )
2017-06-14 13:42:00 +02:00
Yamagishi Kazutoshi
b436b31d5a
Regenerate defaultMessages.json ( #3709 )
...
follow up #3564
2017-06-12 12:41:19 +02:00
Yamagishi Kazutoshi
72133fbed6
Re-add clear notifications button ( #3708 )
...
* Re-add clear notifications button
* remove connect() in column_settings
* one line
* remove unused props
2017-06-12 12:26:23 +02:00
Yamagishi Kazutoshi
ddd3251912
Update dependencies for Node.js ( #3705 )
...
* Update @storybook/addon-actions to v3.1.2
* Update @storybook/react to v3.1.2
* Update babel-core to v6.25.0
* Update babel-preset-env to v1.5.2
* Update chai to version v4.0.2
* Update extract-text-webpack-plugin to v2.1.2
* Update file-loader to v0.11.2
* Update intersection-observer to v0.3.0
* Update pg to v6.2.4
* Update sinon to v2.3.4
* Update style-loader to v0.18.2
* Update websocket.js to v0.1.10
* Update react-redux-loading-bar to v2.9.2
* yarn upgrade
2017-06-12 10:54:02 +02:00
Yamagishi Kazutoshi
3690f04e4a
Remove comments for eslint-disable ( #3691 )
2017-06-11 10:42:42 +02:00
Yamagishi Kazutoshi
f3e8bc9f8f
Refactor UpdateRemoteProfileService ( #3690 )
2017-06-11 10:41:59 +02:00
Yamagishi Kazutoshi
1be48dd805
Refactor views/admin/reports/show.html.haml ( #3656 )
2017-06-09 15:08:06 +02:00
Yamagishi Kazutoshi
6384041d17
Add includes to Report#statuses ( #3655 )
2017-06-09 15:07:02 +02:00
Yamagishi Kazutoshi
140e73bc82
Check ready state of document in public pages ( #3652 )
...
* Check ready state of document in public pages
* add check interactive
2017-06-09 15:06:38 +02:00
Yamagishi Kazutoshi
0a0b9a271a
Improve RuboCop rules (compatibility to Code Climate) ( #3636 )
...
https://github.com/codeclimate/codeclimate-rubocop/blob/08f8de84ebfb39caa96391e23816877278f6441c/Gemfile.lock#L38
Code Climate is using RuboCop v0.46.0.
Change several rules to maintain compatibility.
2017-06-08 13:24:28 +02:00
Yamagishi Kazutoshi
7d2b4186c3
Add Japanese translations ( #3635 )
2017-06-08 13:23:56 +02:00
Yamagishi Kazutoshi
1d68fe1a60
Fix Code Climate failed (regression from #3622 ) ( #3624 )
2017-06-07 15:57:59 +02:00
Yamagishi Kazutoshi
34bfea8bbf
Small changes to japanese translation ( #3620 )
2017-06-07 10:15:35 +02:00
Yamagishi Kazutoshi
ad4a28f4f6
Refactor translationRunner.js ( #3604 )
...
- Use yargs instead of minimist
- Simplify validators
- Fix typo (RFC5626 -> RFC5646)
2017-06-06 13:31:57 +02:00
Yamagishi Kazutoshi
d8ae3efec3
Improve ESLint rules for JSX ( #3608 )
...
* Add react/no-string-refs ESLint rule
* Add react/jsx-boolean-value ESLint rule
* Add react/jsx-closing-bracket-location ESLint rule
* Add react/jsx-indent ESLint rule
* Add react/jsx-curly-spacing ESLint rule
* Add react/jsx-equals-spacing ESLint rule
* Add react/jsx-first-prop-new-line ESLint rule
* Add react/jsx-no-duplicate-props ESLint rule
* Add react/jsx-tag-spacing ESLint rule
2017-06-06 13:20:07 +02:00
Yamagishi Kazutoshi
cd81a1c52a
Add missing key attribute to .search-results__hashtag ( #3607 )
2017-06-06 13:19:29 +02:00
Yamagishi Kazutoshi
d81b706f12
Fix typo (storyboard -> storybook) ( #3603 )
2017-06-06 04:07:34 +02:00
Yamagishi Kazutoshi
7a7bfa5170
Add quotes ESLint rules ( #3602 )
...
* Add quotes ESLint rule
* Add jsx-quotes ESlint rule
* Sort ESLint rules
2017-06-06 03:56:36 +02:00
Yamagishi Kazutoshi
e969c78645
Disable ESLint rule jsx/anchor-has-content ( #3601 )
2017-06-06 03:55:56 +02:00
Yamagishi Kazutoshi
66ca7157db
Add support key shortcut to Onboarding Modal ( #3517 )
...
* Add support key shortcut to Onboarding Modal
* this.state.pages -> this.pages
2017-06-05 10:09:14 +02:00
Yamagishi Kazutoshi
4addf051d4
Fix broken embed page ( #3577 )
2017-06-05 10:08:31 +02:00
Yamagishi Kazutoshi
ab914ce6d5
Add OnboadingModal story ( #3578 )
2017-06-05 10:08:07 +02:00
Yamagishi Kazutoshi
6a4b224397
Fix randomly fail (regression from #3560 ) ( #3580 )
2017-06-05 10:03:36 +02:00
Yamagishi Kazutoshi
6adbd114c1
Skip image length check (regression from #3528 ) ( #3581 )
2017-06-05 10:03:01 +02:00
Yamagishi Kazutoshi
3f815b2052
Add date to ignore_missing and ignore_unused in config/i18n-tasks.yml ( #3572 )
2017-06-05 01:02:19 +02:00
Yamagishi Kazutoshi
943775fd90
Update dependencies of Node.js ( #3561 )
...
* Update axios to version 0.16.2
* Update css-loader to version 0.28.4
* Update postcss-smart-import to version 0.7.4
* Update react-immutable-pure-component to version 0.0.5
* Update stringz to version 0.2.1
* Update style-loader to version 0.18.1
* Update websocket.js to version 0.1.9
* yarn upgrade
2017-06-04 17:13:21 +02:00
Yamagishi Kazutoshi
b0fe58dc69
Upgrade storybook to v3 ( #3558 )
2017-06-04 16:26:07 +02:00
Yamagishi Kazutoshi
f6e2309e70
Fix column buttons overflow in Japanese ( #3552 )
2017-06-04 14:52:02 +02:00
Yamagishi Kazutoshi
9d2154c4ab
Add Japanese translations (pin) ( #3551 )
...
* Add Japanese translations (pin)
* "ピン留め" is more general
2017-06-04 14:51:35 +02:00
Yamagishi Kazutoshi
8a597f0138
Cache assets in travis ( #3532 )
2017-06-03 15:13:12 +02:00
Yamagishi Kazutoshi
e878ddb7c0
Fix spec for #2388 ( #3526 )
2017-06-03 14:40:55 +02:00
Yamagishi Kazutoshi
336f0b0823
Remove WarmCacheService ( #3527 )
...
WarmCacheService is no longer used (removed with 5442083b3c ).
2017-06-03 14:40:47 +02:00
Yamagishi Kazutoshi
3ea3f24a02
Change toggle state when click label ( #3530 )
2017-06-03 14:40:24 +02:00
Yamagishi Kazutoshi
1162f61ca3
Remove unused loaders of webpack ( #3495 )
2017-06-01 17:27:35 +02:00
Yamagishi Kazutoshi
39ea5c0e2e
Improve tests for JavaScript ( #3496 )
...
- Upgrade dependencies
- chai (3.5.0 -> 4.0.1)
- chai-enzyme (0.6.1 -> 0.7.1)
- sinon (2.2.0 -> 2.3.2)
- Change extensions from .jsx to .js
- Don't assign `React` to `global`
- Check code format using ESLint
2017-06-01 17:27:15 +02:00
Yamagishi Kazutoshi
509b0cfafc
Add scenarios for log in ( #3497 )
2017-06-01 17:25:59 +02:00
Yamagishi Kazutoshi
fda5c699c2
Add ESLint rule (object-curly-spacing) ( #3498 )
2017-06-01 17:25:10 +02:00
Yamagishi Kazutoshi
1a4860a57a
Hold value of I18n.locale with ApplicationHelperSpec ( #3474 )
2017-05-31 17:09:28 +02:00
Yamagishi Kazutoshi
41fa53253c
Keep ENV['LOCAL_HTTPS'] with ApplicationControllerSpec (fix random fail) ( #3479 )
...
* Keep ENV['LOCAL_HTTPS'] with ApplicationControllerSpec (fix random fail)
* use climate_control
2017-05-31 17:09:17 +02:00
Yamagishi Kazutoshi
b1d4b74a44
Change PureComponent to ImmutablePureComponent ( #3460 )
...
* Change PureComponent to ImmutablePureComponent
Change PureComponent to ImmutablePureComponent in AttachmentList.
* rm React.
2017-05-31 02:14:26 +02:00
Yamagishi Kazutoshi
bfdf47bc98
Add zh-TW.json ( #3459 )
2017-05-30 23:09:02 +02:00
Yamagishi Kazutoshi
4c7fe48c40
Add "private: true" to package.json ( #3441 )
2017-05-30 16:11:45 +02:00
Yamagishi Kazutoshi
bc4fad9e22
Change libraries path to relative ( #3433 )
2017-05-30 15:13:04 +02:00
Yamagishi Kazutoshi
5ac4d677e9
Remove unused React Storybook addon ( #3434 )
2017-05-30 15:12:12 +02:00
Yamagishi Kazutoshi
c49ff7395e
Run bundle command (follow up #3403 ) ( #3427 )
2017-05-30 03:04:44 +02:00
Yamagishi Kazutoshi
e0ada97770
Update dependencies of Node.js ( #3067 )
...
* Update autoprefixer to version 7.1.0
* Update axios to version 0.16.1
* Update babel-cli to version 6.24.1
* Update babel-eslint to version 7.2.3
* Update babel-preset-react to version 6.24.1
* Update coffee-script to version 1.12.6
* Update css-loader to version 0.28.1
* Update express to version 4.15.2
* Update js-yaml to version 3.8.4
* Update mocha to version 3.4.1
* Update jsdom to version 10.1.0
* Update npmlog to version 4.1.0
* Update postcss-smart-import to version 0.7.0
* Update postcss-loader to version 2.0.5
* Update pg to version 6.1.5
* Update prop-types to version 15.5.10
* Update rails-ujs to version 5.1.1
* Update redis to version 2.7.1
* Update sass-loader to version 6.0.5
* Update stringz to version 0.2.0
* Update webpack to version 2.5.1
* Update style-loader to version 0.17.0
* Update sinon to version 2.2.0
* Update react-motion to version 0.5.0
* Update react-notification to version 6.7.0
* Update react-redux-loading-bar to version 2.9.0
* Update react-intl to version 2.3.0
* Update redux-immutable to version 4.0.0
* Update reselect to version 3.0.1
* Update react-toggle to version 3.0.1
* Update react-simple-dropdown to version 3.0.0
* Update react-router to version 3.0.5
* Update react-router-scroll to version 0.4.2
* Update react-toggle to version 4.0.1
* yarn upgrade
2017-05-29 18:23:28 +02:00
Yamagishi Kazutoshi
4b11675bdc
Change anchor to button element ( #3321 )
...
Fix warning for ESLint (jsx-a11y/href-no-hash).
2017-05-26 14:10:37 +02:00
Yamagishi Kazutoshi
bca334cd28
Remove arguments in association reader ( #3305 )
2017-05-25 16:28:14 +02:00
Yamagishi Kazutoshi
531c1bb245
Add localization of datetime in public page ( #3296 )
2017-05-25 14:09:25 +02:00
Yamagishi Kazutoshi
c52090dbfe
fix storybook ( #3292 )
2017-05-25 05:23:14 +02:00
Yamagishi Kazutoshi
3572138b16
Fix hovering default value for avatar component ( #3290 )
2017-05-25 03:08:05 +02:00
Yamagishi Kazutoshi
1ec7c87001
Remove unnecessary constructors ( #3280 )
2017-05-24 17:55:16 +02:00
Yamagishi Kazutoshi
676ba50601
Show error message to suspended user ( #3281 )
2017-05-24 16:39:09 +02:00
Yamagishi Kazutoshi
f937cad68f
Skip formatting for cashtag in status text ( #3275 )
...
Resolve #3270
2017-05-24 14:32:53 +02:00
Yamagishi Kazutoshi
860ffc0560
Focus the submit button ( #3253 )
...
Focus the submit button when confirmation modal is opened.
Also, changed cancellation link to button.
This makes the meaning clearer.
2017-05-23 13:10:41 +02:00
Yamagishi Kazutoshi
1d436a4322
Refactoring. Removed useless import. ( #3254 )
...
original: https://github.com/tootsuite/mastodon/pull/2618
2017-05-23 13:08:01 +02:00
Yamagishi Kazutoshi
73e4468ff3
Change "Account.any?" to "Account.exists?" ( #3217 )
2017-05-22 15:02:30 +02:00
Yamagishi Kazutoshi
84608c3ff8
Add translations for counter of profile ( #3214 )
...
ref #3101
2017-05-22 04:45:55 +02:00
Yamagishi Kazutoshi
b280c387c8
Add MS Edge support to public.js ( #3179 )
2017-05-20 18:15:43 +02:00
Yamagishi Kazutoshi
2e112e2406
Improve eslint rules ( #3147 )
...
* Add semi to ESLint rules
* Add padded-blocks to ESLint rules
* Add comma-dangle to ESLint rules
* add config/webpack and storyboard
* add streaming/
* yarn test:lint -- --fix
2017-05-20 17:31:47 +02:00
Yamagishi Kazutoshi
6c1122a1d9
Fix block list 500 ( #3174 )
2017-05-20 17:01:14 +02:00
Yamagishi Kazutoshi
da0a18a318
Add Japanese translations (domain block & admin page) ( #3160 )
...
https://github.com/tootsuite/mastodon/pull/3100
https://github.com/tootsuite/mastodon/pull/3127
2017-05-20 13:39:03 +02:00
Yamagishi Kazutoshi
4a3db71692
Remove react-autosuggest ( #3140 )
...
react-autosuggest is added from c49f6290eb
Dependence removed from b27066e154
2017-05-19 15:21:34 +02:00
Yamagishi Kazutoshi
dc559d6b7a
Downgrade eslint-plugin-jsx-a11y to v4.0.0 ( #3131 )
...
In Code Climate, eslint-plugin-jsx-a11y v4.0.0 is used.
Therefore, it seems that a warning is displayed.
ref https://github.com/codeclimate/codeclimate-eslint/pull/273
2017-05-19 11:44:28 +02:00
Yamagishi Kazutoshi
595e060347
Enable caching dependencies in Travis CI ( #3132 )
2017-05-19 11:44:00 +02:00
Yamagishi Kazutoshi
b8b7b506a2
Replace inline styles with stylesheet ( #3115 )
2017-05-19 11:42:54 +02:00
Yamagishi Kazutoshi
79ef8b3653
Fetch remote image using http.rb ( #3114 )
2017-05-18 15:43:10 +02:00
Yamagishi Kazutoshi
4d1ce3c7ad
Add rel="noopener" to getting started ( #3104 )
2017-05-18 03:05:30 +02:00
Yamagishi Kazutoshi
05008f3930
Fix minor Japanese translations ( #3099 )
...
- add translation "Bon Appetoot!"
- add whitelist what doesn't require translation
- replace exclamation mark full width
- add space after question mark
- remove blank between words
- run yarn manage:translations
2017-05-17 17:50:39 +02:00
Yamagishi Kazutoshi
72c8562cc9
Use babel-preset-env on Streaming Server ( #2998 )
...
* Use babel-preset-env on Streaming Server
Change the streaming server to use babel-preset-env as well as asset compilation.
This shortens the load time at first boot.
* remove babel-plugin-lodash
2017-05-14 13:47:31 +02:00
Yamagishi Kazutoshi
882e4f5322
Remove Babel plugin for ES Modules ( #2975 )
...
* Remove Babel plugin for ES Modules
Processing of ES Modules is executed by Webpack.
Don't have to do it on Babel side.
* Add plugin for test
2017-05-14 12:59:40 +02:00
Yamagishi Kazutoshi
aeb90b7c4a
Add browserslist config for autoprefixer ( #3053 )
...
We will reduce the weight of the style sheet by specifying the target web browser of autoprefixer.
2017-05-14 12:57:54 +02:00
Yamagishi Kazutoshi
1027556614
Fix broken storybook ( #3030 )
2017-05-13 15:55:56 +02:00
Yamagishi Kazutoshi
2991a7cfe6
Use ES Class Fields & Static Properties ( #3008 )
...
Use ES Class Fields & Static Properties (currently stage 2) for improve class outlook.
Added babel-plugin-transform-class-properties as a Babel plugin.
2017-05-12 14:44:10 +02:00
Yamagishi Kazutoshi
44a3584e2d
Remove unnecessary message in video player ( #3007 )
...
Remove unnecessary messages added in #1879 .
It is duplicated with other keys, causing the correct message not to be displayed.
2017-05-12 14:43:06 +02:00
Yamagishi Kazutoshi
654f4f62ed
Remove dependencies that are no longer needed now ( #2999 )
...
There are some dependencies that are no longer needed anymore.
As a result, it took more time to install the package than necessary.
I want to delete them and shorten the installation time.
2017-05-12 04:04:41 +02:00
Yamagishi Kazutoshi
a822f7a05a
Stop require of i18n-tasks ( #2992 )
2017-05-11 15:11:59 +02:00
Yamagishi Kazutoshi
88fd5cb688
Focus tab of Mastodon when clicking notification ( #2989 )
2017-05-11 13:34:05 +02:00
Yamagishi Kazutoshi
7ff84cb07e
Refine unescapeHTML ( #2977 )
2017-05-11 02:22:40 +02:00
Yamagishi Kazutoshi
e6fbf0334f
Remove unnecessary .keep files ( #2976 )
...
Follow up #2902
2017-05-11 01:45:42 +02:00
Yamagishi Kazutoshi
2fba4196ef
Add boop sounds in Vorbis format ( #2963 )
...
Vorbis is audio format of Open Source.
Can play audio in a free environment where you can not play mp3.
2017-05-10 16:58:54 +02:00
Yamagishi Kazutoshi
42eb841dc2
Remove jquery-ujs ( #2939 )
...
* Remove jquery-ujs
* fix for eslint
2017-05-09 14:50:43 +02:00
Yamagishi Kazutoshi
584b45530c
Fix duplicated values in nl.json ( #2931 )
2017-05-09 14:12:35 +02:00
Yamagishi Kazutoshi
459bbfa4b2
Prevent selection of unacceptable Content-Type files ( #2910 )
...
* Prevent selection of unacceptable Content-Type files
* replace hard code
* media_attachments accept content-types in initial state
2017-05-08 16:49:53 +02:00
Yamagishi Kazutoshi
66a3979cba
Fix broken features list in RTL languages ( #2909 )
...
Fixes #2905
2017-05-08 15:52:51 +02:00
Yamagishi Kazutoshi
3bdcf5d8f0
Add final newline to locale files ( #2890 )
2017-05-07 19:55:47 +02:00
Yamagishi Kazutoshi
f000673599
Remove local_time gem, and add similar ( #2875 )
2017-05-07 15:22:54 +02:00
Yamagishi Kazutoshi
139d183485
Fix a aspect ratio for the embedded video ( #2872 )
2017-05-07 15:21:46 +02:00
Yamagishi Kazutoshi
d7c17c32af
Fix redirect path for admin ( #2871 )
2017-05-07 15:21:31 +02:00
Yamagishi Kazutoshi
6c678b7472
Fix locale key for account card ( #2866 )
2017-05-07 03:09:58 +02:00
Yamagishi Kazutoshi
6358a169fd
Remove final newline in generated locale files ( #2840 )
2017-05-06 17:05:25 +02:00
Yamagishi Kazutoshi
aa235318fc
Add Japanese tranlsation for getting started, and run manage:tranlation ( #2839 )
...
* Add Japanese tranlsation for getting started, and run manage:tranlation
* remove unnecessary {apps}
2017-05-06 17:04:53 +02:00
Yamagishi Kazutoshi
494945ff4f
Move babel-plugin-lodash to dependencies from devDependencies ( #2831 )
2017-05-06 11:04:55 +02:00
Yamagishi Kazutoshi
d397d0d681
Run manage:translations ( #2816 )
2017-05-05 18:46:51 +02:00