Commit Graph

1056 Commits (0be36ca70e2ea5269de52bc4d1b7dc4ed04f765e)

Author SHA1 Message Date
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 b2cf9833dc Code style 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 06648f2fef Check deadline, status_whiteboard, alias for empty value 2014-10-07 14:58:17 +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 cc41c14ddb Escape commas in multi-select activity log, detect changes for multi-selects during mid-air collisions 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 1b52789af0 Move multiselect splitting into create_or_update 2014-10-07 14:58:17 +04:00
Vitaliy Filippov b1e2418b40 Use $field->value_type instead of Bugzilla::Field::Choice->type($field) 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 a2a0a05be7 Bugzilla::Attachment code style 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 924dff1b2f Remove also percentage_complete and days_elapsed from fielddefs 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 890bedc9f2 Add mapping for keywords 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 edd67ba651 Fix removed keywords column to work in search again 2014-10-07 14:58:16 +04:00
Vitaliy Filippov 139e289d51 Remove also owner_idle_time and attachments.submitter fields 2014-10-07 14:58:16 +04:00
Vitaliy Filippov 21237a5070 Rename Bugzilla::User::match to match_name to not hide Bugzilla::Object method 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 cb58d0da87 Allow to use field names in email_in.pl, do not use CGI tie, use Bugzilla->input_params, fix some warnings 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 f75658a097 Delete also qacontact_accessible 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 16716a544f Delete attach_data.thedata field 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 402fb9dd26 Remove most CGI usage from buglist.cgi 2014-10-07 14:58:15 +04:00
Vitaliy Filippov cd3be7b750 Move clean_search_url out of CGI 2014-10-07 14:58:15 +04:00
Vitaliy Filippov 33b91f8d94 Remove old LookupNamedQuery API, rename Bugzilla::Search::Saved->url to ->query 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 92d5b55e4f Remove non-working and useless locking of keys/values of DB schema 2014-10-07 14:58:15 +04:00
Vitaliy Filippov 678e4acb92 Remove closed_bug_statuses() api 2014-10-07 14:58:15 +04:00
Vitaliy Filippov a10187577e Remove is_open_state and BUG_STATE_OPEN 2014-10-07 14:58:15 +04:00
Vitaliy Filippov be8da34422 Bugzilla::JobQueue::Runner code style 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 8001daf79d Move extra buglist columns from custis to core 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 89e1b13e69 Bugzilla::CGI code style 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 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 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 b0964e90c1 Allow to move products between classifications from product page 2014-10-07 14:58:13 +04:00
Vitaliy Filippov ea03382e62 Allow NULL in products having "unspecified" 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 6167bfd72f Sort fields on their sortkey in bugmail 2014-10-07 14:58:13 +04:00
Vitaliy Filippov 0f4371e949 Make TIMETRACKING_FIELDS a hash 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
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 4004bd0647 Fix DB update from 4.4 schema (at least for MySQL) 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 161b5bdb48 Sort legal_values case-insensitively 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 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 68ff25fef5 Change field type values for compatibility with 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 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 ce1c75e02c Fix remaining_time setting during bug creation 2014-09-03 19:28:10 +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 10c4d41651 Honor *_accessible in User->can_edit_bug 2014-08-22 16:05: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 d8afbe3534 Show fully detailed group information in User Preferences -> Permissions tab 2014-08-12 18:01:05 +04:00
Vitaliy Filippov 5f094ad0b4 Add flag requestee into bug CC if he cannot see the bug 2014-07-09 18:31:08 +04:00
Vitaliy Filippov 7fa03d41f2 Fix field value sort order 2014-07-09 15:47:12 +04:00
Vitaliy Filippov eab080cfda Do not crash when trying to create bug with flags, but without selecting component 2014-06-03 15:48:23 +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 57eb2dac62 * Match selected values on name in bug-visibility.js
* Fix "verify field values"
* Do not display "verify groups" in case of same group control set for the old and the new products
2014-05-29 18:53:56 +04:00
Vitaliy Filippov 47eac4cbfd Hide obsolete inline images 2014-05-29 15:13:47 +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 8eafac0b57 Fix showdependencytree.cgi 2014-05-28 14:41:38 +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 62f7651872 Fix bug field conversion in webservice, fix printing it out in demo script 2014-05-27 18:31:26 +04:00
Vitaliy Filippov 3cd8adb954 Fix syntax error in installation 2014-05-27 17:55:24 +04:00
Vitaliy Filippov 73fff904e9 Bugzilla::Error code style 2014-05-27 16:19:13 +04:00
Vitaliy Filippov 10592d37d8 Report sensible errors in reply to incoming email and in checksetup.pl; fix incoming email 2014-05-27 16:11:39 +04:00
Vitaliy Filippov 1f53dcc76f Do not log activity during bug creation 2014-05-27 15:26:45 +04:00
Vitaliy Filippov 0b87f00ac8 Remove separate _notsubstring implementations :-(, rename "flag types" to "flags and requests" 2014-05-27 15:12:53 +04:00
Vitaliy Filippov 4214fa5524 Treat NULL as empty value in notsubstring operator 2014-05-26 23:13:31 +04:00
Vitaliy Filippov 4646d2c197 Check default values when creating new bugs 2014-05-26 19:48:30 +04:00
Vitaliy Filippov 180659cd0e Still add <p></p> for comment with single "0" character 2014-05-26 17:26:24 +04:00
Vitaliy Filippov 1a5bbe5f03 Optimize field and choice check_visibility(), allow component objects to be set, remove some duplicated code 2014-05-26 17:21:29 +04:00
Vitaliy Filippov 96d2ea1180 Follow-up for 04ff6d391502cf1dd86d81d6c32353f416814ded: copy default milestones into fieldvaluecontrol during update 2014-05-26 17:09:11 +04:00
Vitaliy Filippov 27aef9f11c Fix clearing alias 2014-05-24 21:04:18 +04:00
Vitaliy Filippov 33df1f9109 Remove CGI usage from request/email template 2014-05-23 20:02:44 +04:00
Vitaliy Filippov 8b439e2beb Add FIXMEs 2014-05-23 18:55:39 +04:00
Vitaliy Filippov 51c183daf6 Replace header 2014-05-23 18:32:19 +04:00
Vitaliy Filippov 472fb8f6a9 Do not allow to set invalid components for new bugs 2014-05-23 18:23:57 +04:00
Vitaliy Filippov 60b38d7a3c Fix attachment flag email to work again (was broken since Bugzilla->add_mail_result was added) 2014-05-23 16:03:35 +04:00
Vitaliy Filippov b226af09ac Clear loaded comments after saving bug 2014-05-23 15:59:44 +04:00
Vitaliy Filippov 5ceeb6679f Only if comment specified 2014-05-23 11:34:02 +04:00
Vitaliy Filippov 22787d2651 Only show inline images for created attachments 2014-05-23 00:58:57 +04:00
Vitaliy Filippov be4fc3c1dc Fix empty bug updates 2014-05-23 00:53:23 +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 378b8fab50 Bugzilla::Component code style 2014-05-22 17:16:11 +04:00
Vitaliy Filippov 55aadda9b8 Fix clearing keywords 2014-05-22 16:43:50 +04:00
Vitaliy Filippov 82f640036a Create multiple attachments in the same order as on the form 2014-05-22 14:35:20 +04:00
Vitaliy Filippov 70bad71d23 Fix backdated worktime feature 2014-05-22 02:00:17 +04:00
Vitaliy Filippov 74ec807280 Fix editing default milestone for products 2014-05-21 17:53:50 +04:00
Vitaliy Filippov fa1f726e3f Fix importxls token error 2014-05-21 17:49:15 +04:00
Vitaliy Filippov fea2d177ac Add HTTP::Server::Simple requirements 2014-05-20 19:15:59 +04:00
Vitaliy Filippov 1de8635f26 Better full/active value list caching 2014-05-20 15:59:15 +04:00
Vitaliy Filippov e7339f20e8 Fix hiding inactive components in js form 2014-05-20 15:50: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 9197d7a254 Bugzilla::BugMail code style 2014-05-19 18:18:31 +04:00
Vitaliy Filippov 5314af9861 Do not use $bug->{error} 2014-05-19 17:55:44 +04:00
Vitaliy Filippov 56904ab882 Better illegal_bug_status_transition message 2014-05-19 17:30:30 +04:00
Vitaliy Filippov 2c4a3aca9a Fix "my ($old, $new) masks earlier declaration" 2014-05-19 16:54:55 +04:00
Vitaliy Filippov e91f12c4d1 Clone arrays in dirty copy 2014-05-19 14:43:48 +04:00
Vitaliy Filippov 0765c86aac Fix ts_job.jobid 2014-05-19 14:25:59 +04:00
Vitaliy Filippov 7c4236d2aa Fix removecc 2014-05-19 14:17:55 +04:00
Vitaliy Filippov 8ff95acae2 Fix versions sort order 2014-05-19 13:18:26 +04:00
Vitaliy Filippov 09bb1d1a70 Add single-select subfields 2014-05-19 12:54:16 +04:00
Vitaliy Filippov ba763a4c7b Fix validation deadline, dependencies 2014-05-19 12:39:40 +04:00
Vitaliy Filippov cfb31dc9a7 Fix non-timetrackers posting bugs (remaining_time not null) 2014-05-19 10:54:37 +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 07b11f2d50 Fix group saving 2014-05-19 01:49:04 +04:00
Vitaliy Filippov 0489bf37e9 Fix saving keywords 2014-05-19 01:27:05 +04:00
Vitaliy Filippov a743cc823d Fix posting bugs with cc 2014-05-18 16:20:52 +04:00
Vitaliy Filippov 78985341ca Backwards compatibility for --- in searches 2014-05-18 01:18:27 +04:00
Vitaliy Filippov c29fcc8948 Move requirements to core 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 4c9924929a Move some specific code to/from custishacks 2014-05-16 18:52:41 +04:00
Vitaliy Filippov 4e10123e9c Bug 144588 - Allow to edit bug descriptions, add server-side validation of edited comments 2014-05-16 18:52:40 +04:00
Vitaliy Filippov 7fa7827060 Fix dependency closure validation 2014-05-16 18:52:40 +04:00
Vitaliy Filippov 37a6aa3cde fix checking assigned bug status 2014-05-16 18:52:40 +04:00
Vitaliy Filippov 255264b564 always nullable for non-single-selects 2014-05-16 18:52:40 +04:00
Vitaliy Filippov 44b22c5b6d Print status and resolution names in bug link hints 2014-05-16 18:52:40 +04:00
Vitaliy Filippov 9e6ee72ffe Move diff handling into GetBugActivity, filter changed comments by date for mid-air collision page 2014-05-16 18:52:40 +04:00
Vitaliy Filippov efb537b776 trick_taint in setter 2014-05-16 18:52:40 +04:00
Vitaliy Filippov cae8239fda Set old custom fields nullable 2014-05-16 18:52:40 +04:00
Vitaliy Filippov daa8396b7f Bugzilla::Product code style 2014-05-16 18:52:40 +04:00
Vitaliy Filippov 307752ce06 Fix EmitDependList 2014-05-16 18:52:39 +04:00
Vitaliy Filippov 7ec8a7d39f Some more fixes for ID fields, fix field list style 2014-05-16 18:52:39 +04:00
Vitaliy Filippov 684a8cde1a Fix some places where products.defaultmilestone was used 2014-05-16 18:52:39 +04:00
Vitaliy Filippov 082cb4df74 Redesign edit product page 2014-05-16 18:52:39 +04:00
Vitaliy Filippov fd569a8f2a Fix product addition, remove rudimental milestoneurl 2014-05-16 18:52:39 +04:00
Vitaliy Filippov 08136a9c69 Mostly remove bug_status hardcode, fix some more SQL queries for new schema 2014-05-16 18:52:39 +04:00
Vitaliy Filippov e1b83084a1 Bugzilla::Status code style 2014-05-16 18:52:39 +04:00
Vitaliy Filippov 1eb8f0e64b WIP remove bug_status hardcode 2014-05-16 18:52:39 +04:00
Vitaliy Filippov afab51d7ed Bugzilla::Field code style, remove surrogate null values during DB update, some more code fixes 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 e7a124e4b9 Move new preferences and DB updates into core 2014-05-16 18:52:38 +04:00
Vitaliy Filippov e08278d8c0 Move new tables from extension code into core 2014-05-16 18:52:38 +04:00
Vitaliy Filippov 00eac41cdf Fix user matching on multiple edit 2014-05-16 18:52:38 +04:00
Vitaliy Filippov b8f2860adc fix marking as duplicate UI 2014-05-16 18:52:10 +04:00
Vitaliy Filippov 0b4624fbae fix process_bug.cgi and other places using bug persistence 2014-05-16 18:52:10 +04:00
Vitaliy Filippov 40f957149c post_bug.cgi now works with new interface; move email urlbase hack into 'custishacks'. 2014-05-16 18:52:10 +04:00
Vitaliy Filippov 7fdbfd5fa3 Reworking of Bugzilla::Bug persistence code mostly finished 2014-05-16 18:52:10 +04:00
Vitaliy Filippov 1656a14cfc WIP merging create+update 2014-05-16 18:52:10 +04:00
Vitaliy Filippov 5443865ca5 WIP refactoring of "ORM" kernel of Bugzilla via merging validators and setters 2014-05-16 18:52:10 +04:00
Vitaliy Filippov e16cf1a436 Never use selectboxes for selecting users -- we already have autocomplete for a long time.
usemenuforusers parameter will only mean 'output everyone to the autocompleter'.
2014-05-16 18:52:10 +04:00
Vitaliy Filippov 9c1a8da469 Fix for empty default component qa/assignee 2014-05-16 18:52:10 +04:00
Vitaliy Filippov 0fcc0e441c Remove CGI usage in enter_bug.cgi 2014-05-16 18:52:09 +04:00
Vitaliy Filippov 336ca0b08e - Fix bug cloning
- Fix filling of dependent fields on bug entry form
- Do not set values directly into $vars in enter_bug.cgi
- Remove dynamic visibility_value_id code from field creation form

(enter_bug.cgi still operates names, not IDs)
2014-05-16 18:52:09 +04:00
Vitaliy Filippov 30514a4833 Show/hide fields only by JS, do not attempt doing it from template (fixes bug entry form) 2014-05-16 18:52:09 +04:00
Vitaliy Filippov 18105590ec Bug 38616 - Fix CC restriction, add FIXMEs 2014-05-16 18:52:09 +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 42be7d80b5 Fix XML view, fix report column titles 2014-05-16 18:52:09 +04:00
Vitaliy Filippov b9b561fe45 Add _obj accessors, fix "Long Format" 2014-05-16 18:52:09 +04:00
Vitaliy Filippov 2099308562 Fix "Edit Multiple", use bug/field template for all select fields in it 2014-05-16 18:52:09 +04:00
Vitaliy Filippov 68f14efd2b Do not return blessed error_self 2014-05-16 18:52:09 +04:00
Vitaliy Filippov 1a79246fed Bugzilla::Bug code style 2014-05-16 18:52:08 +04:00