Commit graph

92 commits

Author SHA1 Message Date
Graham Knop
2af4c4de63 clean up WebGUI::Utility imports 2010-03-10 12:59:51 -06:00
Graham Knop
913fa9ad03 clean up Tie::IxHash imports 2010-03-10 12:59:51 -06:00
Colin Kuskie
913802f0f6 And again... 2010-03-03 19:39:00 -08:00
Colin Kuskie
4137b196ae Update Account/Inbox plugin for new Asset instanciators and exceptions. 2010-03-03 19:38:02 -08:00
Colin Kuskie
34846c45a6 Update Account/Shop for exceptions. 2010-01-28 13:20:01 -08:00
Colin Kuskie
1b87d4877c Update Account/Contributions for WebGUI::Definition and exceptions. 2010-01-28 13:18:04 -08:00
Colin Kuskie
49bd7f5032 newByDynamicClass changed to newById 2009-12-27 19:08:15 -08:00
Colin Kuskie
5ee64a57d3 Allow profile fields to be emptied. Fixes bug #10913. 2009-09-14 20:42:38 -07:00
Patrick Donelan
f3c3bfb4dc Fixed GUID string comparisons (eq instead of ==) 2009-08-23 07:44:41 +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
3cc02af6bb fix bug #10783 copy sender in the Inbox. 2009-08-16 06:33:26 +00:00
Colin Kuskie
b28a14b7fd Fix broken, inconsistent friend wholeName. Bug 10782. 2009-08-16 06:20:31 +00:00
Eric Kennedy
6adfc6ccee Fixed #10743: Inbox Rich Editor selection not saved (Eric Kennedy) 2009-08-10 15:57:56 +00:00
Colin Kuskie
92afb44b4e Merge dead code removal for Account/Profile.pm 2009-08-04 17:12:07 +00:00
Patrick Donelan
74d1be7799 fixed #10706: FriendManager Style/Layout template options 2009-07-28 05:00:09 +00:00
Colin Kuskie
9af746c7af Remove i18n echo calls in Account/Shop My Sales template. 2009-07-20 20:22:44 +00:00
Martin Kamerbeek
68a69a9700 Fixed a bug in my purchases where tarnsaction amounts were shown that did not take into account the in store credit
used in the transaction.
2009-07-15 14:15:06 +00:00
Colin Kuskie
576b914293 More POD fixes. 2009-07-04 17:21:05 +00:00
Colin Kuskie
3dfb23cf55 Forward porting Account/Inbox i18n fixes. 2009-06-11 19:08:24 +00:00
Colin Kuskie
d6edd7f3a3 Fix the error message shown when you try to send a message from the Inbox, but none
of your friends allow private messaging.
2009-06-08 20:59:31 +00:00
Paul Driver
af237cb125 fixed #10266: Public Profile overrides Able to be friend 2009-06-03 19:28:42 +00:00
Colin Kuskie
29759ede9c Fix multiple email handling in the Inbox.
Put an email regex into WebGUI::Utility, and use it in Form/Email and Account/Inbox.
2009-06-03 17:11:36 +00:00
Colin Kuskie
c8781f8b55 Fix a bad call to insufficient in the Shop. 2009-05-28 16:15:02 +00:00
Martin Kamerbeek
f1ea8acdaf Fixed bug where unsuccessful transations were included in the payout totals and My Sales summary. 2009-05-14 13:53:47 +00:00
Martin Kamerbeek
323dc1ff0c Adding missing tmpl_vars. 2009-05-14 09:00:52 +00:00
Colin Kuskie
86fd07e3a5 Add files missed during the initial checkin of managed friends network. 2009-05-14 04:07:19 +00:00
Colin Kuskie
535621e8b6 Add managed Friends network, allowing a designated group to add and remove
friends from each other groups.
2009-05-14 02:25:36 +00:00
Colin Kuskie
9827c4a520 Add templated inbox notifications. 2009-05-13 18:16:49 +00:00
Colin Kuskie
0983f6468d Add an Inbox setting to send the user a copy of messages that they send. 2009-05-13 17:50:46 +00:00
Colin Kuskie
385d35c13b RFE for making an user's inbox filterable by the person who sent it.
Includes template changes, i18n, help and tests.
2009-05-13 17:20:40 +00:00
Martin Kamerbeek
31c4bf83d7 Refactored genereation of tranasaction related tmpl_vars into WG::Shop::Transaction->getTransactionVars. 2009-05-13 12:52:19 +00:00
Martin Kamerbeek
9d90b92629 Tax details are now stored with the transaction items they belong to. 2009-05-08 10:03:25 +00:00
Hao Ching
254796dea3 RFE #9998, mark selected inbox messages as read/unread. 2009-05-01 17:21:02 +00:00
Colin Kuskie
486d873d7b Reverting patch for Account/Friends. 2009-04-27 20:18:38 +00:00
Doug Bell
6d20e7f5df added: ThingyRecord allows you to sell records in a Thing (like a classified ad) 2009-04-19 02:09:34 +00:00
Colin Kuskie
9f1da1f4c5 Save 1 object access per friend by using the friendId we already know. 2009-04-17 19:04:21 +00:00
Martin Kamerbeek
2e4ce42b76 Adding pluggable tax system. 2009-04-17 13:32:18 +00:00
JT Smith
3d5c7e23d7 fixed: Can't invite friends (#10112) 2009-04-14 15:22:35 +00:00
Colin Kuskie
ad025a26a1 Move view all users filter into edit friends. 2009-04-10 10:18:35 -07:00
Colin Kuskie
8f5e9aac1f Change display of groups on manage friends screen
If 1 group, display it.  If more than 1, display all groups
but this one.
2009-04-10 10:04:43 -07:00
Colin Kuskie
a5c7e2b39b Fix JS errors, add ableToBeFriend profile override. 2009-04-09 17:22:07 -07:00
Colin Kuskie
1f5a83d0c6 Maintain group filter setting after saving. 2009-04-09 16:43:41 -07:00
Colin Kuskie
c6468321c1 Pass groupName down to editFriends.
Do not display add managers if a groupname is passed.
2009-04-09 16:30:20 -07:00
Colin Kuskie
d13d1bac8c Group filters and list of names.
For each group, show all other managed groups.  Also
provide an edit all link.  Show list of names up to 45
characters, with no truncation.
2009-04-09 16:02:58 -07:00
Colin Kuskie
03b777ee1e Add button to add all Friend Managers to friends.
Help, i18n, template and code.
2009-04-07 15:54:30 -07:00
Colin Kuskie
b8ba4e2118 Add a method to Account called getUsers, which returns
either the user specified by the uid form param, or the
session user.
Change appendCommonVars to use it.
Remove spotty overrides in plugins.
2009-04-07 21:22:56 +00:00
Colin Kuskie
54a8167ea9 Support for removing all users. 2009-04-07 13:56:21 -07:00
Colin Kuskie
0b878fd288 Overrides allow groupIdAdminUser to view Inbox.
Modified Account/Inbox, and Inbox->canRead.  Anyone in
groupIdAdminUser can now read messages in any user's
inbox.
2009-04-07 13:02:43 -07:00
Colin Kuskie
7316f267fa Allow UserAdmin to view another person's inbox. 2009-04-07 11:31:34 -07:00
Colin Kuskie
7682b6a3d6 Friends relationships are reciprocal.
Fix manageUrl to really work in edit screen.
2009-04-07 10:29:04 -07:00