32 Commits

Author SHA1 Message Date
ccooper%deadsquid.com
db031e28dd b=328489
- adapted existing user manip page/routines to allow non-admin users to access their own profile information
- broke Litmus::Auth::expireSessions and Litmus::Auth::checkPassword out into their own subroutines
- add emptyOK checking to comparePasswords js function

Misc.
- whitespace fixes in testgroup files


git-svn-id: svn://10.0.0.236/trunk@208719 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-29 17:49:14 +00:00
ccooper%deadsquid.com
e17c5a7669 - don't override success/failure/info messages with loading messages
- display all enabled testcases to admin users when Running Tests. Regular testers will continue to see only community-enabled testcases.


git-svn-id: svn://10.0.0.236/trunk@206577 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-04 16:33:14 +00:00
ccooper%deadsquid.com
43788d3b78 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


git-svn-id: svn://10.0.0.236/trunk@203422 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-22 01:18:48 +00:00
ccooper%deadsquid.com
fe64c89913 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


git-svn-id: svn://10.0.0.236/trunk@202184 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-14 22:09:55 +00:00
ccooper%deadsquid.com
f29f963c5d - 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


git-svn-id: svn://10.0.0.236/trunk@202153 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-14 17:47:33 +00:00
zach%zachlipton.com
61ed313b31 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.
git-svn-id: svn://10.0.0.236/trunk@202036 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 17:17:59 +00:00
ccooper%deadsquid.com
bf0b441be4 - 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


git-svn-id: svn://10.0.0.236/trunk@201942 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-12 15:01:08 +00:00
ccooper%deadsquid.com
b4b89c36ea - revert unnecessary index check
git-svn-id: svn://10.0.0.236/trunk@201137 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-28 20:51:45 +00:00
ccooper%deadsquid.com
3ab5eb366c - add missing brace
git-svn-id: svn://10.0.0.236/trunk@201124 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-28 19:10:41 +00:00
ccooper%deadsquid.com
60a6f92b34 - make sure a product is actually selected
git-svn-id: svn://10.0.0.236/trunk@201123 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-28 19:04:30 +00:00
ccooper%deadsquid.com
c394f724d8 - allow loading message popu to take a custom message
- display loading popup when loading testcases


git-svn-id: svn://10.0.0.236/trunk@200704 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 18:37:58 +00:00
ccooper%deadsquid.com
b31bccf74c 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


git-svn-id: svn://10.0.0.236/trunk@200616 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 20:45:50 +00:00
ccooper%deadsquid.com
331acd520a - 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


git-svn-id: svn://10.0.0.236/trunk@200452 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-20 19:34:53 +00:00
timeless%mozdev.org
7a444c8559 Bug 338087 Tinderbox 'L' popups are broken in Firefox trunk due to misuse of DOM Range
patch by Olli.Pettay@gmail.com r=timeless


git-svn-id: svn://10.0.0.236/trunk@200415 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-20 06:28:37 +00:00
zach%zachlipton.com
dc8e371560 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 %].
git-svn-id: svn://10.0.0.236/trunk@200018 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 18:54:15 +00:00
ccooper%deadsquid.com
38a6ede929 - don't allow a string of zeroes for the build ID
git-svn-id: svn://10.0.0.236/trunk@199026 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-05 13:37:36 +00:00
ccooper%deadsquid.com
5913b8f32c 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


git-svn-id: svn://10.0.0.236/trunk@199010 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-05 01:22:25 +00:00
ccooper%deadsquid.com
8f67466ac9 b=335382
- adding new files for help display


git-svn-id: svn://10.0.0.236/trunk@195774 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-01 21:42:54 +00:00
ccooper%deadsquid.com
4a2dace418 b=335382
- add improved automated lookup for build ID
- require 10-digit build ID
- add global framework for help text


git-svn-id: svn://10.0.0.236/trunk@195773 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-01 21:38:39 +00:00
ccooper%deadsquid.com
18a704efc4 - use the right object type <sigh>
git-svn-id: svn://10.0.0.236/trunk@191086 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 23:02:28 +00:00
ccooper%deadsquid.com
2d0c9f7a41 - fix display for single testgroup/subgroup case
git-svn-id: svn://10.0.0.236/trunk@191083 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 22:46:38 +00:00
zach%zachlipton.com
5a89f5498f 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.


git-svn-id: svn://10.0.0.236/trunk@191056 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 19:36:49 +00:00
ccooper%deadsquid.com
bcc99307d9 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)


git-svn-id: svn://10.0.0.236/trunk@189322 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 18:20:53 +00:00
ccooper%deadsquid.com
00910d5d76 - do some basic checking in JS for the limit value supplied
git-svn-id: svn://10.0.0.236/trunk@188509 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-30 23:06:56 +00:00
ccooper%deadsquid.com
ee29b87580 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


git-svn-id: svn://10.0.0.236/trunk@188156 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-25 17:03:40 +00:00
ccooper%deadsquid.com
f0bb73e441 - when enabling the submit button, check whether we are being passed a NodeList or single Element and act accordingly
git-svn-id: svn://10.0.0.236/trunk@186297 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-19 22:22:46 +00:00
ccooper%deadsquid.com
1d8224b890 - add locale selection for test results;
- updated widgets for use with admin tools;
- in-progress work on admin tools


git-svn-id: svn://10.0.0.236/trunk@185983 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-13 03:03:37 +00:00
ccooper%deadsquid.com
5f3d5d1429 - 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


git-svn-id: svn://10.0.0.236/trunk@184920 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-18 17:37:38 +00:00
zach%zachlipton.com
e028094a1d 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.
git-svn-id: svn://10.0.0.236/trunk@184436 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-10 23:24:46 +00:00
ccooper%deadsquid.com
68c7dc463e - 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;


git-svn-id: svn://10.0.0.236/trunk@182515 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-19 01:06:34 +00:00
ccooper%deadsquid.com
4ace6b3fba - do not show login box. That code doesn't exist yet;
- remove alert-on-exception in runtests js code;


git-svn-id: svn://10.0.0.236/trunk@182199 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-13 22:38:37 +00:00
ccooper%deadsquid.com
83dca3e531 - 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;


git-svn-id: svn://10.0.0.236/trunk@182001 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-11 18:44:16 +00:00