Skip to content
Snippets Groups Projects
  1. May 15, 2017
    • Akihiko Odaki's avatar
      Introduce common JavaScript file (#2981) · 85c94963
      Akihiko Odaki authored
      * Create common chunk rather than vendor chunk
      
      vendor chunk is a set of modules provided by external vendors, but now we
      can have a chunk as a set of modules shared by multiple entry points,
      which could be more efficent than having vendor chunk.
      
      * Start rails-ujs in common.js
      
      This is used by /settings/two_factor_authentication.
      85c94963
  2. May 07, 2017
  3. May 06, 2017
    • Nolan Lawson's avatar
      80093662
    • Koala Yeung's avatar
      translateionRunner: improve minimalist options (#2835) · 99b9a0e5
      Koala Yeung authored
      * 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
      99b9a0e5
    • Nolan Lawson's avatar
      remove unnecessary buffer polyfill (#2833) · 7c0cd259
      Nolan Lawson authored
      7c0cd259
    • Nolan Lawson's avatar
    • Koala Yeung's avatar
      Streamline javascript translation by improving translationRunner (#2808) · cf0b7532
      Koala Yeung authored
      * 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
      cf0b7532
  4. May 04, 2017
  5. May 03, 2017
    • Eugen Rochko's avatar
      Replace sprockets/browserify with Webpack (#2617) · f5bf5ebb
      Eugen Rochko authored
      * 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
      f5bf5ebb
Loading