Commit graph

126 commits

Author SHA1 Message Date
Colin Kuskie
b323f74121 Update copyright notice 2011-12-28 11:30:38 -08:00
Colin Kuskie
4bfabb9469 Make version tags mandatory again. 2011-10-25 19:44:58 -07: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
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
Colin Kuskie
38ccde6712 Propertly quote table names when purging revisions. 2011-04-22 09:33:03 -07:00
Paul Driver
ae3e49d622 Versioned Metadata 2011-02-17 14:46:50 -06:00
Doug Bell
1866c593ea almost done fixing addRevision changes 2010-12-03 15:01:31 -06:00
Doug Bell
3ce9198220 setVersionLock needs to be done only for tags 2010-12-03 15:01:30 -06:00
Doug Bell
ab18af37ef default new revisions to approved 2010-12-03 15:01:30 -06:00
Doug Bell
e89375622b move version tag stuff out of addRevision 2010-12-03 15:01:30 -06:00
Doug Bell
0f9500b2cc fix my tyops 2010-08-06 18:05:03 -05:00
Doug Bell
a13fee07a0 add getRevisionDates method 2010-08-06 17:50:28 -05:00
Scott Walters
483acbc382 Revert "Calls to set() and update() set attributes as well as "properties"."
This reverts commit 57fe0721ab.
2010-05-31 14:39:36 -04:00
Scott Walters
57fe0721ab Calls to set() and update() set attributes as well as "properties".
Fixes t/Keywords.t number 11.
2010-05-27 22:26:37 -04:00
Colin Kuskie
9a9b33b4b3 Double my creates old version tag that is not found outside the scope. 2010-04-19 14:12:22 -07:00
Colin Kuskie
b7dd49d3ae Double my creates old version tag that is not found outside the scope. 2010-04-19 14:07:22 -07:00
Colin Kuskie
43413fe75c Put back the skipNotification property into Asset. 2010-04-19 11:00:45 -07:00
Graham Knop
2400f19099 Merge branch 'master' into WebGUI8 2010-04-13 07:50:02 -05:00
Colin Kuskie
953df9d6a9 Remove a bunch of circular dependencies, based on using WebGUI::Asset::Template 2010-04-07 15:03:48 -07:00
Colin Kuskie
a9f46c7443 More wg8 constructors in AssetVersioning. 2010-02-04 15:31:43 -08:00
Colin Kuskie
d66b3b891b Make revisedBy a property, so it gets written on ->update. Change addRev not to write to the db when it does not need to. Update tests to verify that addRev does the right thing for tagId and revisedBy. 2010-01-25 22:49:22 -08:00
Colin Kuskie
451eb33f0f Fix requestAutoCommit. All tests in t/Asset/Asset.t passing. 2010-01-22 15:10:23 -08:00
Colin Kuskie
8b52d3ff76 rework addRevision to work with Moose. 2010-01-15 16:59:01 -08:00
Colin Kuskie
1331bf9828 Remove more instances of direct hash access for properties. 2010-01-14 10:31:38 -08:00
Colin Kuskie
bf097ac337 Since assets are always created with defaults now, no need to introspect. Also, remove white space in "empty" lines. 2010-01-13 11:15:25 -08:00
Colin Kuskie
a8f251a5f2 Sessionize addRevision 2010-01-13 10:31:22 -08:00
Colin Kuskie
ce3edcf743 Move get_tables from Meta/Class into Meta/Asset. s/getTables/meta->get_tables/; 2010-01-04 15:34:24 -08:00
Colin Kuskie
310c0add71 When addin a child under a parent that is not committed, adopt the parent's version tag. Fixes bug #11295 2009-12-15 14:25:02 -08:00
Colin Kuskie
fc68756975 Update tests for changes to skipNotification. 2009-11-05 16:30:17 -08:00
JT Smith
377c49d141 fixed a bunch of bugs...almost working 2009-10-23 11:07:02 -05:00
JT Smith
3938f9ff0d removed last remnants of old definition 2009-10-22 17:00:45 -05:00
Colin Kuskie
d3e7f50e8f Document order of revisions returned by getRevisions. 2009-10-21 10:23:49 -07:00
Graham Knop
60a4a9b140 mark $session->datetime->time as deprecated and remove its use from core code 2009-10-05 20:56:37 -05:00
Doug Bell
5c03cfbfbe fixed #10544: Child assets under uncommitted parents 2009-10-02 01:03:34 -05:00
Colin Kuskie
18a52b9aa2 Refactor out the JSON collateral code from FilePump/Bundle.pm to make an aspect
that can be used by assets, operations and any other modules in WebGUI.
2009-08-26 15:42:18 +00:00
Colin Kuskie
b7358fbceb Forward port fix for updating property cache on editSave with autoCommit
so that the asset does not lie about its autocommit status.
2009-07-08 04:29:27 +00:00
Colin Kuskie
f0eaa51d3a If adding an asset is added to another asset with an open version tag, put the
new asset in that version tag, too.
2009-06-23 19:32:40 +00:00
Colin Kuskie
61b4e1e826 Never delete an asset property key. 2009-06-20 00:16:34 +00:00
Colin Kuskie
b9b7066a1d Update local property cache when performing version tag operations an $self. 2009-06-19 18:20:14 +00:00
Doug Bell
1d6831d055 merged 10739 2009-05-13 02:02:31 +00:00
Doug Bell
7a1d96f752 fix bug with packed extra head tags 2009-05-07 17:27:56 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Colin Kuskie
1c8dbfe5b4 fix POD related to asset mixin classes, Asset*.pm 2008-11-24 22:22:39 +00:00
Kaleb Murphy
d9c050423f When you move an asset to a new version, only the current version is moved, instead of all of them. 2008-11-12 15:51:23 +00:00
Doug Bell
c7e2a131b3 rfe: Add Edit button to Manage Revisions page 2008-09-16 22:00:49 +00:00
Frank Dillon
58f231c87b Better info for Assets that require commit before adding children. Add link is always availiable now, an error message is displayed if you try to post a child to an uncommitted parent. Additionally a new method was added to AssetVersionion.pm to determine whether or not an asset has been committed. 2008-09-16 20:08:15 +00:00
Colin Kuskie
847fcfcef3 rfe: add url column to assetHistory table 2008-09-15 16:46:06 +00:00
Colin Kuskie
c6e9d322a8 Fix how update and addRevision handle defaults from the definition subroutine
when it returns an array ref.
2008-08-19 22:03:39 +00:00
JT Smith
844f3b14ae forgot to check for undef in properties 2008-08-14 21:32:02 +00:00