Commit graph

215 commits

Author SHA1 Message Date
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
71aa7115de add documentation for magic numbers 2011-04-19 11:13:20 -05:00
Doug Bell
3fbcb4aca9 fix 11945 slow sql for duplicate email lookup 2011-01-03 21:28:41 -06:00
Colin Kuskie
196d3b0437 Uncaching the user should be last thing that is done before removing data from the database. 2010-12-22 11:33:39 -08:00
Doug Bell
1c24c8189a migrate User deprecation messages to derp 2010-12-09 18:57:58 -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
Doug Bell
f14545ec12 only warn once on deprecations 2010-11-04 13:20:01 -05:00
Doug Bell
4bb4dcec13 add WebGUI::Deprecate line 2010-11-04 13:15:51 -05:00
Doug Bell
e128c041d9 fix User deprecations 2010-11-04 12:40:28 -05:00
Colin Kuskie
c67fcf3aad Fix merge issue with User.pm. Need to explicitly use WebGUI::Friends 2010-11-02 15:13:57 -07:00
Doug Bell
fa73d81251 create and use get, update, delete instead of old
deleteParams, deleteSingleParam -> delete
getParams -> get
saveParams -> update
2010-10-28 21:04:38 -05: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
199c4e4960 change ErrorHandler to Log 2010-10-27 12:50:12 -05: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
7f0657927d Add purge method to Shop::Credit, tests. 2010-10-04 14:20:08 -07:00
Graham Knop
ed04b99872 remove WebGUI::Utility 2010-09-07 13:18:49 -05:00
Graham Knop
6aa26c2e44 remove WebGUI::Utility::isIn 2010-09-07 12:33:15 -05:00
Graham Knop
29d1908e15 remove Tie::CPHash 2010-08-24 16:20:10 -05:00
Graham Knop
ca7321f068 remove WebGUI::Utility::isInSubnet 2010-08-24 16:20:09 -05:00
Colin Kuskie
11ac13c349 Prune out a method call from db->dbh->quote_identifier. 2010-08-14 17:51:25 -07:00
Colin Kuskie
005b9da1ac Move session->env->getIp into session->request->address 2010-07-01 13:11:01 -07:00
Colin Kuskie
5e502fee53 Merge commit '17ce3572bf' into WebGUI8. All tests passing. 2010-06-30 18:43:27 -07:00
Colin Kuskie
385931aaab Merge commit 'f2e0fb509a' into WebGUI8. Some tests still failing. 2010-06-27 22:32:31 -07:00
Colin Kuskie
e5b82bc861 Merge commit '4969f31e1f' into WebGUI8 2010-06-26 14:37:31 -07:00
Colin Kuskie
30e869b66d Better cleanup of Inbox messages. Encapsulate all SQL in Inbox/Message. Fix workflow. Upgrade script to cleanup state table. Fixes bug #11595. 2010-06-07 10:44:12 -07:00
Doug Bell
cc87552a22 weaken all session refs 2010-06-01 16:23:48 -05:00
Colin Kuskie
d2b6a7fff1 Fix a bug in how groups using IP filters cache the user Visitor. Also, significant speedups in group lookups. Fixes bug #11552. 2010-05-16 22:11:33 -07:00
Graham Knop
cd8456ee99 speed up user instantiation 2010-04-19 18:57:02 -05:00
Doug Bell
829bb7739e add back string literal identifier 2010-04-19 18:55:45 -05:00
Doug Bell
b767824711 cache: s/delete/remove/ 2010-04-19 18:51:10 -05:00
Doug Bell
165be5b389 remove eval{} from caching code 2010-04-19 18:41:13 -05:00
Doug Bell
92cd204b31 fix composite cache keys and remove setByHttp 2010-04-19 14:59:24 -05:00
Graham Knop
2400f19099 Merge branch 'master' into WebGUI8 2010-04-13 07:50:02 -05:00
Colin Kuskie
c835344813 Fixing require loops. Moose overrides for canEdit using packages. 2010-04-08 15:13:13 -07:00
Graham Knop
45ca61b7c2 more import cleanups 2010-03-10 12:59:52 -06:00
Graham Knop
a22162b895 clean up Tie::CPHash imports 2010-03-10 12:59:51 -06:00
Colin Kuskie
cb5144f809 Check for a valid group before using it. 2010-02-03 17:11:59 -08:00
Graham Knop
60a4a9b140 mark $session->datetime->time as deprecated and remove its use from core code 2009-10-05 20:56:37 -05:00
JT Smith
ebb6134c2d bug fixes 2009-09-25 22:50:59 -05:00
JT Smith
ccff9c7014 Converted all existing uses of cache. 2009-09-25 22:24:33 -05: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
Patrick Donelan
8ece5d63c6 User::delete should remove corresponding rows from inbox_messageState when delete user inbox rows 2009-08-19 07:00:31 +00: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
Yung Han Khoe
1ea08936f4 fixed #9851: New Users have blank profile field privacy settings 2009-06-03 15:24:20 +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
Colin Kuskie
1e52f21fcb Fix errors in the getInstancesForObject and code that used it. 2009-05-21 15:20:25 +00:00
Graham Knop
d011dde621 add some convenience methods and improve user deletion code 2009-05-21 14:49:23 +00:00
Graham Knop
206a45e7c2 don't query the database for profile field existance on every access 2009-05-20 19:57:08 +00:00