Commit Graph

60 Commits (eccb6bc9ebfc05571583edae7570d4ff5bb42a4d)

Author SHA1 Message Date
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
Vitaliy Filippov 1cd3cae485 Add nullable property for fields 2014-05-16 18:52:08 +04:00
Vitaliy Filippov c9e2139fbf Remove --- used as NULL surrogate 2014-05-16 18:52:07 +04:00
Vitaliy Filippov 191edd6d5a Update old DB update code - new DB initialises correctly now 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 e3375c4e0a Bug 147728 - fix "Browse" styles which were VERY UGLY
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1945 6955db30-a419-402b-8a0d-67ecbb4d7f56
2014-03-24 15:51:31 +00:00
vfilippov a17634420d Bug 137810 - More limit for added/removed columns, concat multiple lines of textarea fields
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1925 6955db30-a419-402b-8a0d-67ecbb4d7f56
2014-01-30 14:18:35 +00:00
vfilippov f86e361e5d Bug 95168 - Allow longer TheSchwartz error messages
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1544 6955db30-a419-402b-8a0d-67ecbb4d7f56
2012-05-16 13:36:30 +00:00
vfilippov 724480a403 Bug 70605 - Change multi-select fields storage method - store IDs instead of values
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1505 6955db30-a419-402b-8a0d-67ecbb4d7f56
2012-01-16 15:20:39 +00:00
vfilippov 710e7747d2 Bug 46221, Bug 70605 - use Lingua::Stem::Snowball instead of hard-coded russian stemmer, store tsvectors in PostgreSQL fulltext tables for ts_rank() performance
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1344 6955db30-a419-402b-8a0d-67ecbb4d7f56
2011-08-23 15:27:12 +00:00
vfilippov 05313a263e Bug 40933 - Some garbage fixes
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1340 6955db30-a419-402b-8a0d-67ecbb4d7f56
2011-08-18 19:49:54 +00:00
vfilippov f87a1aaaf5 Bug 72826 - Use GIN fulltext search in PostgreSQL
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1119 6955db30-a419-402b-8a0d-67ecbb4d7f56
2010-12-02 18:33:22 +00:00
vfilippov 4365ed108d Bug 68921 - Increase field value length to 255
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@938 6955db30-a419-402b-8a0d-67ecbb4d7f56
2010-09-29 16:44:33 +00:00
vfilippov d2a48e6dc8 Bug 40933 - НЕ ДО КОНЦА оттестированная объединённая версия Bugzilla 3.6 - НИКУДА НЕ РАЗВОРАЧИВАТЬ! :)
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@738 6955db30-a419-402b-8a0d-67ecbb4d7f56
2010-05-14 20:02:34 +00:00
vfilippov 44729bd176 Bug 45485, Bug 53617 - Multiple visibility values for fields and values. Рефакнутые, с убранным безумием на 500 строк.
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@681 6955db30-a419-402b-8a0d-67ecbb4d7f56
2010-03-12 19:18:39 +00:00
vfilippov 25bb7dfbb4 Bug 60604 - Roll back 659->660 excluding actcheck IN (...) instead of JOIN
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@668 6955db30-a419-402b-8a0d-67ecbb4d7f56
2010-03-01 14:35:18 +00:00
vfilippov f8fa47a043 Bug 60603 - Search optimisation (bug_user_rel)
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@660 6955db30-a419-402b-8a0d-67ecbb4d7f56
2010-02-27 14:26:27 +00:00