Commit Graph

72 Commits (c07bcc077b96dc287bcce914f3e69b1cd53e97e2)

Author SHA1 Message Date
Alex Coles c695ca4ea8 Fix whitespace in (Rails) models 10 years ago
Jonas Heinrich 6a2cae0385 fixes validation of min_length, max_length 10 years ago
Jonas Heinrich 95041b3d11 adds consistency to hash syntax 10 years ago
Jonas Heinrich f8ae39b9bb adds validation for min-max length 10 years ago
slawa 1edf969ca7 Add also validation for name value length 11 years ago
slawa f11be51215 Custom validator to check the presence of custom field name. 11 years ago
slawa a2cf6871d0 Add also validation for name value length 11 years ago
slawa fd0f497c28 Custom validator to check the presence of custom field name. 11 years ago
Alex Coles 56947695e1 Fix typo in CustomField validation method 11 years ago
Johannes Wollert 8b096975fe updates copyright headers 11 years ago
Hagen Schink c67c5d39bf Simplifies method implementation 11 years ago
Hagen Schink 1fc5b8c1b9 Handles missing translations correctly 11 years ago
Hagen Schink ea4f34b575 Adds custom value locale 11 years ago
Hagen Schink da4a9dc6e5 Returns the custom field's localization 11 years ago
Philipp Tessenow 71043d0d2f whitelist params for custom_fields 11 years ago
Markus Kahl 60a14e8c44 fixed CustomField#for_all 11 years ago
Markus Kahl 50ff5f6ecb eager load all the things in projects/planning_element_custom_fields 11 years ago
Philipp Tessenow 444546e2e8 use \A and \z instead of ^ and $ in ruby regexes 11 years ago
Philipp Tessenow a1e67dd460 new copyright header #1903 11 years ago
Hagen Schink 2c2c1f8a3e Handle different change column names 12 years ago
Hagen Schink 82d2400cf0 Let issues work via STI 12 years ago
Jens Ulferts 21459a384f provide every possible file with a short copyright notice 12 years ago
Philipp Tessenow d0a849c9d2 CustomField#possible_values now takes locale options as :locale => :de instead of just :de 12 years ago
Martin Linkhorst 2d2851b2d7 self.translated_attributes will only find persisted translations. therefore translations not yet persisted will be added manually. 12 years ago
Martin Linkhorst 857d4eaa8c manually implement validates_presence_of :some_translated_attribute and :scope 12 years ago
Martin Linkhorst 366b994407 match the new active record initializer signature when overwriting 12 years ago
Martin Linkhorst 71fe49e862 DEPRECATION FIX: use validate :method_name instead of overwriting the validate method 12 years ago
Martin Linkhorst b5a902c795 re-add the missing return values since they do matter 12 years ago
Martin Linkhorst 4bac41749b DEPRECATION FIX: use before_validation :method_name instead of overwriting the before_validation method 12 years ago
Jens Ulferts 4aacbc4b8d requires nested translations attributes on custom fields to have locale + non blank values 12 years ago
Jens Ulferts 171a3e3d2b passes an empty hash to globalize3 on custom_field#possible_values if no other object is provided 12 years ago
Jens Ulferts d23af80e70 enabling calling custom_fields#new 12 years ago
Jens Ulferts 8994831cda Revert "REVIEW: deactivates custom_fields#possible_values translation overrides" 12 years ago
Jens Ulferts 3c3571a99f REVIEW: deactivates custom_fields#possible_values translation overrides 12 years ago
Jens Ulferts 808f24d905 really setting the custom_field as beeing not required temporarily 13 years ago
Jens Ulferts 20b216247c fallbacks are necessary on validation as they are also used later on 13 years ago
Felix Schäfer 2e81aee28b We don't allways want I18n fallbacks 13 years ago
Jens Ulferts 0c6ddd8030 adding comment 13 years ago
Jens Ulferts 1d1f923306 fixing minor bugs in custom_field: 13 years ago
Jens Ulferts 13813195e9 moving validates_uniqueness_of patch for globalized models into initializers 13 years ago
Jens Ulferts 911682f55c validate default_value in every provided locale 13 years ago
Jens Ulferts 4e07a913c9 possible_values of custom_fields are now localizable 13 years ago
Jens Ulferts 74c9bc2896 enabling default_value of custom_fields to be localized by admins 13 years ago
Jens Ulferts 7178c1b3b7 enabling name attribute of custom_fields to be localized by admins 13 years ago
Holger Just 91070236db Set source encoding to UTF-8 13 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
Jean-Philippe Lang 8fae4e2ee5 Fixes #possible_values_options when given an object with nil project. 14 years ago
Jean-Philippe Lang d8fbdca760 Adds User and Version custom field format that can be used to reference a project member or version in custom fields (#2096). 14 years ago