Commit Graph

103 Commits

Author SHA1 Message Date
zach%zachlipton.com
c26797fc97 Add null check for options[0] to eliminate mochikit error. 2006-08-03 22:17:46 +00:00
zach%zachlipton.com
2b3d79ef3d Land the mod_perl branch. 2006-08-01 20:50:15 +00:00
ccooper%deadsquid.com
f06817e715 b=346289
- remove ability to set testgroup/subgroup from the Manage Testcase interface
- provide links from Manage Testcase interface to Manage Subgroup and Manage Testgroup
- add/improve explanatory text for adding testcases
2006-08-01 15:27:50 +00:00
zach%zachlipton.com
7d04f23f2a * Add additional json hooks to retrieve lists of products, platforms, etc...
* (bug 334871) Search test lists by product/testgroup/subgroup
* Allow printing of all testcases matching a query
* Improve wording and organization of links in options sidebar
2006-07-28 22:26:43 +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
28b8ddcd09 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
2006-07-14 22:09:55 +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
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
1cd77bce7e - Make it possible to rename subgroups and testgroups and to enable and disable them (the state of the form controls were previously being ignored).
- When clicking the "edit testcase" link, make the edit form automatically display in manage_testcases.cgi

- Display markdown formatted text for testcase data in manage_testcases.cgi
2006-06-30 18:37:29 +00:00
ccooper%deadsquid.com
7d785bed7b - keep testcase ID: summary display constant with index page 2006-06-28 19:47:24 +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
96f5814c06 - fix comment ref 2006-06-27 15:54:05 +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
ccooper%deadsquid.com
84bca34a3e - allow loading message popu to take a custom message
- display loading popup when loading testcases
2006-06-23 18:37:58 +00:00
ccooper%deadsquid.com
f737740207 - allow testcase display template to be re-used in a single testcase display context
- in management interface, display testcase as it will appear to the user by default until the admin enters editing mode
2006-06-23 18:21:20 +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
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
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
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
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
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
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
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
6ed7e8a8ae - default to en-US 2006-03-06 19:58:18 +00:00
ccooper%deadsquid.com
7cf91788f6 - add login link to sidebar 2006-02-24 23:37:02 +00:00
ccooper%deadsquid.com
9248a85042 - make help text accurate 2006-02-24 22:06:01 +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
e3ab1f2273 - we allow retesting of completed subgroups now 2006-02-15 16:20:01 +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
46ce57fc9d b=321351
- display test group and subgroup in testcases header

Misc:
- don't display testcase config info when running tests
2006-02-07 21:34:28 +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
cec32647a3 - do some basic checking in JS for the limit value supplied 2006-01-30 23:06:56 +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
2d3e8bd059 Version number should be a comment, not displayed. 2006-01-19 20:07:50 +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
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