Commit Graph

76 Commits (a8e11f918e548c928e28d0185b5d5277805e3d70)

Author SHA1 Message Date
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 74362458d6 fieldvaluecontrol delete cascade 2015-01-29 17:02:18 +03:00
Vitaliy Filippov 921388813f Make contrib/bzdbcopy.pl actually work with anything other than Pg,
independent of current localconfig.

Never use Bugzilla->dbh in Bugzilla::DB::Schema, store and use $self->{dbh} instead.
2014-11-10 12:12:39 +03: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 50cc4dc6ff Fix incorrectly removed user_group_map.user_id field
(follow-up to 96b0e9eed552f416fc9425508147c145c5052a48)
2014-10-24 18:20:25 +04:00
Vitaliy Filippov 7371d031b1 Remove leftover bug_keywords FK name hack 2014-10-23 17:38:42 +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 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 22a6a0e369 Move custis-specific code to/from extension
Move to core:
* Mail log
* Bugzilla::Checker
* MediaWiki link parsing
* Filtering HTML part of incoming email
* Adding comment to a cloned bug

Move to extension:
* scrum_cards table
2014-10-07 15:00:30 +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 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 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 cb7ddc4331 Refactor result reporting, move the rest of ORM code from process_bug.cgi to actual ORM class 2014-10-07 14:58:16 +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 92d5b55e4f Remove non-working and useless locking of keys/values of DB schema 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 82b268483c Add UI for editing visibilility/nullable/cloned/defaults from value pages 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 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 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
Julien Heyman 78942517ad Bug 319598: Add support for saved tabular and graphical reports
(cherry-pick cc2fadc573 with modifications)

Conflicts:
	Bugzilla/User.pm
	template/en/default/global/messages.html.tmpl
	template/en/default/global/useful-links.html.tmpl
	template/en/default/global/user-error.html.tmpl
	template/en/default/reports/report.html.tmpl
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 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
Vitaliy Filippov 7096776c68 Set maximum length limit for most varchars
(VARchars are VARiable length, so it's pointless to set small length limit for them!)
2014-05-28 15:15:03 +04:00
Vitaliy Filippov 8b439e2beb Add FIXMEs 2014-05-23 18:55:39 +04:00
Vitaliy Filippov 860c45cd7e Make default version also reference ID 2014-05-22 17:55:57 +04:00
Vitaliy Filippov 0765c86aac Fix ts_job.jobid 2014-05-19 14:25:59 +04:00
Vitaliy Filippov 9c2d4ba334 Delete the obsolete per_bug_queries/tags feature 2014-05-16 18:52:41 +04:00
Vitaliy Filippov 1eb8f0e64b WIP remove bug_status hardcode 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 e08278d8c0 Move new tables from extension code into core 2014-05-16 18:52:38 +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 f7aac869dc Move fieldvaluecontrol generation into a separate procedure 2014-05-16 18:52:08 +04:00