You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Dave Brondsema <br...@users.sf.net> on 2013/11/01 20:50:49 UTC

[allura:tickets] #6694 Form to send message to a user

- **Size**: 4 --> 0



---

** [tickets:#6694] Form to send message to a user**

**Status:** in-progress
**Labels:** 42cc 
**Created:** Fri Sep 20, 2013 07:15 PM UTC by Dave Brondsema
**Last Updated:** Wed Oct 23, 2013 06:06 AM UTC
**Owner:** nobody

User profile pages should have a link to send a message to a user.  This would send an email to their primary email address on record (if an email address is set).  Similar to SourceForge's old https://sourceforge.net/sendmessage.php?touser=2904855

The sender address should be the actual email address of the sender, so that the recipient may reply.

We should include rate limiting so that a user cannot send too many messages.  The old SF one has rate limiting implemented as: a mongo collection that stores {_id: user id, times: [array of times when messages sent]} and 2 config values for max # of messages and time interval.  When accessing the form or posting the form, check to see if the times array and delete any older than the config interval, if the size of the array is larger than the config max # messages, show an error to the user.  When posting the form successfully, append a new timestamp to the 'times' array.

Include an option to CC the sender.


---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.