Commit Graph

34 Commits

Author SHA1 Message Date
Marcin Kulik
9881c5df6c Extract profile route helpers to a module 2015-10-08 12:43:10 +00:00
Marcin Kulik
448f0eb899 Use warden scopes 2015-04-04 17:46:55 +00:00
Marcin Kulik
0930e5fa23 Add oEmbed endpoint 2015-03-29 18:19:18 +00:00
Marcin Kulik
4909d83f9f Display email in session info area when user has no username 2014-10-17 20:24:23 +02:00
Marcin Kulik
feb9703620 Remove old authentication code (browser-id, github, twitter) 2014-10-17 20:24:23 +02:00
Marcin Kulik
0cd4559f5a Log in by email without Persona 2014-10-17 20:24:22 +02:00
Marcin Kulik
bf54046836 Link to anonymous users profiles 2014-10-05 19:53:00 +02:00
Marcin Kulik
560e11f24e Introduce admin 2014-07-05 14:59:42 +02:00
Marcin Kulik
56b99f11e3 Clean up test auth helpers 2014-03-16 16:03:33 +01:00
Marcin Kulik
f55ec05ae1 Use Warden for authentication 2014-02-20 23:31:48 +01:00
Marcin Kulik
431fd87002 Use auth token for permanent sessions 2013-10-22 19:16:18 +02:00
Marcin Kulik
352fb6ede6 Improve wording 2013-10-22 17:42:32 +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
4c5c0c7d0e Fix logging in after draper upgrade 2013-05-28 11:13:01 +02:00
Marcin Kulik
80619928a8 Decorate current_user 2012-12-08 20:51:19 +01:00
Marcin Kulik
264b296e0b /connect improvements 2012-07-26 23:22:34 +02:00
Marcin Kulik
785273707b Proper design, finally! 2012-07-25 20:24:20 +02:00
Marcin Kulik
648cf1140b Move all 404 handling to application_controller 2012-04-09 22:56:26 +02:00
Marcin Kulik
9e0a6acf55 Spec for #redirect_back_or_to 2012-03-06 22:03:12 +01:00
Marcin Kulik
deaf42edad ApplicationController#redirect_back_or_to 2012-03-06 21:46:05 +01:00
Marcin Kulik
8216781067 Use store_location in Unauthorized handler 2012-03-06 21:29:07 +01:00
Marcin Kulik
a0041abed1 store_location / get_stored_location 2012-03-06 21:28:32 +01:00
Marcin Kulik
80df89ec84 Fix typo 2012-03-06 21:27:17 +01:00
Micha Wrobel
ea62987c06 Fix typo 2012-03-04 15:54:25 +01:00
Micha Wrobel
5d52be2bae Add Forbiden Exception and refactor existing actions 2012-03-04 15:26:05 +01:00
Micha Wrobel
70cf1bdc3b Add comment resource 2012-03-04 13:50:16 +01:00
Marcin Kulik
ece7bfa909 Fix ApplicationController#current_user 2012-03-02 22:33:13 +01:00
Micha Wrobel
2669bbb310 Don't use assigns(:current_user) in spec 2012-02-26 20:10:09 +01:00
Micha Wrobel
ce67e84a60 Don't raise AR::RecordNotFound if there is no id 2012-02-26 17:57:46 +01:00
Micha Wrobel
1b33acb937 Make sure that @current_user is also set and cleared 2012-02-26 16:33:37 +01:00
Micha Wrobel
bf6b74289b Add omniauth authentication: github and twitter 2012-02-25 23:43:17 +01:00
Marcin Kulik
9fee724e99 Rescue from RecordNotFound 2011-11-23 22:27:38 +01:00
Marcin Kulik
2abdf89511 404 handling 2011-11-23 21:47:09 +01:00
Marcin Kulik
89a29aadd2 Fresh Rails 3.1 app with DM 1.2 and RSpec 2.7 2011-11-21 22:36:42 +01:00