Commit Graph

95 Commits (655d27d543130fa472013a168efe99556b0f6c74)

Author SHA1 Message Date
Vitaliy Filippov a608641a2b Always add at least one bug to INSERT statement 2016-12-22 22:00:32 +03:00
Vitaliy Filippov a8e11f918e Move report generation logic to Bugzilla::Report, support reports in whines 2016-08-03 00:32:35 +03:00
Vitaliy Filippov 4ad3e1d881 Add "bypass group" parameter to Checkers 2016-01-25 18:19:14 +03:00
Vitaliy Filippov c40b798345 Use INT4 for all sortkeys 2015-09-15 12:57:42 +03:00
Vitaliy Filippov 1433ff9073 Add sortkey for versions 2015-09-07 15:54:51 +03:00
Vitaliy Filippov 4007127c51 Oops, fix db upgrade bug 2015-06-09 17:59:51 +03:00
Vitaliy Filippov 46b762fdce Change NUMERIC field type to DECIMAL(24,3) 2015-03-04 18:39:42 +03:00
Vitaliy Filippov 2156b0f9d7 Also fix null_values during update 2014-11-19 17:17:48 +04:00
Vitaliy Filippov 303c598bb4 Fix DB update, fix warning in Bugzilla::Search 2014-11-13 18:47:32 +04:00
Vitaliy Filippov c4c2ec3378 SQLite support, including EXPLAIN and FTS4 fulltext search 2014-11-10 12:11:03 +03:00
Vitaliy Filippov 1fdffacf00 Remove useless indexes on bugs_activity, fix count(*) from attach_data 2014-11-08 02:00:40 +03:00
Vitaliy Filippov 43f82e191c Fix indexes while doing DB updates
* Fix indexes while renaming keyworddefs
* Remove _visibility_value_id indexes when dropping visibility_value_id column from field tables
2014-10-30 02:10:16 +03:00
Vitaliy Filippov dbfe3c1520 Fix field_defaults populating error 2014-10-23 17:22:30 +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 59bc1dc86a Bugzilla::Chart, Bugzilla::Series, chart.cgi: remove CGI usage 2014-10-07 18:24:25 +04:00
Vitaliy Filippov f3ca192828 Store flagtypes.cc_list as user IDs in separate table 2014-10-07 15:00:53 +04:00
Vitaliy Filippov 8e99b96c7c Remove bug/create/user-message.html.tmpl template, add entryheaderhtml param and product property 2014-10-07 15:00:53 +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 5f999b339f Alter the rest of integer fields to be INT4, remove sub Bugzilla->COLUMNS, add BIGSERIAL type 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 339ea6a213 Use field definitions from abstract schema when doing most bz_add_column and bz_alter_column 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 c059342976 Convert Keywords into a standard multi-select field 2014-10-07 14:58:16 +04:00
Vitaliy Filippov 9fb94e333a Make cc_group store group id, not name 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 bc81b6894c Remove defaultXXX params -- now default value is a property of field 2014-10-07 14:58:15 +04:00
Vitaliy Filippov 620531c4b9 Move OS and Platform guessing regexps into DB and allow to edit them 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 86deae0270 Treat empty visibility value sets as "always invisible" instead of "always visible" 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 3a45e17953 Copy default versions into field_defaults 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 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 ea03382e62 Allow NULL in products having "unspecified" versions 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 1d333cc0eb Use fielddefs.is_mandatory, like in upstream 2014-10-07 14:58:13 +04:00
Vitaliy Filippov 3d9d70d18c Migrate upstream 4.x field_visibility into our fieldvaluecontrol 2014-10-07 14:58:12 +04:00
Vitaliy Filippov 5a6ac62d9e Remove upstream fielddefs.is_numeric field 2014-10-07 14:58:12 +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 e1a6bb97af Various small schema changes 2014-10-07 14:58:12 +04:00
Vitaliy Filippov 5548f1d0a1 Add profiles.is_enabled, profiles.last_seen_date columns, like in upstream 2014-10-07 14:58:12 +04:00
Vitaliy Filippov a9d629ea72 Allow to disable old versions/milestones, rename components.is_active to components.isactive, like in upstream 2014-10-07 14:58:12 +04:00
Vitaliy Filippov 72bfb7423b Remove bugs.keywords column like in upstream 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