Commit Graph

95 Commits (c13394637d296dd8fb7845754775f3e07526f2c3)

Author SHA1 Message Date
Mohamed Wael Khobalatte 0e72ec4243 Move to ruby1-9 syntax once and for all 9 years ago
Mohamed Wael Khobalatte 972b04d86e Refactor to allow for strong params 9 years ago
Alex Coles 07551ae585 Switch to new AR API for boolean typecasting 9 years ago
Jan Sandbrink a64209967e extract order_statements out of CustomField 9 years ago
Jan Sandbrink 04895aeffb ensure sortability of all user columns 9 years ago
Jan Sandbrink fe57ba7eda reformat SQL 9 years ago
Alex Coles 7cb1e43d53 Restore CustomField.for_all include option 9 years ago
Alex Coles 064d66449a Migrate AR finder/query methods in models 9 years ago
Alex Coles df51b6ed99 Fix syntax (w/Rubocop) in (Rails) models 9 years ago
Alex Coles 57618b25ec Replace dynamic finder usages with #find_by, etc. 9 years ago
Alex Coles 507bfc12bc Prune unnecessary option on CustomField translates 10 years ago
Alex Coles d060e654a5 Use vanilla Rails validations for CustomField#name 10 years ago
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