Commit graph

2495 commits

Author SHA1 Message Date
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
Scott Walters
851844c917 lots of stuff expects the request object to have a hostname method. give it one. 2012-06-19 16:20:56 -04:00
Scott Walters
225df67d1f PseudoRequest shouldn't clobber Apache2::Cookies if the package already exists; mock requests are sometimes useful under mod_perl and this is a bit of a gotcha 2012-06-19 16:17:26 -04:00
Arjan Widlak
2cb7c5b85b Correction on test introduced in fix of bug 12365 commit 7ab4726600 2012-06-05 15:04:18 +02:00
Arjan Widlak
7ab4726600 - fixed #12365: editing a metadata category may cause a fatal error 2012-06-05 12:34:50 +02:00
Colin Kuskie
fcd933489b Fix the duplicating of events with related links that have restrictive permissions. Fixes bug #12010. 2012-03-20 11:59:13 -07:00
Colin Kuskie
1eb5579f67 Update test for change in USPS International service options. 2012-03-17 17:42:58 -07:00
Colin Kuskie
9a09ec0447 sslEnabled in the config file trumps encryptLogin in the settings. 2012-03-11 16:04:31 -07:00
Colin Kuskie
b1df3ad3fc Fix a flaky test. 2012-01-16 14:37:09 -08:00
David Delikat
7120969ba2 added test for scalar exception test 2011-12-13 22:09:18 +00: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
6e164dc2dd Better, cleaner test cleanup. 2011-11-21 11:06:08 -08:00
Colin Kuskie
b6c4adc8e0 Fix bucket name truncation in the bucket log, and don't forget to check the delta interval when summarizing. 2011-10-20 20:25:16 -07: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
Colin Kuskie
6ed275b133 Rework PA again to not try and sort the passiveLog. Instead, we iterate and store "last" data in a new database table. 2011-10-06 10:22:39 -07:00
Colin Kuskie
5314530a3c When using encrypted logins, do not add the webServerPort from the config file. Fixes bug #12269. 2011-10-05 22:39:20 -07:00
Colin Kuskie
c17d9aa394 Allow PseudoRequest to handle 0 and '' correctly. Kudos to knowmad for pointing this behavior out. 2011-09-29 14:39:52 -07:00
Colin Kuskie
45b5370469 Allow Passive Analytics to scale to analyzing millions of log entries without nuking MySQL in the process. More thorough test cleanup. 2011-09-25 18:45:19 -07:00
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
Colin Kuskie
0871ceb56a Fix the WaitForUserConfirmation test to make sure that TT is enabled in the config file. 2011-09-07 17:01:49 -07: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
Scott Walters
4ba683ddc3 if the optional tests run, the second create was failing. drop the table before creating it the second time. 2011-09-06 19:28:23 -04:00
Colin Kuskie
d76ff6ef33 Disable LDAP testing for the time being. 2011-08-30 14:53:17 -07:00
Colin Kuskie
61d7287ea5 Disable LDAP tests until we get the test LDAP server back up and running. 2011-08-30 14:35:20 -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
71a015a4ce Remove debug output from Post.t 2011-08-22 19:47:47 -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
8ab2dcca05 Fix cleanup and spelling issues with Group.t 2011-08-22 17:24:06 -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
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
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
44f62c9884 Add cleanup code for newly added tests for canAdd being called as a method. 2011-08-02 10:00:25 -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
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
Paul Driver
9738ec0171 fixed #12206: Bad Subscription Groups in Duplicated Threads 2011-07-27 11:19:02 -05: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
Paul Driver
182fc16021 added WaitForUserConfirmation activity 2011-07-25 14:07:01 -05: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
Paul Driver
a4ee31feef Re-fixed #11379, with tests this time. 2011-07-19 16:41:51 -05: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
7fda01b291 Fixup of FormField macro tests and POD. 2011-07-11 17:22:25 -07:00
Colin Kuskie
9113408408 When a post is purged, disqualify it as the last post in its thread, and the parent CS. Fixes bug #12183 2011-07-11 15:04:54 -07:00
Colin Kuskie
64567f9ed5 Remove test comment. 2011-07-11 13:04:37 -07:00
Colin Kuskie
1c08796d6c Keywords fixes to prevent leaks. 2011-07-11 13:03:06 -07:00