Commit Graph

180 Commits (324343ae9ec6c6f2b400ae67eab0a0bbf062f14f)

Author SHA1 Message Date
Vitaliy Filippov a628710226 Position calendar below the input + do not exceed right edge of window 2014-10-31 19:56:12 +03:00
Vitaliy Filippov f1f51300db Warn when leaving page with unsaved comment 2014-10-31 17:54:05 +03:00
Vitaliy Filippov 034da7b998 Move attachment list functions into js/bug.js 2014-10-31 17:54:05 +03: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 00b9c3a608 JS code style 2014-10-13 20:43:32 +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 d7f1105e1f Fix js errors on readonly fields 2014-10-07 15:00:57 +04:00
Vitaliy Filippov 9dce8f54a8 Fix scrum cards js pasting 2014-10-07 15:00:57 +04:00
Vitaliy Filippov e6eb69d28b Cascade field change events on bug form, simplify reflow code on query form 2014-10-07 15:00:57 +04:00
Vitaliy Filippov ec83f88e20 Update SimpleAutocomplete 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 a2467feddb Fix for undefined values 2014-10-07 15:00:56 +04:00
Vitaliy Filippov 899df2eba3 Make comment flash work in Classic and Mozilla skins 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 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 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 1878f42f83 Rewrite query-visibility to also use the correct field processing order;
share some duplicate code between bug-visibility and query-visibility.
2014-10-07 15:00:55 +04:00
Vitaliy Filippov d92f98ff8c Handle default values more correctly 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 1f19c6e9db Hide non-editable that should really be hidden when loading edit form 2014-10-07 15:00:55 +04:00
Vitaliy Filippov 2bd91c3fca Ignore non-editable fields in bug-visibility 2014-10-07 15:00:54 +04:00
Vitaliy Filippov e3bee29887 Do not query value webservice for keyword autocomplete 2014-10-07 15:00:54 +04:00
Vitaliy Filippov 041cd3b326 Update SimpleAutocomplete 2014-10-07 15:00:54 +04:00
Vitaliy Filippov 5364c8afe4 Rewrite bug-visibility to handle dependent fields correctly in all cases.
Example of incorrect behaviour possible in old version:
1) Field A has value_field=C
2) Field B has value_field=D and null_field=C
3) Suppose field A gets initialised first. It triggers initialisation of C,
   C alters values of A and nullability of B. Then B gets initialised, and
   triggers initialisation of D, which alters values of B and overwrites
   its nullability previously altered by A.
2014-10-07 15:00:54 +04:00
Vitaliy Filippov 6237a5cb74 Fix product hidden field exception for creation form 2014-10-07 15:00:54 +04:00
Vitaliy Filippov 3f8554989d Fix 2 small bugs 2014-10-07 15:00:54 +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 3c20036682 Reflow custom field edit page; hide "default value" for select fields being created. 2014-10-07 15:00:54 +04:00
Vitaliy Filippov e50428a42b Remove user_id_to_login procedural API; set default values for non-select fields on bug form 2014-10-07 15:00:54 +04:00
Vitaliy Filippov 8fd0b23144 Code style for js/admin_groupcontrol.js 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 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 0797f68a84 Flash comment when going to its anchor link 2014-10-07 14:58:17 +04:00
Vitaliy Filippov 9f0c73db85 Allow to search on empty value 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 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 4899654c43 Allow field values and flags to be controlled by an empty value 2014-10-07 14:58:15 +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 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 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 79711e2cbd Make "dependent nullable" work in JS on bug form 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