Commit graph

37 commits

Author SHA1 Message Date
Colin Kuskie
81813902da Short circuit the instancation of a Message earlier. 2010-10-11 11:10:00 -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
khenn
0050f44bec Added a way to pass additional headers to WebGUI::Mail::Send from the WebGUI::Inbox::Message API 2010-04-26 12:45:30 -05: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
Doug Bell
c0fe0a7765 change "testing" to "no_email" for inbox messages 2009-07-31 21:02:51 +00:00
Colin Kuskie
368ef7d411 When an inbox message is sent to a group, and any member reads it, it is
marked as read by all members.
2009-05-28 17:01:24 +00:00
Colin Kuskie
46015f727b Only use 1 i18n object. 2009-05-13 18:12:18 +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
Yung Han Khoe
b8d4eac3ca rfe #9353: Welcome message template 2009-03-21 15:17:29 +00:00
Colin Kuskie
9231eb9f46 Add an option to create, to not make emails. 2009-02-23 09:10:31 -08:00
JT Smith
36eead4e9c fixed documentation 2009-02-06 04:50:46 +00:00
Stephen Opal
fb3c85fdd2 When using only a groupId in create, the code assumed that the call also intended to use a userId, which it acquired from $session->user->userId.
This caused group type administrative notices to also go to the initial user.
2009-01-29 17:36:36 +00:00
Doug Bell
dd6c492016 fixed copyright 2009-01-29 17:29:58 +00:00
Frank Dillon
ab443b2572 Updated the POD for some of the new and changes methods to make their use more clear. 2008-12-01 19:43:54 +00:00
Frank Dillon
4ff722bd5d Pluggable Account system added to WebGUI with new Profile, Inbox, Friends, User, and Shop interfaces. 2008-11-15 11:39:23 +00:00
Frank Dillon
11d18075fa Account release candidate - final changes before merge 2008-11-15 02:39:23 +00:00
Frank Dillon
615e0e3746 lots of changes 2008-11-12 23:03:42 +00:00
Frank Dillon
fec49433c3 Fixed #8818: Visitor sends a welcome message 2008-10-28 21:41:56 +00:00
Colin Kuskie
3119574e01 fix typo in sql for userId lookup, 8818 2008-10-13 16:26:51 +00:00
Graham Knop
7aa9c59af8 clean up sent messages some 2008-09-18 19:51:14 +00:00
Colin Kuskie
90b76d21a4 fix POD spacing 2008-09-10 15:33:01 +00:00
Kaleb Murphy
7cd3266462 Inbox messages now tell you who the message was from 2008-09-09 16:02:54 +00:00
Patrick Donelan
1dec37292a Patch to allow overriding of email message & subject for inbox messages (see http://www.plainblack.com/webgui/dev/discuss/overriding-inbox-emails/3) 2008-09-06 05:01:37 +00:00
Colin Kuskie
4f5e3a6a43 Fix a bug in the delete method, execute is passed an array ref.
Update POD about constructors/instanciators.
2008-09-02 02:53:45 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
JT Smith
fa09c41598 replaced return; with return undef; 2008-01-24 21:58:15 +00:00
Doug Bell
587443b801 add: Friends network 2007-10-22 19:42:11 +00:00
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +00:00
Frank Dillon
82e020dc4f Changes to WebGUI for Private Messaging 2007-06-14 20:10:33 +00:00
Wouter van Oijen
2d9565775f POD fixes and removing debug output 2006-07-11 09:05:22 +00:00
Wouter van Oijen
684f08649d Fixing stuff 2006-05-21 14:49:40 +00:00
JT Smith
6c6d36c981 readding mail footer to email messages
removed some old settings that don't apply any longer
2006-04-09 16:12:32 +00:00
JT Smith
fbaadce274 more bug fixes 2006-03-22 04:38:19 +00:00
JT Smith
8e1f06676a bug fixes 2006-03-22 03:09:04 +00:00
JT Smith
b6ad963119 replaced MessageLog with Inbox 2006-03-21 22:44:31 +00:00
JT Smith
4b97b4b431 fixed some syntax errors 2006-02-17 15:07:17 +00:00
JT Smith
7afecafb6c the start of the inbox system for workflow, the rest will have to wait until we get some activities going 2006-02-01 00:19:32 +00:00