Commit Graph

36 Commits

Author SHA1 Message Date
Dmitry Molotkov 4061b6fd87 dont allow to cache error pages (#3962) 2018-09-25 17:16:15 +02:00
Sébastien Chopin 820f0fae1a
[WIP] Hooks: render:routeContext and render:routeDone (#3773)
* hooks: Add render:routeDone hook

* hooks: Deprecate render:context and add render:routeContext

* refactor: delegate context to routeContext

* test: Add test for render:routeDone hook

* lint: Fix lint issue
2018-08-21 18:35:46 +02:00
Tatsuyuki Ishi 716c04f4e9 Isolate client and server artifacts (#3758) 2018-08-20 18:04:55 +02:00
Alexander Lichter 52d9629bac eslint: Prefer const over let (#3650) 2018-08-08 12:54:05 +02:00
Jonas Galvez 3f1d634fb7 Consistent parens in arrow functions (#3630)
* Minor consistency enhancements

* Arrow parenthesis consistency

* Change linting rule

* Fix typo

* Update .eslintrc.js to only require parens for blocks

* Update style according to brace-only suggestion

* Remove --fix from lint

* Tweak no-loading time (failing test)

* Tweak no-loading time (failing test) (2)

* Tweak no-loading time (failing test) (3)

* Tweak no-loading time (failing test) (4)

* Tweak no-loading time (failing test) (5)
2018-08-06 02:12:44 +02:00
Alexander Lichter 8c85f2299e feat(csp): add reportOnly option (#3559) 2018-07-30 18:04:02 +02:00
Alexander Lichter a37772f0f8 fix(csp): remove duplicate sha-256 hashes (#3574) 2018-07-26 15:48:28 +02:00
Alexander Lichter 65d318d475 refactor: remove unused variables (#3576) 2018-07-25 09:00:21 +01:00
Clark Du d98c98360a refactor: smiplify csp 2018-07-01 23:43:30 +04:30
Sébastien Chopin a02935c15f fix: Fix CSP in development mode, add unsafe-eval 2018-04-13 12:37:32 +02:00
Pooya Parsa 0ca99426c9 chore: remove unnecessary scopes 2018-04-02 00:50:46 +04:30
Pooya Parsa 25741f5a1f refactor: use consola for all console stuff 2018-03-31 21:21:55 +04:30
Clark Du ef7a42649d misc: improve coverage and packaging (#3121)
nuxt-start and nuxt/legacy are also coming!
2018-03-28 02:58:17 +04:30
Pooya Parsa ed5bfacb4d eslint: fix import/order 2018-03-16 23:22:17 +03:30
Pooya Parsa 6234ae84c0 refactor(core): use strict mjs 2018-03-16 22:41:24 +03:30
Pooya Parsa 53e98a958c feat: rewrite core to esm 2018-03-16 19:42:06 +03:30
Clark Du e514ce326c
coverage: ignore file name in error stack trace does not exist 2018-03-09 10:18:08 +08:00
dojineko dd9dfc6d55 to be simple 2018-03-05 09:58:10 +09:00
Sébastien Chopin 6acd9b6516
Merge pull request #2736 from dojineko/variable-csp
Multiple policy support for Content-Security-Policy
2018-02-05 09:14:11 +01:00
Clark Du 215832769e refactor: add context as third param of render:route hook 2018-02-04 17:57:51 +03:30
Clark Du 28d28cb8c1 feature: pass request to render:route hook 2018-02-04 17:57:51 +03:30
dojineko a403205abe tiny fix 2018-02-02 11:18:23 +09:00
dojineko 4fb644fdb3 add csp.policies 2018-02-01 21:20:28 +09:00
Clark Du f15eb9efa7
test: spa meta preload files 2018-01-29 11:59:05 +08:00
Clark Du a2ac4cb331
test: user istanbul ignore next due to nyc issue 2018-01-29 11:01:37 +08:00
Pooya Parsa 95c85bba62 minor improvements for #2608 2018-01-16 18:41:17 +03:30
Kouki Narumi 5ebf60f2a1 feat: external script support for CSP (#2608) 2018-01-16 18:40:10 +03:30
Pooya Parsa 10d1b5974c style: format with prettier 2018-01-13 08:52:11 +03:30
Samuel Horwitz 6e9be715b2 Adding support for Content-Security-Policy script-src safe inline, for SSR state transfer 2018-01-10 01:36:34 -05:00
Sébastien Chopin 8c04f5d8a6 cov: Ignore fallback conditions 2018-01-08 16:02:18 +01:00
Pooya Parsa 9fc2bace44 feat: upgrade to launch-editor 2.0.0 2018-01-07 11:51:36 +03:30
Pooya Parsa 4e24ec7eba feat: use launch-editor for open-in-editor functionality 2018-01-06 23:27:34 +03:30
Pooya Parsa 05a7595701 improve error source maps 2018-01-05 12:50:08 +03:30
Pooya Parsa 42807fcdf9 perf: Use getPreloadFiles for HTTP2 push headers 2018-01-05 01:40:52 +03:30
Pooya Parsa 88b795a83b fix typo 2018-01-04 21:09:12 +03:30
Pooya Parsa e54beeee1e refactor: move renderer middleware into seperate modules 2018-01-04 21:06:47 +03:30