Commit Graph

30 Commits

Author SHA1 Message Date
ccooper%deadsquid.com
f9933703d1 b=345272
- add widget for selecting corresponding branch(es) for testgroups
- limit available subgroups based on chosen product/branch

b=314938
- changed schema for test runs, allowing multiple testgroups per test run (also addresses b=337496), combining test run limiting criteria into a single table, and adding more audit/tracking info to the main test_runs table

Misc:
- fix nesting issue whereby first item in a list wasn't being selected properly when a default/already selected value was not found. This affected most of the management interfaces.
- removed extra <br/>s in management interface filtering divs
2006-07-22 01:18:48 +00:00
ccooper%deadsquid.com
28b8ddcd09 b=328268
- use onClick instead of onChange to track radio button state
- do some rudimentary checks of object existence to avoid calling instanceof which doesn't seem to work on Safari
2006-07-14 22:09:55 +00:00
ccooper%deadsquid.com
12eebd4322 - renamed edit_categories.cgi to manage_categories.cgi for consistency's sake
- added json calls to return various categories
- added FormWidget calls branches and opsyses
- removed product references in FormWidget lookup for platforms
- added Essential column designation to Platform, Branch and Opsys
- added delete functions to Platform
- added delete functions to Product
- updated moo.fx js libraries to latest version (1.0->1.2)
- updated js code that relied on out-of-date moo.fx functions. In all cases, this code got simpler cleaner.
- removed moo.fx inclusions where they weren't being used
- updated category management templates to use MochiKit/JSON rather than homegrown AJAX
- added new widget for selecting branch, platform, and opsys by ID
- fixed naming on show all/hide all links on testcase display (run tests)
- jump to testcase when selecting a testcase from the sidebar (run tests)
- enabled "Manage Categories" in the admin sidebar
2006-07-14 17:47:33 +00:00
zach%zachlipton.com
a169403b92 Bug 343007 - filter lists in management interfaces. Patch adds AJAX filter options to manage_*.cgi pages and exposes an interface for scripts to request a list of test ids, subgroup ids, testgroup ids, matching a given criteria. 2006-07-13 17:17:59 +00:00
ccooper%deadsquid.com
9f50745981 - adding script to parse testcases from submitted XML (add_testcases_from_xml.pl)
- added appropriate update/delete methods to Testgroup.pm, Subgroup.pm, and Testcase.pm. These methods are called by add_testcase_from_xml.pl;
- allow user to preview subgroups/testcases in the right-hand selectbox when working with testgroups/subgroups;
- added generic blankForm() method to FormValidation.js
- factored out JSON retrieval code to json.js
2006-07-12 15:01:08 +00:00
ccooper%deadsquid.com
b2e13fc077 - revert unnecessary index check 2006-06-28 20:51:45 +00:00
ccooper%deadsquid.com
3ec4a80717 - add missing brace 2006-06-28 19:10:41 +00:00
ccooper%deadsquid.com
826d8c299d - make sure a product is actually selected 2006-06-28 19:04:30 +00:00
ccooper%deadsquid.com
84bca34a3e - allow loading message popu to take a custom message
- display loading popup when loading testcases
2006-06-23 18:37:58 +00:00
ccooper%deadsquid.com
70262b93d0 Manage subgroups:
- allow json.cgi to return info about subgroups
- add list of Essential columns to Litmus::DB::Subgroup
- add methods to Litmus::DB::Subgroup: clone, delete_from_testgroups, delete_from_testcases, delete_with_refs, update_testgroups, update_testcases
- add EnabledBySubgroup lookup to Litmus::DB::Testgroup
- move generic Form functions to FormValidation.js
- allow product select box to accept onchange param

Manage Testcases
- fix requireField cut-n-paste omission
- also return product_id from Litmus::FormWidget::getTestcases
- fix tyop in Litmus::DB::Testcase comment
- make size static on testcase select box
2006-06-22 20:45:50 +00:00
ccooper%deadsquid.com
e325e8c6f1 - added table related_testcases to track cloned testcase relations
- update/replace enter_test.cgi with complete management interface for testcases
- make all fields Essential in Litmus::DB::Testcase
- added new methods to Litmus::DB::Testcase: clone, delete_from_subgroups, delete_from_related, delete_with_refs, update_subgroups
- added ByTestgroup and ByTestcase sql lookups to Litmus::DB::Subgroup
- added order_by directives to has_many fields in Litmus::DB::Product
- added new Litmus::FormWidget functions getTestcases and getAuthors
- don't try to .select() select fields (FormValidation.js)
- add verifySelected function to FormValidation.ja
- update interface to use manage_testcase.cgi for editing testcases
- remove editing flags/interface from test.html.tmpl
2006-06-20 19:34:53 +00:00
timeless%mozdev.org
1168ce08b0 Bug 338087 Tinderbox 'L' popups are broken in Firefox trunk due to misuse of DOM Range
patch by Olli.Pettay@gmail.com r=timeless
2006-06-20 06:28:37 +00:00
zach%zachlipton.com
4c8ae817f4 Add a simple formatting engine for testcase data using Text::Markdown. Normal HTML is passed through the filter unchanged, but now paragraphs will automatically be tagged with <p> and lists will automatically be converted to the proper html. A formatting help pane provides a description. The formatter is triggered with the 'markdown' filter in templates (e.g. [% expectedResults | markdown | testdata %]. 2006-06-15 18:54:15 +00:00
ccooper%deadsquid.com
b1119a3815 - don't allow a string of zeroes for the build ID 2006-06-05 13:37:36 +00:00
ccooper%deadsquid.com
113123bc48 b=323768
- remove Navigation.js (moved to help text in templates)
- remove Percentages js (moved to help text in templates)
- add extra sanity check when repopulating form fields with FormPersist.js
- disable testgroup/subgroup select boxes -> interim step until test runs since we have no UI to change them yet

b=322607
- add hideAll, and simple toggle functions to moo.fx
2006-06-05 01:22:25 +00:00
ccooper%deadsquid.com
3118d32464 b=335382
- adding new files for help display
2006-05-01 21:42:54 +00:00
ccooper%deadsquid.com
506934553a b=335382
- add improved automated lookup for build ID
- require 10-digit build ID
- add global framework for help text
2006-05-01 21:38:39 +00:00
ccooper%deadsquid.com
7f8d401505 - use the right object type <sigh> 2006-02-23 23:02:28 +00:00
ccooper%deadsquid.com
b80992a8a7 - fix display for single testgroup/subgroup case 2006-02-23 22:46:38 +00:00
zach%zachlipton.com
8111b53b67 Bug 328215 - Litmus testcase <divs> don't display correctly with mac trunk builds.
For now, disable opacity effects in moo.fx for Mac users so that testcases display properly. All other platforms should be uneffected. When the core bug 325296 is fixed, this can be removed.
2006-02-23 19:36:49 +00:00
ccooper%deadsquid.com
3de084e41b b=320423
- fix single result submission, but still require that a user be logged in to submit a result

Misc:
- move testcase updating into show_tests.cgi from process_test.cgi
- display all testcase info when editing tests (admin only)
- can no longer edit testcase and submit results at the same time
- add author info to testcases (Test.pm)
- add extra checking to silence log errors originating from single_result.cgi and Litmus::DB::User::getDisplayName
- update Litmus version number and last_updated field when editing testcases
- use same testcase interface for viewing testcases and running testcases (test.html.tmpl)
2006-02-07 18:20:53 +00:00
ccooper%deadsquid.com
cec32647a3 - do some basic checking in JS for the limit value supplied 2006-01-30 23:06:56 +00:00
ccooper%deadsquid.com
e7aa393b43 b=314928
- add proper unique keys to users table
- check for empty username and/or passwords
- compare the entered password against the db version instead of itself <- !!!
- check form submissions in JS prior to submission
- require a unique IRC nickname if it is provided, but allow users not to enter one if they so choose
- display mailto: links for admins only
- display account created page when updating accounts
- make login look-and-feel consistent with the rest of the site

b=321265
- add getDisplayName function to User.pm -> returns IRC nickname, real name, or email depending on what is available. Used wherever user information is displayed.

b=324022
- add scrollbars to testcase display (css -> overflow: auto)

b=324648
- use quotemeta in Testresults.pm to avoid SQL injection when searching results

Misc:
- update copyrights to 2006
- fix log_text db schema regression
- remove validity_lookup and vetting_status_lookup tables and assoicated perl classes. Replaced by per-test-result fields.
- remove out-of-date formats/ directory and contents
- add functions to DBTools.pm to manipulate keys and drop tables
- display error/success/info messages in a transient popup div
- update version to 0.6. Make version string part of sidebar title.
- allow re-testing of completed subgroups by same tester, i.e. don't disable subgroups with 100% testing coverage
- remove 'next' regression on run_tests testcase display
- comment out user table on stats page
- whitespace fixes
2006-01-25 17:03:40 +00:00
ccooper%deadsquid.com
8720b79374 - when enabling the submit button, check whether we are being passed a NodeList or single Element and act accordingly 2005-12-19 22:22:46 +00:00
ccooper%deadsquid.com
3bb332bc10 - add locale selection for test results;
- updated widgets for use with admin tools;
- in-progress work on admin tools
2005-12-13 03:03:37 +00:00
ccooper%deadsquid.com
fbffe3db10 - updated/added licecse boilerplate to template files;
- use moo.fx js libraries to control collapsable divs for holding instructions and such which are nice to have around but we don't always want to see;
- start on admin tool (edit categories)
- more CSS cleanups
2005-11-18 17:37:38 +00:00
zach%zachlipton.com
fe417391e2 Let's actually pass the tests...Removing tabs from a couple of files (replacing them with spaces) and fixing the test scripts to work properly. 2005-11-10 23:24:46 +00:00
ccooper%deadsquid.com
f19c867677 - adding starred display and popups for test results with comments;
- improve wording of footer search for results marked as unclear;
- fix cut-n-paste error in Comment.pm and Resultbug.pm;
- improve default display of test results, and add explanatory blurb for navigation;
2005-10-19 01:06:34 +00:00
ccooper%deadsquid.com
5b2dda09da - do not show login box. That code doesn't exist yet;
- remove alert-on-exception in runtests js code;
2005-10-13 22:38:37 +00:00
ccooper%deadsquid.com
24de0ea30a - new look-and-feel code, css into css/ directory;
- javascript broken out into own directory;
- updated db schema to handle automated test results, along with associted Perl classes;
- reporting: searching and advanced searching functionality added;
2005-10-11 18:44:16 +00:00