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
Scott Walters
58911e3026
WebGUI.Admin.prototype.reload: fix a lot of Tree view operations by doing a this.tree.goto on location.pathname rather than href to drop incidental
...
query parameters. the view frame grows query parameters when it shows various edit and admin screens.
add comments about safe/unsafe uses of goto with respect to Tree's URL mangling
made updating the status message in the Fork progress dialog optional so the 'undefined' message should be gone now.
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
3aaa72f12c
don't let non-priviledged users turn on the admin; additional logic to kick them out of admin when they're no longer logged in would be nice too.
2013-09-24 12:28:51 -05:00
Scott Walters
1ac133d955
refactor WebGUI.Admin.prototype.gotoAsset slightly to avoid code duplication
...
WebGUI.Admin.prototype.addPasteHandler: guessing but fix use of 'this' vs 'self'
currentTabName() to avoid code duplication for figuring out which context we're running in (Tree/View)
WebGUI.Admin.prototype.pasteAsset: handle pasting in the Tree view by flopping over to the View view first
removed WebGUI.Admin.Tree.prototype.runHelperForSelected and relatedly WebGUI.Admin.Tree.prototype.cut, copy, shortcut, duplicate, delete; these are dead code
WebGUI.Admin.Tree.prototype.goto: better error handling/debugging
added this FIXME to WebGUI.Admin.prototype.gotoAsset:
a lot of Tree view operations fail after this point. where the View version just directly goes to the URL, the Tree view tries to modify the URL to pass the extjs-style grid's parameters back. this winds up creating unworkable URLs that try to do two things at once, with two '?'s, two 'op='s, etc. there are two ways to fix this: if we're trying to go to an asset (gotoAsset) and we're in Tree view, flop back to View mode first; or else two distinct requests, one for the remote request (which might generate additional requests to draw in dialog boxes, progress bars, forms, etc) and then when that's all done, refresh the grid view. WebGUI.Admin.prototype.pasteAsset takes the route of flopping to Tree view first.
2013-09-24 12:28:51 -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
3061626753
Fix i18n label for tab in DataTable edit form
2013-09-16 09:43:29 -07:00
Colin Kuskie
651c7c8982
Save the Navigation fields that are drawn custom.
2013-09-13 15:11:12 -07:00
Colin Kuskie
e42ca6b870
Merge branch 'wg8-nav'. Fix rendering and JS issues with the nav asset.
2013-09-13 13:36:23 -07:00
Colin Kuskie
69e3b22daf
Assign the content to the right place.
2013-09-13 13:36:06 -07:00
Colin Kuskie
6123dd276b
fix many issues with the JS for the nav in wg8. still has initialization problems.
2013-09-13 12:42:19 -07:00
Colin Kuskie
950dd349db
Fix the display of revision dates in the asset helper screen.
2013-09-13 12:20:34 -07:00
Scott Walters
5736fdf4d1
when flipping between Tree and View tabs with edit on, clear out the containers for the toolbars before re-adding the toolbars -- this time in YUI -- and this time doing the same for the drag and drop bar
2013-09-12 13:32:29 -05:00
Scott Walters
9d047a788d
Revert "when flipping between Tree and View tabs with edit on, clear out the containers for the toolbars before re-adding the toolbars -- this time in YUI"
...
... committeed too much stuff. ack
This reverts commit c19c3503d4 .
2013-09-12 13:02:01 -05:00
Scott Walters
c19c3503d4
when flipping between Tree and View tabs with edit on, clear out the containers for the toolbars before re-adding the toolbars -- this time in YUI
2013-09-12 12:03:41 -05:00
Scott Walters
6dbc6697c5
Revert "when flipping between Tree and View tabs with edit on, clear out the containers for the toolbars before re-adding the toolbars"
...
... jquery isn't reliably available; trying to do this with YUI instead
This reverts commit 1ef7460815 .
2013-09-12 12:02:22 -05:00
Scott Walters
1ef7460815
when flipping between Tree and View tabs with edit on, clear out the containers for the toolbars before re-adding the toolbars
2013-09-12 10:03:22 -05:00
Colin Kuskie
85e09c41d6
Remove admin console off link since it's trapped by the admin console and does nothing.
2013-09-11 09:54:32 -07:00
Colin Kuskie
67e446aead
Update to modern SQL syntax
2013-09-10 09:58:44 -07:00
Scott Walters
460e29b93d
spectre.pl requires Devel::Size; wasn't tested for in testEnvironment.pl
2013-02-24 19:45:09 -05:00
Scott Walters
af18f5a7be
add Imager::File::PNG to the list of deps since, according to one report, Imager considers it an optional dep and it may not be installed automatically with Imager
2013-02-17 15:13:45 -05:00
Scott Walters
0edd58f848
add a getProperty to WebGUI::Definition::Role::Object as Asset.pm's www_add wants this for picking out noFormPost data from the property definition in assets. fixes a fatal error when trying to add the Request Tracker and perhaps other assets.
2013-02-17 15:02:16 -05:00
Scott Walters
e27f200856
remove Moose::Deprecated deprecation for updateProfileFields and remove the last remaining use of it from the code; Moose::Deprecated is failing on 5.10, which is still the default for CentOS and probably will be for a few more epochs
2013-02-17 12:54:03 -05:00
Graham Knop
dab6b3e23e
remove load of nonexistant, unused modules from a test
2012-11-17 15:59:33 -05:00
Graham Knop
58d6aff8f6
scripts aren't classes, so use anon package instead
2012-11-17 15:59:00 -05:00
Graham Knop
798c3e169a
remove all WebGUI modules from compile time load of WebGUI::Test
2012-11-17 15:58:05 -05:00
Graham Knop
d71c8834b6
reduce modules loaded by WebGUI::Paths
2012-11-17 15:57:22 -05:00
Graham Knop
76b638ddb9
modernize include macro slightly and add note about security
2012-11-17 15:56:52 -05:00
Graham Knop
759c93cbe3
remove dependancy on private CGI function
2012-11-17 15:56:19 -05:00
Graham Knop
74aace1e41
use more modern way to specify parent
2012-11-17 15:55:45 -05:00
Graham Knop
c26ed378ac
remove remnants of old commerce
2012-11-17 15:55:09 -05:00
Scott Walters
935bc110b3
make HTML::Template::Expr not optional; fixes #12395
2012-11-11 23:17:55 -05:00
Scott Walters
0c01db9069
Revert "testenvironment does not check for correct perl version ( #12377 )" ... apparently this was either already done or done separately
...
This reverts commit b009dc7b5a .
Conflicts:
docs/changelog/8.x.x.txt
2012-11-11 23:16:05 -05:00
Scott Walters
88dbf7b187
fix variable name usage in Imager work from haarg after rebase
2012-11-11 20:08:44 -05:00
Graham Knop
fc998d9629
fix rebase mistake
2012-11-02 18:13:47 -04:00
Scott Walters
a6dc17313f
changelog and testEnvironment entries for haarg's Imager work
2012-11-02 17:33:18 -04:00
Scott Walters
b009dc7b5a
testenvironment does not check for correct perl version ( #12377 )
...
add verbiage about requiring a post Apollo era perl if such a perl is detected
2012-11-02 17:26:28 -04:00
Graham Knop
d1bf21b440
convert remainder of Storage to Imager
2012-11-02 17:26:00 -04:00
Graham Knop
c4bb713d94
convert some functions to use Imager
2012-11-02 17:25:55 -04:00
Scott Walters
73152fa399
Install instructions for installing wG8 using the new WRE.
2012-11-02 17:25:49 -04:00
Scott Walters
a5350dbc62
maintenanceMode.pl trying to FindBin
2012-11-02 17:24:00 -04:00
David Delikat
d10cabfc16
changed plan from 53 to 57
2012-11-02 17:21:48 -04:00
Daniel Maldonado
92b7463a9d
added install parameter
2012-09-20 14:55:10 -04:00