Commit graph

4498 commits

Author SHA1 Message Date
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
JT Smith
4f0d117c9f Added Karma RFE: Thumbnail size can be enterred in CS 2006-10-11 04:05:12 +00:00
Colin Kuskie
b1bb5d0b58 Fix broken templateId in Session/Style/process when useEmptyStyle was
requested.  It used to be 6, but at somepoint in the 6.x cycle it
was changed to be PBtmpl0000000000000132 in the database.

Added tests that verify that it works correctly.
2006-10-11 00:32:42 +00:00
Colin Kuskie
6cf1afc6a7 Add more POD to Style.pm to document that sent is set to true after this method
is called.

Add tests to check personalStyleTemplate and sent inside process method.
2006-10-10 23:10:31 +00:00
Drake
950c1e2306 Make it possible to have multiple, logically-ORed LDAP recursion filters in
LDAP links and groups.
2006-10-10 22:31:11 +00:00
Doug Bell
6d56df1362 Added SQLReport download and Product AddToGroup handler 2006-10-10 18:14:31 +00:00
Drake
38fdcf335f Associated with r2980: force PM assets to recalculate project completion
percentages in the upgrade script.
2006-10-06 23:45:26 +00:00
Drake
a713e90d9b Fix project manager project completion not working correctly, and task
editor not preserving duration.
2006-10-06 23:28:52 +00:00
Martin Kamerbeek
e2cad73c08 Calendar fixes 2006-10-06 14:45:16 +00:00
Drake
6516062d4d Overall refactoring of projectDisplay.js from the Project Management asset.
Hopefully this will make it much easier to deal with later, and hopefully this
will help to flush out the remaining duration-calculation-related bugs by
avoiding repetition of the calculations.  Various minor fixes in the process.

I'm not convinced this is completely bug-free yet, of course, but it does
seem at least to be slightly less broken than before, so.
2006-10-05 23:07:13 +00:00
Eric Kennedy
01bfe673ae fix: Error Displaying Multiple TimeTracking Wobjects 2006-10-05 20:45:52 +00:00
Drake
0be1331431 Fix problem with task edit screen in PM not receiving the proper start and end dates
for its form fields when first opened.
2006-10-05 17:27:34 +00:00
Colin Kuskie
33216321ec additional documentation about Assets for the Navigation and Glossary 2006-10-05 16:02:17 +00:00
Colin Kuskie
5920a6d482 10 more tests for methods in Session/Style.pm
Refactored generateAdditionalHeadTags to remove two loops.
2006-10-05 03:40:39 +00:00
Drake
d7a90bd48d Fix user searches in task resource additions in the Project Management
asset not displaying right without both first name and last name profile
fields present.
2006-10-05 00:28:11 +00:00
Drake
f28d7e8b2d Fix bug with Matrix listing additions committing the current
working tag.  This creates a separate tag for the assets under each
added listing, modeled somewhat after how CS posts work.
2006-10-04 23:20:39 +00:00
Drake
b99833a9cd Make behavior of SyncProfilesToLdap somewhat saner: iterate
over the users sorted by connection and then by userId, so
that we don't connect once to the LDAP server for each user(!),
and also use the LDAP link properly rather than rolling our own
anonymous bind.
2006-10-04 18:01:28 +00:00
Colin Kuskie
cd6caa0a8c fix project management template var and removed english text prepended to id 2006-10-04 16:43:37 +00:00
Roy Johnson
030b9043ff This is actually a better fix 2006-10-04 15:16:04 +00:00
Roy Johnson
dba346de69 fix - Shortcut causes endless loop 2006-10-04 15:10:40 +00:00
Colin Kuskie
ff2344cdad Added comments to the POD in Var.pm that creating a Var object overwrites
the Session Id.  This is by design.

Added a check to Style.pm so that if no params are passed to setLink that
it won't die by trying to deref undef into a hashref.

First set of tests for Session/Style added.
2006-10-03 23:27:08 +00:00
Drake
fd44b5d96e Tweak condition, possibly fixing a bug with resource display
in the Project Management asset.
2006-10-03 22:21:04 +00:00
Drake
2a7de10ab3 Fix onchange into onclick for radio buttons in task editor, and fix
erroneous doubled variable selected in query that was probably what
was causing times to show up as well as dates on some systems.
2006-10-03 21:55:58 +00:00
Drake
b8f173fefe Add progressive tasks to the Task Manager; these are distinct from the
existing timed tasks and milestones in that they have a duration that
increases based on the amount of time tracked for them, and no set
completion time.  Nearby minor fixes.
2006-10-02 22:33:00 +00:00
JT Smith
51280b0b38 Rearranged the autotag name creation to be easier to read. 2006-10-02 17:29:00 +00:00
Colin Kuskie
f5aaa2e996 Additional tests to cover WebGUI::Session::Scratch.
Found and fixed a but in Session/Scratch/deleteNameByValue.  It would
not delete any value that was false (0, '' or undef).  Added a defined-ness
check to make sure it will delete 0 or '', but undef is still not handled.
Added POD to say that this was the case.
2006-10-01 21:49:05 +00:00
JT Smith
e22c679421 - Removed the need for DateTime::Cron::Simple, which also added the ability
to use ! < and > in schedules.
2006-09-30 19:29:47 +00:00
Colin Kuskie
d995ff09fe Fixed a bug with WebGUI::Session::Url::page where, if preventProxyCache
was enabled a noCache param was always added to the URL.  In some
cases it would add 2 noCache params.

To fix this, I added a skipPreventProxyCache param to the gateway method,
and page just passes $pairs and $skipPreventProxyCache to gateway.

Added tests to Url.t to test gateway, page, makeAbsolute and urlize
to bring its coverage up to 100%.

Added tests to Stow.t to bring it's coverage up to 100% as well.
2006-09-30 17:23:44 +00:00
Colin Kuskie
b1a5c46fcb add 6 more tests for page and clean up the POD 2006-09-29 22:51:18 +00:00
Drake
066dbab461 Make Project Management asset task editor default start date of task
to start date of project.
2006-09-29 17:54:05 +00:00