Colin Kuskie
b323f74121
Update copyright notice
2011-12-28 11:30:38 -08:00
Colin Kuskie
5f9f1e6dec
Remove all unnecessary usage of SUPER from Assets
2011-12-07 08:26:08 -08:00
Colin Kuskie
4855816a29
Merge commit 'v7.10.21' into WebGUI8. Also, add POD and fix broken tests.
2011-10-27 16:45:19 -07:00
Peter Christiansen
fd3346586e
- added #9668 extension template variable to attachment loops for the following assets:
...
Article,Post,Event,File,Form::Attachments,Folder
2011-07-21 21:42:17 +02:00
Doug Bell
0c5acb697b
Merge commit 'v7.10.18' into 8
...
Conflicts:
docs/gotcha.txt
docs/previousVersion.sql
docs/templates.txt
lib/WebGUI.pm
lib/WebGUI/Asset/File.pm
lib/WebGUI/Asset/Story.pm
lib/WebGUI/Asset/Wobject/Calendar.pm
lib/WebGUI/Asset/Wobject/Thingy.pm
lib/WebGUI/AssetExportHtml.pm
lib/WebGUI/Content/AssetManager.pm
lib/WebGUI/Group.pm
lib/WebGUI/Macro/AssetProxy.pm
lib/WebGUI/Shop/PayDriver/PayPal/PayPalStd.pm
lib/WebGUI/Storage.pm
t/Asset/AssetExportHtml.t
t/Asset/Story.t
t/Shop/TaxDriver/Generic.t
t/Storage.t
2011-06-21 16:03:49 -05:00
Doug Bell
664e7686c6
fix bugs revealed by Test::Class tests
2011-06-02 19:44:06 -05:00
Paul Driver
181f21a0b7
WebGUI::Event
2011-05-31 16:13:09 -05:00
Doug Bell
677ac978b6
Merge branch 'WebGUI8' of github.com:plainblack/webgui into 8
...
Conflicts:
lib/WebGUI.pm
lib/WebGUI/Auth/WebGUI.pm
sbin/findBrokenAssets.pl
sbin/testEnvironment.pl
2011-05-13 18:20:52 -05:00
Doug Bell
277faae8a1
Merge commit 'v7.10.15' into 8
...
Conflicts:
docs/gotcha.txt
docs/previousVersion.sql
docs/templates.txt
lib/WebGUI.pm
lib/WebGUI/Asset.pm
lib/WebGUI/Asset/Event.pm
lib/WebGUI/Asset/File.pm
lib/WebGUI/Asset/MapPoint.pm
lib/WebGUI/Asset/RichEdit.pm
lib/WebGUI/Asset/Sku/Product.pm
lib/WebGUI/Asset/Snippet.pm
lib/WebGUI/Asset/Story.pm
lib/WebGUI/Asset/Template.pm
lib/WebGUI/Asset/Template/TemplateToolkit.pm
lib/WebGUI/Asset/Wobject/Calendar.pm
lib/WebGUI/Asset/Wobject/Carousel.pm
lib/WebGUI/Asset/Wobject/Collaboration.pm
lib/WebGUI/Asset/Wobject/Dashboard.pm
lib/WebGUI/Asset/Wobject/DataForm.pm
lib/WebGUI/Asset/Wobject/Folder.pm
lib/WebGUI/Asset/Wobject/Map.pm
lib/WebGUI/Asset/Wobject/Search.pm
lib/WebGUI/Asset/Wobject/Shelf.pm
lib/WebGUI/Asset/Wobject/StockData.pm
lib/WebGUI/Asset/Wobject/StoryTopic.pm
lib/WebGUI/Asset/Wobject/SyndicatedContent.pm
lib/WebGUI/Asset/Wobject/Thingy.pm
lib/WebGUI/Asset/Wobject/WeatherData.pm
lib/WebGUI/AssetClipboard.pm
lib/WebGUI/AssetCollateral/DataForm/Entry.pm
lib/WebGUI/AssetExportHtml.pm
lib/WebGUI/AssetLineage.pm
lib/WebGUI/AssetMetaData.pm
lib/WebGUI/AssetTrash.pm
lib/WebGUI/AssetVersioning.pm
lib/WebGUI/Auth.pm
lib/WebGUI/Cache/CHI.pm
lib/WebGUI/Content/AssetManager.pm
lib/WebGUI/Fork/ProgressBar.pm
lib/WebGUI/Form/JsonTable.pm
lib/WebGUI/Form/TimeField.pm
lib/WebGUI/Form/Zipcode.pm
lib/WebGUI/Group.pm
lib/WebGUI/International.pm
lib/WebGUI/Macro/AssetProxy.pm
lib/WebGUI/Macro/FileUrl.pm
lib/WebGUI/Operation/SSO.pm
lib/WebGUI/Operation/User.pm
lib/WebGUI/Role/Asset/Subscribable.pm
lib/WebGUI/Shop/Cart.pm
lib/WebGUI/Shop/Transaction.pm
lib/WebGUI/Shop/TransactionItem.pm
lib/WebGUI/Test.pm
lib/WebGUI/URL/Content.pm
lib/WebGUI/URL/Uploads.pm
lib/WebGUI/User.pm
lib/WebGUI/Workflow/Activity/ExtendCalendarRecurrences.pm
lib/WebGUI/Workflow/Activity/SendNewsletters.pm
lib/WebGUI/i18n/English/Asset.pm
lib/WebGUI/i18n/English/WebGUI.pm
sbin/installClass.pl
sbin/rebuildLineage.pl
sbin/search.pl
sbin/testEnvironment.pl
t/Asset/Asset.t
t/Asset/AssetClipboard.t
t/Asset/AssetLineage.t
t/Asset/AssetMetaData.t
t/Asset/Event.t
t/Asset/File.t
t/Asset/File/Image.t
t/Asset/Post/notification.t
t/Asset/Sku.t
t/Asset/Story.t
t/Asset/Template.t
t/Asset/Wobject/Collaboration/templateVariables.t
t/Asset/Wobject/Collaboration/unarchiveAll.t
t/Asset/Wobject/Shelf.t
t/Auth.t
t/Macro/EditableToggle.t
t/Macro/FilePump.t
t/Shop/Cart.t
t/Shop/Transaction.t
t/Storage.t
t/User.t
t/Workflow.t
2011-05-13 18:15:11 -05:00
Scott Walters
7a994b59ce
File assets should always give IO::File::WithPath objects to PSGI, instead of the current redirecting or streaming behavior. ( #11688 )
...
New API method: WebGUI::Response::sendFile; it, as appropriate, calls
setRedirect or setStreamedFile, depending on enableStreamingUploads config var.
setStreamedFile now kicks off the XSendfile process.
File.pm now uses this instead of trying to set both a redirect and a stream.
IO::File::WithPath blows up if a file doesn't exist so this raises an exception
now.
The http now no longer insist that '0' is not a valid filename to stream.
site.psgi, depending on enableStreamingUploads, enables either the Static
or XSendfile middleware.
2011-05-12 20:22:43 -04:00
Scott Walters
57d2dbed56
WebGUI::Session::Http should go away ( #11647 )
...
Move logic out of WebGUI::Session::HTTP and into WebGUI::Session::Response /
::Request; deprecate more functions; change references in core to use
$session->response instead; fix tests that broke because of the change but
not one that merely generate the deprecated warning because I want to know
that the proxying of depricated methods is working. These can be changed later.
2011-05-11 16:17:54 -04:00
Doug Bell
d8ef2ebe56
remove TabForm from use and documentation
2011-02-25 15:45:41 -06:00
Colin Kuskie
e5adc07a05
Remove getStatus and setStatus in Session::Http, and replace them with status, from $session->status.
2010-11-21 21:11:41 -08:00
Colin Kuskie
c4553012d1
Syntax clean.
2010-11-17 16:34:11 -08:00
Doug Bell
19dedc0b7c
fix problem revealed by tests
...
update() in a File asset would always create a storage location if one
was not yet saved. calling update() in a filter method would cause
another one to be created too, messing up the tests.
2010-11-16 20:54:49 -06:00
Doug Bell
55920f59e0
fix #11964 files show in trash and old revisions
2010-11-16 17:54:08 -06:00
Doug Bell
199c4e4960
change ErrorHandler to Log
2010-10-27 12:50:12 -05:00
Graham Knop
ed04b99872
remove WebGUI::Utility
2010-09-07 13:18:49 -05:00
Graham Knop
006a5003c2
remove WebGUI::Utility::formatBytes
2010-08-20 12:09:58 -05:00
Graham Knop
04c49fb48e
use setPrivileges on files instead of doing it manually
2010-08-14 09:26:52 -05:00
Colin Kuskie
7b218942b3
Merge commit ' 63865eb39f' into WebGUI8. up to 7.9.11
2010-08-13 11:52:08 -07:00
Scott Walters
8f616a9fe1
addField takes the key/value pairs unrolled, not as a hash ref.
2010-08-11 22:04:46 -04:00
Scott Walters
7d41ade046
WebGUI::Asset::File::Image::getEditForm counts on having the templateId tab be under the 'display' tab so lock it down to there.
2010-08-11 21:41:59 -04:00
Doug Bell
bd4e7a2ec0
fix 11768 Edit Branch does not update wgaccess
...
I can't seem to reproduce this problem in the tests...
2010-08-10 18:21:16 -05:00
Doug Bell
3934a6704c
fix getEditForm
2010-07-15 11:55:25 -05:00
Doug Bell
3c17dafeb4
processPropertiesFromFormPost to processEditForm
2010-07-15 11:52:04 -05:00
Colin Kuskie
385931aaab
Merge commit ' f2e0fb509a' into WebGUI8. Some tests still failing.
2010-06-27 22:32:31 -07:00
Colin Kuskie
19c2c5fa1c
Remove status description from Session/Http, and update all users of setStatus.
2010-06-17 08:18:24 -07:00
kimd
387942e68d
Added search by location to the Gallery (RFE 11504)
2010-06-01 16:23:48 -05:00
Graham Knop
0efa62a73c
asset immutability
2010-04-19 18:57:01 -05:00
Doug Bell
b767824711
cache: s/delete/remove/
2010-04-19 18:51:10 -05:00
Doug Bell
165be5b389
remove eval{} from caching code
2010-04-19 18:41:13 -05:00
Graham Knop
e4e27d6e96
Merge branch 'master' into WebGUI8
2010-04-16 20:45:22 -05:00
Graham Knop
8206aeaec5
enhance format of .wgaccess files to provide security for Gallery files
2010-04-15 11:38:58 -05:00
Graham Knop
2400f19099
Merge branch 'master' into WebGUI8
2010-04-13 07:50:02 -05:00
Colin Kuskie
0c003083a0
Moose overrides in Event, File, Post
2010-04-09 10:17:26 -07:00
Colin Kuskie
616d5cc866
Moose overrides for purge, purgeRevision, and purgeCache.
2010-04-07 16:43:16 -07:00
Colin Kuskie
c786395eb4
Moose overriding for indexContent.
2010-04-07 15:07:20 -07:00
Colin Kuskie
dee5bbe5d0
Proper Moose setup for addRevision...
2010-04-06 16:13:02 -07:00
Colin Kuskie
814c2af249
Change calls to new to newById across Asset/
2010-03-03 16:27:45 -08:00
Colin Kuskie
117c7897bb
Closer to Roles. Remove also from WebGUI::Definition, and put use Moose in all Asset classes.
2010-02-26 12:01:25 -08:00
Graham Knop
20ee527dbd
change aspect to define
2010-02-17 16:31:10 -06:00
Colin Kuskie
7caa3e3738
Move AssetRole to Role::Asset, and update all client modules.
2010-02-16 11:00:47 -08:00
Colin Kuskie
90facc46a9
Refactor code for updating storage location file permissions into a Role.
2010-02-16 08:56:34 -08:00
Colin Kuskie
622a20877a
Add overrides for groupIdEdit, groupIdView and ownerUserId.
2010-02-03 18:33:48 -08:00
Colin Kuskie
387866cfcb
Update Asset::File for Moose
2010-01-29 17:17:38 -08:00
Colin Kuskie
5bd5bb48a9
Central cache access for Assets to handle SSL caching. Fixes bug #11131 .
2009-10-20 15:15:38 -07:00
JT Smith
ebb6134c2d
bug fixes
2009-09-25 22:50:59 -05:00
JT Smith
ccff9c7014
Converted all existing uses of cache.
2009-09-25 22:24:33 -05:00
Colin Kuskie
77fc01af38
Do not set a redirect when streaming downloads. fixes file #11029
2009-09-23 21:27:43 -07:00