29 Commits

Author SHA1 Message Date
ccooper%deadsquid.com
101980826e b=394531
- allow admins to select testgroups/subgroups for a testcase from the manage testcases interface

b=375987
- schema and perl module changes to allow for testcase tagging. No interface yet.

Misc.
- return only unique testgroups for testcases via JSON
- log testcase creation/cloning warnings rather than doing nothing
- add removeRowFromTable and resetTable as general functions to FormValidation.js
- modify affected selenium testcases now that the 1.5 branch has been taken out of Litmus


git-svn-id: svn://10.0.0.236/trunk@244579 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-31 07:26:41 +00:00
ccooper%deadsquid.com
76d9825894 - fix Makefile
- add testday_subgroups to schema
- fix selenium testcases to return more quickly (add criteria)


git-svn-id: svn://10.0.0.236/trunk@239987 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-27 18:56:02 +00:00
ccooper%deadsquid.com
043e216010 b=320156
- collation changes to user searches


git-svn-id: svn://10.0.0.236/trunk@237613 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-11 20:53:24 +00:00
ccooper%deadsquid.com
1e5e795a10 b=392894
- don't drop locale data on result submission when we're not en-US


git-svn-id: svn://10.0.0.236/trunk@232392 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 17:48:11 +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
f496a6233d b=345323
r=zach
- add audit_trail tracking for admin actions


git-svn-id: svn://10.0.0.236/trunk@231186 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-30 19:36:53 +00:00
zach%zachlipton.com
f8c106f945 Add an index to security_groups.
git-svn-id: svn://10.0.0.236/trunk@228065 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 18:31:09 +00:00
ccooper%deadsquid.com
e1d745d4f5 b=383433
- add new methods to DBTools for manipulating primary keys
- updated schema: remove auto-inc column from test_result_bugs and make compound primary key
- update populatedb.pl to update test_result_bugs table on existing installs


git-svn-id: svn://10.0.0.236/trunk@227585 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-06 14:48:16 +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
dd8c458f44 b=314938,370211,370212
- schema changes for test runs


git-svn-id: svn://10.0.0.236/trunk@224674 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-18 02:00:10 +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
488652005e b=360954
- fix compound indexes for users table


git-svn-id: svn://10.0.0.236/trunk@215373 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 21:48:50 +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
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
zach%zachlipton.com
3d00414a73 - Add is_automated_result flag to test_results table to track when results are part of automated testing scripts.
- Set machinename field in the db when processing automated test data in XML.pm
- Make automated testing results visually distinct in the UI


git-svn-id: svn://10.0.0.236/trunk@200984 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-27 00:39:09 +00:00
zach%zachlipton.com
7b87661f1a -Web Services: support a web services interface for test result submission. See http://wiki.mozilla.org/Litmus:Web_Services for details.
- Make a join table for logs so that test results can have any number of logs and we don't have to have duplicate entries in the log table.


git-svn-id: svn://10.0.0.236/trunk@200647 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 23:21:38 +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
zach%zachlipton.com
c711b6d61f Improve search for edit_users.cgi.
git-svn-id: svn://10.0.0.236/trunk@200135 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-16 18:36:51 +00:00
zach%zachlipton.com
99d98100dc * Add new edit users interface to allow admins to search for users and to change change user passwords, email addresses, and other user data.
* Add automated testing authentication token to the user table -- to be used for future web services work.

* Create a fulltext index of user data to aid searching.


git-svn-id: svn://10.0.0.236/trunk@200129 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-16 17:27:54 +00:00
ccooper%deadsquid.com
f5041e70bc - associate sort_order with join tables so that testcases and subgroups can be properly reused
git-svn-id: svn://10.0.0.236/trunk@199822 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-13 18:29:33 +00:00
zach%zachlipton.com
19ea639753 Fix remaining schema nits.
git-svn-id: svn://10.0.0.236/trunk@199766 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-12 21:52:09 +00:00
zach%zachlipton.com
e5a77b2106 Fix syntax error in declaration of test_runs table ('auto increment' => 'auto_increment')
git-svn-id: svn://10.0.0.236/trunk@199765 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-12 21:46:44 +00:00
zach%zachlipton.com
38076e9fca Add missing close paren in declaration of subgroup_testgroups table.
git-svn-id: svn://10.0.0.236/trunk@199763 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-12 21:43:40 +00:00
ccooper%deadsquid.com
f9e1bee8fe b=323768
- change tests references to testcases
- fix changed field abbreviations
- disabled testgroup/subgroup editing -> interim step before test runs
- display lists of all testgroups/subgroups to which a testcase belongs when viewing a testcase
- updated database schema
- updated database population script.
- NOTE: due to changes in the underlying db structure, it will be necessary for users to establish new linkages between products, platforms, testgroup, subgroups, and testcases (documented in populatedb.sql)
- when running tests, ony display testgroups that match the chosen branch

b=322585
- fix defaulttestgroup display when continuing to test

b=334871
- allow fulltext searching of testcases by summary, steps, and expected results


git-svn-id: svn://10.0.0.236/trunk@199018 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-05 04:07:29 +00:00
ccooper%deadsquid.com
68dd3d6f97 - standardize on 'enabled' as field name of choice for entities that can be toggled on or off
- replace test status with simple enabled field, and remove obsolete Status.pm
- add enabled fields to Testgroups and Subgroups


git-svn-id: svn://10.0.0.236/trunk@191205 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-24 22:02:41 +00:00
ccooper%deadsquid.com
28b8772e54 - disabled is a boolean flag
git-svn-id: svn://10.0.0.236/trunk@191159 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-24 17:07:59 +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
zach%zachlipton.com
02be14268b Add IRC Nickname field to login page, take two.
git-svn-id: svn://10.0.0.236/trunk@187789 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 00:03:31 +00:00
zach%zachlipton.com
259b1c6755 Add Litmus Authentication System and db schema upgrading tools.
git-svn-id: svn://10.0.0.236/trunk@187138 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-08 03:56:10 +00:00