Commit Graph

44 Commits

Author SHA1 Message Date
Marcin Kulik
a04d788e63 Allow specifying warden strategies per controller 2016-02-06 15:43:39 +01:00
Marcin Kulik
1f85e0cb1c Don't imply autoplay when t option set in embed context 2016-01-07 13:41:25 +00:00
Marcin Kulik
e3c04e1461 Play v1 format by default if available 2015-12-22 22:09:20 +00:00
Marcin Kulik
9881c5df6c Extract profile route helpers to a module 2015-10-08 12:43:10 +00:00
Marcin Kulik
86c25b117d Move private API endpoint to less representative path 2015-05-13 13:10:03 +00:00
Marcin Kulik
2c7d549778 Require private asciicasts to be requested via secret token 2015-04-26 13:30:42 +00:00
Marcin Kulik
c0b000b4df Always require authentication for asciicast upload 2015-04-04 17:48:01 +00:00
Marcin Kulik
448f0eb899 Use warden scopes 2015-04-04 17:46:55 +00:00
Marcin Kulik
47578b63b1 Refactor handling of auth token for pre 0.9.9 clients 2015-04-03 16:48:37 +00:00
Marcin Kulik
ca09a61b52 Handle invalid asciicast upload 2015-03-23 17:40:11 +01:00
Marcin Kulik
8264105ca3 Return meaningful error message for 422 2015-03-02 19:41:25 +00:00
Marcin Kulik
531a2de60f Handle all asciicast attribute building outside of the controller 2015-02-27 14:40:12 +00:00
Marcin Kulik
c6cc9fbdbc Accept version 1 asciicasts 2015-02-27 14:01:12 +00:00
Marcin Kulik
78a2ba9ea9 Lookup asciicast creator on controller level 2015-02-26 16:17:11 +00:00
Marcin Kulik
527abc03b5 Allow embedding the same asciicast multiple times on a single page 2014-12-23 17:27:33 +00:00
Marcin Kulik
a714f19176 Accept (temporary_)username as http basic auth username 2014-10-25 20:53:12 +02:00
Marcin Kulik
e9f4ed1f61 Accept api token as http basic auth password 2014-10-25 20:53:12 +02:00
Marcin Kulik
f461f24326 No need for before_action 2014-10-25 20:53:12 +02:00
Marcin Kulik
56b99f11e3 Clean up test auth helpers 2014-03-16 16:03:33 +01:00
Marcin Kulik
72248d7b83 Add a (pending) test for X-Frame-Options removal 2014-03-16 11:34:25 +01:00
Marcin Kulik
06c19adaab Move emedded player related endpoints to API 2014-03-05 10:05:45 +01:00
Marcin Kulik
933c5d9801 Namespace the existing API as v0 2014-02-25 18:35:03 +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
74d7bb0156 Make AsciicastCreator unaware of API subtleties 2014-02-10 17:39:37 +01:00
Marcin Kulik
d74ead2263 Store client's user agent on Asciicast record 2013-10-11 20:44:49 +02:00
Marcin Kulik
c22cb1cdcc Get rid of the asciicast comments that are not used anymore 2013-08-08 15:25:27 +02:00
Marcin Kulik
59e31baa1b Process incoming asciicast with AsciicastCreator 2013-08-06 00:37:35 +02:00
Marcin Kulik
49df9e9082 Make SnapshotWorker a Sidekiq based worker 2013-07-05 14:09:43 +02:00
Marcin Kulik
127f68a778 Fix Api::CommentsController#index 2013-05-28 11:13:01 +02:00
Marcin Kulik
ce6a47e815 Fix :location for unsaved records 2012-12-01 20:50:44 +01:00
Marcin Kulik
a57d05597e Don't crash on comment for asciicast without user 2012-06-10 14:11:45 +02:00
Marcin Kulik
50428b9c66 Unicorn with girl_friday on Heroku 2012-06-09 15:25:43 +02:00
Marcin Kulik
31b82ad512 Use girl_friday for bg jobs 2012-06-07 17:35:43 +02:00
Marcin Kulik
3a7f462b13 Send email to asciicast author when someone comments 2012-04-12 15:49:20 +02:00
Marcin Kulik
0bb3e75fb6 No need for instance variables in CommentsController#create 2012-04-12 14:47:53 +02:00
Marcin Kulik
f4856407c1 Comment#destroy instead of #delete 2012-04-09 16:33:29 +02:00
Marcin Kulik
936dac6baa Markdown in comments 2012-04-06 23:46:44 +02:00
Marcin Kulik
27219f48b7 Thumbnail generation in Sidekiq worker 2012-04-06 20:53:04 +02:00
Marcin Kulik
119622f57b Remove TODO comment 2012-03-06 22:10:46 +01:00
Marcin Kulik
80df89ec84 Fix typo 2012-03-06 21:27:17 +01:00
Marcin Kulik
ebf0383e99 Fix comment routes 2012-03-04 21:26:22 +01:00
Micha Wrobel
5ad02c8610 Remove wrong route 2012-03-04 16:48:24 +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