Commit graph

16 commits

Author SHA1 Message Date
Carl Chenet 5dc024568a don't disable autocomplete on free-text fields - merged with i18n 2017-05-20 15:11:35 +02:00
Carl Chenet b38e57ac8c i18n of messages/index 2016-11-15 15:52:45 +01:00
joshua stein e3750172c6 Revert "Prettier messaging"
This reverts commit c6d6413ff7.

I don't really like this.
2016-04-05 19:31:13 -05:00
crertel c6d6413ff7 Prettier messaging
Put compose message at the top
2016-04-01 21:20:21 -05:00
joshua stein 2ca2c94ef6 allow messages to come from system instead of a user 2015-10-15 10:01:42 -05:00
joshua stein 2a30511117 time_ago_in_words_label: put "ago" in the text since it's used everywhere
closes #222
2015-09-23 13:24:47 -05:00
joshua stein 5efe3ce6c3 make time_ago_in_words_label actually do what was intended 2015-01-06 14:08:15 -06:00
joshua stein 9f5e04bbba use _path for most things instead of _url
Instead of hard-coding the scheme and host everywhere, use _path
methods to show relative URLs.

Except that our previous setting of
Rails.application.routes.default_url_options in
config.after_initialize made this moot because Rails inserts that
host into all _path helpers for some reason.  So revert that
setting.

But then anything that wants an absolute URL doesn't know the
hostname and the root_url helper throws an exception.  So make a
Rails.application.root_url shortcut to pass the per-app settings in
Rails.application to root_url.

Now we can just use _path helpers most places but still use _url
ones where we need them, such as in RSS views and e-mail templates.
2015-01-02 17:02:55 -06:00
joshua stein d0711892f6 messages: implement batch-delete function
closes #119
2014-02-19 13:31:48 -06:00
Serge Paquet 6dcb7bbf6b fixed mixed indent style (should be 2 soft spaces as per project guidelines) 2013-12-23 18:19:47 -05:00
joshua stein 87cb2cb45b add time_ago_in_words_label helper that shows the real time as a label title 2013-02-22 11:22:39 -06:00
joshua stein d0459974cd so long whitespace 2013-02-13 18:50:51 -06:00
joshua stein 464b3c3f80 add support for viewing sent private messages 2013-01-24 14:21:22 -06:00
joshua stein 0691235882 suppress deleted messages from message list since they're not actually wiped out until both parties delete 2012-09-03 11:25:14 -05:00
joshua stein 647fc5f446 disable autocomplete everywhere 2012-08-24 11:41:35 -05:00
joshua stein fc1c474fb3 implement private messages 2012-08-24 11:41:34 -05:00