[SQL optimizations] - many small optimizations
wip audits upgrade
code smell
WIP rails3 migration
fixes #1332 'setting puppet_interval to zero gives division by zero in the dashboard'
Signed-off-by: Florian Koch <florian.koch1981@googlemail.com>
Feature #1184 - allow to save array based settings
this also moves the setting page to use inline edit
fixes #1167 - some setting values are ignored
refs #1050 removing model level authorization from settings table
this seems more trouble than its worth, as settings needs to bechecked/updated every time foreman is starting.
this leads to potenitail issue when login is enabled, or the admin user is missing etc...
fixes #1050 - Foreman settings should not be viewed/edited by non admin user
splitted setting default data from the migrationthis allows to add new data and modify its defaultsimproved settings UI a bit morerefs #100
fixes #100 - Setting is now a ActiveRecord object
This allows users to manage foreman settings via the UI.
the UI is a bit ugly, but works :)