Commit Graph

176 Commits

Author SHA1 Message Date
ccooper%deadsquid.com
2f6d289a8c - update reference to process_test.cgi
- for single result submission, set cookies using current state-of-the-art
2006-06-23 15:35:30 +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
13dc73a736 - display last added/edited/cloned testcase/subgroup by default 2006-06-22 22:54:02 +00:00
ccooper%deadsquid.com
8aae733420 - rebuild js cache after management activities 2006-06-22 22:05:33 +00:00
ccooper%deadsquid.com
e38fcfc7ce - fix missing '=' 2006-06-22 21:00:39 +00:00
ccooper%deadsquid.com
db8959d250 - fix MochiKit case problem 2006-06-22 20:51:48 +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
d1c7b23bd4 Move buttons in manage_testcases.cgi to handle smaller monitors. Widen summary field. 2006-06-21 18:16:36 +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
c0ead5e763 - fix case in MochiKit inclusion 2006-06-20 20:01:08 +00:00
ccooper%deadsquid.com
34b31d2467 - adding missing template files for testcase management 2006-06-20 19:43:20 +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
9951bda9c5 Fix enter_test.cgi so it sets the author, creation_date, and version fields of new testcases. 2006-06-20 17:41:53 +00:00
timeless%mozdev.org
1168ce08b0 Bug 338087 Tinderbox 'L' popups are broken in Firefox trunk due to misuse of DOM Range
patch by Olli.Pettay@gmail.com r=timeless
2006-06-20 06:28:37 +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
e2dc03a72c Add Date::Manip to the module list. We've been using it for ages, but it was never listed. 2006-06-16 22:54:06 +00:00
zach%zachlipton.com
b5a0dfef68 Change some form field names to silence password manager. 2006-06-16 18:54:37 +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
ccooper%deadsquid.com
ba3e17c36a - fix status display for single results 2006-06-14 22:03:32 +00:00
ccooper%deadsquid.com
beb6d28a56 - remove sort_order 2006-06-14 17:30:10 +00:00
ccooper%deadsquid.com
3fb9e9fe84 - fix logic for displaying result submission/editing divs 2006-06-13 19:29:19 +00:00
zach%zachlipton.com
40c758b7dc Add coop's robots.txt file from the production install
S: ----------------------------------------------------------------------
2006-06-13 19:25:45 +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
zach%zachlipton.com
a311853504 Fix remaining schema nits. 2006-06-12 21:52:09 +00:00
zach%zachlipton.com
01e389b6d2 Fix syntax error in declaration of test_runs table ('auto increment' => 'auto_increment') 2006-06-12 21:46:44 +00:00
zach%zachlipton.com
af58e1d034 Add missing close paren in declaration of subgroup_testgroups table. 2006-06-12 21:43:40 +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
b1119a3815 - don't allow a string of zeroes for the build ID 2006-06-05 13:37:36 +00:00
ccooper%deadsquid.com
638e641e95 b=322585
- fail when no results are actually submitted
- grab product info from testgroup if necessary
2006-06-05 05:53:10 +00:00
ccooper%deadsquid.com
7d6c5dc95e 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
2006-06-05 04:07:29 +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
ccooper%deadsquid.com
b719adb951 b=323768
- change tests references to testcases
- fix changed field abbreviations
- display help text in popup divs
- disabled testgroup/subgroup editing -> interim step before test runs
- display lists of all testgroups/subgroups to which a testcase belongs when viewing a testcase
- make separate testing config (SysConfig) template, and display testing config when present and viewing matching single testcases
- allow admins to run individual testcases regardless of whether they are enabled or not
- remove secondary, imprecise build ID lookup JS stanza
- change layout/options for admin sidebar

b=322585
- fix defaulttestgroup display when continuing to test

b=320546
- add top testers stats back to stats page, now that we can hide email addresses

b=322607
- add show all/hide all to test list display for runtests

b=334871
- allow fulltext searching of testcases by summary, steps, and expected results
2006-06-05 03:40:24 +00:00
ccooper%deadsquid.com
113123bc48 b=323768
- 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
2006-06-05 01:22:25 +00:00
ccooper%deadsquid.com
d21b564f08 b=323768
- make errorHeading a generic class
- add styles for testcases (or update them from tests)
- add styles for testcase searching
2006-06-05 01:16:46 +00:00
ccooper%deadsquid.com
9735dc2962 - script to clone a testgroup, including all subsidiary subgroups and testcases 2006-05-25 19:00:32 +00:00
ccooper%deadsquid.com
531f0dfefd - order testgroups by name 2006-05-25 18:54:48 +00:00
ccooper%deadsquid.com
6051713eaa - script to import complete test plans from TestRunner 2006-05-25 18:45:33 +00:00
ccooper%deadsquid.com
3118d32464 b=335382
- adding new files for help display
2006-05-01 21:42:54 +00:00
ccooper%deadsquid.com
506934553a b=335382
- add improved automated lookup for build ID
- require 10-digit build ID
- add global framework for help text
2006-05-01 21:38:39 +00:00
ccooper%deadsquid.com
8c5367562c - allow --force updating of testcases 2006-04-06 19:39:35 +00:00