Lukas Strassel
03137ff5cd
allow manifest.json in theme root ( #6986 )
...
closes #6769
2016-06-29 14:44:01 -06:00
kirrg001
250d571fe6
improvement: jshint/jscs
...
no issue
- add mocha option to jshintrc, no need to define globals in files anymore
- call client grunt commands in case of jshint/jscs
2016-06-17 22:59:47 +02:00
Hannah Wolfe
71062a0026
Merge pull request #6517 from halfdan/fix-6516
...
Use req.path instead of req.url to check for file extension
2016-02-18 08:37:32 +00:00
Fabian Becker
f14910fa8e
Use req.path instead of req.url to check for file extension
...
fixes #6516
2016-02-17 19:24:49 +01:00
Cameron Viner
8fd272476b
Removed uneeded jshint comments in order to cleanup the tests
...
closes #6505
-Removed all of the /*jshint expr:true*/ comments from the tests
-Removed all of the should.equal(true, true) statements from the tests
-Removed should from the greenkeeper ignores
2016-02-17 12:52:43 +00:00
Cameron Viner
faba83d5dc
deps: should@8.2.1
...
closes #6448
-upgraded should.js to the latest version (8.2.1)
-Changed the tests so that they comply with the breaking changes introduced in the new version of should.js
-Installs the package should-http so should.be.json() can be used
-Installs the package should-sinon so that should.be.calledOnce() can be used
2016-02-09 13:39:10 +00:00
JT Turner
cdc98dce15
Fixed ghost admin error when missing theme folder.
...
closes #6368
- Add test to recreate the error in the static theme middleware.
- Updated static theme middleware to not error if missing theme folder.
2016-01-23 14:01:26 -08:00
Hannah Wolfe
390d5fcea2
Remove unnecessary API lookup for activeTheme
...
- the active theme is already managed and kept up to date as a property
of the express app
- this can be accessed via `req.app` inside of middleware
2015-09-29 22:54:55 +02:00
Fabian Becker
c1a2601514
Middleware Refactor
...
- Refactor SSL middleware into separate module.
- Refactor redirectToSetup to separate module + tests
- Refactor serveStaticFile + tests
- Refactor authentication middleware + tests
- Refactor private blogging middleware
refs #5286
2015-08-04 14:53:58 +02:00