68 Commits

Author SHA1 Message Date
ccooper%deadsquid.com
751526c5f7 b=394238
- use correct field id


git-svn-id: svn://10.0.0.236/trunk@236861 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-28 17:40:02 +00:00
ccooper%deadsquid.com
c0bdc445d1 b=378603
- enable test run reporting for completed test runs

Misc.
- silence JS warning
- pass cgi object as param when process sysconfig info when accepting test results


git-svn-id: svn://10.0.0.236/trunk@236856 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-28 16:58:17 +00:00
ccooper%deadsquid.com
2f39e8f112 - remove errant checkin
git-svn-id: svn://10.0.0.236/trunk@235447 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-10 17:02:02 +00:00
ccooper%deadsquid.com
d7b34d4446 - silence unintialized var warning
git-svn-id: svn://10.0.0.236/trunk@235446 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-10 17:00:01 +00:00
ccooper%deadsquid.com
7ea8d24c52 b=321268
- add paging for results sets to search_results.cgi, advanced_search.cgi, and common_results.cgi
- added selenium tests to cover paging through results

Misc.
- fix sorting and warning in aggregate_results.cgi
- make coomon results query and default results query use the read-only db
- updated existing selenium searching testcases
- fixed JS error that occured on search_results.cgi when the user was not logged in


git-svn-id: svn://10.0.0.236/trunk@235349 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-07 00:08:00 +00:00
ccooper%deadsquid.com
43f60f8bab - allow for single result submission from the testcase display page. Submission is limited to users who are already logged in, but they can supply quick config info in-page.
git-svn-id: svn://10.0.0.236/trunk@233508 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-31 20:03:09 +00:00
ccooper%deadsquid.com
ef3c67cc3b - make selenium text searchs more targetted
- fix auto-gen text for test runs and testgroups


git-svn-id: svn://10.0.0.236/trunk@233227 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 18:32:05 +00:00
ccooper%deadsquid.com
a0da31d7be b=393793
- removed outdated calls to findEdited() (and associated script)


git-svn-id: svn://10.0.0.236/trunk@233149 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-27 16:10:31 +00:00
ccooper%deadsquid.com
0993942804 b=393549
- wrap status call in a try{} block (ref: http://radio.javaranch.com/pascarello/2006/02/07/1139345471027.html)


git-svn-id: svn://10.0.0.236/trunk@233028 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-24 18:08:55 +00:00
ccooper%deadsquid.com
8526583c0d b=392894
- fix category call


git-svn-id: svn://10.0.0.236/trunk@232419 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 21:34:51 +00:00
ccooper%deadsquid.com
36d03e8ec7 b=382707
- Remove old users and old-world user auth functions

b=382797
- Remove vestiges of TestRunner support


git-svn-id: svn://10.0.0.236/trunk@232233 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-16 20:56:47 +00:00
ccooper%deadsquid.com
037b17e446 - revert errant checkin
git-svn-id: svn://10.0.0.236/trunk@232055 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-14 17:47:10 +00:00
ccooper%deadsquid.com
693c723c8b b=384365
- enable new testcases by default

b=384366
- change link text to "view/search tests"

b=387475
- add query to footer to show ungrouped testcases

b=389013
- prefill product and branch on new testcases

b=344703
- remember filter state after submitting testcase changes in manage_*.cgi

b=363001
- add query option to advanced_search to search for results with/without bugs specified

b=363293
- add testcase preview to results page


git-svn-id: svn://10.0.0.236/trunk@232054 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-14 17:41:23 +00:00
ccooper%deadsquid.com
ef8e586b35 - fix broken js and include missing js file for testday reports
- update selenium tests with new default (valid results only)


git-svn-id: svn://10.0.0.236/trunk@229542 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-09 17:27:21 +00:00
ccooper%deadsquid.com
3dcf236905 b=383152
- add previewTestgroup function


git-svn-id: svn://10.0.0.236/trunk@227699 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-08 15:18:54 +00:00
zach%zachlipton.com
7d1fd5f555 Allow superusers to edit all products. Fix a duplicated id in
manage_testcases that had been making the testcase_id go away when the
edit button was pressed.


git-svn-id: svn://10.0.0.236/trunk@227569 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-05 23:46:23 +00:00
zach%zachlipton.com
3c1dc52fd9 Two significant user authentication changes:
Bug 329250 - User permission groups. Creates several layers of admin
groups, including super-administrators, test run/test day administrators,
and product administrators, and restricts access to administrative
functions according to user group levels. Also adds auth tools to search
for users by group and to grant/revoke group permissions.

Added hooks for testcases to belong to security groups (much like
Bugzilla's group system) for future use.

Bug 314928 - Forgot Password feature. Allows users who have forgotten
their passwords to change them without intervention from the QA team.
Password change requests are authenticated by an email to the user and a
link they must follow to confirm their identity. Also adds Litmus::Mailer,
with general support for sending email from within Litmus for future email
features.

Also reinstated Memoization in a mod_perl-aware way for a few common
functions.


git-svn-id: svn://10.0.0.236/trunk@227557 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-05 22:29:44 +00:00
ccooper%deadsquid.com
2c81c2f527 b=383293
- add ability to persist single form variables
- only persist subgroup variable when repopulating subgroups


git-svn-id: svn://10.0.0.236/trunk@227529 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-05 14:00:08 +00:00
ccooper%deadsquid.com
0ddca05682 b=364136
- when filtering the select list, keep track of values we already displayed and don't display them again


git-svn-id: svn://10.0.0.236/trunk@227376 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-01 17:36:21 +00:00
ccooper%deadsquid.com
ef2bbcf81c b=363662
- allow listings to be sorted by name or id
- change testcase display on manage subgroups page to be 'Name (ID)' to match other pages


git-svn-id: svn://10.0.0.236/trunk@227373 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-01 16:50:38 +00:00
zach%zachlipton.com
81b1e4459f Fix typo in ManageTestcases.js (reported by ispiked)
git-svn-id: svn://10.0.0.236/trunk@227277 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-30 20:10:01 +00:00
ccooper%deadsquid.com
139b471c70 - widen display for build ID field
git-svn-id: svn://10.0.0.236/trunk@226259 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-10 16:33:36 +00:00
ccooper%deadsquid.com
3388d1accd b=362998,364257
- add help tooltips to explain what 'Vetting' means
- make vetting status, validity, and trusted source radio selections when performing an advanced search.


git-svn-id: svn://10.0.0.236/trunk@225586 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-04 16:26:15 +00:00
ccooper%deadsquid.com
fed72fb907 b=359421
- set collapsible div overflow to auto


git-svn-id: svn://10.0.0.236/trunk@225405 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 20:11:43 +00:00
ccooper%deadsquid.com
7679a11840 b=322949
- automatically re-select the same testgroup when the user return to continue testing
- select the first subgroup that has not yet been tested in its entirety (defaults to first subgroup if all subgroups have been tested)


git-svn-id: svn://10.0.0.236/trunk@224948 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-24 16:37:25 +00:00
ccooper%deadsquid.com
d55b9a2791 - disable MochiKit debuggin pane by default in the production install
git-svn-id: svn://10.0.0.236/trunk@224711 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-18 23:15:42 +00:00
ccooper%deadsquid.com
65f9d98907 b=314938,321116,321388,322949,350251,370211,370212
* test runs:
** update coverage stats dynamically when returning to run more tests
** replace index page with test run summary statistics
** provide more guidance to users after they submit test results
** considerable page load speed increases at entry points to testing by pushing stats calculations into AJAX which will load after the page loads
** basic test run reporting


git-svn-id: svn://10.0.0.236/trunk@224673 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-18 01:57:45 +00:00
ccooper%deadsquid.com
4c61ec37cc b=358817,362101,362998,366785,367523
* various search improvements:
** use id for searching and filtering
** allow users to search for their own results
** allow searching by vetted
** allow searching by test run
** fix search by comment
** show default limit of 15


git-svn-id: svn://10.0.0.236/trunk@224657 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-17 22:00:01 +00:00
ccooper%deadsquid.com
1efbb29421 - break testday management into it's own top-level category
- add links for test run and testday management to admin sidebar
- only display legend when we need are diplaying results


git-svn-id: svn://10.0.0.236/trunk@224647 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-17 20:57:52 +00:00
ccooper%deadsquid.com
7534b912ca b=363658
- fix runaway JS from double product setting


git-svn-id: svn://10.0.0.236/trunk@216950 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 20:04:36 +00:00
ccooper%deadsquid.com
e187b497d0 b=355278
- associate branches directly with testcases, subgroups, and testgroups
- existing Litmus installs will need to run the migration/update_branch_relationships.pl script to update their installs
- fix fidelity of testcase, subgroup, and testgroup listings so that entities th
at don't belong to groupings are still displayed

Misc.
- standardize how we call 'onchange' js functions to avoid capitalization errors that were plaguing us before
- enable differential sorting in FormWidget listings


git-svn-id: svn://10.0.0.236/trunk@216581 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 18:18:31 +00:00
ccooper%deadsquid.com
59436c2837 b=355548
- display regression bug ID in simple view of testcase

b=355459
- display enabled/community enabled status in simple testcase view for admin users

b=359744
- display testcases in testcase/subgroup sort order when printing

b=360621
- validate view testcase forms prior to submission

Misc.
- use JSON filters to limit view testcase results
- add enabled toggle for entity form widgets where appropriate


git-svn-id: svn://10.0.0.236/trunk@215269 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 20:23:31 +00:00
ccooper%deadsquid.com
4c65a00994 b=358035
- add automated testday reporting
- rejig sidebar -> divide up testing and reporting links
- added management category for testdays


git-svn-id: svn://10.0.0.236/trunk@214554 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-01 22:13:32 +00:00
ccooper%deadsquid.com
d8fca59a26 b=355030
- set regression bug ID to an empty string if the testcase does not have a regression bug associated with it


git-svn-id: svn://10.0.0.236/trunk@213079 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-03 20:08:23 +00:00
ccooper%deadsquid.com
a3390bca82 b=355146
- jump to edit mode immediately when that's the user's intention


git-svn-id: svn://10.0.0.236/trunk@213022 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-02 21:54:15 +00:00
ccooper%deadsquid.com
9b67ea401d b=352877
- add default '-Branch-' option to branches list when managing testgroups -> allows for limiting subgroup display by product only, but also allows display of subgroups that have not yet been assigned to a testgroup a therefore have no branch information associated with them

Misc.
- add helper text to Manage Testgroups and Manage Subgroups when in add mode, similar to what was already present for Manage Testcases
- search for all entities when using json.cgi, not just those that are Enabled
- move JS functions into separate JS files for each management interface


git-svn-id: svn://10.0.0.236/trunk@211890 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-17 17:19:58 +00:00
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