28 Commits

Author SHA1 Message Date
ccooper%deadsquid.com
729b978398 Misc.
- removed references to Time::Piece::* modules. The default date behavior has burned us a few time now (most notably in the Session code), so we need to be explicit about our dates and date comparisons.
- standardized how we make our calls to Date::Manip
- implemented a logError method and use it replace all old STDERR output references
- manage_categories cleanup: show product name in branch listing, making it easier to find which branch you're looking for when many branches have the same name. Do the same thing for opsyses and platforms.
- added Litmus::Utils::sanitize() for processing CGI input


git-svn-id: svn://10.0.0.236/trunk@252331 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-13 21:07:48 +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
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
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
zach%zachlipton.com
1f75ff0e3f Kill a useless warning
git-svn-id: svn://10.0.0.236/trunk@229775 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 00:19:00 +00:00
ccooper%deadsquid.com
ac5df8a54f - update Litmus::XML: fix logic that couldn't have ever worked, updted to current field names, also fixed some whitespace abuse
- add essential fields to LogType
- add search option for automated results to advanced search page
- make automated test result info display conform with the rest of the look and feel


git-svn-id: svn://10.0.0.236/trunk@226391 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 19:17:08 +00:00
ccooper%deadsquid.com
b86cd0269d b=379348
- off-by-one error


git-svn-id: svn://10.0.0.236/trunk@225380 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 13:57:20 +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
zach%zachlipton.com
4fdfdc48d2 Land the mod_perl branch.
git-svn-id: svn://10.0.0.236/trunk@206326 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-01 20:50:15 +00:00
ccooper%deadsquid.com
7d421a5bdc - update reference to process_test.cgi
- for single result submission, set cookies using current state-of-the-art


git-svn-id: svn://10.0.0.236/trunk@200683 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 15:35:30 +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
28cfba31f6 b=322585
- fail when no results are actually submitted
- grab product info from testgroup if necessary


git-svn-id: svn://10.0.0.236/trunk@199019 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-05 05:53:10 +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
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
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
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
ccooper%deadsquid.com
57009ed60b - be more lenient with the format for bug submission/addition (remove extraneous characters)
- don't add bug ID 0


git-svn-id: svn://10.0.0.236/trunk@186022 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-13 22:12:22 +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
a76b3af64a - fix comment and bug ID acquisition for initial result submission
git-svn-id: svn://10.0.0.236/trunk@182382 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 17:00:06 +00:00
ccooper%deadsquid.com
bd3e3fb159 - use Date::Manip to set timestamps
git-svn-id: svn://10.0.0.236/trunk@182292 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-15 01:09:42 +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
zach%zachlipton.com
d1f886e658 Remove tabs.
git-svn-id: svn://10.0.0.236/trunk@178766 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 03:05:02 +00:00
zach%zachlipton.com
0d8389ed18 Fix broken "run some more tests" in process_test.cgi.
git-svn-id: svn://10.0.0.236/trunk@178668 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 05:22:14 +00:00
zach%zachlipton.com
faad7ac89b Actually fix the bug...
git-svn-id: svn://10.0.0.236/trunk@178665 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 03:55:12 +00:00
zach%zachlipton.com
9b6c92d014 Land Coop's new schema. This makes some pretty wideranging changes and there's no upgrade path, so to upgrade from a previous db, wipe your database and start over. Schema changes by coop, Class::DBI wrangling by me.
git-svn-id: svn://10.0.0.236/trunk@178330 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 03:39:02 +00:00
zach%zachlipton.com
f118ad17be A four hour flight means another batch of changes.
1. Some UI improvements to the test display page
2. Fix process_test and the format API to properly handle editing of fields defined in formats.
3. Adjust show_test.cgi to only show recent results and the last three non-recent results. Also added a showallresults mode that allows users to view all results if they want to.


git-svn-id: svn://10.0.0.236/trunk@177279 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-07 03:05:49 +00:00
zach%zachlipton.com
14623cc391 Major rewrite of <select> box code. Now we use litmusconfig.js and automatically generate the contents of select boxes in JavaScript using the information in litmusconfig. Pretty spiffy, eh?
git-svn-id: svn://10.0.0.236/trunk@177087 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-04 00:59:29 +00:00
zach%zachlipton.com
b9798f074b Initial checkin of Litmus 0.0.1 (a.k.a Naked Mole Rat).
git-svn-id: svn://10.0.0.236/trunk@176848 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-29 20:21:01 +00:00