Commit graph

4527 commits

Author SHA1 Message Date
Martin Kamerbeek
8b706dc727 fixed ldap auth module bug 2006-10-31 17:21:38 +00:00
Colin Kuskie
5408bc2de2 forward port of Survey section variables, chunk #1 2006-10-30 23:51:01 +00:00
Doug Bell
2675784f14 Stow now warns if set() is called when cache is disabled 2006-10-30 21:02:15 +00:00
JT Smith
b9010b8c07 merging 7.1.3 changes 2006-10-30 20:20:24 +00:00
Colin Kuskie
6c46d97eea update help mentioning RawHeadTags macro 2006-10-30 18:37:29 +00:00
Colin Kuskie
75f159f71b A whole batch of Http test, and a pseudo Request test module to help.
Added accessors to Session/Http.pm, and wrote tests to back them all up.
2006-10-30 18:09:25 +00:00
Colin Kuskie
0b1e077f69 Changed the Help so that chapters with only 1 page are directly linked, saving a click.
Added pluggable template parser docs.
From the dev list, changed HTMLTemplateExpr to translate all dots in template
variables to underscores, since EXPR's don't do dots, just like TemplateToolkit.
2006-10-29 23:36:18 +00:00
Colin Kuskie
8905b7252c Remove one click from the Help if a Chapter only has 1 page 2006-10-28 21:16:36 +00:00
Doug Bell
524f361047 fix: HttpProxy would not put correct values for multiple query params
with the same name
Tried to clean up some HttpProxy code. Still rather ugly (need rewrite?)
2006-10-27 23:40:34 +00:00
Doug Bell
50e7645322 fix: SQLReport now throws fatal if can't find DatabaseLink
DatabaseLink now warns if can't find DatabaseLink
2006-10-27 20:42:59 +00:00
Colin Kuskie
4ed1ffe3c7 Set default mime-type to include character encoding inside Session/Http.pm
Fix typo in pod in AddUserToGroup workflow.
2006-10-27 04:09:58 +00:00
Drake
bebf3f159c Make all LWP user agents use env_proxy. 2006-10-26 20:07:43 +00:00
Doug Bell
c86f3c9996 fix: Commerce product group bug./
Backported version tag fix to 7.1.2
2006-10-23 18:20:30 +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
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
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
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
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
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
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
fd95c57ed0 More 7.1 features 2006-10-11 21:46:51 +00:00
Roy Johnson
a43577a119 New features for 7.1 2006-10-11 19:26:10 +00:00
Drake
5b5858055a Missed a few lines. D'oh. 2006-10-11 19:00:50 +00:00
Drake
0ea9ef2244 Minor fixes to previous LDAPLink changes, including stripping \r
properly and not transforming the recurseFilter multiple times.
2006-10-11 18:54:32 +00:00
Colin Kuskie
a86c34df84 Added 5 more tests for Style's process method, checking for meta tags
for default processing and for meta tags when cache busting is enabled.

Fixed a bug where the default meta tag Generator did not contain the
WebGUI version.

Added lots of POD to the Style module detailing how meta tags are
handled in various cases.
2006-10-11 04:15:21 +00:00