Commit Graph

82 Commits (bc4fb9521734486f2c55a16b046fc04107a2185f)

Author SHA1 Message Date
Jan Sandbrink 88107362b1 enhance PSQL compatibility of cast_value 10 years ago
Jan Sandbrink 9986466e15 use direct CF accessors in CF injector 10 years ago
Jan Sandbrink 5ba53b49b9 various small fixes 10 years ago
Jan Sandbrink 2fb0e370ad only perform validation if it is possible 10 years ago
Jan Sandbrink 0be2c94e49 update method doc 10 years ago
Jan Sandbrink ac655ac789 validate user and version custom fields 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 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