Commit Graph

77 Commits

Author SHA1 Message Date
ccooper%deadsquid.com
56d00680fb - removing duplicate scpoing from cut-n-paste 2006-07-22 01:24:20 +00:00
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
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
5e71f49f76 - added verbose mode to add_testcases_from_xml.pl
- added add_branch method to Litmus::DB::Testgroup
2006-07-13 14:59:43 +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
zach%zachlipton.com
b149bc00f4 Bug 344207 - Can't use colons in link URLs. Fix adds colons to the regular expression in Litmus::StripScripts. Presumably, we want to consider sending this upstream to the real StripScripts developers. 2006-07-11 17:46:00 +00:00
ccooper%deadsquid.com
120c6176d3 - sort testcases by sort_order, then by testcase ID (for fallback sorting)
- create Litmus::StripScripts subclass of HTML::StripScripts so we can implement our own HREF validation, like say, allowing ftp:// and mailto:// links.
2006-07-07 20:34:58 +00:00
zach%zachlipton.com
909f525605 Remove the LIMIT 300 in User's FullTextMatches search to work around a mysql bug in the ancient version on rodan. 2006-06-29 17:41:49 +00:00
zach%zachlipton.com
47a815194e Bug fix in XML.pm. 2006-06-29 16:24:25 +00:00
ccooper%deadsquid.com
b5193c7c97 - order results by reverse date 2006-06-28 22:23:53 +00:00
ccooper%deadsquid.com
8c88a62bbe b=342041
- add ability to search for recently added or updated testcases
2006-06-28 19:03:45 +00:00
ccooper%deadsquid.com
34500452dd Manage testgroup
- change Litmus::FormWidget funciton name to getTestgroups
- add Essential column designations to Litmus::DB::Testgroup
- add functions to Litmus::DB::Testgroup: clone, delete_from_subgroups, delete_from_test_runs (stub), delete_with_refs, update_subgroups
- add testgroup display to mimic display for testcase

Manage subgroups
- display loading message for subgroups
- fix nesting of default option selection
- add subgroup display to mimic display for testcase
2006-06-27 15:51:58 +00:00
zach%zachlipton.com
d0d5b8f455 - 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
2006-06-27 00:39:09 +00:00
zach%zachlipton.com
bda81d842e -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.
2006-06-22 23:21:38 +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
zach%zachlipton.com
da1394cc30 Fix a few more missing $sth->finish warnings in DBTools 2006-06-21 17:01:20 +00:00
zach%zachlipton.com
482199d0e1 Bustage fix: Litmus has suffered an internal error - testresult is not a column of Litmus::DB::Resultbug 2006-06-20 23:46:18 +00:00
zach%zachlipton.com
1f3b40a15e Stupid typo... 2006-06-20 23:13:29 +00:00
zach%zachlipton.com
afc63ca5f3 Properly remember the previous build id entered during the current session. This avoids the need to retype it when going to run more tests. 2006-06-20 22:54:19 +00:00
zach%zachlipton.com
51ff8347ca Add missing $sth->finish() to FormWidget. This should fix the 'statement handle DBIx::ContextualFetch::st=HASH(0x897bda4) still Active' warnings. 2006-06-20 20:23:01 +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
zach%zachlipton.com
462cb1e027 Provide better error handling by defining an error handler in Litmus::DBI. When a database error is thrown, this handler will take care of calling Litmus::Error::internalError() and displaying a proper error message to the user. This should do much to prevent 500 Internal Server Errors and the blank pages that previously popped up. 2006-06-19 22:05:16 +00:00
ccooper%deadsquid.com
dd7caa2186 - only count enabled testcases in coverage measurement 2006-06-19 19:35:24 +00:00
zach%zachlipton.com
4f55f337d0 Improve search for edit_users.cgi. 2006-06-16 18:36:51 +00:00
zach%zachlipton.com
b7fbc692c4 * 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.
2006-06-16 17:27:54 +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
zach%zachlipton.com
5ca37b8242 Add missing file 2006-06-13 19:10:50 +00:00
ccooper%deadsquid.com
823e7b25f1 - associate sort_order with join tables so that testcases and subgroups can be properly reused 2006-06-13 18:29:33 +00:00
zach%zachlipton.com
c9544791be Bug fix: send a header when displaying the admin required error message 2006-06-13 17:10:56 +00:00
zach%zachlipton.com
42abcb0e16 * New feature: Add New Testcase
* Invalidate the current session when the user logs out

* Special variables defaultemail and show_admin are now included automatically in all template variable spaces. Scripts no longer need to manually fetch these and send them for the sidebar to work properly.

* The login page now displays a special message when an admin login is required to continue.
2006-06-13 17:05:23 +00:00
ccooper%deadsquid.com
cea4294070 - adding apache access directives for new testcase_files directory tree 2006-06-07 22:55:50 +00:00
ccooper%deadsquid.com
681b024298 b=323768
- renamed Test.pm to Testcase.pm
- renamed Result.pm to ResultStatus.pm
- remove extraneous references to platform -> same info is acquired through opsys now
- add DEBUG flag to Config.pm
- change tests references to testcases
- fix changed field abbreviations
- add helper DBTools methods for:
-* renaming tables
-* adding a fulltext index
-* dropping indices
- add new retrieve_all overrides for Locale.pm and User.pm
- add sql methods to retrieve entity information from join tables:
-* Platform
-* Subgroup
-* Testgroup
-* Testcase
-* Testresult
- replace Class::DBI-heavy (read: slow) coverage functions with targetted sql that only return the required fields
- remove out-of-date age and isrecent functions, along with references to expirationdays

b=320546
- use truncated email as display name when all else fails

b=334871
- add fulltext search functions for searching testcases by summary, steps, and expected results
2006-06-05 03:55:52 +00:00
zach%zachlipton.com
e3c11e3b3e Only load Litmus::BugzillaDBI if Bugzilla auth is enabled, otherwise we get errors when the database connection fails. 2006-04-06 03:29:37 +00:00
ccooper%deadsquid.com
08b9f5f675 - 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
2006-02-24 22:02:41 +00:00
ccooper%deadsquid.com
4b6d84767b - display only valid results (interim) 2006-02-24 17:19:49 +00:00
ccooper%deadsquid.com
3457807d7c b=321120
- mark completed testcases with a checkmark, and shade the background in the same manner as the testgroup/subgroup selection page.
- change is_completed to return a list of results (if they exist)

Misc.
- some CSS standarization
2006-02-13 23:10:42 +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
4e18fa9df7 b=324648
- search parameters are being double-escaped due to the interaction of quotemeta and qq{}. Remove quotemeta and just escape single quotes instead.
2006-01-30 21:53:55 +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
zach%zachlipton.com
535505b34d Add IRC Nickname field to login page, take two. 2006-01-19 00:03:31 +00:00
zach%zachlipton.com
de68d57036 Disable Bugzilla login until we can have it not cause 500 internal server errors. 2006-01-17 04:54:31 +00:00
zach%zachlipton.com
54216d2050 Add missing object->method() calls to DBTools.pm. 2006-01-17 04:38:00 +00:00
zach%zachlipton.com
672bb7184e Add account conversion/upgrading code. 2006-01-15 05:20:06 +00:00
zach%zachlipton.com
46e0cae954 Add Litmus Authentication System and db schema upgrading tools. 2006-01-08 03:56:10 +00:00
zach%zachlipton.com
3edd16a568 Add a validate_login stub to Litmus::Auth so as not to block coop's web services work with authentication issues. 2005-12-28 20:42:49 +00:00
ccooper%deadsquid.com
6bd65a6d5f b=321265
- add user to result display and allow searching/limiting by user email (admin only)

Other:
- search results now validate as XHTML transitional
2005-12-23 23:08:08 +00:00
ccooper%deadsquid.com
7a01888b57 Add locale to search result display, and allow searching/limiting of results by locale.
Add separate form widget for dealing with unique platofrm (vs. associated with product).
2005-12-22 18:25:16 +00:00
ccooper%deadsquid.com
11c79ce25f - allow searching/sorting by locale 2005-12-13 04:26:15 +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