Marcin Kulik
|
fe5907e96f
|
Don't use AR API outside of AR classes
|
2014-02-20 23:31:49 +01:00 |
|
Marcin Kulik
|
28e0926fd6
|
Split User.for_api_token into separate lookup and create methods
|
2014-02-20 21:11:09 +01:00 |
|
Marcin Kulik
|
94817be1b3
|
Rename nickname to username
|
2014-02-12 20:51:01 +01:00 |
|
Marcin Kulik
|
24bad5e628
|
Use strong_parameters instead of protected_attributes
|
2014-02-12 20:22:20 +01:00 |
|
Marcin Kulik
|
9b32e2dc37
|
Prevent shadowing real user profiles by dummy ones
|
2014-02-12 19:51:25 +01:00 |
|
Marcin Kulik
|
1be5538e5c
|
Merge dummy users into real ones when assigning api tokens
|
2014-02-12 17:41:06 +01:00 |
|
Marcin Kulik
|
2ceea32cc4
|
Create dummy users for new api tokens
|
2014-02-11 17:49:22 +01:00 |
|
Marcin Kulik
|
13544d9d04
|
Rename user_token to api_token
|
2014-02-09 14:44:09 +01:00 |
|
Marcin Kulik
|
463f18c207
|
Refactor user page to use a presenter object
|
2014-02-01 01:16:28 +01:00 |
|
Marcin Kulik
|
86f6af3d78
|
Introduce AsciicastPresenter
|
2014-01-18 11:44:13 +01:00 |
|
Marcin Kulik
|
38cde2d172
|
Avoid AR chains outside of AR models
|
2013-11-20 21:33:30 +01:00 |
|
Marcin Kulik
|
431fd87002
|
Use auth token for permanent sessions
|
2013-10-22 19:16:18 +02:00 |
|
Marcin Kulik
|
3e1feff84e
|
Auto-strip whitespace from email and nickname
|
2013-10-22 17:58:15 +02:00 |
|
Marcin Kulik
|
5bd8b05a93
|
Validate presence and uniqueness of both nickname and email
|
2013-10-22 17:52:04 +02:00 |
|
Marcin Kulik
|
4b5c02477b
|
Don't override error message for user's nickname uniqueness
|
2013-10-20 19:08:41 +02:00 |
|
Marcin Kulik
|
a2b0a637fa
|
Refactor User.for_credentials/for_email into class methods
|
2013-10-20 18:58:31 +02:00 |
|
Marcin Kulik
|
d4cbc3e504
|
Make Persona the only login option (with the ability to access old accounts)
|
2013-10-20 18:58:11 +02:00 |
|
Marcin Kulik
|
cdc2f01753
|
Find or build user from omniauth hash in the middleware
|
2013-08-19 17:08:13 +02:00 |
|
Marcin Kulik
|
20645271a1
|
Update models and helpers to use new Rails 4 syntax
|
2013-08-08 15:08:11 +02:00 |
|
Marcin Kulik
|
668f382a69
|
Fix specs
|
2012-07-29 19:43:03 +02:00 |
|
Marcin Kulik
|
87ee87f4b7
|
Improve error message display
|
2012-07-28 21:26:58 +02:00 |
|
Marcin Kulik
|
149e687f38
|
Bring back missing user->comments assoc
|
2012-04-09 17:04:58 +02:00 |
|
Marcin Kulik
|
c4b5b16e6f
|
Merge branch 'likes'
* likes:
Data model for "Like"
Conflicts:
app/models/user.rb
db/schema.rb
|
2012-04-09 17:03:50 +02:00 |
|
Marcin Kulik
|
4a6186f523
|
Account settings
|
2012-04-09 15:47:33 +02:00 |
|
Marcin Kulik
|
b6473b8554
|
user->comments association
|
2012-04-06 22:58:44 +02:00 |
|
Marcin Kulik
|
0cbd732980
|
Data model for "Like"
|
2012-04-06 14:06:40 +02:00 |
|
Marcin Kulik
|
71f8fed196
|
Fix line length
|
2012-03-11 09:23:29 +01:00 |
|
Micha Wrobel
|
fc53b71ee2
|
Validate nickname uniquness
|
2012-03-06 22:39:16 +01:00 |
|
Marcin Kulik
|
51dfa8474f
|
Profile paths: ~sickill
|
2012-03-04 23:07:45 +01:00 |
|
Marcin Kulik
|
0de5784e68
|
User#add_user_token
|
2012-03-04 20:29:19 +01:00 |
|
Marcin Kulik
|
1ba9067551
|
User tokens for assigning asciicasts to users
|
2012-03-04 18:14:58 +01:00 |
|
Micha Wrobel
|
d4f127508f
|
Add nickname column to users
|
2012-02-26 20:11:09 +01:00 |
|
Micha Wrobel
|
0190c3f049
|
Add avatar_url column, modify migration file
|
2012-02-26 17:55:19 +01:00 |
|
Micha Wrobel
|
c374f43f5e
|
fix key name, and remove unsupported email
|
2012-02-25 23:42:44 +01:00 |
|
Micha Wrobel
|
f59841abaf
|
Add user model, and .create_with_omniauth method
|
2012-02-25 17:43:10 +01:00 |
|