Commit graph

475 commits

Author SHA1 Message Date
Colin Kuskie
be37f12ab1 Clone stopped working in several tests in 5.14.2. Remove it in favor of Storable::dclone.
Clone handles being passed scalar data, but dclone does not.
2012-10-23 10:00:53 -07:00
Scott Walters
0422807b32 Revert "group() function Survey::ExpressionEngine that returns 1/0 depending on whether the current user is in a group" -- wrong branch.
This reverts commit eaa29c5f44.

Conflicts:

	docs/changelog/7.x.x.txt
2012-06-19 19:31:50 -04:00
Scott Walters
eaa29c5f44 group() function Survey::ExpressionEngine that returns 1/0 depending on whether the current user is in a group 2012-06-19 16:22:30 -04:00
Colin Kuskie
b1df3ad3fc Fix a flaky test. 2012-01-16 14:37:09 -08:00
Colin Kuskie
626011a850 Only export custom choice types for the Survey, and only the ones that are used by this Survey. 2011-11-22 09:02:10 -08:00
Colin Kuskie
9d2bcd282b Make sure that custom question types are included in the packaged Survey. Fixes bug #12304. 2011-11-21 14:19:51 -08:00
Colin Kuskie
9da88844e0 Make sure that calendar time span flags are always set. Fixes bug #12271. 2011-10-15 13:06:44 -07: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
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
bcfe1740dd 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:50:42 +02:00
Colin Kuskie
97644dae49 Forgot a comment for the extension test in the attachment_loop 2011-07-28 11:13:39 -07:00
Colin Kuskie
0ed4d4a122 Fix bad tests that were order dependent on the FS. Fix tests that leaked assets and/or version tags. 2011-07-25 16:58:07 -07:00
Peter Christiansen
a9ac52aee3 Added tests to Article.t and Post.t for checking that the template variables
contain the new extension variable.
2011-07-23 01:58:48 +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
1c08796d6c Keywords fixes to prevent leaks. 2011-07-11 13:03:06 -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
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
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
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
Colin Kuskie
f2b5f35d49 Move Article.t over to using the new storage API for checking for storage location existance. 2011-04-11 08:55:44 -07:00
Colin Kuskie
73261e4651 Batch of test cleaups for leaking objects. 2011-04-04 18:57:50 -07:00
Paul Driver
5c20e9c0be Fixing a bunch of tests not to rely on HT being default parser 2011-04-04 18:47:18 -05:00
Paul Driver
c8098e2ca6 rfe #618: Syndicated Content Asset: Make images in the downloaded RSS-feeds available in the template. 2011-03-30 09:52:55 -05:00
Colin Kuskie
88797c1d6c Add Asset Dashlets to Dashboard. Add required and static properties to Dashboard Assets. Add caching to StockData and WeatherData assets. Add LastModifiedBy macro. Add GroupManager to the Group form control. 2011-03-09 21:33:44 -08:00
Colin Kuskie
23b403dd3f Add a test to make sure that duplicating a Thingy does not leak rows or things. 2011-03-07 16:24:29 -08:00
Colin Kuskie
34a85a6ea1 Prune dead code out of the DataForm/diagnose test. 2011-02-28 08:27:41 -08:00
Colin Kuskie
e833d472c6 Update this test to duplicate the encoding done in the Matrix. 2011-02-21 14:29:30 -08:00
Colin Kuskie
973363b14c Enforce viewing permissions for search and keywords in the Wiki. Fixes bug #12027 2011-01-20 11:21:51 -08:00
Paul Driver
7c9d0863ef Tests for the new topic template variable 2011-01-11 12:47:58 -06:00
Doug Bell
6397f20f9c fix test for new controls param 2011-01-10 20:26:56 -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
Paul Driver
82c6c58958 rfe #12016: add more functionality to story_loop 2011-01-10 10:32:47 -06:00
Doug Bell
1c01079bdd fix 11976 use container url gives permission denied 2011-01-03 21:42:30 -06:00
Colin Kuskie
67264660f7 Fix bad characters in the price column when importing products into a Shelf. Fixes bug #12001. 2011-01-03 19:13:59 -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
Paul Driver
fa471df450 Story Archive now plays nice with urlExtensions 2010-10-26 14:27:47 -07:00
Paul Driver
e67ad18517 fixed #11929: In/Out board breaks in Chrome sometimes 2010-10-26 13:16:57 -07:00
Paul Driver
0d46331745 fixed #11928: Story Archive breaks if url has extension 2010-10-26 11:09:11 -07:00
Colin Kuskie
0406e82546 Links in wiki search to add a missing page should encode the titles to make them URL safe. Fixes bug #11883. 2010-09-27 09:33:41 -07:00
Colin Kuskie
5faa77b2fb Also test for STYLE tags when making the DataForm form view. 2010-09-21 14:28:04 -07:00
Colin Kuskie
f34f8e59bd Add a test to make sure that view does not return CSS or JS links with src/href attributes. 2010-09-21 14:23:47 -07:00
Colin Kuskie
b4c20a1203 Fix importing an Archive in default order. Update the test to now explicitly test for archive order. Fixes bug #11866. 2010-09-20 11:45:30 -07:00
Colin Kuskie
5608a43916 topStory template variables should be available in standAlone and not standAlone modes. Added template variables for delete and edit icons for the top story. Updated the tests, template and template variable help. Fixes bug #11851. 2010-09-09 11:56:50 -07:00
Colin Kuskie
c79bc75840 Fix encoding problems with the SC asset. Update the encodings test to no longer require an ENV variable to run. Fixes bug #11795 2010-08-24 16:53:35 -07:00