Commit graph

157 commits

Author SHA1 Message Date
Colin Kuskie
b37f9d581d Fix multiple issues with how Thingy handles default values, and values that are false. Fixes bug #12362 2012-09-05 09:50:36 -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
Colin Kuskie
4027b5b4d8 Perform the check BEFORE saving the Thing properties. Fixes bug #12157. 2011-06-27 21:32:57 -07: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
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
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
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
Colin Kuskie
3f17369ae8 Remove debug code from the Thingy. Fixes bug #11903 2010-10-08 14:25:48 -07:00
Colin Kuskie
969b36231e Instead of logging non-existant thingId messages to Apache, log to webgui.log 2010-09-21 20:58:00 -07:00
Patrick Donelan
093f7d67e9 Adds Thingy template variable to permit Javascript visualisation of search results 2010-09-21 15:04:09 -04:00
Patrick Donelan
980986880f Expose Thingy searchResult_json as template variable 2010-09-21 14:31:28 -04:00
Colin Kuskie
f17623624e Fix line ending processing by the Thingy. It will now accept CSV files with any line endings. Fixes bug #11746. 2010-09-13 07:52:14 -07:00
Colin Kuskie
05c287cfc7 Thingy add/edit via AJAX returned nothing useful, and lied about error status. Fixes bug #11781. 2010-08-15 23:16:53 -07:00
Colin Kuskie
90f0a9b006 Fix date field type detection during import. Fixes bug #11692. 2010-07-05 09:02:48 -07:00
Colin Kuskie
bb2587b1ea Add a new template variable to the Thingy search screen, so that List type form fields can display a better form for searching. Fixes bug #11612. 2010-06-29 15:14:12 -07:00
khenn
ef31678b7f Fixed #11656: Thingy: Select list fields are not sorted properly 2010-06-17 12:30:22 -05:00
khenn
e74753c082 Not enough arguments to searchOther 2010-06-04 17:28:36 -05:00
khenn
d082e4eee3 Fixed #11613 - After successful save of a Thing, the form is cleared for the next thing to be entered 2010-06-04 17:00:24 -05:00
Colin Kuskie
9cfcf84c2f Handle the edge case where no fields are to be returned in a Thingy search. Fixes bug #11587 2010-05-25 12:02:32 -07:00
Colin Kuskie
bdccf5829b Fix duplicating and deleting thing data. Fixes bug #11391 2010-02-08 14:38:37 -08:00
Colin Kuskie
5fd30d8d84 Revert "Separating ThingRecord object from Thingy"
This reverts commit df84c60d6a.
2009-11-17 12:12:19 -08:00
Colin Kuskie
a37f69cc04 Revert "Separating Thing object from Thingy"
This reverts commit 3d88789659.
2009-11-17 12:12:08 -08:00
Yung Han Khoe
3d88789659 Separating Thing object from Thingy 2009-11-16 17:37:18 +01:00
Yung Han Khoe
df84c60d6a Separating ThingRecord object from Thingy 2009-11-16 11:53:14 +01:00
Colin Kuskie
7866120459 Handle bad dates in datetime related form plugins. Fixes bug #11128
Also, better date parsing by _splitMysql and reformat Thingy.
2009-10-15 12:53:39 -07:00
Colin Kuskie
536ac6cdc7 Fix bugs in how Thingy handles displaying dates to the user in view and search modes. 2009-10-01 13:04:58 -07:00
Colin Kuskie
ec6887b0ac Make thingy respect thing permissions when generating form field for other things. Fixes bug #11032 2009-09-25 16:58:26 -07:00
Colin Kuskie
768da4fc7e i18n the owner label in the Thing group properties. 2009-09-24 14:44:14 -07:00