- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
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
- 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
- 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
- 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
- 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
- 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
- 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