Skip to content
Snippets Groups Projects
  1. Jan 29, 2018
  2. Jan 24, 2018
  3. Jan 21, 2018
  4. Jan 20, 2018
    • Eugen Rochko's avatar
      Improve HTML e-mails based on Litmus tests (#6301) · 872a0d5b
      Eugen Rochko authored
      * Use PNG images in HTML e-mails
      
      * Make webpack use URLs with host so fonts load inside HTML e-mails
      
      Convert this back to a relative URL in the premailer CSS loader
      since local requests are quicker
      
      * Improve responsive design
      
      * Add missing PNG icon
      Unverified
      872a0d5b
  5. Sep 19, 2017
    • Andrew's avatar
      Add support for multiple themes (#4959) · 0401a245
      Andrew authored
      * Add support for selecting a theme
      
      * Fix codeclimate issues
      
      * Look up site default style if current user is not available due to e.g. not being logged in
      
      * Remove outdated comment in common.js
      
      * Address requested changes in themes PR
      
      * Fix codeclimate issues
      
      * Explicitly check current_account in application controller and only check theme availability if non-nil
      
      * codeclimate
      
      * explicit precedence with &&
      
      * Fix code style in application_controller according to @nightpool's suggestion, use default style in embedded.html.haml
      
      * codeclimate: indentation + return
      0401a245
  6. Jun 18, 2017
  7. May 29, 2017
    • Daniel Hunsaker's avatar
      [nanobox] Adjustments for Nanobox development (#3295) · 9ead3d1c
      Daniel Hunsaker authored
      Because Nanobox doesn't run data components in the same container as the code, there are a few tweaks that need to be made in the configuration to get WebPack to work properly in development mode.
      
      The same differences lead to needing to use `DATABASE_URL` by default in the `.env` file for Rails to work correctly.
      
      Limitations of our `.env` loader for Node.js mean the `.env` file needs to be compiled everywhere in order to work, so we compile it in development, now, too. Also, all the `.env.production` tweaks have been consolidated into a single command.
      
      Finally, since Nanobox actually creates the database when it sets up the database server, using the existence of the database alone to determine whether to migrate or setup is insufficient. So we add a condition to `rake db:migrate:setup` to check whether any migrations have run - if the database doesn't exist yet, `db:setup` will be called; if it does, but no migrations have been run, `db:migrate` and `db:seed` are called instead (the same basic idea as what `db:setup` does, but it skips `db:create`, which will only cause problems with an existing DB); otherwise, only `db:migrate` is called.
      
      None of these changes should affect development, and all are designed not to interfere with existing behaviors in other environments.
      9ead3d1c
  8. May 20, 2017
    • Yamagishi Kazutoshi's avatar
      Improve eslint rules (#3147) · 2e112e24
      Yamagishi Kazutoshi authored
      * 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
      2e112e24
  9. May 06, 2017
    • 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
  10. 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