0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server
Katharina Irrgang fd0a08ae8c 🎨 make sqlite filename absolute (#7585)
no issue

- add tests for makePathsAbsolute
- add support for windows paths

When Ghost-CLI inits the database of the current GhostVersion (in /current), then it uses knex-migrator to do that.
Knex migrator is reading the .knex-migrator file of the current Ghost version. This returns a relative path to the database location.
The problem: knex-migrator will init the database in the root folder of Ghost-CLI /content/data instead of /current/content . And when you start Ghost (ghost start), it always complains that
that database is not initialised, because it expects the database in /current/content...

* 🎨  move config_spec to config/index_spec
- add one more test case
2016-10-18 09:04:44 +01:00
..
admin 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
api 🎨 one token endpoint (#7571) 2016-10-17 12:45:50 +02:00
apps 🐛 Subscribers: validate urls (#7540) 2016-10-14 16:31:20 +02:00
auth 🎨 one token endpoint (#7571) 2016-10-17 12:45:50 +02:00
blog 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
config 🎨 make sqlite filename absolute (#7585) 2016-10-18 09:04:44 +01:00
controllers/frontend 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
data knex migrator (#7565) 2016-10-17 13:50:29 +01:00
events post-scheduling 2016-06-14 10:52:13 +02:00
helpers 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
logging 🐛 logging: error output format (#7546) 2016-10-11 19:03:14 +01:00
mail 🎨 change how we get and set config 2016-09-20 15:59:34 +01:00
middleware 🎨 one token endpoint (#7571) 2016-10-17 12:45:50 +02:00
models add isPasswordCorrect fn to User Model (#7573) 2016-10-14 18:46:22 +01:00
permissions Error creation (#7477) 2016-10-06 13:27:35 +01:00
scheduling 🎨 fetch all scheduled posts on bootstrap (#7567) 2016-10-14 13:39:10 +01:00
storage Error creation (#7477) 2016-10-06 13:27:35 +01:00
themes 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
translations 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
utils 🎨 gravatar lookup in saving hook (#7561) 2016-10-14 15:37:40 +01:00
views Switch to new native system font stack (#7219) 2016-08-18 20:29:46 +01:00
app.js 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
errors.js migrations: seeding is part of init db task (#7545) 2016-10-12 16:18:57 +01:00
filters.js
ghost-server.js Error creation (#7477) 2016-10-06 13:27:35 +01:00
i18n.js improvement: general fixes 2016-06-01 07:07:20 +02:00
index.js 🎨 add knexMigratorFilePath for knex-migrator initialisation (#7583) 2016-10-17 16:10:14 +01:00
overrides.js 🛠 update lodash,knex and bookshelf to latest versions 2016-09-26 10:20:55 +02:00
update-check.js Misc Middleware cleanup (#7526) 2016-10-10 21:14:32 +02:00