Commit Graph

110 Commits (06727971adf42f4722d6f570d813472c2f535055)

Author SHA1 Message Date
Jens Ulferts 9a347d7e83
move CustomFieldFormat to OpenProject namespace 8 years ago
Jens Ulferts 9a7f775edb
code prettification for custom_value 8 years ago
Jens Ulferts 9dd85aba86
remove remnants of globalized cfs 8 years ago
Jens Ulferts ec95cbc5ad
remove remnants of cf translations 8 years ago
Oliver Günther 93dcd386f4
Remove usage of CF translations 8 years ago
Oliver Günther b93b088940
Remove globalize, name_locales for custom fields 8 years ago
Markus Kahl c25a85cd5a display and edit user multi select 8 years ago
Markus Kahl f5a57e3f42 list custom field normalisation and multi select 8 years ago
Oliver Günther 7cf11bb689 Update copyright notice 8 years ago
Jens Ulferts 4835780cab
styles 8 years ago
Jens Ulferts c3013d6272 lazy load query filters and extract them into classes 8 years ago
Jens Ulferts b129f14079
replace removed method AR method #type_cast_from_database 8 years ago
Jens Ulferts ffc4737ada
no longer pass two attributes to ActiveRecord::Base#initialize 8 years ago
Oliver Günther dcc031dbcf Pass project to custom field context in bulk mode 9 years ago
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 10 years ago
Alex Coles 064d66449a Migrate AR finder/query methods in models 10 years ago
Alex Coles df51b6ed99 Fix syntax (w/Rubocop) in (Rails) models 10 years ago
Alex Coles 57618b25ec Replace dynamic finder usages with #find_by, etc. 10 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