]> cat aescling's git repositories - mastodon.git/commit
Migrate from ledermann/rails-settings to rails-settings-cached which allows global...
authorEugen Rochko <eugen@zeonfederated.com>
Thu, 12 Jan 2017 19:46:24 +0000 (20:46 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 12 Jan 2017 19:46:24 +0000 (20:46 +0100)
commitb11fdc3ae3f90731c01149a5a36dc64e065d4ea2
treee00b27c1eb52f6186ac7cf9a72aaa359955d4ad2
parentbabc6a1528e2f7d777d81a972f2d50c58381f45e
Migrate from ledermann/rails-settings to rails-settings-cached which allows global settings
with YAML-defined defaults. Add admin page for editing global settings. Add "site_description"
setting that would show as a paragraph on the frontpage
20 files changed:
Gemfile
Gemfile.lock
app/assets/javascripts/application_public.js
app/assets/stylesheets/tables.scss
app/controllers/about_controller.rb
app/controllers/admin/settings_controller.rb [new file with mode: 0644]
app/controllers/settings/preferences_controller.rb
app/helpers/settings_helper.rb
app/lib/hash_object.rb [new file with mode: 0644]
app/models/setting.rb [new file with mode: 0644]
app/models/user.rb
app/services/notify_service.rb
app/views/about/index.html.haml
app/views/admin/settings/index.html.haml [new file with mode: 0644]
app/views/settings/preferences/show.html.haml
config/navigation.rb
config/routes.rb
config/settings.yml [new file with mode: 0644]
db/migrate/20170112154826_migrate_settings.rb [new file with mode: 0644]
db/schema.rb