Commit graph

91 commits

Author SHA1 Message Date
Graham Knop
60a4a9b140 mark $session->datetime->time as deprecated and remove its use from core code 2009-10-05 20:56:37 -05:00
Graham Knop
62cb3a4b9c correct error detection code in export 2009-10-02 14:56:50 -05:00
Graham Knop
c5ea4d0748 explicitly close filehandle used for exports 2009-09-24 18:55:23 -05:00
Graham Knop
b8127bafec Revert "When opening or duplicating Session objects, pass on any Apache2::Request object"
This reverts commit ed97fa1ecd.
2009-09-08 11:06:39 -05:00
Colin Kuskie
ed97fa1ecd When opening or duplicating Session objects, pass on any Apache2::Request object
stored in the current session.
2009-08-14 01:38:03 +00:00
Graham Knop
1f3ab6a419 export cleanups and mobile style 2009-05-15 09:30:20 +00:00
Colin Kuskie
8d8d5f2d3b Do not set the exporting scratch variable in places where it is not needed. 2009-04-24 19:04:29 +00:00
Colin Kuskie
1b8ad91605 Add in StoryManager, 3 assets for managing news content in WebGUI.
Several small API changes to Keyword and AssetExportHtml to support StoryManager functionality.
2009-04-24 18:31:06 +00:00
Colin Kuskie
19f703dc9b Merge with HEAD, 10472 2009-04-24 17:12:17 +00:00
Colin Kuskie
ec567a7e24 Set the scratch variable for the main asset as well. 2009-04-24 02:02:42 +00:00
Colin Kuskie
09ad8d2a11 Remove subclass exportHtml_view in favor of a session scratch variable for telling
when the asset is being exported.  Keyword files are exported into a private directory
to prevent filename collisions.
2009-04-24 00:05:09 +00:00
Graham Knop
a1cd2e3ad7 log asset exports 2009-04-23 16:22:13 +00:00
Colin Kuskie
4c1307e3d0 merge to 10219 2009-04-08 16:35:31 +00:00
Graham Knop
ca4a9add6d RssFeed fixes and cleanups 2009-04-02 16:24:44 +00:00
Matthew Wilson
cf63a4e4f3 (Matthew Wilson) add AssetAspect/RssFeed. See exportAssetCollateral for a good time. 2009-03-30 21:38:12 +00:00
Graham Knop
7064eb1a2a Keywords form control, Keywords API enhancements, Keywords format change 2009-03-26 20:52:19 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Graham Knop
b255495c02 fixed: Exporting to static files can leak large amounts of memory 2009-01-22 01:14:33 +00:00
Graham Knop
f3e08f3268 fixed: international characters are corrupted on export 2008-12-03 00:32:43 +00:00
Colin Kuskie
1c8dbfe5b4 fix POD related to asset mixin classes, Asset*.pm 2008-11-24 22:22:39 +00:00
Graham Knop
d9c1f88eab cleaning up some imports 2008-11-24 04:00:46 +00:00
Colin Kuskie
1573fba55e fix bad value in asset export 2008-11-20 20:53:51 +00:00
Colin Kuskie
e96b2bbdb3 forward porting asset export i18n and hoverhelp 2008-11-20 20:51:03 +00:00
Chris Nehren
a30b919cff remove the superfluous '.'s from the exportBinaryExtensions config field and
update exportGetUrlAsPath's regex to match.
2008-10-17 20:36:35 +00:00
Colin Kuskie
75b39feb08 final fixes for AssetExportHtml test 2008-10-08 16:52:52 +00:00
Colin Kuskie
8e6c3297bb forward port i18n AssetExportHtml error messages 2008-10-04 07:47:58 +00:00
Chris Nehren
21058ead4d changed: the list of extensions for the export system to pass through
unmodified has been moved to the configuration file under the
"exportBianryExtensions" field.
2008-10-01 19:22:34 +00:00
Colin Kuskie
7d59a4d7c7 Fix a bug where GUID style userIds were rejected by AssetExportHtml. 2008-09-14 02:39:32 +00:00
Doug Bell
6f90867d26 fixed: issue with asset export HTML and putting head tags ABOVE <!doctype> and <html> tags. Now creates
a new session for each asset that it exports.
fixed: Widget gear now does not move user to a different part of the page
added a nice error message when the Widget macro can't find a URL.
2008-07-18 21:09:11 +00:00
Graham Knop
3ab206ad48 prevent sessions leaking when doing an export 2008-06-20 08:56:40 +00:00
Chris Nehren
5dfc9e3bfc bug fixes for widgets and exports. snippets were exported as index.html or the
like, and widget toolboxes weren't popping up in a widgetized view.
2008-05-31 19:42:38 +00:00
Chris Nehren
6139073807 Fixed POD for exportGetUrlAsPath. Parameter list didn't match actual
parameters.
2008-05-20 19:49:05 +00:00
Chris Nehren
02535bf196 fix a small scope bug 2008-04-17 21:09:49 +00:00
Chris Nehren
8fffa72836 Add a virtual method plugin point, exportAssetCollateral, for complex assets
(like the CS and the calendar) to override and specify how to export all of
their different data.
2008-04-17 20:25:26 +00:00
Chris Nehren
78667e80aa Rearrange a couple of lines in exportAsHtml to only get the exportPath if we
know it's valid.
2008-04-17 15:36:51 +00:00
Chris Nehren
304ec5d687 A few more fixes, mostly POD. Add an exportCheckPath call to
exportGetUrlAsPath.
2008-04-17 15:34:35 +00:00
Chris Nehren
e9d41d6264 Several fixes, namely compliance with WGBP / PBP. This file is now tab-free! 2008-04-17 03:49:19 +00:00
Chris Nehren
684ce5a7ca The export system has been completely rewritten to be less monolithic and
easier to understand. It's also got a fully rewritten test suite (145 and
counting). It uses Path::Class for much of its work, which is now a requirement
for wG.
2008-04-16 22:16:11 +00:00
Graham Knop
797b1d2cc6 fixed: exporting as HTML leaks sessions for inaccessible assets 2008-03-07 16:35:12 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
Chris Nehren
7accc3c57f Add fine-grained export controls. You can now specify whether you want specific
assets to be exportable. If any of an asset's parents aren't exportable, that
asset also won't be exportable.
2008-01-02 22:32:40 +00:00
Graham Knop
f8781fede9 setHelp not used anymore, clean up tests 2007-09-21 02:30:12 +00:00
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +00:00
Roy Johnson
9c3fb513c4 7.3.12 release 2007-03-14 15:31:23 +00:00
JT Smith
456ec9dd0b fixed a double // problem with export, and added a missing entry to the change log 2007-03-12 15:16:38 +00:00
JT Smith
fc3f206171 EXPORT- Exporting Files (PDFs, docs, and some pages) 2007-03-07 21:50:25 +00:00
Doug Bell
6e8547169a fixed changelog and some formatting issues 2007-02-01 20:24:00 +00:00
Doug Bell
af66fa585c Updated AssetExportHtml and tests. Now to re-order the export. 2007-02-01 16:57:05 +00:00
Doug Bell
d6be45a1c0 Updated docs for AssetVersioning, WebGUI::DateTime
Added some Help/i18n for Calendar
Fixed some Asset::Event formatting issues
Step one in fixing AssetExportHtml
2007-02-01 16:36:48 +00:00
Roy Johnson
63376067ff removed some debug comments and fixed a cut and paste comment error 2007-01-30 15:44:31 +00:00