Marcin Kulik
|
ebf0383e99
|
Fix comment routes
|
2012-03-04 21:26:22 +01:00 |
|
Marcin Kulik
|
c4f40322ed
|
Merge branch 'master' into comments
* master:
Display asciicast author and creation time
Claiming asciicasts
User#add_user_token
Asciicast.assign_user
User tokens for assigning asciicasts to users
Better styles + pagination
Conflicts:
app/models/asciicast.rb
db/schema.rb
spec/factories/asciicasts.rb
spec/factories/users.rb
|
2012-03-04 21:14:35 +01:00 |
|
Marcin Kulik
|
9e59b19c16
|
Claiming asciicasts
|
2012-03-04 20:30:26 +01:00 |
|
Micha Wrobel
|
5ad02c8610
|
Remove wrong route
|
2012-03-04 16:48:24 +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 |
|
Marcin Kulik
|
b7807c3f0d
|
Better styles + pagination
|
2012-03-04 15:18:09 +01:00 |
|
Micha Wrobel
|
4f47f0a7fc
|
Add specs for destroy
|
2012-03-04 14:37:30 +01:00 |
|
Micha Wrobel
|
cc6fd9eb2a
|
Remove posibility to update comment
|
2012-03-04 13:50:16 +01:00 |
|
Micha Wrobel
|
70cf1bdc3b
|
Add comment resource
|
2012-03-04 13:50:16 +01:00 |
|
Marcin Kulik
|
58092ae50e
|
Let's have separate page for login buttons
This way we can link to login page from comments section
if user is not authenticated
|
2012-03-04 11:33:11 +01:00 |
|
Marcin Kulik
|
b3e8fbb7df
|
Load asciicast data via ajax
|
2012-03-03 18:38:11 +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 |
|
Marcin Kulik
|
d0e0ec4f88
|
Use :alert (supported directly by redirect_to) instead of :error.
|
2012-02-26 18:39:46 +01:00 |
|
Micha Wrobel
|
c4763bb566
|
Improve controller specs, tiny refactoring
|
2012-02-26 18:13:46 +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
|
28b07a88ed
|
Return Location header on successful upload
|
2012-01-15 15:07:12 +01:00 |
|
Marcin Kulik
|
59dbd5aea3
|
Api::AsciicastsController
|
2012-01-14 21:27:10 +01:00 |
|
Marcin Kulik
|
140cc1c0fc
|
Asciicasts#show (available at /:id)
|
2011-11-27 13:54:10 +01:00 |
|
Marcin Kulik
|
c5de80788a
|
Asciicast model
|
2011-11-23 22:31:00 +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 |
|