Commit graph

16878 commits

Author SHA1 Message Date
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
Daniel Maldonado
d0d5298103 test.pl now has an install argument 2012-09-20 14:54:54 -04:00
Daniel Maldonado
50f939c838 Added a bunch of frameless tests to test most of the admin functions 2012-09-20 14:54:51 -04:00
Daniel Maldonado
5c240db09c Added tests for content filters/profiling/database and filepump 2012-09-20 14:54:36 -04:00
Daniel Maldonado
cd5f29f5dc Modified advertising test to be complete test. 2012-09-20 14:54:33 -04:00
Daniel Maldonado
0bc252b179 Open new command tab when running tests 2012-09-20 14:54:26 -04:00
Daniel Maldonado
5ebf72f412 Make sure users know how to run the tests 2012-09-20 14:54:21 -04:00
Scott Walters
560e7228fc Revert "Config::JSON stopped providing a BUILDARGS method, so we can't "around" it. subclass new() the old fashioned way and bump the Config::JSON version dep so we know we're getting the non-Moose one."
... fix is bad Moose style and no one can replicate this problem but me; need to look harder for the problem locally

This reverts commit 55aead887b.
2012-07-10 14:04:50 -04:00
Scott Walters
55aead887b Config::JSON stopped providing a BUILDARGS method, so we can't "around" it. subclass new() the old fashioned way and bump the Config::JSON version dep so we know we're getting the non-Moose one. 2012-07-10 03:49:11 -04:00
Daniel Maldonado
f4aacb9098 Eliminated irc comments 2012-07-03 17:56:07 -04:00
Daniel Maldonado
a9037d6a22 Using the Selenium server instead of the Selelium IDE 2012-07-03 17:49:55 -04:00
Daniel Maldonado
cacc7443dc Fix test URL 2012-07-03 17:48:44 -04:00