about summary refs log tree commit diff
path: root/package.json
AgeCommit message (Collapse)Author
2017-05-28Improve streaming API cluster logging (#3370)Eugen Rochko
* Improve streaming API cluster logging * Less verbose error middleware logging (stack trace useless there) * Fix error logging * Prevent potential issue * Add missing "done()" in catch of Promise.all, websocket heartbeat re-implemented like in example * I actually forgot a done(), the absolute madman
2017-05-26Introduce react-textarea-autosize instead of using style.height side effects ↵Eugen Rochko
(#3334)
2017-05-25Add improved performance marks for development mode (#3297)Nolan Lawson
2017-05-25Add localization of datetime in public page (#3296)Yamagishi Kazutoshi
2017-05-25fix storybook (#3292)Yamagishi Kazutoshi
2017-05-24Lazy load toots using IntersectionObserver (#3191)Sorin Davidoi
* refactor(components/status_list): Lazy load using IntersectionObserver * refactor(components/status_list): Avoid setState bottleneck * refactor(components/status_list): Update state correctly * fix(components/status): Render if isIntersecting is undefined * refactor(components/status): Recycle timeout * refactor(components/status): Reduce animation duration * refactor(components/status): Use requestIdleCallback * chore: Split polyfill bundles * refactor(components/status_list): Increase rootMargin to 300% * fix(components/status): Check if onRef is not defined * chore: Add note about polyfill bundle splitting * fix(components/status): Reduce animation duration to 0.3 seconds
2017-05-24Use node instead of babel-node for streaming (#3269)Nolan Lawson
2017-05-23Focus the submit button (#3253)Yamagishi Kazutoshi
Focus the submit button when confirmation modal is opened. Also, changed cancellation link to button. This makes the meaning clearer.
2017-05-22Add webpack-bundle-analyzer for production builds (#3170)Nolan Lawson
2017-05-22Only load Intl data for current language (#3130)Nolan Lawson
* Only load Intl data for current language * Extract common chunk only from application.js and public.js * Generate locale packs, avoid caching on window object
2017-05-20Improve eslint rules (#3147)Yamagishi Kazutoshi
* 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-19Remove react-autosuggest (#3140)Yamagishi Kazutoshi
react-autosuggest is added from c49f6290eb9c93720bd5407f4320bb0fd6c96ed9 Dependence removed from b27066e154c8c2da57f23bf659907bacd37ce4da
2017-05-19Downgrade eslint-plugin-jsx-a11y to v4.0.0 (#3131)Yamagishi Kazutoshi
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-19feat(babel): Strip prop types (#3122)Sorin Davidoi
* feat(babel): Strip prop types * chore(babel): Indent * fix(babel): Move babel-plugin-transform-react-remove-prop-types to dependencies
2017-05-18Add transform-runtime for smaller Babel helpers (#3116)Nolan Lawson
2017-05-14Use babel-preset-env on Streaming Server (#2998)Yamagishi Kazutoshi
* 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-14Remove Babel plugin for ES Modules (#2975)Yamagishi Kazutoshi
* 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-12Rebuild node-sass (#3002)Daigo 3 Dango
Got an error in asset precompile on Heroku: Module build failed: Error: ENOENT: no such file or directory, scandir '/tmp/.../node_modules/node-sass/vendor' ref: https://github.com/rails/webpacker#troubleshooting
2017-05-12Use ES Class Fields & Static Properties (#3008)Yamagishi Kazutoshi
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-12Remove dependencies that are no longer needed now (#2999)Yamagishi Kazutoshi
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-11Add dynamic polyfills for older browsers (#2985)Nolan Lawson
Fixes #2941
2017-05-09Remove jquery-ujs (#2939)Yamagishi Kazutoshi
* Remove jquery-ujs * fix for eslint
2017-05-07Remove local_time gem, and add similar (#2875)Yamagishi Kazutoshi
2017-05-07upgrade emojione-picker (#2874)Nolan Lawson
2017-05-07add asynchronous emojione-picker (code-splitting) (#2863)Nolan Lawson
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-06Replace ws with uws (#2807)Eshin Kunishima
* Replace ws with uws * fix indent * Adjust indentation * remove trailing space
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-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-04Decode IDNA in PreviewCard (#2781)Yamagishi Kazutoshi
2017-05-03Replace sprockets/browserify with Webpack (#2617)Eugen Rochko
* Replace browserify with webpack * Add react-intl-translations-manager * Do not minify in development, add offline-plugin for ServiceWorker background cache updates * Adjust tests and dependencies * Fix production deployments * Fix tests * More optimizations * Improve travis cache for npm stuff * Re-run travis * Add back support for custom.scss as before * Remove offline-plugin and babili * Fix issue with Immutable.List().unshift(...values) not working as expected * Make travis load schema instead of running all migrations in sequence * Fix missing React import in WarningContainer. Optimize rendering performance by using ImmutablePureComponent instead of React.PureComponent. ImmutablePureComponent uses Immutable.is() to compare props. Replace dynamic callback bindings in <UI /> * Add react definitions to places that use JSX * Add Procfile.dev for running rails, webpack and streaming API at the same time
2017-04-26Added the repository field and a script for after npm version (#2459)Michael Deeb
2017-04-25Fixes string length issue for multibyte characters. (#2443)Ash Furrow
2017-04-22update emojione-picker for fixed warnings. (#2324)Keiji, Yoshimi
2017-04-21Remove deprecated features at React v15.5 (#1905)Yamagishi Kazutoshi
* Remove deprecated features at React v15.5 - [x] React.PropTypes - [x] react-addons-pure-render-mixin - [x] react-addons-test-utils * Uncommented out & Add browserify_rails options * re-add react-addons-shallow * Fix syntax error from resolve conflicts * follow up 59a77923b368d48c590cd9f4a0c6b73ce972d33f
2017-04-21Use new ESLint filename (.json) (#2248)Mingye Wang
* Use new ESLint filename (.json) Codeclimate's ESLint 3 is complaining about the old filename. Let me try changing it. * point eslint to new rc (squash this)
2017-04-20 Make Docker image buildable on ARM (#2065)Christoph Witzany
* after yarn upgrade * after manually removing node-gyp as top level dependency
2017-04-16Add the licence key in package.json (#1914)Alda Marteau-Hardi
2017-04-15Add eslint-plugin-jsx-a11y (#1651)Zac Anger
* Add eslint-plugin-jsx-a11y. * Fix npm script. * Adjust npm scripts so test also runs lint. * Fix existing lint errors. * Don't break on a11y issues. * Add role and tabIndex. * Add vim and Mac files to .gitignore and .dockerignore. * Handle htmlFor (partially), a that's actually a button. * Fix missing tabIndex. * Add cursor:pointer to load-more * Revert change to load_more. * Fixes based on review. * Update yarn.lock. * Don't try to install fsevents on Linux (hides warning noise).
2017-04-11Fix #1491 - Fix broken notifications, broken Link header parsing for ↵Eugen
exclude_types (#1548)
2017-04-11Dev Tooling fixes (eslint/editorconfig) (#1398)Gavin Mogan
* Add eslint to dev dependancies so it gets installed for the repo yarn add --dev eslint babel-eslint eslint-plugin-reac project specific version of eslint, you can globally install eslint-cli if you want the global runtime, or add .bin to your path * fix eslint errors about inconsitent returns * eslint ignore the same as git ignore. allows for eslint . * Add editorconfig file so everyones editor will be setup to follow the same standards
2017-03-29Improve emojis - use SVGs where possibleEugen Rochko
2017-03-13Replace howler.js with simple <audio />, will hopefully resolveEugen Rochko
some weird mobile browser behaviours
2017-03-02Fix #372 - Emoji pickerEugen Rochko
2017-02-26Fix broken dependency on inner react utility functionEugen Rochko
2017-02-26Improve compose form performance, upgrade JS dependencies. LightingBoxEugen Rochko
now allows to cycle through multiple images
2017-02-05Add unique request IDs to streaming API to improve logsEugen Rochko
2017-02-05Remove react-dnd as it was interfering with text selection. Move contentEugen Rochko
warning mentions preview into area where actual content would be