Commit graph

  • 7b796ed76e Check permissions in account plugin Paul Driver 2011-05-25 15:44:46 -05:00
  • 7b7d1b4d2e cleanup extra thread in 12142 test Paul Driver 2011-05-25 12:30:12 -05:00
  • d450ded7a1 fixed #12142: Copy fails on imported threads Paul Driver 2011-05-25 10:37:35 -05:00
  • 90b37da740 Fix more i18n issues with the RenderThingData macro. Addresses bug #12141 Colin Kuskie 2011-05-25 08:49:12 -07:00
  • 926cfd18e4 Ready for 7.10.18 development. Colin Kuskie 2011-05-24 20:54:32 -07:00
  • 8284ab40f1 Preparing for 7.10.17 release. Colin Kuskie 2011-05-24 20:37:38 -07:00
  • 529743ff8f remove old upgrades Graham Knop 2011-05-20 14:01:52 -05:00
  • 595660e9e4 Tests for templateId and URL handling, some i18n for the RenderThingData macro. Colin Kuskie 2011-05-24 15:23:32 -07:00
  • 8bc944d526 Prevent the PayPal standard driver from being abused. Update POD and comments in several Shop files. Fix form labels for PayPal Express checkout driver. Fix a niggling bug with updating a transaction with a cart, twice. Fixes bug #12140. Colin Kuskie 2011-05-24 11:57:16 -07:00
  • ca08cc0984 Explict failure return Paul Driver 2011-05-23 13:06:33 -05:00
  • de55b02828 Durr, I are frodiwht. I are code. Paul Driver 2011-05-23 12:58:18 -05:00
  • edcf276a2f Check the return value of IKC call to spectre Paul Driver 2011-05-23 12:51:56 -05:00
  • 9e557d4a7d The text of the error message might be useful in the stack trace. Scott Walters 2011-05-22 23:57:08 -04:00
  • 2cf986ff57 Back out $SIG{__DIE__}. Exposes far too many caught errors. Back to the drawing board. Scott Walters 2011-05-22 23:54:01 -04:00
  • cd66af7855 Warn the user if upgradeState is set but not current, and WebGUI::Middleware::Maintenance is going to block everything because of it. Scott Walters 2011-05-22 21:44:44 -04:00
  • d6f66b0245 session->var is apparently deprecated. Scott Walters 2011-05-22 21:04:41 -04:00
  • 6a6fff613f Fixing the var() deprecation crutch. Scott Walters 2011-05-22 21:03:45 -04:00
  • 7687203a2f Author: kthakore <thakore.kartik@gmail.com> Date: Sun May 22 16:02:00 2011 -0400 Scott Walters 2011-05-22 18:12:20 -04:00
  • f14f2e59c9 Failed calls to www_ methods generating stack traces when webgui.debug is on is useful for developers; merely warning skips stack traces in WebGUI::Middleware::StackTrace. Make this an error. Scott Walters 2011-05-22 15:55:11 -04:00
  • 819cef2c17 $SIG{__DIE__} is a can of worms. Why doesn't try { } localize it...? Scott Walters 2011-05-22 15:36:40 -04:00
  • 096fe5ebaa Can't try possibily null data in an asset constructor any more, at least not without catching; this throws exceptions now. Scott Walters 2011-05-22 15:28:48 -04:00
  • 95def8a439 Perl run-time errors get kicked over to session->log->error, and WebGUI::Middleware::StackTrace now intercepts errors as well as fatals (since fatals are likely going away). Scott Walters 2011-05-22 15:23:25 -04:00
  • f4bd6d3f2f Add the i18n alias to the default WebGUI configuration file. Colin Kuskie 2011-05-20 16:37:09 -07:00
  • 1fa911029d Merge commit '1966cc02a7' Doug Bell 2011-05-20 14:58:43 -05:00
  • 9b5f14df14 always forget a changelog... maybe I need a git hook... Doug Bell 2011-05-20 14:27:11 -05:00
  • c471728ca4 add metadata to assets inside an AssetReport Doug Bell 2011-05-20 14:25:40 -05:00
  • 65752f2213 Merge pull request #12 from haarg/tt-asset-plugin Doug Bell 2011-05-20 12:07:30 -07:00
  • c011dda0af README and docs/install fixes. Scott Walters 2011-05-20 00:36:29 -04:00
  • 2a73f5ab63 fix undefined warnings Graham Knop 2011-05-19 19:25:06 -05:00
  • 258d939614 remove getValue for the third time maybe? Doug Bell 2011-05-19 19:23:51 -05:00
  • af2abb7a42 fix outdated macros in conf.original Doug Bell 2011-05-19 13:20:56 -05:00
  • 52294139a0 -0.00 ne 0.00. Handle both cases of ~0 when checking out to intercept and finish the transaction immediately. Colin Kuskie 2011-05-19 08:58:44 -07:00
  • e5012d3914 App::Cmd options are normalized to lower-case Doug Bell 2011-05-18 14:56:24 -05:00
  • b1a527682d do not buffer command output Doug Bell 2011-05-18 14:12:23 -05:00
  • 72667d0bd1 add process() sub for FormBuilder Doug Bell 2011-05-17 17:30:49 -05:00
  • d1f93b8f7c add Asset template plugin Graham Knop 2011-05-17 17:09:27 -05:00
  • 75c86a68f5 Map: moved point at which hideLoading occurs to avoid potential bug. Chris Hanson 2011-05-17 17:06:54 -05:00
  • 72d32d679d clarify returning from try/catch Doug Bell 2011-05-17 15:27:37 -05:00
  • 587d494501 add Template Toolkit plugins/extentions Doug Bell 2011-05-17 15:20:17 -05:00
  • 1f750691c0 allow assetName to be a normal, non-i18n string Doug Bell 2011-05-17 11:52:03 -05:00
  • 01b9d95259 fix RichEdit merge Doug Bell 2011-05-17 11:49:00 -05:00
  • bba52ddee1 Ready for 7.10.17 development. Colin Kuskie 2011-05-16 22:19:39 -07:00
  • 669a071553 Preparing for 7.10.16 release. Colin Kuskie 2011-05-16 21:58:08 -07:00
  • e33c41bd43 Add more tests around a test that fails intermittently in AssetLineage.t Colin Kuskie 2011-05-16 21:57:07 -07:00
  • aaa2d8e8f2 Update shortcut exporting test for changes to exportGetRelatedAssetIds exporting the container by default. Colin Kuskie 2011-05-16 21:36:27 -07:00
  • d796412469 Update Asset/Story.t for changes to exportGetRelatedAssetIds now exporting the container as well. Colin Kuskie 2011-05-16 21:32:48 -07:00
  • 2ab9773025 Remove variables that were not being used. Colin Kuskie 2011-05-16 15:39:14 -07:00
  • 4af2c8424f Whoops. Monkey::Patch wasn't used. Paul Driver 2011-05-16 16:16:40 -05:00
  • c1a29182ca fixed #12129: AdminBar calls canAdd as an object method Paul Driver 2011-05-16 16:10:18 -05:00
  • 677ac978b6 Merge branch 'WebGUI8' of github.com:plainblack/webgui into 8 Doug Bell 2011-05-13 18:20:52 -05:00
  • 277faae8a1 Merge commit 'v7.10.15' into 8 Doug Bell 2011-05-13 18:15:11 -05:00
  • 7a994b59ce File assets should always give IO::File::WithPath objects to PSGI, instead of the current redirecting or streaming behavior. (#11688) New API method: WebGUI::Response::sendFile; it, as appropriate, calls setRedirect or setStreamedFile, depending on enableStreamingUploads config var. setStreamedFile now kicks off the XSendfile process. File.pm now uses this instead of trying to set both a redirect and a stream. IO::File::WithPath blows up if a file doesn't exist so this raises an exception now. The http now no longer insist that '0' is not a valid filename to stream. site.psgi, depending on enableStreamingUploads, enables either the Static or XSendfile middleware. Scott Walters 2011-05-12 20:09:04 -04:00
  • 0df9fb747a provide session to template toolkit plugins Graham Knop 2011-05-11 18:02:02 -05:00
  • 96bb194402 Change newByDynamicClass calls that creept in back to newById, except for the ones in doc/upgrade. Kinda important. Scott Walters 2011-05-11 16:26:32 -04:00
  • 57d2dbed56 WebGUI::Session::Http should go away (#11647) Move logic out of WebGUI::Session::HTTP and into WebGUI::Session::Response / ::Request; deprecate more functions; change references in core to use $session->response instead; fix tests that broke because of the change but not one that merely generate the deprecated warning because I want to know that the proxying of depricated methods is working. These can be changed later. Scott Walters 2011-05-11 16:17:54 -04:00
  • 72bac90f93 Rework WebGUI::Test::getPage2 to be a wrapper around WebGUI::Test::Mechanize; this is still just a crutch for converting tests, though really, it's enough shorter that it probably should live on. getPage should be deprecated and replaced with getPage2 which should then be renamed. Joy. Anyway, WebGUI::Test::Mechanize had a bit of chicken-and-egg going on with not being able to modify things in its session until after a request with a valid session cookie was made. It's now more forgiving. Reworked t/Asset/AssetExportHtml.t slightly to use getPage2 as it currently stands. Scott Walters 2011-05-11 15:26:32 -04:00
  • d2c8670098 Introduce WebGUI::Test::getPage2, similar to WebGUI::Test::getPage, that makes requests using Plack::Test and attempts to maintain getPage's API. Change three tests in t/Asset/AssetExportHtml.t to use this instead. Backstory: Forthcoming WebGUI::Session::HTTP, ::Request, ::Responses mucking abouts broke some tests that use WebGUI::Test::getPage; in the case of t/Asset/AssetExportHtml.t, files were written correctly to disc but tests failed because it was comparing them to undef, which it got back for the page, apparently because getPage bypasses the logic that traps printing to a filehandle. Scott Walters 2011-05-11 13:58:20 -04:00
  • 458b1a1b0b Merge pull request #10 from roryzweistra/master Graham Knop 2011-05-11 09:43:40 -07:00
  • 7beec1d2ec Fixed typo that prevented to get the company name from the settings table Rory Zweistra 2011-05-11 16:45:21 +02:00
  • 6a01296019 rfe #12127: AssetProperty macro Paul Driver 2011-05-11 09:30:36 -05:00
  • 2d31f7234a PSGI entry points (#11632) -- add a plackMiddleware section to the config file; modify share/site.psgi to load from it. This is minimal in implementation right now in that there's no support for passing args, which would generally be objects mixed with strings, to the middlewares being added, as would be necessary if the .psgi files were to be largely migrated to the config files. I agree that it's important that upgrade scripts be able to add middleware (probably custom ones that know how to get the session from %$env) but I'm not convinced of the utility of moving much logic out of share/site.psgi. Scott Walters 2011-05-10 14:26:16 -04:00
  • dd6a297c06 make the admin view [Edit] controls right-click-able so I can continue to right-click-open-in-new-tab them. Scott Walters 2011-05-10 13:58:44 -04:00
  • 34eda690ee Update the recaptcha api URLs. Fixes bug #12125 Colin Kuskie 2011-05-09 08:23:33 -07:00
  • f1538824f7 rfe #12123: Layouts related for export purposes Paul Driver 2011-05-09 09:59:53 -05:00
  • 3e161b3ead Fix a typo in the new Map template help variables. Fixes bug #12121 Colin Kuskie 2011-05-06 14:39:50 -07:00
  • 5cefff9f47 make RemoveOldCarts test more robust Doug Bell 2011-05-06 13:19:38 -05:00
  • a4744e91fa Doug and Colin did the work of removing all use of Class::InsideOut so now we can celebrate. Scott Walters 2011-05-05 21:43:06 -04:00
  • 13a2c359e7 Get rid of the cargo culted code about sending a text reply if the browser didn't specify that it understands HTML. This interacts badly with Plack::Test and doesn't have much of a point in real life anyway, and I accidentally sent the test up that dends on this being gone without sending this too. Argh. If I could send up a coherent commit just once... Scott Walters 2011-05-05 21:41:18 -04:00
  • 6b0cd93e61 i'm not testing that imagemagick does it correctly... Doug Bell 2011-05-05 20:01:03 -05:00
  • 0693e33128 getEditForm is a FormBuilder and doesnt include csrfToken (added by www_edit) Doug Bell 2011-05-05 19:45:50 -05:00
  • 2e720d6899 getEditForm returns FormBuilder and csrfToken should be added by www_edit Doug Bell 2011-05-05 19:43:32 -05:00
  • f33f4db65b admin mode is always on for admins Doug Bell 2011-05-05 19:36:55 -05:00
  • bf75ed1615 we now cache the requested URL inside the session, fix it for tests Doug Bell 2011-05-05 19:35:49 -05:00
  • 61eff5be0c the default URL is /, not the empty string Doug Bell 2011-05-05 19:31:59 -05:00
  • 36923dc335 class is now className in www_add Doug Bell 2011-05-05 19:29:11 -05:00
  • d7339c9ba8 class is now className in www_add Doug Bell 2011-05-05 19:28:29 -05:00
  • 18dd9a459d move export product tests and fix the export product helper Doug Bell 2011-05-05 19:27:22 -05:00
  • 140b5a546f move Shelf tests into AssetHelper tests (and fix the thing) Doug Bell 2011-05-05 18:51:42 -05:00
  • a476f09e12 Shelf no longer has importProducts or exportProducts, they're AssetHelpers Doug Bell 2011-05-05 16:03:05 -05:00
  • 65f3f3546f class is now className when doing www_add Doug Bell 2011-05-05 15:56:54 -05:00
  • 6ae2862bb6 all template vars have "controls" now Doug Bell 2011-05-05 15:55:48 -05:00
  • e34d1ad38c shortcut no longer overrides getToolbar, so stop testing it Doug Bell 2011-05-05 15:54:14 -05:00
  • ef2727f6f5 update usedBy when redeeming subscription code Doug Bell 2011-05-05 15:52:00 -05:00
  • 475a885146 shortcut now takes ?visitor=1 to edit visitor prefs from dashboard Doug Bell 2011-05-05 15:51:25 -05:00
  • 848570712e Basic tests for WebGUI::Middleware::StackTrace Scott Walters 2011-05-05 15:55:55 -04:00
  • 2f45f306fb Doc improvements Scott Walters 2011-05-05 15:08:06 -04:00
  • 59a22f4101 set recursion limit to 1 for dumped lexicals and function args; with unlimited depth, it was making my Mozilla shoot to 1.5gigs and taking the server and browser forever to get the error page up. keep the HTML of the original page and tack it on to the end of the stack trace. add WebGUI::Middleware::StackTrace to the default site.psgi in place of the standard StackTrace, but leave a comment for the other one in case people prefer it. Scott Walters 2011-05-05 14:55:28 -04:00
  • 617ca066dc Tweak which stack frames WebGUI::Middleware::StackTrace skips for HTML and text output; add the modules it uses to testEnvironment.pl; comment out the dumping of the asset tree for now; silence a warning in testEnvironment.pl by tweaking module test/load order Scott Walters 2011-05-05 13:27:53 -04:00
  • 81b69f8cba API doc Wiki page moved from http://www.webgui.org/community-wiki/api to http://www.webgui.org/wiki/api Scott Walters 2011-05-05 11:39:51 -04:00
  • a97c1c9d86 middleware based on Plack::Middleware::StackTrace that also dumps all of the assets in a YUI tree view because that seemed like a good idea at the time. Scott Walters 2011-05-04 23:16:02 -04:00
  • 742db182e8 don't force an extra layer of streaming as doing so bypasses plack middlewares. Scott Walters 2011-05-04 23:11:56 -04:00
  • 423e19ae0e remember to pass the definition up the stack... Doug Bell 2011-05-05 11:23:05 -05:00
  • b0da37ec15 fix EMSSubmissionForm and all its tests Doug Bell 2011-05-04 15:33:04 -05:00
  • 0c23ba8cd7 perhaps a good plan is in order... Doug Bell 2011-05-04 13:57:35 -05:00
  • cdcbf53e42 getToolbarState and toggleToolbar no longer exist Doug Bell 2011-05-04 13:51:19 -05:00
  • 4a8b4c69a2 class is now className for www_add Doug Bell 2011-05-04 13:50:10 -05:00
  • ecbaca599d formbuilder templatevar prefix must contain the underscore now Doug Bell 2011-05-04 13:48:19 -05:00
  • 2b42142d85 went overboard on deleting from this test Doug Bell 2011-05-04 13:05:18 -05:00
  • 311db7b546 remove the old asset manager from the config file Doug Bell 2011-05-04 13:00:33 -05:00
  • 53439e4d08 old AssetManager is obsolete Doug Bell 2011-05-04 12:58:04 -05:00