Scott Walters
d32d452efe
change WebGUI.Admin.prototype.processPlugin, which handles messages back from calls to AssetHelper classes, to do any number of little chores according to the message contents rather than just the first one it tests for.
...
change the Lock AssetHelper to both refresh and display a message indicating that the asset is locked. the refresh is needed for tree view which displays a little icon.
2013-09-26 21:23:05 -05:00
Scott Walters
d8ccdecff5
Save button in Export as HTML has bad style ( #12424 ):
...
Heh. Actually, the save button is a YUI styled button, and it is perfectly rendered. It also happens to have a background color exactly matching the dialog's background's. Since these buttons are usually unstyled HTML buttons, I swapped the YUI one out for that.
I also got distracted with the form rendering half way down the page and creeping down further as the hoverhelp tips come and go so I opened http://www.webgui.org/community/webgui-8/issues/12433 and then temporarily vanquished them in this form.
2013-09-26 20:03:12 -05:00
Scott Walters
7900cec5e8
finish the "Upload Files" implementation; the AssetHelper had some bugs and needed to close the pop-up dialog that it created.
2013-09-25 15:00:46 -05:00
Scott Walters
fbb143116e
don't reload the Tree/View pane after a Copy Branch operation; Copy Branch doesn't mutate the asset tree being viewed so not needed
2013-09-25 15:00:45 -05:00
Scott Walters
b962b03848
Making the "Copy Branch" menu option work was a treat.
...
requestHelper() invokes an asset helper via AJAX. processPlugin() handles the JSON responses, which in this case is to open a dialog box and show
a given URL in it (openDialog key in the JSON hash). that pop-up is open and the page loaded, and that displays a form. that form submits
to an asset helper (uh oh) which also returns JSON (actually, it was failing to do even that and was stringifying a hash). even if it returned
JSON, it would just get shown to the user in the pop-up. so the form that gets loaded into the pop-up has to, onsubmit, after it has config
details from the user, run JS to make the AJAX request to the asset helper to start the actual copy operation, call into the admin's JS to
pop up the dialog that polls on a forked process, and then call into the admin to close itself. this is a nasty hack that daisy chains
together two possible replies to processPlugin(), one after the other.
2013-09-25 15:00:45 -05:00
Colin Kuskie
26ae70190f
Remove extra call to old tree updating code.
2013-09-25 15:00:44 -05:00
Colin Kuskie
a503e72cfc
Update CopyBranch for newest fork code.
2013-09-25 15:00:44 -05:00
Colin Kuskie
cf28121885
Fix label, remove debug.
2013-09-25 15:00:44 -05:00
Colin Kuskie
4b97ce9a55
Call the right sub to update the Fork status.
2013-09-25 15:00:44 -05:00
Colin Kuskie
11c9a80814
Need at least one call to the sub that updates the Fork status.
2013-09-25 15:00:43 -05:00
Colin Kuskie
7766c43821
Remove debug code from Delete and Copy
2013-09-25 15:00:43 -05:00
Colin Kuskie
0363101e43
update Delete AssetHelper for the new admin JS
2013-09-25 15:00:43 -05:00
Colin Kuskie
e6d26369ed
Fix progress bar display for copy.
2013-09-25 15:00:43 -05:00
Scott Walters
8be9ed7d59
the 'cut' drop down (AssetHelper) operation basically worked, but the screen wasn't redrawn after the change, and the JSON returned during Fork polling in WebGUI::AssetHelper::Cut didn't match what the YAHOO.WebGUI.Fork.poll callback in WebGUI.Admin.prototype.openForkDialog was expecting so status communication had to be wired up. wG::ProgressTree exposes 'flat' now too for the sake of computing a progress bar. looking at only the roots nodes is ineffective; in this case, the number of root nodes would only ever be 1 though the number of child nodes to be processed could be much higher. WebGUI.Admin.prototype.openForkDialog's callback to YAHOO.WebGUI.Fork.poll handles a status JSON message (JSON inside of JSON, ugh) of "reload" and there's an admin.reload() method now. that's also callable from WebGUI.Admin.prototype.processPlugin and was done in the style of its handlers.
2013-09-24 12:28:51 -05:00
Colin Kuskie
6a6f839e84
Remove Class::C3 from the asset helpers, since they don't use it.
2012-01-01 11:47:58 -08:00
Colin Kuskie
b323f74121
Update copyright notice
2011-12-28 11:30:38 -08:00
Colin Kuskie
4fea10a1f5
Merge commit 'v7.10.19' into WebGUI8
2011-10-25 20:31:50 -07:00
Colin Kuskie
4bfabb9469
Make version tags mandatory again.
2011-10-25 19:44:58 -07:00
Colin Kuskie
a2a3b2dcb9
Convert FilePile asset into an AssetHelper.
2011-10-11 14:52:00 -07:00
Colin Kuskie
c6f4222a55
Fix POD for edit branch asset helper.
2011-10-11 14:52:00 -07:00
Scott Walters
54ae754ebe
Repeat ampli's fix (described below) for other occurances on the site.
...
``The Save buttons in the two first steps didn't work in Chrome.
According to a hint in the YUI Button documentation about a problem in using
"submit" as a value of the name attribute, I changed submit button name
in the two first steps from "submit" to "send". This solved the problem.''
2011-06-29 19:13:18 -04: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
Doug Bell
18dd9a459d
move export product tests and fix the export product helper
2011-05-05 19:27:22 -05:00
Doug Bell
140b5a546f
move Shelf tests into AssetHelper tests (and fix the thing)
2011-05-05 18:51:42 -05:00
Doug Bell
01844b6fa2
migrate import and export products to Asset Helpers
2011-03-29 23:25:56 -05:00
Doug Bell
39e2c566fd
migrate Crop to Asset Helper
2011-03-28 15:20:23 -05:00
Doug Bell
e8d600aa29
migrate image rotate to AssetHelper
2011-03-25 22:23:13 -05:00
Doug Bell
ca1a22995a
strict. warnings. and of course make it work...
2011-03-25 22:22:38 -05:00
Doug Bell
3a50e39ca1
forgot to add the møøse
2011-03-25 21:55:15 -05:00
Doug Bell
b84fd2adaf
change image resize to AssetHelper
2011-03-25 21:53:31 -05:00
Doug Bell
698f40a6dd
add "asset" property to AssetHelpers.
...
Simplifies the API and allows us to have getForm and getUrl to make
asset helpers easier to build.
2011-03-25 14:49:44 -05:00
Doug Bell
b27bc19e4d
Tree view buttons now work. Changed progress bar helpers to use fork. Added forkId option to AssetHelpers. Added updateAsset service to Admin.
2011-03-03 19:25:20 -06:00
Doug Bell
b9e879b7aa
change AssetHelpers to have short IDs instead of class names
...
This will make better code reuse: The Asset Manager will instead
call the AssetHelper with the id of "cut" or "copy" to get the
correct operation.
2011-02-25 15:45:42 -06:00
Doug Bell
8650e714b5
move createShortcut to an assetHelper
2011-02-25 15:45:42 -06:00
Doug Bell
cc53006912
migrate ExportHtml AssetHelper to FormBuilder
2011-02-10 17:08:53 -06:00
Doug Bell
7c88ee41db
migrate ChangeUrl AssetHelper to FormBuilder
2011-02-10 17:07:18 -06:00
Doug Bell
1866c593ea
almost done fixing addRevision changes
2010-12-03 15:01:31 -06:00
Colin Kuskie
8186eba909
form param "with" should be all lower case.
2010-11-11 15:24:18 -08:00
Paul Driver
a4edea1e3c
Better integration of Fork into AssetHelpers, fork startup
2010-11-08 07:55:42 -06:00
Doug Bell
20744ce25d
remove unneeded asset helpers
2010-10-14 18:13:31 -05:00
Colin Kuskie
1f42a0a24e
Remove types for setScript calls, add setCss, which is shorthand for setLink with the CSS specific params preset.
2010-09-24 08:03:09 -07:00
Colin Kuskie
679c4678d2
Fix a double $i18n syntax warning.
2010-08-05 15:15:58 -07:00
Doug Bell
4210b64369
ExportHtml AssetHelper works
2010-08-04 17:56:15 -05:00
Doug Bell
6a1ec0468e
EditBranch asset helper now works
2010-08-04 17:56:15 -05:00
Doug Bell
b8905ed780
cut AssetHelper now works
2010-08-04 12:53:54 -05:00
Doug Bell
04334685aa
add helpful message to copy
2010-08-04 12:51:43 -05:00
Doug Bell
7b3855c991
Remove old asset helpers replaced by CopyBranch
2010-08-04 12:13:16 -05:00
Doug Bell
f94ea5a606
add CopyBranch to handle copy children/descendants
2010-08-04 12:12:45 -05:00
Doug Bell
8bd28e101f
update Copy to work with ProgressBar and streaming
...
ProgressBar needs to handle streaming itself. When it does, all
AssetHelpers that use ProgressBar will need to remove their own
streaming handlers and just use ProgressBar's
2010-08-04 12:07:55 -05:00
Doug Bell
3d6df0fa77
copy opens progress dialog
2010-08-02 11:11:03 -05:00