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
Vitaliy Filippov
336ca0b08e
- Fix bug cloning
...
- Fix filling of dependent fields on bug entry form
- Do not set values directly into $vars in enter_bug.cgi
- Remove dynamic visibility_value_id code from field creation form
(enter_bug.cgi still operates names, not IDs)
2014-05-16 18:52:09 +04:00
Vitaliy Filippov
30514a4833
Show/hide fields only by JS, do not attempt doing it from template (fixes bug entry form)
2014-05-16 18:52:09 +04:00
Vitaliy Filippov
2ab86b6235
* Remove saving _old_* in Bugzilla::Bug
...
* Remove some useless setters
* Remove see_also validation hardcode
* Move added fielddefs db columns from "extension" (that is not really an extension) into "core"
* Add clone_bug information for standard fields
TODO: Copy _old_self before updating anything
TODO: Fix enter_bug.cgi and bug cloning (does not work now)
2014-05-16 18:52:09 +04:00
Vitaliy Filippov
2099308562
Fix "Edit Multiple", use bug/field template for all select fields in it
2014-05-16 18:52:09 +04:00
Vitaliy Filippov
f6ba0fc1a9
Fix multiselects
2014-05-16 18:52:08 +04:00
Vitaliy Filippov
0af790c826
Refactor field create/edit templates, allow to edit nullable property
2014-05-16 18:52:08 +04:00
Vitaliy Filippov
ed744fab39
Convert value ids to names on the bug form (ugly, but already works)
2014-05-16 18:52:08 +04:00
Vitaliy Filippov
f7aac869dc
Move fieldvaluecontrol generation into a separate procedure
2014-05-16 18:52:08 +04:00
Vitaliy Filippov
1cd3cae485
Add nullable property for fields
2014-05-16 18:52:08 +04:00
Vitaliy Filippov
b2d8118048
Remove duplicate get_legal_field_values() API
2014-05-16 18:52:07 +04:00
Vitaliy Filippov
c9e2139fbf
Remove --- used as NULL surrogate
2014-05-16 18:52:07 +04:00