Commit Graph

871 Commits (68b800eedcc441b6526cefeef7b93de06355f1a5)

Author SHA1 Message Date
Vitaliy Filippov 3c20036682 Reflow custom field edit page; hide "default value" for select fields being created. 2014-10-07 15:00:54 +04:00
Vitaliy Filippov ff0f7fbf19 Remove duplicated choose classification code 2014-10-07 15:00:54 +04:00
Vitaliy Filippov 93961db741 Change user.name property to be equal to login_name, add separate accessor for realname 2014-10-07 15:00:53 +04:00
Vitaliy Filippov de967fa5c8 editcomponents.cgi: remove CGI usage, code style 2014-10-07 15:00:53 +04:00
Vitaliy Filippov 16a1c9d3f7 editfields.cgi: code style, remove CGI usage, warn on default/value field changes; editvalues.cgi: call update_control_lists 2014-10-07 15:00:53 +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 95e2556c0a Move show-mail-groups.cgi link to custishacks 2014-10-07 15:00:53 +04:00
Vitaliy Filippov 5288170b6c Some code style for checkaccess.cgi 2014-10-07 15:00:53 +04:00
Vitaliy Filippov 185335c6ec width=100% for assignee, qa, cc fields; remove creation_ts is not null term (was needed before transaction support) 2014-10-07 15:00:53 +04:00
Vitaliy Filippov b089cfa35c Fix: allow to rename field values 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 c005274130 Do not require HTML::Scrubber to correctly strip unsafe tags 2014-10-07 15:00:53 +04:00
Vitaliy Filippov 6c03a67bc7 Redesign bug entry form 2014-10-07 15:00:53 +04:00
Vitaliy Filippov 810df2568a Make update_control_lists report changes 2014-10-07 15:00:52 +04:00
Vitaliy Filippov 715d373356 Fix messages/messages hook, move convertedbmp to a separate result_message 2014-10-07 15:00:52 +04:00
Vitaliy Filippov d235711747 Move flag reminders to core, make clear_requests_on_close work (it was using a non-existing user pref!) 2014-10-07 15:00:52 +04:00
Vitaliy Filippov 89a565f437 Move "Fix Worktime" page to core 2014-10-07 15:00:52 +04:00
Vitaliy Filippov 68fcbbe749 Move scrumcards js to core 2014-10-07 15:00:52 +04:00
Vitaliy Filippov e4d56b3ae8 Move checkers to core 2014-10-07 15:00:52 +04:00
Vitaliy Filippov 1a63ab52c3 Remove "additional scrum estimates" feature 2014-10-07 15:00:52 +04:00
Vitaliy Filippov 1886faf627 Use editvisibility.cgi to enable/disable dependent values, not dependent fields 2014-10-07 15:00:31 +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 adf0ce5b0b Fix utf8 cookie keys 2014-10-07 14:58:18 +04:00
Vitaliy Filippov 14b1019de4 Replace MAX_*_SIZE with a single MAX_FIELD_VALUE_SIZE 2014-10-07 14:58:18 +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 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