Commit Graph

994 Commits (beta)

Author SHA1 Message Date
Vitaliy Filippov 034da7b998 Move attachment list functions into js/bug.js 2014-10-31 17:54:05 +03:00
Vitaliy Filippov c47f0a6935 Fix bug form for the case when there are less than 4 custom fields 2014-10-24 22:22:02 +04:00
Vitaliy Filippov dc09a5645f html-escape only field.description 2014-10-24 13:55:27 +04:00
Vitaliy Filippov 8b70c6f709 Remove mtime filter 2014-10-23 15:23:10 +04:00
Vitaliy Filippov d8c1e922a5 Fix "You are receiving this mail because" styles in HTML bugmail part 2014-10-22 18:16:47 +04:00
Vitaliy Filippov 423d30757f Fix html filter errors, adjust 008filter.t 2014-10-22 18:16:46 +04:00
Vitaliy Filippov d693f13578 Add token verification and \s+ into fill-day-worktime.cgi 2014-10-21 18:52:58 +04:00
Vitaliy Filippov bbfd9e6be3 Allow to disable silent comments 2014-10-20 19:57:08 +04:00
Vitaliy Filippov 047927ab39 Hide "Look in CVS/SVN/Wiki" URLs if the corresponding parameter is empty 2014-10-20 14:57:28 +04:00
Vitaliy Filippov 5f66ae3af7 Move CUSTIS-specific scripts to custishacks extension
(make symlinks to *.cgi in docroot to use them)
2014-10-20 14:38:25 +04:00
Vitaliy Filippov 756feabe5d Move &fof_sudo= param away from list/list.html.tmpl 2014-10-20 14:38:25 +04:00
Vitaliy Filippov fe19b5071a Bugzilla::Config::* code style, move validation functions away from Common 2014-10-20 14:12:01 +04:00
Vitaliy Filippov d2e8010766 (Almost) move FOF_Sudo into custishacks
Still needs to be moved away from list/list.html.tmpl and Bugzilla::Config::Auth
2014-10-17 19:52:52 +04:00
Vitaliy Filippov 85bdce2367 Bugzilla4Intranet notice and license for some templates 2014-10-17 19:42:11 +04:00
Vitaliy Filippov b5ac1ab118 Remove banner.html.tmpl and replace it back with bannerhtml param. 2014-10-17 19:41:25 +04:00
Vitaliy Filippov 3983cdbb64 Fix warning in query-form.js and in create-series, do not remember create-series query format 2014-10-17 18:51:49 +04:00
Vitaliy Filippov 224fa60d45 Remove editscrum.cgi link 2014-10-17 18:43:31 +04:00
Vitaliy Filippov 8b0e8a1181 Error and confirm-delete styles 2014-10-17 18:34:13 +04:00
Vitaliy Filippov 04caa11915 Simple (not ideal) responsive layout for bug entry form 2014-10-16 20:23:46 +04:00
Vitaliy Filippov 55e38839aa Use html_select() instead of select-menu.html.tmpl 2014-10-15 18:12:11 +04:00
Vitaliy Filippov d8c8ea112d Use identifiers for search orders, not names 2014-10-15 18:12:11 +04:00
Vitaliy Filippov a49bc67962 Bugzilla::Template: code style, remove some rarely used subs
* Remove filters inactive, obsolete, closed
* Remove global subs: use_keywords, bug_fields, comment_indexes
2014-10-10 16:57:07 +04:00
Vitaliy Filippov 275de4e4f5 Redesign bug edit form.
* Use "label \n field" instead of "label \t field".
* Use divs instead of tables for layout.
* Make page scale from 4 columns down to 2 and then to 1 using media queries.
* Reflow 4 custom field columns with JS to balance their height.
2014-10-10 16:57:07 +04:00
Vitaliy Filippov 17e1f6d2dd editgroups.cgi: remove CGI usage 2014-10-09 15:40:36 +04:00
Vitaliy Filippov 7b1bb3726a editparams.cgi: remove CGI usage 2014-10-08 18:35:44 +04:00
Vitaliy Filippov a06dcd0192 Remove VarHash experiment 2014-10-08 16:39:47 +04:00
Vitaliy Filippov 112eb10a5f Move data validation and update/insert code into Bugzilla::FlagType 2014-10-08 16:04:31 +04:00
Vitaliy Filippov 9be606a315 Link to editusersingroup from product page 2014-10-08 13:55:56 +04:00
Vitaliy Filippov 41dfcefaa8 quips.cgi: code style, simplify show, add admin_table style 2014-10-07 19:33:50 +04:00
Vitaliy Filippov 59bc1dc86a Bugzilla::Chart, Bugzilla::Series, chart.cgi: remove CGI usage 2014-10-07 18:24:25 +04:00
Vitaliy Filippov e853213990 Remove CGI->param usage from attachment.cgi 2014-10-07 16:49:26 +04:00
Vitaliy Filippov 130a8215af Redesign group add form 2014-10-07 16:01:10 +04:00
Vitaliy Filippov 4479f5a97b Better 'makeproductgroups' handling.
* Do not insert group into all products by default when 'makeproductgroups' is on
* Allow to choose whether to create access group for new products
* Move group and series creation calls away from Product->create
* Change help text
* Enable makeproductgroups by default again
2014-10-07 15:56:57 +04:00
Vitaliy Filippov f39801807f Fix readonly display of bug fields; move keywords code away from [% BLOCK input %] 2014-10-07 15:00:57 +04:00
Vitaliy Filippov 0676d3270a Rewrite group control help text 2014-10-07 15:00:57 +04:00
Vitaliy Filippov 9ecbbfd36a Show "None" for empty BUG_ID_REV fields 2014-10-07 15:00:57 +04:00
Vitaliy Filippov 277004a070 Style "Attach Multiple" block, equalize bottom margins 2014-10-07 15:00:57 +04:00
Vitaliy Filippov 7cf46afbba Hide bug title in mobile view 2014-10-07 15:00:57 +04:00
Vitaliy Filippov 75f4228566 Fix search link for selects 2014-10-07 15:00:57 +04:00
Vitaliy Filippov 2166856fc4 Include full strings in IF in two places 2014-10-07 15:00:57 +04:00
Vitaliy Filippov 2b3f7f7cff Hide (search) for See Also and textarea fields 2014-10-07 15:00:57 +04:00
Vitaliy Filippov 8d14e2d80c More improvements for Boolean Charts
* Save them upon browser history navigation using onbeforeunload event
* Allow to delete charts with JS
* Remove incorrect margins between buttons
2014-10-07 15:00:57 +04:00
Vitaliy Filippov 03c13b9226 Style Boolean Charts in Mozilla skin, better chart negation UI based on fieldset 2014-10-07 15:00:57 +04:00
Vitaliy Filippov 92d4a72467 style activity table 2014-10-07 15:00:56 +04:00
Vitaliy Filippov 666cdb7704 Style whines, flagtypes, classifications 2014-10-07 15:00:56 +04:00
Vitaliy Filippov b319476b00 User Prefs styles 2014-10-07 15:00:56 +04:00
Vitaliy Filippov d41b26b4fb Fix "Edit users in group" styles 2014-10-07 15:00:56 +04:00
Vitaliy Filippov cd211ca3da Style "Email Preferences" page 2014-10-07 15:00:56 +04:00
Vitaliy Filippov d0ec47a8a3 prefs/email.html.tmpl: code style 2014-10-07 15:00:56 +04:00
Vitaliy Filippov 2ba15cdba1 Style "Saved Searches" prefs page 2014-10-07 15:00:56 +04:00
Vitaliy Filippov f909b3c8aa saved-searches.html.tmpl: code style 2014-10-07 15:00:56 +04:00
Vitaliy Filippov a7b98817a7 Use "DOM ready" event instead of window.onload 2014-10-07 15:00:56 +04:00
Vitaliy Filippov eb21c917e3 Gravatar support. Avatars may be disabled via params or user preference.
FIXME: Remove hardcoded Mozilla skin name (used to choose avatar position)
2014-10-07 15:00:56 +04:00
Vitaliy Filippov bfef679d5e Collapse comment text when editing it 2014-10-07 15:00:56 +04:00
Vitaliy Filippov f75546693d Better UI for toggling worktime-only status 2014-10-07 15:00:56 +04:00
Vitaliy Filippov 723ddea69b Fix textarea and comment_table width 2014-10-07 15:00:56 +04:00
Vitaliy Filippov 98c33cf584 Style editgroups.cgi 2014-10-07 15:00:56 +04:00
Vitaliy Filippov f427d26eaf Style "My Requests" page 2014-10-07 15:00:56 +04:00
Vitaliy Filippov aedb5a315e editsettings.cgi: code style, remove CGI usage, redirect after saving 2014-10-07 15:00:55 +04:00
Vitaliy Filippov 5f3da0717b Better styles for editsettings.cgi page 2014-10-07 15:00:55 +04:00
Vitaliy Filippov dd0c4be3ea Hide disabled and empty fields in show-multiple 2014-10-07 15:00:55 +04:00
Vitaliy Filippov 126baf61af Merge "n bugs found" and "display id list" into a single line 2014-10-07 15:00:55 +04:00
Vitaliy Filippov c1a9578f2b Fix comment styles
* Remove 200px column with "collapse/expand all comments"
* Style "hours worked" correctly
* Remove 100% width which resulted in a horizontal scrollbar on page
2014-10-07 15:00:55 +04:00
Vitaliy Filippov a9b2a1e665 Some style fixes 2014-10-07 15:00:55 +04:00
Vitaliy Filippov 82416cf8f3 Style field information 2014-10-07 15:00:55 +04:00
Vitaliy Filippov 8bc7cbea86 Style admin_table in standard skin, change id to class 2014-10-07 15:00:55 +04:00
Vitaliy Filippov b96e6d9578 Remove TUI completely 2014-10-07 15:00:55 +04:00
Vitaliy Filippov d36d18dcc6 Reflow query form rows when showing/hiding fields 2014-10-07 15:00:55 +04:00
Vitaliy Filippov 22c3d8cd81 Small update for SimpleAutocomplete, fix object_name 2014-10-07 15:00:55 +04:00
Vitaliy Filippov 9a1f483764 Use ->realname in User->identity, fix non-existing keywords check 2014-10-07 15:00:54 +04:00
Vitaliy Filippov 6425bfe311 Allow keywords to depend on other fields (for example product) 2014-10-07 15:00:54 +04:00
Vitaliy Filippov 33b65171e8 Do not use Field::Choice->check_visibility 2014-10-07 15:00:54 +04:00
Vitaliy Filippov f9c6631057 Add links to levenshteinusermatch parameter info, allow to use it with pgsql 2014-10-07 15:00:54 +04:00
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