Commit graph

15 commits

Author SHA1 Message Date
Carl Chenet f4b9fe9ff4 Update views with email entry to use email_field - merged with i18n 2017-05-18 19:14:01 +02:00
Carl Chenet bec06e0cfc i18n of invitation request view 2017-02-05 23:27:35 +01:00
Carl Chenet 4b497e8652 i18n of invitation request public webpage 2016-11-24 17:55:26 +01: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 09f113c66a grammar 2014-05-06 21:29:45 -05:00
joshua stein 33c204e5ca mention that moderators can see invitation emails 2014-05-06 21:29:45 -05:00
joshua stein d4e9e024aa invitation requests: <em> emails 2014-02-21 10:57:30 -06:00
Radu Voicilas fa946933ab Fix typo Invitiation -> Invitation 2014-02-21 11:25:33 +02:00
joshua stein 8755384bd8 invitation requests: show confirmed e-mails to moderators 2014-02-19 13:16:23 -06:00
joshua stein c90486b813 invitation requests: allow moderators to delete confirmed requests 2014-02-19 13:16:23 -06:00
joshua stein 78d9734c26 invitation requests: use a proper form_for, highlight errors 2014-02-19 13:16:16 -06:00
joshua stein c6191da912 InvitationRequest: require url (memo) for invitations
otherwise validating requests is kind of difficult
2013-12-02 10:44:36 -06:00
Kartik Agaram bd61657d62 typos in invitations/build 2013-11-19 20:21:13 -08:00
joshua stein 4914366ffe auto link invitiation request memos 2013-10-24 11:16:07 -05:00
joshua stein 66f433176a add an invitiation request queue
the user tree is pretty big to look through now, so let users submit
a request for an invitation, which logged-in users can browse and
instantly send invites to
2013-10-18 15:49:20 -05:00