Commit Graph

136 Commits (beta)

Author SHA1 Message Date
Vitaliy Filippov a1e873904f "Large Text Box (separate table)" field type 2018-03-28 14:44:30 +03:00
Vitaliy Filippov 8e13a0ff60 Do not remove visibility values the user cannot see in editvalues 2016-03-09 17:26:07 +03:00
Vitaliy Filippov 46b762fdce Change NUMERIC field type to DECIMAL(24,3) 2015-03-04 18:39:42 +03:00
Vitaliy Filippov 4f519ad5b6 Add specific UI for enabling/disabling empty versions and milestones 2015-01-29 18:10:45 +03:00
Vitaliy Filippov b9a144096f Do not try to check for values in DB for BUG_ID_REV fields 2015-01-15 16:28:03 +03:00
Vitaliy Filippov 8367b4cea4 Hide default_value editbox when creating BUG_ID_REV and select fields 2014-11-18 16:56:23 +03:00
Vitaliy Filippov 29e96c6eec Fix 0 visibility_value treating 2014-10-24 18:45:47 +04:00
Vitaliy Filippov 3d279cf2c4 Fix initial population of fielddefs table 2014-10-24 18:20:26 +04:00
Vitaliy Filippov d8492bf940 Fix custom field creation 2014-10-22 18:16:46 +04:00
Vitaliy Filippov f0d648ea1e Fix some compatibility with PostgreSQL
Also add varchar/text/bpchar operator class support
2014-10-20 16:55:25 +04:00
Vitaliy Filippov 9ff1527e13 Fix error when enabling visibility field 2014-10-07 15:00:57 +04:00
Vitaliy Filippov df5cd9c13e Fix update_visibility_values 2014-10-07 15:00:56 +04:00
Vitaliy Filippov 4f5bb35b3e Fix enable/disable classification error 2014-10-07 15:00:55 +04:00
Vitaliy Filippov 6425bfe311 Allow keywords to depend on other fields (for example product) 2014-10-07 15:00:54 +04:00
Vitaliy Filippov 33b65171e8 Do not use Field::Choice->check_visibility 2014-10-07 15:00:54 +04:00
Vitaliy Filippov 16a1c9d3f7 editfields.cgi: code style, remove CGI usage, warn on default/value field changes; editvalues.cgi: call update_control_lists 2014-10-07 15:00:53 +04:00
Vitaliy Filippov 810df2568a Make update_control_lists report changes 2014-10-07 15:00:52 +04:00
Vitaliy Filippov 1886faf627 Use editvisibility.cgi to enable/disable dependent values, not dependent fields 2014-10-07 15:00:31 +04:00
Vitaliy Filippov d18d3c8269 Remove components.default_version and allow to configure default version
using the generic field UI.

Also do not override remove_from_db of Field::Choice in some classes.
2014-10-07 14:58:17 +04:00
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