Commit graph

77 commits

Author SHA1 Message Date
Graham Knop
577b804325 fix package import and upgrade tests, add sql upgrade tests 2010-07-06 06:16:26 -05:00
Colin Kuskie
385931aaab Merge commit 'f2e0fb509a' into WebGUI8. Some tests still failing. 2010-06-27 22:32:31 -07:00
Doug Bell
247c607393 fixes for weaken and iterator 2010-06-01 19:37:53 -05:00
Doug Bell
2c75ab27e6 migrate to getLineageIterator to save memory 2010-06-01 16:23:49 -05:00
Paul Driver
e88fe856a2 style nits in www_importPackage 2010-06-01 12:29:45 -07:00
Paul Driver
3a9c3e5d9a checkbox in asset manager for clearPackageFlag 2010-06-01 12:25:49 -07:00
Colin Kuskie
8be35923e4 Drop session from get data generated by exportAssetData 2010-05-09 19:16:40 -07:00
Graham Knop
2400f19099 Merge branch 'master' into WebGUI8 2010-04-13 07:50:02 -05:00
Colin Kuskie
0a005834b8 Force inheritPermissionsFromParent to work in all import scenarios. Also, fix handling of clearPackageFlag and setDefaultTemplate. 2010-03-15 11:22:08 -07:00
Colin Kuskie
fe31cc96de Reset the isDefault flag on core assets only, and provide a final way fix this crap once and for all. 2010-03-08 16:36:47 -08:00
Colin Kuskie
b02df9f155 Fix importing packages. 2010-02-04 13:34:33 -08:00
Colin Kuskie
9bc1f2fe8e Update AssetPackage for Moose and exceptions. t/Asset/AssetPackage is passing. 2010-01-26 15:43:52 -08:00
Colin Kuskie
49bd7f5032 newByDynamicClass changed to newById 2009-12-27 19:08:15 -08:00
JT Smith
3938f9ff0d removed last remnants of old definition 2009-10-22 17:00:45 -05:00
JT Smith
6be6aee8c1 working on asset definition 2009-10-21 11:56:41 -05:00
Graham Knop
5ecc986ec6 prevent duplicate package importing in upgrades from failing 2009-10-05 14:26:59 -05:00
Colin Kuskie
270ecb948f Packages used in upgrades get installed regardless of revisionDate. Fixes bug #11059 2009-09-29 11:51:35 -07:00
Colin Kuskie
385e3ee259 Use the new method for getting the asset manager URL. 2009-06-19 18:05:58 +00:00
Colin Kuskie
7c4ae06e33 Update POD for getPackageList 2009-06-17 01:18:32 +00:00
Colin Kuskie
3bc2006991 Make the new getPackageList functionally equivalent to the old one. 2009-06-17 01:11:22 +00:00
Colin Kuskie
914620f5a4 Performance improvements with getting the lists of packages when there
are lots of assets.
2009-06-17 00:53:47 +00:00
Colin Kuskie
9a07cf9caf Forward ported deployPackage autocommit fix. 2009-06-12 15:24:16 +00:00
Colin Kuskie
6f368127be Update POD with new options. 2009-03-27 21:33:14 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Colin Kuskie
911e30c43c Prevent an imported package from changing the a current asset's status from pending to anything else. 2009-02-06 18:58:10 +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
9110697a3a Forward porting fix for returning to the asset manager after deploying a package. 2008-11-24 02:23:12 +00:00
Graham Knop
26790fd1dd fix some issues with autocommit 2008-10-23 10:20:53 +00:00
Graham Knop
99a9da626d rfe #640: Refactored autocommit and autocomment
Autocommit assets like CS posts or Calendar Events can now be added before the
parent is committed.  They will go into the same version tag as their parent.
2008-10-22 16:04:10 +00:00
Graham Knop
79e88a867a rfe: let package import inherit permissions 2008-09-16 21:34:40 +00:00
Graham Knop
b2e846bbcf fixed: packages don't include archived assets 2008-08-15 19:39:44 +00:00
Graham Knop
c3cb1c05c3 allow anyone who can edit to export any asset as a package 2008-07-09 20:50:53 +00:00
Graham Knop
5d597b709c fixed: Package search is slow for large websites 2008-04-15 22:36:44 +00:00
Graham Knop
9ed284beec use UTF8 JSON encoding and decoding universally
fixed: Import/Export of packages with international text is broken
2008-04-01 14:42:20 +00:00
Graham Knop
d3b85ef723 fixed: errors on package importing are always reported as corrupted packages 2008-03-20 22:30:36 +00:00
Graham Knop
48d5d544eb fixed: Importing a package can break when updating a pending asset 2008-03-20 21:10:35 +00:00
Graham Knop
f22646625b package importing fixes 2008-02-08 00:00:13 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
Doug Bell
439fbce173 fix: importPackage now allows you to skip site's autocommit settings. This is necessary for upgrades.
Upgrades were fixed to use the new options
2008-02-07 22:43:05 +00:00
JT Smith
34fd8c9245 updated webgui to run with Config::JSON 2.04 2008-01-25 05:10:33 +00:00
JT Smith
fb434a8b3a fix: content handler and redirects 2008-01-25 01:36:14 +00:00
JT Smith
fa09c41598 replaced return; with return undef; 2008-01-24 21:58:15 +00:00
Doug Bell
ffa90c5fbd fix: 7.5.0 time tracker templates were corrupt, now fixed.
fix: AssetPackage www_importPackage would give an error message about package being corrupt, but the package would import correctly. No longer gives error message.
2008-01-24 20:31:23 +00:00
Doug Bell
c6106634fe Removed old .tmpl files from upgrades. All upgrade collateral must now be in .wgpkg packages 2008-01-04 20:53:06 +00:00
Doug Bell
30f22c9b7a fixed some bugs in URL/Content handlers. fixed some bugs in Gallery. 2007-12-18 15:38:06 +00:00
Doug Bell
5222ad6be1 merged with SVN HEAD 2007-12-18 12:22:37 +00:00
Doug Bell
82e9bf8448 Finished? Ready for merge at least. 2007-12-17 22:22:06 +00:00
Doug Bell
d0a97d0bff fix: Import Package does nothing when re-importing trashed package 2007-12-13 16:19:59 +00:00
Colin Kuskie
96178fd70c first round of Perl::Critic cleanups. Do not use return undef, use a bare return instead 2007-12-05 00:30:43 +00:00