kirrg001
bd4590d0b5
🎨 🔦 no support for active storage adapter as string
...
refs #6982
[ci skip]
2016-09-20 15:59:34 +01:00
kirrg001
3e02dbf734
🎨 missing get/set config changes
...
refs #6982
[ci skip]
2016-09-20 15:59:34 +01:00
kirrg001
248ceba72b
🎨 adapt bootstrap file because of nconf changes
...
refs #6982
- remove load config
- remove checkDeprecated
- adapt arguments for scheduling init
[ci skip]
2016-09-20 15:59:34 +01:00
kirrg001
042e0da1c9
🎨 🔦 read ghost version from package.json
...
refs #6982
[ci skip]
2016-09-20 15:59:34 +01:00
kirrg001
d42f4f6058
🎨 replace config.getSocket()
...
refs #6982
- was a function in ConfigManager
- does belong to the GhostServer logic
[ci skip]
2016-09-20 15:59:34 +01:00
kirrg001
f4bee50e86
🎨 create assetHash if not available in asset_url helper
...
refs #6982
- was before generated in ConfigManager
[ci skip]
2016-09-20 15:59:34 +01:00
kirrg001
66dbd5f5f2
🚨 adapt fork logic
...
refs #6982
- write json file instead of js file
- simplifiy how we pass config for a forked child process
[ci skip]
2016-09-20 15:59:34 +01:00
kirrg001
b158a3a944
🚨 change logic for test/utils/configUtils
...
refs #6982
- adaption because of using nconf
- change tests which changed config directly
[ci skip]
2016-09-20 15:59:34 +01:00
kirrg001
bdad235f6a
🚨 improve error handling in test env
...
no issue
[ci skip]
2016-09-20 15:59:34 +01:00
kirrg001
b3bafa4ba8
🎨 🔦 restrict themes storage to local-file-store
...
refs #6982
- this was handled before by the old ConfigManager
- this logic belongs into the storage logic itself
- for now we only allow uploading themes via the local-file-store
[ci skip]
2016-09-20 15:59:34 +01:00
kirrg001
1f85604d09
🎨 remove circular dependency solution in errors/index.js
...
refs #6982
[ci skip]
2016-09-20 15:59:34 +01:00
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