* fs-extra dependency of in-repo-addon was not listed explicitly
* refactor: inclusion of api in build for readability
* fix: 'readdirSync' is assigned a value but never used
* cherry-pick needed helpers from ember-math-helpers
This reduces the build size by 1.2 KB after gzip.
* dep: remove ember-array-helper
array helper already provided by ember-composable-helpers
This one requires a migration from deprecated ember-cli-qunit to ember-qunit.
ember-qunit throws in Unit tests cause they interact with runloop but didn't
awaited everything to finish. An assertion was thrown therefor:
> Assertion Failed: expected container not to be destroyed
Having both a Content-Security-Policy (CSP) in meta tag and per header
works fine together. They are merged and the strongest one is applied.
It makes Croodle safer for all users even if the hoster does not apply CSP
for some reason (e.g. they can't set custom headers).
It's still a good idea to recommend using a CSP header cause that ones
are applied earlier - even so this shouldn't be a problem cause we ensure
that CSP meta tag is present before any other link, style or script element.
All major browsers support standard by now. Only IE11 has limited support
for X-Content-Security-Policy. But that support is limited to sandbox
directive, which isn't used by Croodle.
This also fix a bug if user creates more than one croodle without reloading window
in between. In that case a data fragment is reused which throws.
It's also the first step in dropping {{simple-select}} which is very outdated.
Ember Bootstrap has changed a lot since the very outdated pre 1.0 release
which was used here. Changes are mostly about using composable components
and closure actions.
Also replaces PhantomJS with Chrome in CI cause PhantomJS is also very
outdated and causing test failure not related to any real world issues.
Ember CLI has replaced PhantomJS with Chrome in v2.15.1, which is the
upfollowing minor release to the version currently used.
Fixes deprecation warning:
DEPRECATION: Ember CLI addons manage their own module transpilation during
the `treeForAddon` processing. `ember-cli-build-info` has overridden the
`this.options.babel` options which conflicts with the addons ability to
transpile its `addon/` files properly. Falling back to default babel
configuration options.