Commit graph

11742 commits

Author SHA1 Message Date
Scott Walters
622391b61d Using Basic Auth with WebGUI (#12198)
Per IRC discussion with preaction, make HTTP auth failures soft failures.
Don't attempt to re-auth the user on failure.  Otherwise, .htaccess or
similar put in place to protect a site and WebGUI get into a skirmish
(users are asked to re-auth even if they did the .htaccess correctly,
the log gets flooded, cats get radio shows, etc).
2011-09-07 20:24:29 -04:00
Scott Walters
ee121e9460 Mobile template is not being inherited (#12246)
Break get_add_instance out of www_add; subclass it in Layout to
pull mobileTemplateId and mobileStyleTemplateId from the parent
if the parent is also a Layout.
2011-09-07 20:19:50 -04:00
Scott Walters
b05c7ea810 Revert "Mobile template is not being inherited (#12246)"
... per perlDreamer's additional argument for his original design for this

This reverts commit 2628263384.
2011-09-07 20:19:50 -04:00
Scott Walters
2628263384 Mobile template is not being inherited (#12246)
added extra_www_add_properties method to Asset.pm and subclassed it in as
Layout.pm as properties fix-up hook in child for www_add
2011-09-07 15:43:23 -04:00
Scott Walters
d65fd7e646 Pending perlDreamer's comments...:
Revert "Mobile template is not being inherited  (#12246)"

This reverts commit a4624663cf.
2011-09-06 20:32:50 -04:00
Scott Walters
a4624663cf Mobile template is not being inherited (#12246)
Applied SquOnk's patch and added tests; modify www_add to inherit mobileStyleTemplateId
from the parent as well as mobileTemplateId.  mobileTemplateId is only used by PageLayout
currently.  If other assets start using this and this gets inherited cross asset types,
thing will break.  A better design here would be to flag on a case-by-case basis in
asset definitions whether any given property should be inherited globally, of children
of the same asset class, or not at all.
2011-09-06 20:26:55 -04:00
Colin Kuskie
3c44dae9e9 Internationalize a label in the My Purchases account plugin template. Fixes bug #12241 2011-08-31 16:49:56 -07:00
Colin Kuskie
68da3427c5 Don't commit an empty version tag when extending calender recurrences. Fixes bug #12240. 2011-08-30 15:11:12 -07:00
Colin Kuskie
36f818ed5e Check for mixed items in the cart AFTER processing delete requests. Fixes bug #12239. 2011-08-30 08:45:57 -07:00
Colin Kuskie
7a89bf19c7 Remove a template attachment in the Search namespace. Add tests to check all other template attachments. Fixes bug #12238. 2011-08-28 17:28:47 -07:00
Colin Kuskie
d40048437c Always take the latest revision of the Asset when updating subscribers, since it will always be locked in a version tag. 2011-08-26 16:44:28 -07:00
Chris Hanson
8ae2457370 fixed AssetReport: "Order the results by" issues (#12227) 2011-08-26 15:51:58 -05:00
Colin Kuskie
073093e30c Avoid autivivifying hashes that are live references or will be cached later in User/Group. 2011-08-22 20:05:01 -07:00
Colin Kuskie
e65368c7c1 Fix group membership by scratch variables for Visitor. Fixes bug #12195. Kudos to trex for the base patch. Also fix the same problem in the IP based group membership. 2011-08-22 19:17:58 -07:00
Colin Kuskie
4f2905645a Changed urls sent to the asset indexer from using getUrl which prepends the gateway to them. Fixes bug #12229. 2011-08-22 08:04:02 -07:00
Chris Hanson
bdec9c84df Changed dateTime to date in content profiling type, my misinterpretation of RFE. 2011-08-18 13:52:50 -05:00
Colin Kuskie
8211232e32 Ready for 7.10.23 development 2011-08-16 18:57:31 -07:00
Colin Kuskie
288624338c 7.10 is now stable. 2011-08-16 18:07:41 -07:00
Colin Kuskie
e11e6543b1 Final tweak for the definition for Form/Combo. 2011-08-16 17:04:32 -07:00
Colin Kuskie
63aa62b493 Merge pull request #21 from daviddelikat/master
textExtras in Combo object
2011-08-16 14:36:03 -07:00
David Delikat
756ae7ae0c remove reference to extras as requested 2011-08-16 15:41:11 -05:00
Chris Hanson
31c167194e Added dateTime to metadata field types 2011-08-16 11:36:23 -05:00
David Delikat
ce73956d60 added 'textExtras' property for passing 'extras' to the text box portion of the combo 2011-08-13 17:40:39 -05:00
Colin Kuskie
428ea58327 Add better support for user profile fields for addresses to the Cart and the EMS. 2011-08-11 16:27:29 -07:00
Colin Kuskie
778910302f use getStyleTemplateId so mobile styles are obeyed. 2011-08-10 07:53:09 -07:00
Colin Kuskie
82773839b6 Convert Event to use getEditTemplate. 2011-08-09 20:20:57 -07:00
Colin Kuskie
b3f5e89690 Take the object's default as a defaultValue for the form if there are no config file overrides. However, always provide one. 2011-08-09 20:19:40 -07:00
Colin Kuskie
693bccde4b Remove useless call to getGallery. 2011-08-09 13:32:52 -07:00
Graham Knop
39049e1c7c fix race condition in passive profiling 2011-08-08 15:42:34 -05:00
Graham Knop
620d34b8f7 fix race condition in passive profiling 2011-08-08 15:42:00 -05:00
Colin Kuskie
0af0bf6a13 Remove www_edit from WikiPage and rely on the master class instead. 2011-08-04 22:13:41 -07:00
Colin Kuskie
fe2aa2fe87 Don't need www_edit anymore, either. 2011-08-04 22:13:41 -07:00
Colin Kuskie
32a3225daa Update Story to use getEditTemplate 2011-08-04 22:13:41 -07:00
Graham Knop
361f60c483 better upgrade script name detection 2011-08-04 12:48:51 -05:00
Colin Kuskie
c13e9e9367 Form parameter fix: class -> className in the Post. 2011-08-03 16:14:56 -07:00
Colin Kuskie
6979358d70 Convert Post over to using getEditTemplate. Still need work on autocommit. 2011-08-02 16:26:14 -07:00
Colin Kuskie
3b7dd524db When a Sku is purged, delete it from all carts. Better handling for cartItems whose assets have been deleted. Fixes bug #12213 2011-08-02 10:00:53 -07:00
Colin Kuskie
469250fd76 Update WikiPage to use the right style template. 2011-08-01 16:05:44 -07:00
Colin Kuskie
4ac894d981 Add a method that returns either the standard style template or the mobile style template based on the Session. 2011-08-01 16:04:54 -07:00
Doug Bell
aabb4648d6 allow edit templates without attached forms
This lets authors not use FormBuilder unless they really want to... for now.
2011-08-01 16:35:28 -05:00
Doug Bell
1992f33de9 fix adding new WikiPage assets 2011-08-01 16:35:28 -05:00
Colin Kuskie
37b8d15c0f Add a little POD to the decimated Session/Id.pm module. 2011-08-01 11:09:36 -07:00
Colin Kuskie
a3ff0fb7a5 Fix replacements (again). Add tests to test words and sequences with punctuation. Fixes bug #12208. 2011-08-01 10:27:43 -07:00
Colin Kuskie
1cc7ac2578 Fix some POD spelling areas. 2011-07-30 11:24:48 -07:00
Scott Walters
766be8ae7f Docs about how to do error handling from the user app side in WG8 2011-07-29 15:04:34 -04:00
Peter Christiansen
8b9be1e036 RFE 12207 : www_editThingDataSaveViaAjax should return more info if thingdata fails to be saved.
As it is it returns json with an array of error messages: [{error_message=>"some error"},..]
     But to be able to do anything useful with this. eg. highlighting of form fields whose
     input is erroneous we should also return the fieldName.
     This patch takes care of this.
2011-07-28 22:35:18 +02:00
Colin Kuskie
56a0f0dd3d No need to remake the same user object. 2011-07-27 22:46:29 -07:00
Colin Kuskie
94761c46e4 Fix whitespace problems with POD in Session/Response 2011-07-27 22:21:21 -07:00
Colin Kuskie
94928825f2 Fix whitespace problem with POD in Asset/Shortcut 2011-07-27 22:20:15 -07:00
Colin Kuskie
1d54196f44 Add payment driver for Authorize.net. i18n, upgrade script, config file changes, and new template. 2011-07-27 13:24:30 -07:00