Commit Graph

846 Commits (d0ec47a8a3a12e2a8702710a7b0810951ea606f8)

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 5964f8d041 Use Bugzilla->input_params in global/hidden-fields 2014-10-07 14:58:17 +04:00
Vitaliy Filippov 1d566b366e Reorder methods of Bugzilla::Field, reformat and add some documentation 2014-10-07 14:58:17 +04:00
Vitaliy Filippov e8a545a69c Reorder standard fields, honor field sortkey in bug activity and bugmail 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 b492478f7c Remove is_static, partially remove is_default impact 2014-10-07 14:58:16 +04:00
Vitaliy Filippov 0fdb364160 Fix keyword webservice, take all keyword list from field_metadata 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 af5945dfd1 Fix input_params 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 16716a544f Delete attach_data.thedata field 2014-10-07 14:58:15 +04:00
Vitaliy Filippov f7ffa81ce9 Change admin info for custom fields 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 c58b218875 Move saved search removal code into Bugzilla::Search::Saved 2014-10-07 14:58:15 +04:00
Vitaliy Filippov 776ec7b928 Remove JOB_MAP hardcode 2014-10-07 14:58:15 +04:00
Vitaliy Filippov bbef0613df Allow templates to refer to each other by full path, move CUSTIS-specific product names away from templates 2014-10-07 14:58:15 +04:00
Vitaliy Filippov 4899654c43 Allow field values and flags to be controlled by an empty value 2014-10-07 14:58:15 +04:00
Vitaliy Filippov 2c2bfc4301 Fix mass edit 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 eb96bfda90 Make all options visible for empty controlling value also in js 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 0e0a98172b Hide default/clone/empty config for BUG_ID_REV custom fields 2014-10-07 14:58:14 +04:00
Vitaliy Filippov b10a99d2f5 Move CUSTIS-specific params to custishacks 2014-10-07 14:58:14 +04:00
Vitaliy Filippov 0319a66bb4 Remove CGI interfacing from Bugzilla::Search 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 04da6a883e Add UI for editing clone_field_id and associated values 2014-10-07 14:58:14 +04:00
Vitaliy Filippov fddf47e859 Use same URI for both types of fieldvaluecontrol.cgi -- they're identical 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 67ba0de962 Use dependent default values on bug change form, use global default values on bug entry form 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 4f20f1242c Allow to enable/disable empty version/milestone from the product page 2014-10-07 14:58:14 +04:00
Vitaliy Filippov b00b5c23d0 Remove extra <tables> around the rest of select fields 2014-10-07 14:58:14 +04:00
Vitaliy Filippov b0964e90c1 Allow to move products between classifications from product page 2014-10-07 14:58:13 +04:00
Vitaliy Filippov 31d01f7524 Merge create and edit templates for classifications 2014-10-07 14:58:13 +04:00
Vitaliy Filippov 0f82a1b8af Remove rebuildkeywordcache, merge create and edit templates for keywords 2014-10-07 14:58:13 +04:00
Vitaliy Filippov 8dc199f65e Merge create and edit templates for field values 2014-10-07 14:58:13 +04:00
Vitaliy Filippov 4384d28083 Merge create and edit templates for milestones and 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 b1b91f4a9b Fix template error 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 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 5a2b7de16a Remove extra <table> around select fields 2014-10-07 14:58:13 +04:00
Vitaliy Filippov 8fba371d1a Move JS from query form template into js/query-form.js 2014-10-07 14:58:13 +04:00
Vitaliy Filippov be553516b4 Hide (search) for multiselects and for bug_id_rev 2014-10-07 14:58:12 +04:00
Vitaliy Filippov ba674e44ef Make BUG_ID reverse relationships function
* Show them on the bug form
* Allow to search on them
* Allow to set them in excel import
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 4f6c16e830 Fix field editing form, move js out of template 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 08b8ccfcdc Remove attachments.isurl like in upstream 2014-10-07 14:58:12 +04:00
Vitaliy Filippov 5ee699208f Return lost "Add Group" link 2014-10-07 14:23:34 +04:00
Vitaliy Filippov 96bea7c648 Support truncated versions of assigned_to, reporter and qa_contact in search 2014-08-25 15:09:14 +04:00
Vitaliy Filippov 41197ffa28 Show classification/other products links in Browse 2014-08-13 14:37:09 +04:00
Vitaliy Filippov 37c688e5bb Show the same detailed table in group administration UI 2014-08-12 19:10:07 +04:00
Vitaliy Filippov 461748c4a9 Make names of editable groups clickable 2014-08-12 18:15:56 +04:00
Vitaliy Filippov d8afbe3534 Show fully detailed group information in User Preferences -> Permissions tab 2014-08-12 18:01:05 +04:00
Vitaliy Filippov 6ac5ded228 Fix resolution options in "Edit multiple" 2014-07-24 16:46:58 +04:00
Vitaliy Filippov 7fa03d41f2 Fix field value sort order 2014-07-09 15:47:12 +04:00
Vitaliy Filippov 65b39b45d2 Allow to go into editusersingroup.cgi from Administration->Groups 2014-05-30 17:07:04 +04:00
Vitaliy Filippov 5cfdec71f6 Refactor editusersingroup.cgi
* Show indirect grants
* Show bless permissions
* Allow to remove users from group
* Allow to add/remove users if you have bless permission for it, not only if you're in 'creategroups' group
* Allow to grant/revoke bless permissions if you're in 'editusers' group
* Add link to editusersingroup.cgi from "Edit group" page
2014-05-30 16:10:16 +04:00
Vitaliy Filippov 2a263a2d93 Add new components enabled by default 2014-05-29 17:24:58 +04:00
Vitaliy Filippov 4672f71abc Add groups with mandatory by js 2014-05-29 17:16:08 +04:00
Vitaliy Filippov bd4d362b11 Do not show --- option for multi-selects, fix multi-select setter 2014-05-27 19:24:37 +04:00
Vitaliy Filippov 6b9839ece4 Do not fail token verification after mid-air collision 2014-05-27 15:30:50 +04:00
Vitaliy Filippov 33df1f9109 Remove CGI usage from request/email template 2014-05-23 20:02:44 +04:00
Vitaliy Filippov 1f69c57fa5 Fix 2 more id/name references 2014-05-23 16:28:14 +04:00
Vitaliy Filippov e9cc10d299 Unify components/create and components/edit templates 2014-05-23 16:20:15 +04:00
Vitaliy Filippov 6175b77614 Move session_result to a separate template 2014-05-23 16:02:00 +04:00
Vitaliy Filippov a8ae6d04e7 Remove CGI usage from request/queue template 2014-05-23 15:07:28 +04:00
Vitaliy Filippov 215e7502f4 Description is required for new bugs 2014-05-23 00:37:19 +04:00
Vitaliy Filippov 486a34f7c8 Display name in component list 2014-05-22 18:01:57 +04:00
Vitaliy Filippov 860c45cd7e Make default version also reference ID 2014-05-22 17:55:57 +04:00
Vitaliy Filippov 72b104a03e Fix missing [% END %] in list.ics.tmpl 2014-05-22 16:47:24 +04:00
Vitaliy Filippov 095239c36a Fix selecting --- when editing query 2014-05-22 13:42:46 +04:00
Vitaliy Filippov b0175d8bac Fix hiding/showing resolution on attachment create form, on bug create form 2014-05-22 01:05:03 +04:00
Vitaliy Filippov 74ec807280 Fix editing default milestone for products 2014-05-21 17:53:50 +04:00
Vitaliy Filippov a0deb31c5b Optionally allow to assign bugs to other people 2014-05-19 19:38:59 +04:00
Vitaliy Filippov 327fbcb87e Allow to search on NULL value 2014-05-19 19:04:24 +04:00
Vitaliy Filippov 56904ab882 Better illegal_bug_status_transition message 2014-05-19 17:30:30 +04:00
Vitaliy Filippov 7c4236d2aa Fix removecc 2014-05-19 14:17:55 +04:00
Vitaliy Filippov 1cc0fa1590 Fix cf_extbug setting on bug clone 2014-05-19 13:33:45 +04:00
Vitaliy Filippov 75729cbd21 Fix show.xml.tmpl error display 2014-05-19 12:54:28 +04:00
Vitaliy Filippov a1c608745c Do not restrict product values in the form, fix group change on moving between products 2014-05-19 03:33:22 +04:00
Vitaliy Filippov 8e93087ac1 Refactor BugMail -- use bug object instead of querying attributes from the DB 2014-05-19 03:33:22 +04:00
Vitaliy Filippov a90c011d34 Fix field showing/hiding 2014-05-18 03:35:50 +04:00
Vitaliy Filippov b82218d3fa Allow to change state open/closed type 2014-05-16 18:52:41 +04:00
Vitaliy Filippov 23dc09d7d9 Fix some warnings / small errors 2014-05-16 18:52:41 +04:00
Vitaliy Filippov b802359320 Fix "Show Multiple" (long format) 2014-05-16 18:52:41 +04:00
Vitaliy Filippov 9c2d4ba334 Delete the obsolete per_bug_queries/tags feature 2014-05-16 18:52:41 +04:00
Vitaliy Filippov f002886e14 Choose classification / choose product styles 2014-05-16 18:52:41 +04:00