Commit graph

6294 commits

Author SHA1 Message Date
Colin Kuskie
2b73d1ee2d add new module dependency for sales tax 2006-10-21 15:48:09 +00:00
JT Smith
5c77aace16 Fixed a bug where logging in/out would cause a blank page display. 2006-10-21 03:05:28 +00:00
Colin Kuskie
e434fb700c Remove crufty code from HTMLForm that was never used.
More tests for Session/Icon.pm.  Due to the way the code is written,
this test will not test 100% of the code.  Untestable conditions include
not being able to find the toolbar directory in getToolbarOptions, and
all code that sets a default pageUrl in any icon-specific method.
2006-10-21 02:12:34 +00:00
Colin Kuskie
f3ab99bc02 sales tax 2006-10-21 01:13:07 +00:00
Drake
4deff2a0a9 The beginnings of a test subsuite for VersionTag.pm. 2006-10-20 23:07:22 +00:00
Colin Kuskie
d55789fce3 refactored test to make pick up tests easier 2006-10-20 22:56:30 +00:00
Drake
6a723e5767 Merge fix from r3049 of 7.1 branch related to dashboard error pointed out
by bug report "Macros failing due to Utility::isIn() bug".
2006-10-20 21:32:10 +00:00
Colin Kuskie
6ad527c4a9 Bulk tests for Session::Icon
Documented the disabled flag for moveDown and moveUp.  Only the EMS uses this in
the core as far as I can tell.
Optimized out 1 profile call in getBaseURL
2006-10-20 21:19:08 +00:00
Drake
d5be2abcf3 Make Text::Aspell optional. This is mostly to unblock development on HEAD
for those of us who can't get Text::Aspell to work, with no UI components
added to show that the spell checker is disabled.
2006-10-20 20:56:13 +00:00
Colin Kuskie
37aad09679 Clean up Session::Privilege code.
Add $! to errorHandler message in Session::Icon when toolbar dir cannot be opened.
Change i18n for default toolbar "Default" to be more self explanatory.
2006-10-19 23:19:22 +00:00
Colin Kuskie
052d0ddb15 Os tests covering all possible, valid operating systems. Also has 100% test coverage 2006-10-19 17:49:51 +00:00
Martin Kamerbeek
e32bacc2b5 Fixed a silly typo 2006-10-19 16:53:53 +00:00
Colin Kuskie
b7ff72d27b tests to add 100% coverage to Privilege 2006-10-19 16:49:19 +00:00
JT Smith
6c24ea7aeb - Fixed a bug that caused workflows to fail if collaboration systems and
posts for that CS were in the same version tag at commit time.
2006-10-19 16:36:59 +00:00
Martin Kamerbeek
9f232b4049 Adding spellchecker 2006-10-19 15:25:50 +00:00
Roy Johnson
fe664733cd Ready for 7.2.0 dev 2006-10-19 00:07:32 +00:00
Roy Johnson
f9a8f2c71c bumping the changelog up 2006-10-18 23:22:17 +00:00
Roy Johnson
67d5db4ff4 Ready for 7.1.2 dev 2006-10-18 23:19:57 +00:00
Roy Johnson
2a61af1cba Preparing for 7.1.1 beta release 2006-10-18 22:51:52 +00:00
Roy Johnson
e4d3e5839f Added 3 new tests to article for the view method, caching of the view method, and the purgeCache method. They aren't quite working right yet though... 2006-10-18 22:42:58 +00:00
Roy Johnson
47f023255f fix - New created users don't have password 2006-10-18 22:13:36 +00:00
Roy Johnson
2e506660f8 fix - Cannot manage user accounts in 7.1.0. See the comments in Auth/LDAP.pm. We really need a more robust fix. 2006-10-18 21:15:48 +00:00
Colin Kuskie
eef214ebb6 beginning of Privilege test 2006-10-18 03:32:40 +00:00
Roy Johnson
e396eb9e31 Crediting companies that funded portions of 7.1 development. 2006-10-17 17:04:25 +00:00
Colin Kuskie
276a2aa99d update test to work with getStatusDescription 2006-10-16 16:09:15 +00:00
Colin Kuskie
acaa0a0e20 remove context sensitive behavior of getStatus and add an accessor instead 2006-10-16 15:58:47 +00:00
Colin Kuskie
defef0767d missed two places where getStatus is called in list context. fixed. 2006-10-16 15:50:03 +00:00
Drake
c5e656c434 Reverse r3021 by request. 2006-10-16 14:03:15 +00:00
Colin Kuskie
ca7110249f Extend Session::Http::getStatus so that is will also return the
description when called in list context.
Build tests to verify that behavior, and the default settings
for code and description.
2006-10-15 05:23:32 +00:00
Colin Kuskie
ab835f3c64 more docs about return vales from addFileFromFilesystem 2006-10-15 01:19:37 +00:00
Colin Kuskie
d6a62df50c This test is failing in the smoke-tests, but manual runs by two different
people on different OS'es are passing.  I've added some diagnostic tests
to help us figure out what's going on.
2006-10-15 01:16:57 +00:00
Drake
e03d761eca Internationalize additions to asset expoter. 2006-10-13 21:22:28 +00:00
Drake
1674bcfe10 First semi-usable version of wiki asset. This should probably be improved
somewhat before release; the default page selector doesn't quite work the way
it should, and there aren't icons, and there are a few features missing, and
some code duplication, &c.
2006-10-13 20:08:56 +00:00
Drake
d0bacc8988 Make File assets work with the exporter. This means not using the streaming
mechanism.  This isn't optimal; should find a way to use the streaming
mechanism iff we know that there's going to be a live HTTP session on the
other end and not just a filehandle.
2006-10-13 20:01:48 +00:00
Martin Kamerbeek
dc5d96dd5b Fixing lineage length bug 2006-10-13 14:17:08 +00:00
Doug Bell
d0ef4e92db Fixed default value for download type 2006-10-12 23:51:29 +00:00
Colin Kuskie
eadb9ada36 Implemented the last few tests to give Session::Style 100% coverage.
There are still a few functional tests that need to be written, they're
codified as TODOs.

In Session/Style.pm, in all methods that have a send immediate option
(when sent=1), they no longer send and cache.  This prevents duplicate
heag tags from being generated if generateAdditionalHeadTags was
ever called twice.
2006-10-12 22:43:33 +00:00
Colin Kuskie
45627b37ed Full test for Output.t using tied variables as filehandles.
Test requires perl 5.8 and up since it uses PerlIO.
Test provides 100% coverage of Session::Output.pm
2006-10-12 17:32:24 +00:00
Colin Kuskie
1ff964d399 fix whitespace problem in POD 2006-10-12 14:24:46 +00:00
Colin Kuskie
514c2263fc Added tests to cover userStyle.
fixed a bug in userStyle where it would not process data that was false.
process will do this, so I made userStyle do it as well by adding
in a definedness check on $output.
2006-10-12 04:53:43 +00:00
Colin Kuskie
01a09cbea9 Add tests for printableStyleTemplateId.
Found a fixed an infinite loop in WebGUI::Style::process

If an asset was requested to be printed who does not have a
printableStyleTemplateId then process would recurse back up the
lineage until it does find an asset with a printableStyleTemplateId.
Eventually, if none is found, it will find the Asset Root, whose
parent is itself, and it will loop forever.

I added code to jump out of the loop if it recurses back to the
assetRoot.
2006-10-12 04:06:13 +00:00
Drake
57f7fe1c6f Make the asset exporter use one session per asset, so as to avoid breaking
state that relies on only one asset being viewed per session.
2006-10-12 02:45:43 +00:00
Drake
dad217b7fe Add feature for asset exporter that creates appropriate symlinks for
extras, uploads, and the default asset at the root URL.
2006-10-12 02:22:47 +00:00
JT Smith
358f0ecdb8 - fix: Survey: textarea answers are trunctated
- fix: Snippet Security Fails
2006-10-12 01:46:07 +00:00
Colin Kuskie
7867ce3573 more POD docs for WebGUI::Session::Style->process that describe hierarchy if templates 2006-10-12 01:13:41 +00:00
JT Smith
6a9a4bb0a0 Search from root 2006-10-12 01:11:23 +00:00
Colin Kuskie
5906df9ec7 add missing label for subscription length 2006-10-12 01:09:32 +00:00
Drake
f7a61cd5c6 Fix problem with asset export not handling certain URLs with dots in them correctly. 2006-10-12 00:05:06 +00:00
Roy Johnson
a4784a31e9 Ready for 7.1.1 dev 2006-10-11 23:15:44 +00:00
Roy Johnson
3d7e06cc85 Preparing for 7.1.0-beta release 2006-10-11 22:58:29 +00:00