Commit Graph

78 Commits (e1a6bb97afb8bda2a48932463907f5cba9bd9bce)

Author SHA1 Message Date
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
vfilippov 79bf0e0fb5 Bug 86642 - Add dup_id field to search
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1385 6955db30-a419-402b-8a0d-67ecbb4d7f56
2011-09-26 20:36:56 +00:00
vfilippov 05730a6b7f Bug 75890 - Change lsearch() to grep()
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1362 6955db30-a419-402b-8a0d-67ecbb4d7f56
2011-09-05 13:46:57 +00:00
vfilippov c4982b35f1 Bug 70605 - Fix fields in Excel import
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1321 6955db30-a419-402b-8a0d-67ecbb4d7f56
2011-08-02 10:56:32 +00:00
vfilippov 495919229f Bug 70605 - Fix timestamp columns format, fix buglist field of Fields
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1317 6955db30-a419-402b-8a0d-67ecbb4d7f56
2011-07-27 14:35:30 +00:00
vfilippov 0752e18573 Bug 81185, Bug 70605 - very global Bugzilla Search optimisation. See http://wiki.4intra.net/Bugzilla-Search for details
Bug 63855 - Fix quicksearch


git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1295 6955db30-a419-402b-8a0d-67ecbb4d7f56
2011-07-20 12:48:26 +00:00
vfilippov 035e41151c Bug 81724 - Hide custom fields in search when they are irrelevant for queried controlled fields
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1282 6955db30-a419-402b-8a0d-67ecbb4d7f56
2011-06-22 16:08:11 +00:00
vfilippov a067865a99 Bug 80584 - Always display user match confirmation page, even when creating bug or attachment; fix field value checking for invisible fields; fix combobox code
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1267 6955db30-a419-402b-8a0d-67ecbb4d7f56
2011-05-24 15:59:11 +00:00
vfilippov 842b98f0b3 Bug 78900 - Fix restricted_legal_values
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1250 6955db30-a419-402b-8a0d-67ecbb4d7f56
2011-04-15 15:30:20 +00:00
vfilippov 762c2f7018 Bug 74028
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1223 6955db30-a419-402b-8a0d-67ecbb4d7f56
2011-02-16 17:03:46 +00:00
vfilippov 148c136e08 Bug 74028 - Preserve sort order of dependent fields respecting id-name mapping, change "add product" link to "add product to this classification", touch fields on product, component, version, milestone changes
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1222 6955db30-a419-402b-8a0d-67ecbb4d7f56
2011-02-16 17:02:17 +00:00
vfilippov 2324516ea3 Bug 73054 - Allow to add fields of FIELD_TYPE_BUG_ID to dependencies
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1168 6955db30-a419-402b-8a0d-67ecbb4d7f56
2010-12-13 17:08:25 +00:00
vfilippov 069316e095 Bug 70605 - debug field cache
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1164 6955db30-a419-402b-8a0d-67ecbb4d7f56
2010-12-10 19:14:39 +00:00
vfilippov 21f46cb467 Bug 70605 - Fix field caching
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1162 6955db30-a419-402b-8a0d-67ecbb4d7f56
2010-12-10 18:02:52 +00:00