Commit Graph

28 Commits

Author SHA1 Message Date
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
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
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
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
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
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
27219f48b7 Thumbnail generation in Sidekiq worker 2012-04-06 20:53:04 +02: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