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
Vitaliy Filippov
e285ca0510
WIP refactoring code bomb:
...
- Do not use CGI in process_bug.cgi
- Use the same type INT4 for all ID fields
- Store all single-select fields as IDs, not as names in bugs table
2014-05-16 18:52:07 +04:00
vfilippov
94fd88d7f6
Bug 149369 - Fix and rewrite editvisibility.cgi
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1951 6955db30-a419-402b-8a0d-67ecbb4d7f56
2014-04-02 11:10:21 +00:00
vkoptev
f2ef970338
Bug 138036 - Fix remove info about visibility custom field in product when update values set
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1858 6955db30-a419-402b-8a0d-67ecbb4d7f56
2013-11-07 10:44:17 +00:00
vfilippov
d87bcfcf98
Bug 137178 - Fix crash in case of a custom field whose visibility depends on other custom field
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1854 6955db30-a419-402b-8a0d-67ecbb4d7f56
2013-10-23 13:12:34 +00:00
vfilippov
8b407b4343
Bug 75225 - Fix field caching (do not cache filtered lists), do sort in Perl instead of SQL
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1798 6955db30-a419-402b-8a0d-67ecbb4d7f56
2013-09-13 14:54:14 +00:00
vfilippov
7f5e1ccb53
Bug 129375 - Add if() check for filters, better default value code
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1797 6955db30-a419-402b-8a0d-67ecbb4d7f56
2013-09-13 14:10:44 +00:00
vkoptev
2eee28a604
Bug 91153 - вынес выборку дефолтных значений контролируемых полей в Bugzilla::Field
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1739 6955db30-a419-402b-8a0d-67ecbb4d7f56
2013-07-23 07:48:05 +00:00
vkoptev
b6114771d2
Bug 91153 - add interface for setting default values for custom fields
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1710 6955db30-a419-402b-8a0d-67ecbb4d7f56
2013-07-03 14:39:59 +00:00
vfilippov
7a47c4cc6c
Bug 128357 - Мелкие красивости по предыдущему коммиту
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1702 6955db30-a419-402b-8a0d-67ecbb4d7f56
2013-07-01 15:14:37 +00:00
vkoptev
b36346618d
Bug 128357 - добавил интерфейс выбора наборов значений Custom полей по значениям контролирующего поля
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1701 6955db30-a419-402b-8a0d-67ecbb4d7f56
2013-07-01 14:42:45 +00:00
vfilippov
dc2ebb8194
Bug 94419 - Fix "isactive" behaviour on custom fields
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1512 6955db30-a419-402b-8a0d-67ecbb4d7f56
2012-02-17 10:49:15 +00:00
vfilippov
d60a06ebad
Bug 90854 - External URL type
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1474 6955db30-a419-402b-8a0d-67ecbb4d7f56
2011-12-19 13:11:45 +00:00
vfilippov
7017896252
Bug 88525 - Fix for "static" values (---)
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1441 6955db30-a419-402b-8a0d-67ecbb4d7f56
2011-10-24 12:17:30 +00:00
vfilippov
50a28a8f4a
Bug 88525 - Fix for "static" values (---)
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1440 6955db30-a419-402b-8a0d-67ecbb4d7f56
2011-10-24 12:16:25 +00:00
vfilippov
effbc1d95e
Bug 54779 - Add indent near Look for bug in ..., disallow selection of component/version/target_milestone as the visibility controller field
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1434 6955db30-a419-402b-8a0d-67ecbb4d7f56
2011-10-20 13:46:54 +00:00