Commit graph

208 commits

Author SHA1 Message Date
Colin Kuskie
b323f74121 Update copyright notice 2011-12-28 11:30:38 -08:00
Colin Kuskie
5f9f1e6dec Remove all unnecessary usage of SUPER from Assets 2011-12-07 08:26:08 -08:00
Colin Kuskie
a2a821822d Merge commit 'v7.10.23' into WebGUI8. Tests need fixing. 2011-11-02 11:12:18 -07:00
Colin Kuskie
9a4703eca0 Set the HTTP status correctly via the new API. 2011-11-01 13:21:31 -07:00
Colin Kuskie
431cd280a4 Merge commit 'v7.10.22' into WebGUI8 2011-10-31 20:13:01 -07:00
Colin Kuskie
4855816a29 Merge commit 'v7.10.21' into WebGUI8. Also, add POD and fix broken tests. 2011-10-27 16:45:19 -07:00
Colin Kuskie
fdb979ca8a Merge commit 'v7.10.20' into WebGUI8 2011-10-26 15:02:51 -07:00
Colin Kuskie
4fea10a1f5 Merge commit 'v7.10.19' into WebGUI8 2011-10-25 20:31:50 -07:00
Colin Kuskie
d7218166bb Fix a problem with case sensitivity when in Thingy's getFieldValue. Fixes bug #12231. 2011-09-08 09:53:47 -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
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
2ce2d7611a Handle the case when the defaultValue is in mysql format for the Thingy, but we have to save in epoch. Fix a timezone offset issue. Fixes bug #12197 2011-07-18 21:26:31 -07:00
Colin Kuskie
5d74b24e97 Remove debug code, replace with line accidently deleted during debug. Fixes bug #12188 2011-07-08 15:23:17 -07:00
Colin Kuskie
e3a4afe5c3 Allow reasonable default dates in ISO 9601 format. Fixes bug #12165. 2011-07-04 14:14:17 -07:00
Scott Walters
54ae754ebe Repeat ampli's fix (described below) for other occurances on the site.
``The Save buttons in the two first steps didn't work in Chrome.
    According to a hint in the YUI Button documentation about a problem in using
    "submit" as a value of the name attribute, I changed submit button name
    in the two first steps from "submit" to "send".  This solved the problem.''
2011-06-29 19:13:18 -04:00
Colin Kuskie
4027b5b4d8 Perform the check BEFORE saving the Thing properties. Fixes bug #12157. 2011-06-27 21:32:57 -07: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
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
Chris Hanson
995eb34b5a Added ability to pass caller assetId to RenderThingMacro 2011-06-14 14:11:02 -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
Doug Bell
1fa911029d Merge commit '1966cc02a7'
Conflicts:
	lib/WebGUI/Asset/Wobject/Thingy.pm
2011-05-20 14:58:43 -05:00
Doug Bell
277faae8a1 Merge commit 'v7.10.15' into 8
Conflicts:
	docs/gotcha.txt
	docs/previousVersion.sql
	docs/templates.txt
	lib/WebGUI.pm
	lib/WebGUI/Asset.pm
	lib/WebGUI/Asset/Event.pm
	lib/WebGUI/Asset/File.pm
	lib/WebGUI/Asset/MapPoint.pm
	lib/WebGUI/Asset/RichEdit.pm
	lib/WebGUI/Asset/Sku/Product.pm
	lib/WebGUI/Asset/Snippet.pm
	lib/WebGUI/Asset/Story.pm
	lib/WebGUI/Asset/Template.pm
	lib/WebGUI/Asset/Template/TemplateToolkit.pm
	lib/WebGUI/Asset/Wobject/Calendar.pm
	lib/WebGUI/Asset/Wobject/Carousel.pm
	lib/WebGUI/Asset/Wobject/Collaboration.pm
	lib/WebGUI/Asset/Wobject/Dashboard.pm
	lib/WebGUI/Asset/Wobject/DataForm.pm
	lib/WebGUI/Asset/Wobject/Folder.pm
	lib/WebGUI/Asset/Wobject/Map.pm
	lib/WebGUI/Asset/Wobject/Search.pm
	lib/WebGUI/Asset/Wobject/Shelf.pm
	lib/WebGUI/Asset/Wobject/StockData.pm
	lib/WebGUI/Asset/Wobject/StoryTopic.pm
	lib/WebGUI/Asset/Wobject/SyndicatedContent.pm
	lib/WebGUI/Asset/Wobject/Thingy.pm
	lib/WebGUI/Asset/Wobject/WeatherData.pm
	lib/WebGUI/AssetClipboard.pm
	lib/WebGUI/AssetCollateral/DataForm/Entry.pm
	lib/WebGUI/AssetExportHtml.pm
	lib/WebGUI/AssetLineage.pm
	lib/WebGUI/AssetMetaData.pm
	lib/WebGUI/AssetTrash.pm
	lib/WebGUI/AssetVersioning.pm
	lib/WebGUI/Auth.pm
	lib/WebGUI/Cache/CHI.pm
	lib/WebGUI/Content/AssetManager.pm
	lib/WebGUI/Fork/ProgressBar.pm
	lib/WebGUI/Form/JsonTable.pm
	lib/WebGUI/Form/TimeField.pm
	lib/WebGUI/Form/Zipcode.pm
	lib/WebGUI/Group.pm
	lib/WebGUI/International.pm
	lib/WebGUI/Macro/AssetProxy.pm
	lib/WebGUI/Macro/FileUrl.pm
	lib/WebGUI/Operation/SSO.pm
	lib/WebGUI/Operation/User.pm
	lib/WebGUI/Role/Asset/Subscribable.pm
	lib/WebGUI/Shop/Cart.pm
	lib/WebGUI/Shop/Transaction.pm
	lib/WebGUI/Shop/TransactionItem.pm
	lib/WebGUI/Test.pm
	lib/WebGUI/URL/Content.pm
	lib/WebGUI/URL/Uploads.pm
	lib/WebGUI/User.pm
	lib/WebGUI/Workflow/Activity/ExtendCalendarRecurrences.pm
	lib/WebGUI/Workflow/Activity/SendNewsletters.pm
	lib/WebGUI/i18n/English/Asset.pm
	lib/WebGUI/i18n/English/WebGUI.pm
	sbin/installClass.pl
	sbin/rebuildLineage.pl
	sbin/search.pl
	sbin/testEnvironment.pl
	t/Asset/Asset.t
	t/Asset/AssetClipboard.t
	t/Asset/AssetLineage.t
	t/Asset/AssetMetaData.t
	t/Asset/Event.t
	t/Asset/File.t
	t/Asset/File/Image.t
	t/Asset/Post/notification.t
	t/Asset/Sku.t
	t/Asset/Story.t
	t/Asset/Template.t
	t/Asset/Wobject/Collaboration/templateVariables.t
	t/Asset/Wobject/Collaboration/unarchiveAll.t
	t/Asset/Wobject/Shelf.t
	t/Auth.t
	t/Macro/EditableToggle.t
	t/Macro/FilePump.t
	t/Shop/Cart.t
	t/Shop/Transaction.t
	t/Storage.t
	t/User.t
	t/Workflow.t
2011-05-13 18:15:11 -05:00
Colin Kuskie
61534779d5 Add new MapPoint code for geolocation, Thingy searching and indexing and a macro for rendering thing data outside of the Thingy. 2011-05-02 13:49:18 -07:00
Colin Kuskie
d4672a92f1 Consider search fields when doing search in a Thingy normally, or via Ajax. Fixes bug #12117. 2011-04-20 16:05:20 -07:00
Peter Christiansen
1966cc02a7 Updates and bugfixes for Thingy:
Bugfixes:
1. maxuser entries not respected in imports.
2. newly created records via CSV are not stored with createdById and dateCreated and ipAddress

Updates:
1. added : Thingy fields can now be set as unique and checked upon insert
2. added : Thingy max entries of thingy records added
2011-04-14 21:31:21 +02:00
Chris Hanson
bc00c4b6e0 fixed #12056: Adding a Thing always creates a table 2011-04-07 14:07:58 -05:00
Mary Hoerr
ee40a71770 Removed caching from www_export() Fixes bug #12050. 2011-03-10 16:38:00 -06:00
Colin Kuskie
41ebf01199 There's no need to check again if the asset exists when importing asset collateral data. Fixes bug #12060. 2011-03-07 16:31:19 -08:00
Colin Kuskie
78d27ad031 Revert "Thingy asset collateral import does not need to check for existance of the asset. If the asset doesn't exist, package import will create it or it will die. Fixes bug #12060."
This reverts commit 2c0334d709.
2011-03-07 08:50:24 -08:00
Colin Kuskie
2c0334d709 Thingy asset collateral import does not need to check for existance of the asset. If the asset doesn't exist, package import will create it or it will die. Fixes bug #12060. 2011-03-07 08:35:15 -08:00
Colin Kuskie
73a95e9627 Fix the accidental overriding of www_export in the Thing. Fixes bug #12066. 2011-03-04 10:45:06 -08:00
Colin Kuskie
e7e8cd43bf Fix the currentUrl used by the thingy for making URLs with action, like pagination and sorting, in the search screen. Fixes bug #12055. 2011-03-02 16:40:44 -08:00
Colin Kuskie
79ab978e49 Fix the URL to the user after exporting a Thing in CSV format. The URL needs to contain the thingId to see non-default things. Fixes bug #12063 2011-02-28 20:33:29 -08:00
Colin Kuskie
7091cedc0a Add the column headers back to the CSV file exported from a Thing. Fixes bug #12062. 2011-02-28 19:23:56 -08:00
Colin Kuskie
6749937d4e No direct appending of URL's, since it breaks Prevent Proxy Cache. Also, i18n the buttons. Fixes bug #12051. 2011-02-28 09:31:56 -08:00
Doug Bell
ae7528b8ef migrate Thingy import from csv to FormBuilder 2011-02-10 16:34:03 -06:00
Doug Bell
963227b571 migrate Thingy editField to FormBuilder 2011-02-10 15:48:29 -06:00
Colin Kuskie
f1dd08c135 If there are missing, required fields when saving data to a thing, do not write it to the db. Fixes bug #11996. 2011-01-10 16:00:21 -08:00
Colin Kuskie
3e0da41f0a Allow for File and Image subclasses to be handled gracefully by the Thingy. 2011-01-02 12:57:54 -08:00
Colin Kuskie
fd8f03a186 Change getMimeType and setMimeType to response->content_type. 2010-11-21 22:35:26 -08:00
Colin Kuskie
e5adc07a05 Remove getStatus and setStatus in Session::Http, and replace them with status, from $session->status. 2010-11-21 21:11:41 -08:00
Colin Kuskie
c4553012d1 Syntax clean. 2010-11-17 16:34:11 -08:00
Colin Kuskie
5f3014aaee Merge branch 'master' into WebGUI8. Merged up to 7.10.4 2010-11-03 09:47:36 -07:00
Colin Kuskie
a90eadda7c Merge commit 'bfe9780ce0' into WebGUI8. Merged up to 7.10.3 2010-11-02 14:49:33 -07:00
Colin Kuskie
87326192a3 Merge commit '4635b91554' into WebGUI8. Syntax clean up to 7.10.2 2010-10-27 15:59:33 -07:00
Doug Bell
f57ce0c9a6 rename variables for consistency 2010-10-27 13:06:25 -05:00
Doug Bell
199c4e4960 change ErrorHandler to Log 2010-10-27 12:50:12 -05:00
Colin Kuskie
dcae5190da Build a progress bar for exporting data from a Thing. Fixes bug #11925. 2010-10-25 13:49:54 -07:00
Colin Kuskie
4f95507485 If exportMetaData is set to false, do not print out the column lables OR values. Fixes bug #11925. 2010-10-25 10:52:27 -07:00
Colin Kuskie
a41ae977fe Fix a potential SQL injection issue with Thingy. 2010-10-11 13:12:20 -07:00