Commit Graph

50 Commits (3afc77693a720855eb08683c7546639b71dc75e2)

Author SHA1 Message Date
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
Jean-Philippe Lang 0cf15476a3 Adds support for commit logs reencoding to UTF-8 before insertion in the database (#834, #917, #1663). 16 years ago
Jean-Philippe Lang 79f92a675a User display format is now configurable in administration settings. 17 years ago
Jean-Philippe Lang 9a1b46fe42 New setting added to specify how many objects should be displayed on most paginated lists. 17 years ago
Jean-Philippe Lang e4ce95c3a1 Added a couple of new formats for the 'date format' setting. 17 years ago
Jean-Philippe Lang e4f0864e3a Basic plugin support. 17 years ago
Jean-Philippe Lang 31eda0fcb2 Fixed setting value serialization. 17 years ago
Jean-Philippe Lang 25012efc9c Fixed: Oracle error when saving serialized setting (eg. mail notifications) 17 years ago
Jean-Philippe Lang 23264ec3eb Mail notification options restored (default is: issue_added and issue_updated). 17 years ago
Jean-Philippe Lang 6bdc13b33d Added cache for application settings (Setting model). 17 years ago
Jean-Philippe Lang 7eb6471559 Added autologin feature (disabled by default). 18 years ago
Jean-Philippe Lang c1537b5291 * fixed a variable name error in Setting 18 years ago
Jean-Philippe Lang 0b4d4db131 settings are now stored in the database (config_custom.rb no more used) and editable through the application in: Admin -> Settings 18 years ago