Hannah Wolfe
6c24084e68
Merge pull request #7422 from kirrg001/feature/users-invites-separation
...
🎨 Separate invites from user
refs #7420
- remove invite logic from user
- add invite model and adapt affected logic for inviting team members
2016-09-26 13:26:01 +01:00
Hannah Wolfe
b729597bf5
🔥 Remove the contributor list from Gruntfile ( #7428 )
...
refs #7427
- Moving all release-specific code out of the core repository
- Also found a different way to do this, without needing API access :)
2016-09-26 07:16:55 -05:00
Greenkeeper
f0a4186f9c
chore(package): update intl to version 1.2.5 ( #7411 )
...
https://greenkeeper.io/
2016-09-26 11:13:38 +02:00
Hannah Wolfe
b0af496c98
💄 Ensure all middleware use named functions ( #7434 )
...
no issue
- anonymous functions are hard to debug in memory traces etc
- having anonymous middleware functions makes it hard to inspect or debug the middleware stack (something I like to do)
- these 2 are the only ones atm, including all 3rd party middleware
2016-09-26 11:10:44 +02:00
kirrg001
b79a18ca8f
🎨 Separate invites from user
...
refs #7420
- remove invite logic from user
- add invite model and adapt affected logic for inviting team members
2016-09-26 11:08:43 +02:00
Hannah Wolfe
6d092ada99
Merge pull request #7402 from kirrg001/tooling/latest-lodash-bookshelf-knex
...
🛠 update lodash,knex and bookshelf to latest versions
2016-09-26 09:39:57 +01:00
kirrg001
6c100a171e
🛠 update lodash,knex and bookshelf to latest versions
...
refs #7189
- we had a memory leak after upgrading to knex 0.11.x
- knex has published a new version 0.12.x
- the memory leak does not longer exists
- knex has reverted their pool logic, see https://github.com/tgriesser/knex/pull/1665
2016-09-26 10:20:55 +02:00
Hannah Wolfe
1c6f9b85f4
Merge pull request #7407 from AileenCGN/let-grunt-die
...
🛠 Gulp tooling for Ghost
2016-09-23 13:46:42 +01:00
Greenkeeper
34363ec2c3
chore(package): update superagent to version 2.3.0 ( #7413 )
...
https://greenkeeper.io/
2016-09-23 13:58:11 +02:00
Hannah Wolfe
264661ee09
🐛 Refresh assetHash on theme override ( #7430 )
...
closes #7423
- Extend our dirty theme override cache clear hack to also reset the asset hash
_ This brings alpha into line with the LTS branch
- This still needs a rewrite for Ghost 1.0.0 🙄
2016-09-23 13:05:44 +02:00
Greenkeeper
fbf25b7653
chore(package): update moment to version 2.15.1 ( #7415 )
...
https://greenkeeper.io/
2016-09-23 13:04:48 +02:00
Aileen Nowak
f9ea55d57b
🛠 Gulp tooling for ghost
...
refs #7427
Use `gulp dev` to start development mode. Starts ember build and does livereload for client and server changes.
Use `gulp server` to start server development mode. Doesn't start ember build and livereloads for server changes only.
2016-09-22 18:01:26 +02:00
Hannah Wolfe
568b48fc5b
Version bump to 1.0.0-alpha.1
2016-09-20 16:39:30 +01:00
Hannah Wolfe
26efcc4936
Updated Ghost-Admin to 1.0.0-alpha.1
2016-09-20 16:39:30 +01:00
Hannah Wolfe
58c5b96b30
Merge pull request #7412 from TryGhost/playground
...
Refactored config, utf8mb4 support, and more alpha features
2016-09-20 16:33:21 +01:00
Hannah Wolfe
6a4c58073d
Update Ghost-Admin to 1.0.0-alpha.0
2016-09-20 15:59:34 +01:00
Katharina Irrgang
32a5982430
✨ utf8mb4 support ( #7409 )
...
closes #5519 , closes #6197
- default encoding is utf8mb4 instead of utf8
- support emojis
- read here why: http://dev.mysql.com/doc/refman/5.7/en/innodb-restrictions.html
- read here why: https://dev.mysql.com/doc/refman/5.5/en/charset-unicode-conversion.html
2016-09-20 15:59:34 +01:00
Hannah Wolfe
9a520f39fb
🎨 Preparation for going alpha ( #7404 )
...
- Don't let people start Ghost Alpha with non-alpha databases.
- Provide a new welcome message for development mode (a little bit of positive reinforcment)
- Provide a RED WARNING when in production mode (will still be used for developing, but we can ignore)
- Change package.json to 1.0.0-alpha.0, we won't relelase this, will bump to .1 for release
2016-09-20 15:59:34 +01:00
John O'Nolan
fa07cc7f52
Update readme for 1.0 😱 ( #7405 )
2016-09-20 15:59:34 +01:00
Austin Burdine
25a9b4aa3a
🔥 remove preinstall node version check ( #7403 )
...
no issue
- this is now handled in Ghost-CLI
2016-09-20 15:59:34 +01:00
kirrg001
8115d83782
🔥 remove postgres support
...
refs #1333 , refs #5878 , refs #5321
2016-09-20 15:59:34 +01:00
kirrg001
6275fdbb25
✨ 🔥 remove node 0.10 support, add node 6 support
...
refs #6899 , refs #7098
2016-09-20 15:59:34 +01:00
kirrg001
79bf09a7c1
🚨 fix admin_spec && module_spec
...
no issue
2016-09-20 15:59:34 +01:00
kirrg001
231fea4766
🎨 adaption from master merge
...
no issue
[ci skip]
2016-09-20 15:59:34 +01:00
kirrg001
6a97873f98
🎨 🔦 refactor content paths (images, apps, themes, storage, scheduling)
...
refs #6982
- create config util fn: getContentPath
- we can later let the user change the folder names in contentPath
- get rid of custom/default storage paths
[ci skip]
2016-09-20 15:59:34 +01:00
kirrg001
0487ac5a1b
🔥 🔦 we no longer keep config and configExample in config
...
refs #6982
- see https://github.com/TryGhost/Ghost/blob/master/core/server/config/index.js#L217
- remove tests for it
[ci skip]
2016-09-20 15:59:34 +01:00
kirrg001
66129ed9da
🔥 remove all config tests for file and deprecated config
...
refs #6982
[ci skip]
2016-09-20 15:59:34 +01:00
kirrg001
ef50c6a149
🎨 🔦 theme url is no longer defined in config
...
refs #6982
- it's for now defined where all theme properties get set: in api/settings.js
- it's not the best place, but for now the place where i think it makes the most sense
- see https://github.com/TryGhost/Ghost/blob/playground/core/server/api/settings.js#L63
[ci skip]
2016-09-20 15:59:34 +01:00
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