kirrg001
34e48dc49a
🎨 🔦 do not append isPostgreSQL to config
...
refs #6982
- we cannot add functions to nconf
[ci skip]
2016-09-20 15:59:34 +01:00
kirrg001
0ae0a0b490
🎨 change how we get and set config
...
refs #6982
- a replace for all config usages
- always use config.get or config.set
- this a pure replacement, no logic has changed
[ci skip]
2016-09-20 15:59:34 +01:00
kirrg001
4aaacff62c
✨ extend .gitignore
...
refs #6982
[ci skip]
2016-09-20 15:59:34 +01:00
kirrg001
7d3e8fa8a9
✨ 🔦 add nconf files
...
refs #6982
- add defaults.json
- add overrides.json
- add env specific default values
- add nconf wrapper in /config
- add config utils in /config/utils.js
[ci skip]
2016-09-20 15:59:34 +01:00
kirrg001
96203a46dc
🔥 remove config.example.js and ConfigManager
...
refs #6982
[ci skip]
2016-09-20 15:59:34 +01:00
kirrg001
13f7d51213
🔥 remove ensureConfig from Gruntfile
...
refs #6982
[ci skip]
2016-09-20 15:59:34 +01:00
kirrg001
e3c0200f73
🔥 remove startup checks
...
refs #6982
- we will execute the startup checks in Ghost-CLI
[ci skip]
2016-09-20 15:59:34 +01:00
kirrg001
03cc8ea3ff
🛠 add nconf as dependency
...
refs #6982
[ci skip]
2016-09-20 15:59:34 +01:00
kirrg001
0b2940d587
🎨 add getSubdir and getProtectedSlugs
...
refs #6982
- do not add the subdir property as static config value
- create functions to read subdir and protected slugs on runtime
2016-09-20 15:59:34 +01:00
kirrg001
0dd3d9ff40
🎨 Move tests: create utils/url_spec.js
...
refs #6982
2016-09-20 15:59:34 +01:00
Katharina Irrgang
c8119eee1f
🎨 source out url utils from ConfigManager ( #7347 )
...
refs #6982
2016-09-20 15:59:34 +01:00
Katharina Irrgang
dc1ef35f0c
🎨 do not load apps in ConfigManager ( #7344 )
...
refs #6982
2016-09-20 15:59:34 +01:00
Katharina Irrgang
a639e48715
🎨 load themes not in ConfigManager ( #7342 )
...
refs #6982
2016-09-20 15:59:34 +01:00
Hannah Wolfe
55d1e86c55
Update Ghost-Admin: ready for lts
2016-09-20 14:27:25 +01:00
Austin Burdine
756d9bcb6e
show correct error message the first time account is locked ( #7263 )
...
closes #7251
- check if remaining attemps is 0, if so then show account locked error
- adds test
2016-09-19 14:56:55 +01:00
Katharina Irrgang
9349e99e54
🐛 fix delete by author as transaction ( #7145 )
...
closes #7137
Deleting the content from the database runs in a transaction. see
https://github.com/TryGhost/Ghost/blob/master/core/server/api/users.js#L390
`destroyByAuthor` is one of the operations we trigger to delete all the conent, see https://github.com/TryGhost/Ghost/blob/master/core/server/models/post.js#L647
The post model has a specific hook for deleting content to delete the relations as well, see https://github.com/TryGhost/Ghost/blob/master/core/server/models/post.js#L122
This hook is part of the transaction. But the `options` are ignored. `(model/*, attr, options*/)`
We use the `options` to forward the transaction reference, which we need to pass into the bookshelf queries. So `return model.load('tags').call('related', 'tags').call('detach')` does not forward the transaction and that's why it stucks when deleting the content.
2016-09-19 14:45:36 +01:00
Greenkeeper
a98e134fe4
chore(package): update sinon to version 1.17.6 ( #7401 )
...
https://greenkeeper.io/
2016-09-19 14:42:22 +01:00
Greenkeeper
b61e870737
chore(package): update tmp to version 0.0.29 ( #7397 )
...
https://greenkeeper.io/
2016-09-19 14:42:13 +01:00
Greenkeeper
9ca83b9875
chore(package): update jsonpath to version 0.2.7 ( #7285 )
...
https://greenkeeper.io/
2016-09-19 14:42:03 +01:00
Katharina Irrgang
265f058466
🎨 use apiUrl helper for scheduling initialisation ( #7400 )
...
no issue
- extend apiUrl to return either an admin url for CORS or not
2016-09-19 14:41:50 +01:00
Greenkeeper
b5ef1da584
chore(package): update validator to version 5.7.0 ( #7356 )
...
https://greenkeeper.io/
2016-09-19 13:51:36 +01:00
Greenkeeper
0af5f5960a
chore(package): update istanbul to version 0.4.5 ( #7239 )
...
https://greenkeeper.io/
2016-09-19 13:51:25 +01:00
Greenkeeper
fe19b26e44
chore(package): update bluebird to version 3.4.6 ( #7311 )
...
https://greenkeeper.io/
2016-09-19 12:38:57 +01:00
Greenkeeper
4b61dd8971
chore(package): update cheerio to version 0.22.0 ( #7260 )
...
https://greenkeeper.io/
2016-09-19 12:32:40 +01:00
Greenkeeper
db7d87c249
chore(package): update archiver to version 1.1.0 ( #7287 )
...
https://greenkeeper.io/
2016-09-19 12:31:47 +01:00
Cezary Kluczyński
83b426ad14
Changed formatting of run time to human readable ( #7318 )
2016-09-19 11:28:18 +01:00
Greenkeeper
f64c13af36
chore(package): update csv-parser to version 1.11.0 ( #7238 )
...
https://greenkeeper.io/
2016-09-19 11:25:37 +01:00
Hannah Wolfe
fbb60adde7
Version bump to 0.11.0
2016-09-15 10:23:15 +01:00
Hannah Wolfe
a422314e6f
Updated Ghost-Admin to 0.11.0
2016-09-15 10:23:15 +01:00
Katharina Irrgang
ed9e90419d
🐛 generate correct apiUrl for scheduling ( #7389 )
...
closes #7388
2016-09-15 10:22:38 +01:00
Hannah Wolfe
a791b43f1e
🐛 😱 Fixing extract-zip derp-moment
...
There are no words for this!
2016-09-14 22:47:41 +01:00
Greenkeeper
1dc3ca354f
chore(package): update gscan to version 0.0.15 ( #7386 )
...
https://greenkeeper.io/
2016-09-14 22:47:28 +01:00
David Wolfe
1cf0b940ad
Do not show internal tags in RSS feed ( #7385 )
...
closes #7367
- checks tags are visibile if internal tags are enabled in labs
- dirty quick update to tests
2016-09-14 19:14:08 +01:00
Greenkeeper
215185bc52
chore(package): update gscan to version 0.0.14 ( #7384 )
...
https://greenkeeper.io/
2016-09-14 18:57:43 +01:00
Hannah Wolfe
a40ff3b276
🎨 Return gscan warnings from theme API ( #7367 )
...
- return warnings from gscan so we can let users know about potential issues
2016-09-14 18:49:41 +01:00
Hannah Wolfe
de66a61f59
hides internal tags from displaying in meta data ( #7379 )
...
closes #7348
- only filter keywords if the internal tag lab feature is turned on
2016-09-14 17:33:24 +00:00
Hannah Wolfe
43bcf5b374
🐛 better theme name consistency ( #7380 )
...
closes #7313
- Adds `getSanitizedFileName` function to storage/base.js which replaces non A-Z0-9@. chacracters with -
- modifies /api/theme.js so that zip.shortName is consistent throughout.
2016-09-14 17:24:28 +00:00
Hannah Wolfe
8d7254aca5
⬆️ Upgrade extract-zip to extract-zip-fork@1.5.1 ( #7383 )
2016-09-14 17:13:36 +00:00
Austin Burdine
2b07f7a15b
Add application/octet-stream to allowed types for theme uploads ( #7382 )
...
closes #7292 (again)
- fix more uploads
2016-09-14 17:53:36 +01:00
Katharina Irrgang
774a662fb2
🐛 re-run migration for sqlite/pg ( #7323 )
...
closes #7192
- add 008 migration
- added script to re-run 006/01
- re-run 006/01 migration for postgres in any timezone (transform formats only)
- re-run 006/01 migration for sqlite (transform formats only)
- rely on format checks for sqlite, do not check server TZ
2016-09-14 17:52:45 +01:00
Aileen Nowak
b598656ff1
✨ Use migration to add AMP column in posts table ( #7370 )
...
no issue
Uses migration to '008' to add an `amp` column to the `posts` table.
2016-09-14 16:02:35 +01:00
Greenkeeper
a9561cfbd7
chore(package): update netjet to version 1.1.3 ( #7274 )
...
https://greenkeeper.io/
2016-09-14 15:59:54 +01:00
Greenkeeper
ae18a48b35
chore(package): update express-hbs to version 1.0.3 ( #7301 )
...
https://greenkeeper.io/
2016-09-14 15:50:35 +01:00
Katharina Irrgang
94fdbdd267
🐛 move overrides into core folder ( #7371 )
...
closes #7336
- make sure overrides is still the first package to call
2016-09-14 15:50:17 +01:00
Hannah Wolfe
470000242d
🛠 Make it easy to test preparing dependencies ( #7335 )
...
no issue
- as part of a release, we run npm dedupe, npm prune and npm shrinkwrap. In certain cases this can change which dependencies are used
- with this change `grunt deps` will run those 3 tasks so it's easier to test what happens
2016-09-14 15:57:50 +02:00
Hannah Wolfe
00757eb2b6
Update Ghost-Admin: mimetype fixes
2016-09-14 14:47:05 +01:00
Katharina Irrgang
a5840753fc
🚨 increase mocha timeout globally ( #7378 )
...
no issue
2016-09-14 14:16:57 +01:00
Katharina Irrgang
5acc2a9c30
🚨 increase ping tries when forking process ( #7377 )
...
no issue
2016-09-14 14:09:47 +01:00
Hannah Wolfe
e0970bff8e
🛠 Pin knex, bookshelf & lodash until later ( #7375 )
...
refs #7189 , refs #7291
- We will upgrade these when we are able to locate and resolve the memory leak that is caused by upgrading them
2016-09-14 14:23:38 +02:00
Greenkeeper
0c628049fb
chore(package): update moment to version 2.15.0 ( #7364 )
...
https://greenkeeper.io/
2016-09-14 13:22:03 +01:00