Commit Graph

62 Commits (8ee762662858dc92e2b08f9a90e7f059e6b08ea9)

Author SHA1 Message Date
Jens Ulferts 01bbc0face
harmonize settings#value to not be AC::Params 8 years ago
Jens Ulferts 9cef3656bf
replace deprecated table_exists 8 years ago
Jens Ulferts 3ee5c4edb6 clear cache before firing the settings callback 8 years ago
Oliver Günther 4353953605 Improve stored settings as a whole 8 years ago
Cyril Rohr f27bce492a Add tests for new methods to configure email settings 9 years ago
Alex Coles 57618b25ec Replace dynamic finder usages with #find_by, etc. 9 years ago
Alex Coles ef4285bc0c Kill deprecated Setting.*_cache methods 10 years ago
Alex Coles e0191e759c Update year in copyright header to 2015 10 years ago
Alex Coles 1d1ec0ef37 Prefer #map over #collect in (Rails) models 10 years ago
Alex Coles 6fe9535b1f Fix syntax (w/Rubocop) in (Rails) models 10 years ago
Alex Coles 721101ed25 Use 1.9+ Hash syntax in (Rails) models 10 years ago
Alex Coles c12410a736 Fix whitespace in (Rails) models 11 years ago
Martin Linkhorst 1ce4d30b1b remove openid remains 11 years ago
Martin Linkhorst f0b1df9e07 based the settings callbacks on OP::Notifications 11 years ago
Martin Linkhorst dda5226dff fire callbacks only when setting was stored sucessfully 11 years ago
Alex Coles d872d91d0d Fix typos, spelling in model comments 11 years ago
Martin Linkhorst c9effc5b6b implements callbacks for settings 11 years ago
Johannes Wollert 8b096975fe updates copyright headers 11 years ago
Michael Frister eda857d75b Settings: Cache whether settings table exists 11 years ago
Stefan Frank bcabf75ffe Added the request-store, to make sure that thread-local variables are cleaned up after the request 11 years ago
Stefan Frank 1a9e536852 Stores the Setting.maximum(:updated_on) in a thread-local-variable 11 years ago
Philipp Tessenow a1e67dd460 new copyright header #1903 11 years ago
Philipp Tessenow a17951d220 when there is not settings table return nil when asked for a setting 11 years ago
Philipp Tessenow 220bc5eb38 more robust settings in pre-merge phase 11 years ago
Michael Frister 4ec8ebd8d9 Add exists? method to Setting 11 years ago
Sebastian Schuster c1724649a3 Removed regexp matching delete of cache entries 11 years ago
Jens Ulferts 21459a384f provide every possible file with a short copyright notice 12 years ago
Martin Linkhorst a860d6979a change the way the cache gets invalidated when a setting value is changed. now deletes all cache keys containing the setting's name 12 years ago
Martin Linkhorst 02e58ee814 put possible values for available settings into a lambda block because available_settings class variable can change at runtime (was different before) 12 years ago
Martin Linkhorst e5e2202707 do not register plugin settings at load time. this commit registers plugin settings, when they are registered. 12 years ago
Martin Linkhorst b445387e7a do not register plugin settings at load time. this commit registers plugin settings, when they are registered. 12 years ago
Martin Linkhorst ccc88aea0b DEPRECATION FIX: remove RAILS_ROOT in favor of Rails.root.to_s 12 years ago
Martin Linkhorst dbb1f10d6b fix: use old version instead 13 years ago
Martin Linkhorst 3c5aaeeb77 localize email headers and footers based on I18n.fallbacks 13 years ago
Romano Licker 17810216b0 having a fix call order resolves a problem where 13 years ago
Romano Licker d2d21388ae having a fix call order resolves a problem where 13 years ago
Martin Linkhorst 41bc805585 control headers and footers of emails in all languages 13 years ago
Gregor Schmidt d76fd8e499 [#780] using a changing cache key to avoid the need for explicit cache invalidation 13 years ago
Holger Just 91070236db Set source encoding to UTF-8 13 years ago
Eric Davis f47821db0c [#350] Remove freeze from Settings so the values can be modified later 14 years ago
Holger Just 07185fb169 [#436] Remove trailing whitespace 14 years ago
Eric Davis 99507a0391 [#197] Upgrade the copyright in the code files 14 years ago
Eric Davis e131c3b531 [#197] Remove old copyrights 14 years ago
Eric Davis e4fac8d40f [#350] Refactor: extract method 14 years ago
Felix Schäfer c51a32ac23 Use Rails.cache to cache application settings. #350 14 years ago
Toshi MARUYAMA 5ad7dfee4a scm: add CP932 at Setting::ENCODINGS (#2664, #2274). 14 years ago
Eric Davis 4a67c211ca Fixed a nil method error in Setting#value= 15 years ago
Jean-Philippe Lang 9525e5f147 Fixes Setting.openid? (#2764). 16 years ago
Jean-Philippe Lang ff9da0bab0 Removes the fat ruby-openid gem. Simply use 'gem install ruby-openid' to enable openid support. 16 years ago
Jean-Philippe Lang fefc6e6bec Adds .find and .all Plugin class methods. 16 years ago