Commit Graph

117 Commits (eccb6bc9ebfc05571583edae7570d4ff5bb42a4d)

Author SHA1 Message Date
Vitaliy Filippov eccb6bc9eb Remove products.defaultmilestone and allow to configure default milestone using the generic field UI 2014-10-07 14:58:17 +04:00
Vitaliy Filippov 1453596813 Fix some upgrade errors 2014-10-07 14:58:17 +04:00
Vitaliy Filippov b1e2418b40 Use $field->value_type instead of Bugzilla::Field::Choice->type($field) 2014-10-07 14:58:17 +04:00
Vitaliy Filippov 1d566b366e Reorder methods of Bugzilla::Field, reformat and add some documentation 2014-10-07 14:58:17 +04:00
Vitaliy Filippov e8a545a69c Reorder standard fields, honor field sortkey in bug activity and bugmail 2014-10-07 14:58:17 +04:00
Vitaliy Filippov 152654312b Remove useXXX parameters and use $field->enabled instead;
Make Bugzilla object always accessible in templates;
Allow only specific tweaks for standard fields and show which ones are allowed in the UI.
2014-10-07 14:58:17 +04:00
Vitaliy Filippov 02050d63c6 Fix foreign key DELETE and UPDATE actions, fix user removal 2014-10-07 14:58:16 +04:00
Vitaliy Filippov 924dff1b2f Remove also percentage_complete and days_elapsed from fielddefs 2014-10-07 14:58:16 +04:00
Vitaliy Filippov b492478f7c Remove is_static, partially remove is_default impact 2014-10-07 14:58:16 +04:00
Vitaliy Filippov c059342976 Convert Keywords into a standard multi-select field 2014-10-07 14:58:16 +04:00
Vitaliy Filippov 139e289d51 Remove also owner_idle_time and attachments.submitter fields 2014-10-07 14:58:16 +04:00
Vitaliy Filippov cb58d0da87 Allow to use field names in email_in.pl, do not use CGI tie, use Bugzilla->input_params, fix some warnings 2014-10-07 14:58:16 +04:00
Vitaliy Filippov f75658a097 Delete also qacontact_accessible 2014-10-07 14:58:16 +04:00
Vitaliy Filippov 624d6551e1 Delete obsolete unused fields from fielddefs 2014-10-07 14:58:15 +04:00
Vitaliy Filippov 16716a544f Delete attach_data.thedata field 2014-10-07 14:58:15 +04:00
Vitaliy Filippov 4899654c43 Allow field values and flags to be controlled by an empty value 2014-10-07 14:58:15 +04:00
Vitaliy Filippov 736a4a0f01 Allow to delete fields with change history 2014-10-07 14:58:14 +04:00
Vitaliy Filippov eb96bfda90 Make all options visible for empty controlling value also in js 2014-10-07 14:58:14 +04:00
Vitaliy Filippov 86deae0270 Treat empty visibility value sets as "always invisible" instead of "always visible" 2014-10-07 14:58:14 +04:00
Vitaliy Filippov 82b268483c Add UI for editing visibilility/nullable/cloned/defaults from value pages 2014-10-07 14:58:14 +04:00
Vitaliy Filippov 04da6a883e Add UI for editing clone_field_id and associated values 2014-10-07 14:58:14 +04:00
Vitaliy Filippov c2c97c06af Add clone_field_id attribute, make enter_bug.cgi honor it, remove obsolete APIs field.new_choice and get_field_id 2014-10-07 14:58:14 +04:00
Vitaliy Filippov 5c035a5184 Bridge defaultXXX with fielddefs.default_value, use default values in Bugzilla::Bug ORM code 2014-10-07 14:58:14 +04:00
Vitaliy Filippov d0793c51a3 Add separate control fields for NULL and for default values 2014-10-07 14:58:14 +04:00
Vitaliy Filippov 67ba0de962 Use dependent default values on bug change form, use global default values on bug entry form 2014-10-07 14:58:14 +04:00
Vitaliy Filippov 74ecc3d2c5 Remove non-hash Bugzilla->fieldvaluecontrol, move dependent default values into a separate table, simplify bz_add_column 2014-10-07 14:58:14 +04:00
Vitaliy Filippov 4f20f1242c Allow to enable/disable empty version/milestone from the product page 2014-10-07 14:58:14 +04:00
Vitaliy Filippov ea03382e62 Allow NULL in products having "unspecified" versions 2014-10-07 14:58:13 +04:00
Vitaliy Filippov 79711e2cbd Make "dependent nullable" work in JS on bug form 2014-10-07 14:58:13 +04:00
Vitaliy Filippov 8d9b13decd Fixes for removed enter_bug flag; make "dependent nullable" working 2014-10-07 14:58:13 +04:00
Vitaliy Filippov 9d71d573e4 Make "nullable" property dependent on visibility field value 2014-10-07 14:58:13 +04:00
Vitaliy Filippov 54cee0e478 Remove fielddefs.buglist and fielddefs.enter_bug parameters 2014-10-07 14:58:13 +04:00
Vitaliy Filippov 65c15e5fd4 Allow empty version, convert "unspecified" versions to NULL 2014-10-07 14:58:13 +04:00
Vitaliy Filippov 4004bd0647 Fix DB update from 4.4 schema (at least for MySQL) 2014-10-07 14:58:13 +04:00
Vitaliy Filippov b3d853917e Show names of non-functional Bug URLs and Keywords types 2014-10-07 14:58:13 +04:00
Vitaliy Filippov 1d333cc0eb Use fielddefs.is_mandatory, like in upstream 2014-10-07 14:58:13 +04:00
Vitaliy Filippov d5e13b4a67 WIP BUG_ID reverse relationships (implementation different to upstream) 2014-10-07 14:58:12 +04:00
Vitaliy Filippov 68ff25fef5 Change field type values for compatibility with upstream 2014-10-07 14:58:12 +04:00
Vitaliy Filippov 4f6c16e830 Fix field editing form, move js out of template 2014-10-07 14:58:12 +04:00
Vitaliy Filippov 08b8ccfcdc Remove attachments.isurl like in upstream 2014-10-07 14:58:12 +04:00
Vitaliy Filippov 0b87f00ac8 Remove separate _notsubstring implementations :-(, rename "flag types" to "flags and requests" 2014-05-27 15:12:53 +04:00
Vitaliy Filippov 1a5bbe5f03 Optimize field and choice check_visibility(), allow component objects to be set, remove some duplicated code 2014-05-26 17:21:29 +04:00
Vitaliy Filippov 74ec807280 Fix editing default milestone for products 2014-05-21 17:53:50 +04:00
Vitaliy Filippov 255264b564 always nullable for non-single-selects 2014-05-16 18:52:40 +04:00
Vitaliy Filippov 7ec8a7d39f Some more fixes for ID fields, fix field list style 2014-05-16 18:52:39 +04:00
Vitaliy Filippov afab51d7ed Bugzilla::Field code style, remove surrogate null values during DB update, some more code fixes 2014-05-16 18:52:39 +04:00
Vitaliy Filippov 6063bc2f0f Add correct DB updates - change all IDs to INT4, change select fields to store IDs 2014-05-16 18:52:39 +04:00
Vitaliy Filippov e7a124e4b9 Move new preferences and DB updates into core 2014-05-16 18:52:38 +04:00
Vitaliy Filippov 7fdbfd5fa3 Reworking of Bugzilla::Bug persistence code mostly finished 2014-05-16 18:52:10 +04:00
Vitaliy Filippov 5443865ca5 WIP refactoring of "ORM" kernel of Bugzilla via merging validators and setters 2014-05-16 18:52:10 +04:00