Hannah Wolfe
b902f8109c
Renaming default to defaultValue as default is reserved
2013-09-14 22:39:31 +01:00
Hannah Wolfe
9fcc0a6ed6
Renamed currentVersion setting to databaseVersion to avoid confusion with software version
2013-09-14 22:13:59 +01:00
Hannah Wolfe
70824a247f
Merge branch 'migrations-003' into new-version
...
Conflicts:
.gitignore
config.example.js
core/server/models/post.js
package.json
2013-09-14 19:15:04 +01:00
Hannah Wolfe
0b1ffcd1f5
Updating settings types
...
- issue #573 , issue #632
2013-09-14 19:04:41 +01:00
Adam Howard
3823d10c35
Restructure default-settings.json and add validations to important settings.
2013-09-14 14:29:27 +01:00
Sebastian Gierlinger
8d16b20c49
Remove path from activeTheme
...
no issue
- obvious
2013-09-11 19:51:56 +02:00
Hannah Wolfe
687d7ed72d
Changing icon setting to cover in defaults
...
issue #571
- forgot to do this
2013-09-10 20:05:35 +01:00
Sebastian Gierlinger
d9fb23496c
Clean up config (non-env based settings)
...
closes #625
- removed defaultLang, forceI18n and activePlugins from config
- added values to default-settings.json
- updated to use values from settings
2013-09-06 18:46:50 +01:00
Sebastian Gierlinger
27ba9289d6
Add setting for posts per page
...
closes #593
- added default setting of 6 posts per page
- added posts per page to settings page
- added limit to frontend.js (setting does not change API behavior)
2013-09-05 14:56:09 +02:00
Adam Howard
e24b5c3382
Proper settings infrastructure, allowing new features without compromising old data.
...
On server load, check for settings which have not been set, and apply a default value to the settings table from a JSON file.
2013-09-03 22:56:34 +01:00