Commit graph

101 commits

Author SHA1 Message Date
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
Colin Kuskie
00ea5c4df8 Add tests for checking user status via get. 2011-06-06 11:00:18 -07: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
Doug Bell
3fbcb4aca9 fix 11945 slow sql for duplicate email lookup 2011-01-03 21:28:41 -06:00
Doug Bell
2c51e6d4fd move core profile fields into users table
this change will fix the problems with the userProfileData table being
way too big. it also simplifies many basic user search tasks, not
needing to join the userProfileData table
2010-12-03 22:36:30 -06:00
Colin Kuskie
87326192a3 Merge commit '4635b91554' into WebGUI8. Syntax clean up to 7.10.2 2010-10-27 15:59:33 -07:00
Colin Kuskie
1ff8907bc2 Move all User.t test cleanup out of the END block and into WebGUI::Test->addToCleanup. 2010-11-09 11:16:30 -08:00
Colin Kuskie
897c2e0248 If a user does not have privacy data for a field, check back with the field for the privacy default. Fixes bug #11951. Added ProfileField cleanup code. 2010-11-09 11:06:57 -08:00
Colin Kuskie
0ef292d381 Update User.t test to handle the removal of group 14, Product Managers. 2010-09-28 21:08:25 -07:00
Graham Knop
ed04b99872 remove WebGUI::Utility 2010-09-07 13:18:49 -05:00
Graham Knop
a95ef168cc remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
Colin Kuskie
6c3369d0cb Revert "use temp config file for testing"
This reverts commit 9b725c6d42.
2010-06-14 15:19:54 -07:00
Graham Knop
30657d61f7 lots of test fixes 2010-06-13 06:19:41 -05:00
Graham Knop
6f102973dd use temp config file for testing 2010-06-10 18:58:25 -05:00
Graham Knop
4c18ba3563 convert all test cleanup to addToCleanup 2010-06-10 18:47:54 -05:00
Graham Knop
9b725c6d42 use temp config file for testing 2010-06-10 10:09:54 -05:00
Graham Knop
b832deecd1 convert all cleanup methods to addToCleanup 2010-06-10 10:09:53 -05:00
Colin Kuskie
ae43a10d7c Update this test for the new caching system. 2010-05-06 20:58:57 -07:00
Colin Kuskie
e830e922c8 Update test for new cache system. 2010-05-06 20:08:21 -07:00
Colin Kuskie
7032e86cf1 Change cache strategy for User.t. Fix setRow in SQL.pm to accept overrides in row identifiers. 2010-05-06 15:50:43 -07:00
Graham Knop
a141de0ebf removing first parameter from WebGUI::Session->open and other cleanups 2010-04-15 18:49:26 -05:00
Colin Kuskie
06ac0360b6 Update test for new profile field value for gender. 2010-01-11 16:45:27 -08:00
Colin Kuskie
1e98e34128 RE: Profiles, public != visitor. fixes #10907 2009-09-06 19:37:25 -07:00
Colin Kuskie
fea30d0db0 Fix getProfileUrl, so it works with preventProxyCache. fixes #10877 2009-09-02 19:07:54 -07:00
Colin Kuskie
c7a4c173cc Add tests for new SMS address method. 2009-08-16 16:11:13 +00:00
Patrick Donelan
388a0b1267 Fixed a whole lot of brokenness in Inbox SMS/Email notifications
WebGUI::Inbox::Message::create now passes isInbox flag to WebGUI::Mail::Send::create
so that per-user notification settings get used

SMS Gateway setting field is now 'text' instead of 'email' so that user can enter a
properly formed value (such as 'myemailgateway.com', which is not an email address).

Added SMS notification template as distinct from email notification template because
SMSs should not be HTML and in general you will want to make your SMS notification
message a lot shorter than your html email notification message (160 char limits in
many countries). As a result, SMSs are now sent as separate emails to gateway rather
than being CCd on email notification.

Added smsGatewaySubject setting because many SMS Gateways use email subject for
authentication. For consistency, also added Email notification email subject.

Fixed handling of different combinations of site-wide sendInboxNotificationsOnly with
per-user receiveInboxEmailNotifications and receiveInboxSmsEmailNotifications.
 * sendInboxNotificationsOnly && receiveInboxEmailNotifications = email notification
 * sendInboxNotificationsOnly && !receiveInboxEmailNotifications = no email
 * !sendInboxNotificationsOnly = ignore receiveInboxEmailNotifications
 * In all cases, SMS is optional and only dependent on receiveInboxSmsEmailNotifications

Updated tests and i18n
2009-08-16 09:42:35 +00:00
Colin Kuskie
f3bc650502 Update User.t to work with CSRF tokens. 2009-07-16 21:39:23 +00:00
Yung Han Khoe
4bf3f457de added a test for bugfix #9851: New Users have blank profile field privacy settings 2009-06-03 16:55:03 +00:00
Colin Kuskie
61832b62b9 When a user is deleted, delete any address books as well. Uses the API to get the
Addresses, too.  With tests and upgrade script to take care of old address books.
2009-06-03 02:12:23 +00:00
Doug Bell
1afff052c4 added new API methods to User for easier use 2009-05-15 18:10:22 +00:00
Doug Bell
1f96d708bf user-services 2009-05-15 18:03:03 +00:00
Doug Bell
0cf79f7264 added new API methods to User for easier use 2009-05-15 18:02:53 +00:00
Doug Bell
93819cda0c Adding new API to User. get update enable disable 2009-05-14 22:16:50 +00:00
Colin Kuskie
f54e975c14 Enable WebGUI sites to send SMS messages as inbox notifications. 2009-05-13 21:55:33 +00:00
Colin Kuskie
004b8095a1 Add method to clean up test sessions. This has to be done
after ALL other types of objects have been cleaned up.
More test clean-up for users, groups and sessions.
2009-05-01 02:02:12 +00:00
Colin Kuskie
2cb8f0ee9a Coverage tests for various User methods. 2009-04-01 03:10:52 +00:00
Colin Kuskie
83b2657197 add a whole bunch of tests for previously uncovered methods, and improving coverage on some methods 2009-03-31 03:22:41 +00:00
Colin Kuskie
1e38087d80 Tests for profileIsViewable, with high coverage. 2009-03-29 04:39:51 +00:00
Colin Kuskie
06a714ea0c Add tests for acceptsFriendsRequest. 2009-03-29 04:13:54 +00:00
Colin Kuskie
9e1b9d2f49 Add tests for hasFriends with 100% coverage. 2009-03-28 05:12:23 +00:00
Colin Kuskie
39785cf169 Add tests for 100% coverage of getProfileUrl 2009-03-28 04:55:13 +00:00
Colin Kuskie
1e268ee238 Make User.t use the new automatic config file restorer.
Clean up some END block code.
2009-03-28 03:57:30 +00:00
Colin Kuskie
7336d2d630 SMS coding complete, beginning testing.
Added getInboxAddresses method to User.pm, with tests.
All SMS/Email address choices are made in Mail/Send, on create
and on send, since that's when it handles groups.
Test variable addresses on creating mails.
Updated t/smtpd.pl to handle receiving and sending multiple messages.
2009-03-17 14:35:13 -07:00
Colin Kuskie
bc3b204d9b Add a method to return emails for Inbox notifications.
Method is driven by profile data and settings.
2009-03-16 11:17:58 -07:00
Graham Knop
4186f74089 fix User test for visitor private messaging change 2009-03-12 20:43:20 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Graham Knop
586fdb0ec6 fixing POD issues, User test 2008-11-24 02:27:20 +00:00
Doug Bell
2f8869292f merging 8374 2008-11-14 22:19:15 +00:00
Chris Nehren
ebd2309104 Added extras to user profile fields. This field can be accessed using the
profile.form.element.extras template variable when editing a profile and the
profile.extras field when viewing a template.
2008-10-22 00:20:31 +00:00
Colin Kuskie
bbcee2072f Add tests for defining multiple IP ranges for admin subnets. 2008-09-25 21:29:43 +00:00