John Firebaugh
091473602b
Handle expired confirmation tokens
2013-08-12 13:34:45 -07:00
John Firebaugh
2fa4225784
Pass editing params through to welcome page
2013-08-12 13:34:44 -07:00
John Firebaugh
2a3bc0a387
Hook up user confirmation page
2013-08-12 13:34:44 -07:00
John Firebaugh
2690342b08
Reduce welcome email to minimal text
...
Instead, redirect newly-confirmed users to the welcome
page. If confirmation is not required, redirect immediately
and don't send an email.
2013-08-12 13:34:40 -07:00
John Firebaugh
849e874dce
Refactor user creation actions
...
Create a separate #create action that handles POSTs to
/user/new. This simplifies the other actions and ensures
that the URL is /user/new when validation errors occur,
rather than /user/terms.
Fixes #398
2013-08-01 17:32:40 +01:00
Tom Hughes
3880ac5de8
Replace :nothing => true
with :text => ""
...
Using `:nothing => true` confusingly actually causes a single space
to be sent as the content by rails.
2013-07-19 11:14:55 +01:00
Tom Hughes
e5e6db8d0e
Show a cookie warning on the signup page if cookies are disabled
2013-07-04 14:28:38 +01:00
Tom Hughes
2dc7c505fd
Remove remaining action cache usage and related infrastructure
2013-06-25 17:47:54 +01:00
Tom Hughes
b7b68aee36
Simplify handling of verified emails in OpenID signup
...
Also make sure that all paths that lead to OpenID based signup
will notice a verified email properly.
2012-10-30 21:43:38 +00:00
Kai Krueger
104727f889
Trust Google and Yahoo to return valid email addresses
...
Both Google and Yahoo guarantee that the email address they return
during the OpenID authentication are emails that they have already
verified:
http://stackoverflow.com/q/5639419
Therefore special case these OpenID providers and automatically
activate the new users account without requiring a separate email
verification step.
This therefore reduces the signup procedure by one step and makes
it easier for new users of these OpenID providers, which cover the
majority of users.
2012-10-30 19:14:45 +00:00
Paweł Paprota
ad43499205
Implemented Gravatar support
2012-10-18 18:59:38 +01:00
Tom Hughes
3ce4de1295
Add a /api/0.6/user/NNNN call to the API
2012-09-24 18:44:11 +01:00
Gnonthgol
fcddf920a3
Remove the "We are changing the license" flash on the login page
2012-09-14 15:24:36 +01:00
Tom Hughes
573991e5a9
Fixup make_friend and remove_friend properly
...
Requests using POST are now actioned immediately, while requests
using GET present a confirmation page.
2012-08-15 20:13:14 +01:00
Tom Hughes
703c1a83e6
Show the correct reconfirm link for OpenID login attempts
2012-07-27 21:30:06 +01:00
Tom Hughes
d38e476fa6
OpenID attributes returned via AX seem to be arrays now
2012-07-27 21:27:45 +01:00
Tom Hughes
16beaef5cf
Don't try and store a user record in the session
...
A user record that has come from the database can't be stored in
the session as it contains singletons that can't be serialised.
2012-06-30 19:17:04 +01:00
Tom Hughes
d7d317f694
Mark yet more methods as needing write access to the database
2012-04-02 19:08:47 +01:00
Tom Hughes
e1ce75ec49
Mark some extra methods as needing write access to the database
2012-04-02 18:40:05 +01:00
Tom Hughes
987c52f53e
Only require a readable database for login, not a writable one
2012-03-28 10:08:38 +01:00
Tom Hughes
a9824dbc2e
Use one "no_such_user" view everywhere
2012-03-21 21:47:09 +00:00
Tom Hughes
64747f7604
Set the user description to markdown formatting when it changes
2012-03-17 16:37:22 +00:00
Tom Hughes
a87540a5dd
Fix layout selection to detect OAuth correctly
2012-03-10 12:46:10 +00:00
Tom Hughes
b012617608
Save the user record after changing it
2012-03-09 00:21:08 +00:00
Tom Hughes
4dfe43c956
Fix typo
2012-03-08 23:17:38 +00:00
Tom Hughes
88541c523d
Use normal assignment instead of mass assignment
2012-03-08 22:41:25 +00:00
Tom Hughes
e7a0302e2b
Update the username cookie when the display name is changed
2012-03-03 00:49:03 +00:00
Tom Hughes
7c3a4b497e
Change session expiry to 28 days when "remember me" is set
...
The expiry is passed directly to memcache, which treats any value
over 30 days as an absolute time, so using 1 month leads to sessions
expiring as soon as they are created.
2012-02-27 09:01:48 +00:00
Tom Hughes
a16b45eb6a
Add convenience methods to make ACL use simpler
2012-02-08 22:38:02 +00:00
Tom Hughes
8eef66cee2
Don't check the ACL unless we're creating a new user
2012-02-08 22:35:13 +00:00
Tom Hughes
cd43529cc8
Add support for domain based ACLs
2012-02-08 21:40:21 +00:00
Tom Hughes
2c666b42d7
Fix exception when a suspended user tries to login
2012-01-23 14:31:06 +00:00
Tom Hughes
c182531149
Allow a special ODBL message to be displayed at login
2011-12-20 00:07:07 +00:00
Tom Hughes
7b01a8ae82
Look up email addresses case insensitively for password resets
...
If the email address entered is not found then try a case insensitive
lookup, and if that finds a single result then use it.
2011-12-13 17:42:42 +00:00
Tom Hughes
2fc9c8c05b
Cope with no openid_url being supplied
2011-12-13 10:26:30 +00:00
Tom Hughes
49038a44d9
Validate email addresses before confirming them
2011-12-13 09:49:13 +00:00
Tom Hughes
13289d4041
Switch from Prototype to jQuery
2011-11-26 00:22:31 +00:00
Tom Hughes
7c25a1e1bc
Make the username cookie permanent
2011-11-16 10:05:39 +00:00
Tom Hughes
5bc3054d61
Store the username in a cookie and use it to validate the session
2011-11-14 09:42:59 +00:00
Tom Hughes
88bf67b092
Make /user/new handle already logged in users better
2011-11-14 09:42:58 +00:00
Tom Hughes
07b834785f
Force openid callbacks to use GET to avoid CSRF validation issues
2011-11-14 09:42:57 +00:00
Tom Hughes
546db82281
Preserve field values if the signup form fails validation
2011-11-14 09:42:56 +00:00
Tom Hughes
071c3581e9
Disable CSRF token verification for API methods
2011-11-14 09:42:55 +00:00
Tom Hughes
97b1290f1a
Use SecureRandom instead of the deprecated ActiveSupport::SecureRandom
2011-11-14 09:42:52 +00:00
Tom Hughes
3227f40193
Make more use of named scopes
2011-11-14 09:42:51 +00:00
Tom Hughes
226c41be69
Update ActiveRecord queries to use arel
2011-11-14 09:42:44 +00:00
Tom Hughes
423f5ffbc2
Use config.filter_parameters instead of filter_parameter_logging
2011-11-14 09:42:43 +00:00
Tom Hughes
7d45c2fd3c
Replace request.request_uri with request.fullpath
2011-11-14 09:42:42 +00:00
Tom Hughes
2e2c95133b
Use new ActionMail API to send emails
2011-11-14 09:42:41 +00:00
Tom Hughes
dc4cc8d219
Add support for manual tracking of a Piwik goal on signup
2011-09-20 21:40:53 +01:00