Commit graph

11100 commits

Author SHA1 Message Date
Doug Bell
b1660fe76b document that tableKey is not allowed to have fieldType 2011-06-23 13:07:19 -05:00
Doug Bell
7f47927325 use a default label instead of requiring one 2011-06-23 13:02:27 -05:00
Doug Bell
0c5acb697b Merge commit 'v7.10.18' into 8
Conflicts:
	docs/gotcha.txt
	docs/previousVersion.sql
	docs/templates.txt
	lib/WebGUI.pm
	lib/WebGUI/Asset/File.pm
	lib/WebGUI/Asset/Story.pm
	lib/WebGUI/Asset/Wobject/Calendar.pm
	lib/WebGUI/Asset/Wobject/Thingy.pm
	lib/WebGUI/AssetExportHtml.pm
	lib/WebGUI/Content/AssetManager.pm
	lib/WebGUI/Group.pm
	lib/WebGUI/Macro/AssetProxy.pm
	lib/WebGUI/Shop/PayDriver/PayPal/PayPalStd.pm
	lib/WebGUI/Storage.pm
	t/Asset/AssetExportHtml.t
	t/Asset/Story.t
	t/Shop/TaxDriver/Generic.t
	t/Storage.t
2011-06-21 16:03:49 -05:00
Doug Bell
02c0da33e4 Merge remote-tracking branch 'upstream/WebGUI8' into 8
Conflicts:
	docs/previousVersion.sql
2011-06-17 20:15:24 -05:00
Doug Bell
795d88e7e5 Merge commit 'v7.10.17' into 8
Conflicts:
	docs/upgrades/upgrade_7.9.13-7.10.0.pl
	lib/WebGUI.pm
	lib/WebGUI/Asset/Template/TemplateToolkit.pm
	lib/WebGUI/Asset/Wobject/AssetReport.pm
	lib/WebGUI/Asset/Wobject/Thingy.pm
	lib/WebGUI/Form/Captcha.pm
	lib/WebGUI/Macro/AdminBar.pm
	lib/WebGUI/Shop/Cart.pm
	lib/WebGUI/Shop/PayDriver.pm
	lib/WebGUI/Shop/PayDriver/PayPal/ExpressCheckout.pm
	lib/WebGUI/Shop/PayDriver/PayPal/PayPalStd.pm
	lib/WebGUI/Shop/Transaction.pm
	lib/WebGUI/Workflow/Instance.pm
	lib/WebGUI/Workflow/Spectre.pm
	lib/WebGUI/i18n/English/PayDriver.pm
	t/Asset/Asset.t
	t/Asset/AssetExportHtml.t
	t/Asset/AssetLineage.t
	t/Asset/Wobject/Thingy.t
2011-06-17 20:13:41 -05:00
Doug Bell
1d23bcf846 Merge pull request #13 from haarg/template_proxy
Template proxy to prevent modifying properties inside templates
2011-06-16 16:06:20 -07:00
Graham Knop
b177bb5c3f convert changeIobStatus.pl to module 2011-06-16 01:56:21 -05:00
Graham Knop
0a09ea4895 add automatic proxy system for passing objects to Template::Toolkit 2011-06-15 18:19:16 -05:00
Colin Kuskie
8978abc471 Restore the patch to fix creating tables unwisely in the Thingy. Fixes numerous bugs due to a bad merge. 2011-06-13 18:03:21 -07:00
Colin Kuskie
8b13c387be Add missing i18n for Thingy RFE for unique fields. 2011-06-13 16:05:02 -07:00
Doug Bell
4557e2088a handle reset problems more gracefully 2011-06-13 17:53:26 -05:00
Colin Kuskie
8b3877c34e Update the default CS notification template. 2011-06-13 13:46:01 -07:00
Doug Bell
6dfeb6ef1a add _new flag to Crud objects
This flag allows you to know when an object has been newly-created, so you
can check in the BUILD sub and perform appropriate actions.
2011-06-13 14:47:49 -05:00
Paul Driver
1ff1ffe423 rfe #12159: Asset Manager sort preferences 2011-06-13 13:25:01 -05:00
Colin Kuskie
328826e3f7 Create a fake item to send to PayPal for shipping, so it can be covered by shop credit. Fixes bug #12158. 2011-06-13 11:03:29 -07:00
Colin Kuskie
21bcd70980 Fix a syntax warning with multiple i18n objects in PP::ExpressCheckout 2011-06-06 19:53:22 -07:00
Colin Kuskie
e2a218e6f5 Set the locale in the correct communication with PayPal. 2011-06-06 10:48:20 -07:00
Colin Kuskie
3c0cf0f1a5 Pass the user's locale along to PayPal. If it is supported, then the checkout screen on PayPal will be in the user's locale. Fixes bug #12119. 2011-06-06 10:32:14 -07:00
Colin Kuskie
b21a6e331b PayPal does not consider +5.00 to be the same as 5.00. Remove the sign from the number. Fixes bug #12152. 2011-06-06 09:11:05 -07:00
Doug Bell
3151a029de we don't always have an asset, so use the page url instead 2011-06-03 20:50:19 -05:00
Doug Bell
664e7686c6 fix bugs revealed by Test::Class tests 2011-06-02 19:44:06 -05:00
Chris Hanson
65a981f8ab Corrected leaveVersionTag creating a version tag: 12138 2011-06-01 13:52:40 -05:00
Colin Kuskie
197f94c0e5 Fix gateway url handling in the RenderThingData macro. Fixes one part of #12133. 2011-05-31 21:27:53 -07:00
Colin Kuskie
ab1b6aa4fd Fix photo JSON handling in the story, where the data is cached incorrectly. Fixes bug #12136 2011-05-31 15:16:02 -07:00
Colin Kuskie
b872694390 Remove old debug content. 2011-05-31 15:14:39 -07:00
Paul Driver
181f21a0b7 WebGUI::Event 2011-05-31 16:13:09 -05:00
Colin Kuskie
c3652d12a9 Band-aid fix for bad decache of icalFeeds, where it is not deserialized from JSON. Fixes bug #12139. 2011-05-30 11:34:43 -07:00
Doug Bell
1de9a12365 add POD to WebGUI::Admin::Plugin and rename canUse to canView 2011-05-27 17:08:25 -05:00
Doug Bell
2751e4fe93 GalleryFile handles its own template 2011-05-27 16:15:24 -05:00
Doug Bell
538dc2a862 process non-TT templates before including them 2011-05-27 15:23:52 -05:00
Paul Driver
7b796ed76e Check permissions in account plugin 2011-05-25 15:44:46 -05:00
Paul Driver
d450ded7a1 fixed #12142: Copy fails on imported threads 2011-05-25 10:51:10 -05:00
Colin Kuskie
90b37da740 Fix more i18n issues with the RenderThingData macro. Addresses bug #12141 2011-05-25 08:49:12 -07:00
Colin Kuskie
595660e9e4 Tests for templateId and URL handling, some i18n for the RenderThingData macro. 2011-05-24 15:23:32 -07:00
Colin Kuskie
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.
commit cef8c5bde10f793db0890dcfd18cbf20b0e69c90
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Tue May 24 11:52:48 2011 -0700

    Build a Shop::Transaction.

commit c386079ac29fc70c1cc63d0c2844511ce9db553e
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Tue May 24 11:34:13 2011 -0700

    Pull a session out of the object.

commit 59d780eb0ffcc82572491f85f08eb4ac04cab109
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Tue May 24 11:15:05 2011 -0700

    Rework PayPalStd driver to create transaction before sending the user off to PayPal.

commit cd2683aa8595875f7c501f29c622abaf350e90f6
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Tue May 24 11:14:19 2011 -0700

    Fix some comments to be more cleanly readable.

commit cf1fecfb916906c4d8ec8d33bd85c59b0aea3b7c
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Tue May 24 11:13:52 2011 -0700

    Make the transaction optional when displaying a payment error.

commit f3c949e03a18ac513938f2ed483002c5304663d5
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Mon May 23 19:19:56 2011 -0700

    Remove dead code.

commit 5ddcb49f094fd054f79da38c4a95dd86c55a157f
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Thu May 19 11:31:15 2011 -0700

    If a transaction is updated with a cart object, remove all transationItems from the transaction before adding new ones.

commit 3315cb30a5c1fd4d583ce352cbc9022e52544404
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Thu May 19 11:30:58 2011 -0700

    Remove duplicate entries from ExpressCheckout i18n

commit b46d5af528d7223d12ecbed383e798cfc376ad2a
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Mon May 23 16:07:33 2011 -0700

    Fix the version number of the PayPal API we send.  Add the serialized request to the log file.  Fix i18n labels so it's clear which username and password to use.

commit 1604d375822eb013c633b72993fa524703a72127
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Wed May 18 15:50:42 2011 -0700

    Fix copy/paste errors from other i18n modules into ExpressCheckout.

commit f2c958fc7128348a18a005bfbadf83457861d6e2
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Wed May 18 11:26:15 2011 -0700

    Update out of date POD about checking out.

commit 61ca80b15701733a1a7c7eae5d825b161e0c71c1
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Mon May 23 16:05:09 2011 -0700

    Fix documentation in appendCartVariables, and return the hash instead of $self.

commit d3b7341c44c924f395f8594c8ae77d8187170c9f
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Mon May 23 16:03:20 2011 -0700

    Remove variables that were not being used.

commit 2913f96182a7630bce01998bb022d3ebf4842171
Author: Colin Kuskie <colink@perldreamer.com>
Date:   Mon May 16 21:05:54 2011 -0700

    Pull isRecurring directly from the Cart if creating/updating a transaction from one.
2011-05-24 11:57:16 -07:00
Paul Driver
ca08cc0984 Explict failure return 2011-05-23 13:06:33 -05:00
Paul Driver
de55b02828 Durr, I are frodiwht. I are code. 2011-05-23 12:58:18 -05:00
Paul Driver
edcf276a2f Check the return value of IKC call to spectre 2011-05-23 12:53:21 -05:00
Scott Walters
9e557d4a7d The text of the error message might be useful in the stack trace. 2011-05-22 23:57:08 -04:00
Scott Walters
6a6fff613f Fixing the var() deprecation crutch. 2011-05-22 21:03:45 -04:00
Scott Walters
7687203a2f Author: kthakore <thakore.kartik@gmail.com>
Date:   Sun May 22 16:02:00 2011 -0400

    Fixed SQL statement for ?op=listUsers operation.
2011-05-22 18:12:20 -04:00
Scott Walters
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.
2011-05-22 15:55:11 -04:00
Scott Walters
819cef2c17 $SIG{__DIE__} is a can of worms. Why doesn't try { } localize it...? 2011-05-22 15:36:40 -04:00
Scott Walters
096fe5ebaa Can't try possibily null data in an asset constructor any more, at least not without catching; this throws exceptions now. 2011-05-22 15:28:48 -04:00
Scott Walters
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).
2011-05-22 15:25:10 -04:00
Doug Bell
1fa911029d Merge commit '1966cc02a7'
Conflicts:
	lib/WebGUI/Asset/Wobject/Thingy.pm
2011-05-20 14:58:43 -05:00
Doug Bell
c471728ca4 add metadata to assets inside an AssetReport
Thanks to SquOnk for the patch.
2011-05-20 14:25:40 -05:00
Doug Bell
65752f2213 Merge pull request #12 from haarg/tt-asset-plugin
Adds an Asset plugin for Template Toolkit
2011-05-20 12:07:30 -07:00
Graham Knop
2a73f5ab63 fix undefined warnings 2011-05-19 19:25:13 -05:00
Doug Bell
258d939614 remove getValue for the third time maybe? 2011-05-19 19:23:51 -05:00