summaryrefslogtreecommitdiffstats
path: root/app/controllers/messages_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Mark the whole message thread as read by the recipient when he reads itJohan Sørensen2009-11-161-1/+1
|
* Extract some stuff from the MessagesController into the modelJohan Sørensen2009-11-161-2/+2
|
* Switch to using jQuery for all javascript related thingsJohan Sørensen2009-09-031-4/+4
| | | | | | | | | | Using jQuery gives us some shorter and more to the point javascript, along with being a first step towards making gitorious use more unobtrusive JS. This also removed the auto_complete plugin, since it's easier to do by hand with jQuery. Furthermore, most of the rjs templates have been replaced with functions in application.js
* Revert "Mark the whole message thread as read whenever it's viewed"Johan Sørensen2009-06-231-8/+1
| | | | This reverts commit 1f3683c6e05f79894bb8efd0f26c534a1ec4f5d3.
* Mark the whole message thread as read whenever it's viewedJohan Sørensen2009-06-231-1/+8
| | | | | This is done in an after_filter so that it'll still be rendered as unread whenever the thread is viewed
* Adding an AllMessages breadcrumb for the message archive viewJohan Sørensen2009-06-231-1/+1
|
* Adding an archived state to messages:Marius Mathiesen2009-06-091-3/+15
| | | | | | | | | | - New state&migration - Additions in User and Message - Messages#index now uses inbox - Another action for message archive - Selected messages can now be read or archived - Styling system generated messages with its own icon
* Adding support for marking several messages as readMarius Mathiesen2009-06-031-0/+12
|
* No need to raise an error if a message is markedMarius Mathiesen2009-05-151-1/+1
| | | | as read twice; this state machine also works without the exclamation mark.
* Add a link to message a user directly from his profile pageJohan Sørensen2009-04-231-1/+1
|
* Updated copyrights-blurb in all application filesJohan Sørensen2009-04-221-0/+17
|
* Message inbox have the user as the breadcrumb_parentJohan Sørensen2009-04-221-4/+7
|
* The MessagesController requires SSL as wellJohan Sørensen2009-04-221-0/+6
|
* Making the messages XML-savvy:Marius Mathiesen2009-04-221-1/+6
| | | | | - Custom Message#to_xml - Support format => xml in MessagesController#[:index,:show]
* Adding a recipients accessor in Message to let us save several recipients ↵Marius Mathiesen2009-04-221-4/+3
| | | | | | between posts. Changed the form and autocomplete actions accordingly
* Adding a MessageThread class for wrapping multiple messages as one.Marius Mathiesen2009-04-221-8/+8
| | | | Lets us reuse the Message instance in views
* Rename install_site_before_filters to renders_in_site_specific_context andJohan Sørensen2009-04-221-0/+1
| | | | | | | introduce a renders_in_global_context controller class method as well. This lets us control in the Site context in which specific actions or controllers as a whole are rendered in.
* Marking the message as read when MessagesController#show is called. Also ↵Marius Mathiesen2009-04-221-1/+2
| | | | | | | | | | redirect to the message after posting a reply. Changed/simplified the message layout. Now builds a table of messages on the collection pages (ie. #index, #sent) and includes links to #show. The show action renders all the messages in the thread with the same partial (goodbye replies...). Also removed quite a lot of message specific CSS.
* GUI changes for messages.Marius Mathiesen2009-04-221-0/+4
| | | | Also added method for getting a users top level messages. That is, messages that are either sent by or sent to a user, and that have no parent
* Messages:Marius Mathiesen2009-04-221-2/+23
| | | | | | - Adding sent/inbox etc. - Adding breadcrumb support - Changing the redirect in sessions controller to go to the license page
* Adding a messages controllerMarius Mathiesen2009-04-221-0/+47