Commit graph

  • 69ea5b10ee a few improvements to error reporting/handling Scott Walters 2013-09-26 18:01:41 -05:00
  • da37116d71 fix up Operation::User (op=editUser) some more for the new admin: give it Save and Cancel buttons, and template it into the style with $session->style->process() so that it gets the headers that it needs for pulling in YUI and stuff like that as well as so that it is styled to look nice. Scott Walters 2013-09-26 17:30:35 -05:00
  • 0b5a77515f make Form::Cancel better; make WebGUI::TabForm use it. so, logic migrated from TabForm to Form::Cancel where it's re-usable and fixed up for this new Doug admin. Scott Walters 2013-09-26 17:28:27 -05:00
  • 7b7f3be628 Create a Form::Cancel; FormBuilder doesn't automatically add Save/Cancel buttons so this can serve as a Cancel button for it; it attempts to correctly handle either closing the modal pop-up dialog or else going back in history/going back to the page that linked to this one. needs tests. the Cancel button in TabSet needs to use this logic. Scott Walters 2013-09-26 17:16:29 -05:00
  • 1e22418757 AdminToggle Macro is blank when in admin mode webgui 8 does not require a 'turn admin off' switch. david delikat 2013-09-25 17:29:42 -05:00
  • 7900cec5e8 finish the "Upload Files" implementation; the AssetHelper had some bugs and needed to close the pop-up dialog that it created. Scott Walters 2013-09-25 14:42:14 -05:00
  • 690d87a668 $session->asset is not defined if we're running from a Content Handler or the like. make reporting it conditional so that we don't get error output from our error output. Scott Walters 2013-09-24 23:19:30 -05:00
  • 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 Scott Walters 2013-09-24 12:37:58 -05:00
  • b3714e6560 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 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-st Scott Walters 2013-09-18 18:23:15 -05:00
  • 22cf93600f Revert "refactor WebGUI.Admin.prototype.gotoAsset slightly to avoid code duplication" ... oops, dead code may not be dead afterall Scott Walters 2013-09-18 18:21:00 -05:00
  • 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. Scott Walters 2013-09-18 18:06:01 -05:00
  • 26ae70190f Remove extra call to old tree updating code. Colin Kuskie 2013-09-18 14:23:27 -07:00
  • 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. Scott Walters 2013-09-18 13:31:50 -05:00
  • a503e72cfc Update CopyBranch for newest fork code. Colin Kuskie 2013-09-18 11:22:32 -07:00
  • cf28121885 Fix label, remove debug. Colin Kuskie 2013-09-18 11:22:17 -07:00
  • 4b97ce9a55 Call the right sub to update the Fork status. Colin Kuskie 2013-09-18 10:02:46 -07:00
  • 11c9a80814 Need at least one call to the sub that updates the Fork status. Colin Kuskie 2013-09-18 09:59:29 -07:00
  • 7766c43821 Remove debug code from Delete and Copy Colin Kuskie 2013-09-17 15:05:33 -07:00
  • 0363101e43 update Delete AssetHelper for the new admin JS Colin Kuskie 2013-09-17 15:02:04 -07:00
  • e6d26369ed Fix progress bar display for copy. Colin Kuskie 2013-09-17 10:25:15 -07:00
  • 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. Scott Walters 2013-09-24 12:27:50 -05:00
  • 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. Scott Walters 2013-09-17 14:55:18 -05:00
  • 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. Scott Walters 2013-09-13 15:52:53 -05:00
  • 3061626753 Fix i18n label for tab in DataTable edit form Colin Kuskie 2013-09-16 09:43:29 -07:00
  • 651c7c8982 Save the Navigation fields that are drawn custom. Colin Kuskie 2013-09-13 15:11:12 -07:00
  • e42ca6b870 Merge branch 'wg8-nav'. Fix rendering and JS issues with the nav asset. Colin Kuskie 2013-09-13 13:36:23 -07:00
  • 69e3b22daf Assign the content to the right place. Colin Kuskie 2013-09-13 13:36:06 -07:00
  • 6123dd276b fix many issues with the JS for the nav in wg8. still has initialization problems. Colin Kuskie 2013-09-13 12:42:19 -07:00
  • 950dd349db Fix the display of revision dates in the asset helper screen. Colin Kuskie 2013-09-13 09:13:41 -07:00
  • 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 Scott Walters 2013-09-12 13:32:29 -05:00
  • 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 Scott Walters 2013-09-12 13:02:01 -05:00
  • 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 Scott Walters 2013-09-12 12:03:41 -05:00
  • 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 Scott Walters 2013-09-12 12:02:22 -05:00
  • 1ef7460815 when flipping between Tree and View tabs with edit on, clear out the containers for the toolbars before re-adding the toolbars Scott Walters 2013-09-12 10:02:39 -05:00
  • 85e09c41d6 Remove admin console off link since it's trapped by the admin console and does nothing. Colin Kuskie 2013-09-11 09:54:32 -07:00
  • 67e446aead Update to modern SQL syntax Colin Kuskie 2013-09-10 09:58:44 -07:00
  • 3666077fb1 WRE dependencies are tracked in the WRE itself, not in WebGUI. Colin Kuskie 2013-03-21 16:14:37 -07:00
  • 46c88de2c8 WRE dependencies are tracked in the WRE itself, not in WebGUI. Colin Kuskie 2013-03-21 16:14:37 -07:00
  • 92e6592df1 Ready for 7.10.29 development. Colin Kuskie 2013-03-20 21:38:23 -07:00
  • c806f99b7b Ready for 7.10.29 development. Colin Kuskie 2013-03-20 21:38:23 -07:00
  • 1d49faa328 Preparing for release of 7.10.28 Colin Kuskie 2013-03-20 15:38:18 -07:00
  • 52843ad7ca Fix a bug where cropping an image swaps the X and Y positions. Fixes bug #12413 Colin Kuskie 2013-03-20 15:37:42 -07:00
  • 460e29b93d spectre.pl requires Devel::Size; wasn't tested for in testEnvironment.pl Scott Walters 2013-02-24 19:45:09 -05:00
  • 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 Scott Walters 2013-02-17 15:13:45 -05:00
  • 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. Scott Walters 2013-02-17 15:02:16 -05:00
  • 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 Scott Walters 2013-02-16 18:52:39 -05:00
  • a1c7db7388 add String::Random which is used by the WRE Scott Walters 2012-11-28 19:09:37 -05:00
  • dab6b3e23e remove load of nonexistant, unused modules from a test Graham Knop 2012-11-17 15:59:33 -05:00
  • 58d6aff8f6 scripts aren't classes, so use anon package instead Graham Knop 2012-11-17 15:59:00 -05:00
  • 798c3e169a remove all WebGUI modules from compile time load of WebGUI::Test Graham Knop 2012-11-17 15:58:05 -05:00
  • d71c8834b6 reduce modules loaded by WebGUI::Paths Graham Knop 2012-11-17 15:57:22 -05:00
  • 76b638ddb9 modernize include macro slightly and add note about security Graham Knop 2012-11-17 15:56:52 -05:00
  • 759c93cbe3 remove dependancy on private CGI function Graham Knop 2012-11-17 15:56:19 -05:00
  • 74aace1e41 use more modern way to specify parent Graham Knop 2012-11-17 15:55:45 -05:00
  • c26ed378ac remove remnants of old commerce Graham Knop 2012-11-17 15:55:09 -05:00
  • 21f9af32d2 Remove Clone from Spectre, too! Colin Kuskie 2012-11-16 09:34:21 -08:00
  • 935bc110b3 make HTML::Template::Expr not optional; fixes #12395 Scott Walters 2012-11-11 23:17:55 -05:00
  • 0c01db9069 Revert "testenvironment does not check for correct perl version (#12377)" ... apparently this was either already done or done separately Scott Walters 2012-11-11 23:16:05 -05:00
  • 88dbf7b187 fix variable name usage in Imager work from haarg after rebase Scott Walters 2012-11-02 17:19:30 -04:00
  • fc998d9629 fix rebase mistake Graham Knop 2012-10-31 13:16:35 -04:00
  • a6dc17313f changelog and testEnvironment entries for haarg's Imager work Scott Walters 2012-11-02 17:33:18 -04:00
  • 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 Scott Walters 2012-11-02 17:18:30 -04:00
  • d1bf21b440 convert remainder of Storage to Imager Graham Knop 2010-09-11 02:19:50 -05:00
  • c4bb713d94 convert some functions to use Imager Graham Knop 2010-09-07 12:14:37 -05:00
  • 73152fa399 Install instructions for installing wG8 using the new WRE. Scott Walters 2012-08-02 20:52:41 -04:00
  • a5350dbc62 maintenanceMode.pl trying to FindBin Scott Walters 2012-06-22 15:14:35 -04:00
  • d10cabfc16 changed plan from 53 to 57 David Delikat 2012-02-22 17:55:25 +00:00
  • 2ec38b1407 When Group->new is called with a group that doesn't exist, it returns a faked Group object. Calling delete on this object fails for some Cache types. Colin Kuskie 2012-11-01 17:52:51 -07:00
  • 981ab43984 Ready for 7.10.28 development. Colin Kuskie 2012-10-29 20:07:20 -07:00
  • 6697bcbdee Repreparing for 7.10.27 release Colin Kuskie 2012-10-29 19:00:19 -07:00
  • 893521309b Preparing for 7.10.27 release. Colin Kuskie 2012-10-29 18:43:48 -07:00
  • 84a8b39d89 remove duplicate changelog entry Scott Walters 2012-10-27 02:02:52 -04:00
  • fab70d71c7 gracefully handle Collaborations having no lastPostId in the MessageBoard asset Scott Walters 2012-10-27 02:00:57 -04:00
  • 9a45ff4b91 on invalid proceed method in call to editSave, warn and recover rather than run time error Scott Walters 2012-10-27 01:59:18 -04:00
  • 59ce3b3fd6 Upgrade YUI to 2.9.0 Colin Kuskie 2012-10-24 10:40:52 -07:00
  • be37f12ab1 Clone stopped working in several tests in 5.14.2. Remove it in favor of Storable::dclone. Colin Kuskie 2012-10-23 10:00:53 -07:00
  • 1b4f7c33fa Fix a typo in a template help variable. Colin Kuskie 2012-10-22 18:48:08 -07:00
  • fcbaa46c63 Fix a typo in the userImport POD. Colin Kuskie 2012-10-05 08:58:46 -07:00
  • e046e5a8ce Fix rendering of the carousel inside of a Story. Fixes bug #12386 Colin Kuskie 2012-09-20 14:00:57 -07:00
  • 92b7463a9d added install parameter Daniel Maldonado 2012-07-18 10:37:30 -04:00
  • d0d5298103 test.pl now has an install argument Daniel Maldonado 2012-07-18 10:36:51 -04:00
  • 50f939c838 Added a bunch of frameless tests to test most of the admin functions Daniel Maldonado 2012-07-18 10:36:02 -04:00
  • 5c240db09c Added tests for content filters/profiling/database and filepump Daniel Maldonado 2012-07-06 16:48:44 -04:00
  • cd5f29f5dc Modified advertising test to be complete test. Daniel Maldonado 2012-07-05 13:11:55 -04:00
  • 0bc252b179 Open new command tab when running tests Daniel Maldonado 2012-07-03 18:04:22 -04:00
  • 5ebf72f412 Make sure users know how to run the tests Daniel Maldonado 2012-07-03 18:03:18 -04:00
  • 50c7634800 Paste assets in the clipboard which are archived. Colin Kuskie 2012-09-19 16:39:12 -07:00
  • 8aaa37e5e1 Fix a bug in the EMS related to showing badge data when the badge data does not have related badge groups. Colin Kuskie 2012-09-18 15:22:33 -07:00
  • ca78e1db4e Spectre is touchy about things that die in perl. Fix the UpdateAssetSubscribers workflow activity to catch if the group in the asset does not exist. Colin Kuskie 2012-09-16 20:51:18 -07:00
  • 2aeca17867 Add code to the upgrade skeleton to prevent empty version numbers from being used. Colin Kuskie 2012-09-14 10:22:23 -07:00
  • 61210fb776 Fix a problem similar to the Trash/utf-8 in the Clipboard. Colin Kuskie 2012-09-12 10:40:14 -07:00
  • ef6eabfa9e Handle UTF-8 characters in asset titles in the trash. Fixes bug #12385. Colin Kuskie 2012-09-12 09:20:27 -07:00
  • 2d83f3c0d1 Add the same kind of performance data for Shortcuts, as AssetProxy macros. Colin Kuskie 2012-09-11 16:42:43 -07:00
  • b37f9d581d Fix multiple issues with how Thingy handles default values, and values that are false. Fixes bug #12362 Colin Kuskie 2012-09-05 09:50:36 -07:00
  • 56e8240006 Changelog notice for TinyMCE upgrade. Colin Kuskie 2012-08-30 16:02:25 -07:00
  • 3cfc42d38f Update TinyMCE to 3.5.6 Colin Kuskie 2012-08-30 16:00:42 -07:00
  • 4f74c4cd3e Fix metaData revisionDates that were left as 0 from upgrades. Thanks to Dale Trexe for the script which inspired this upgrade sub. Fixes bug #12339. Colin Kuskie 2012-08-30 11:46:43 -07:00
  • 93f583d069 getLastPost in Thread.pm should not cast its data, but allow the asset to determine its own type. Colin Kuskie 2012-08-27 18:26:05 -07:00
  • 55893c0050 Fix Crud's pPFFP and commit the results this time so that I don't lose it and have to explain why I'm redoing 4 hours of painstaking form work with testing. Fixes bug #12382. Colin Kuskie 2012-08-23 15:00:09 -07:00
  • 4d3056299c Fix a POD typo in the userImport script. Fixes bug #12379 Colin Kuskie 2012-08-21 12:59:34 -07:00