Commit Graph

62 Commits

Author SHA1 Message Date
Marcin Kulik
49cfe584ba Use policy scope to decide which asciicasts should be listed 2015-05-15 19:13:37 +00:00
Marcin Kulik
8bb68ad53e Serve original asciicast files from /a/:id.json 2015-05-13 13:46:25 +00:00
Marcin Kulik
86c25b117d Move private API endpoint to less representative path 2015-05-13 13:10:03 +00:00
Marcin Kulik
3f32ee0ef6 No "self" needed here 2015-04-26 13:54:23 +00:00
Marcin Kulik
2c7d549778 Require private asciicasts to be requested via secret token 2015-04-26 13:30:42 +00:00
Marcin Kulik
871745cc6c "Generator" is a better name here 2015-03-30 10:27:59 +00:00
Marcin Kulik
08749dd32d Move html rendering to image updater 2015-03-30 10:23:58 +00:00
Marcin Kulik
7d199ad416 Make routes AsciicastPagePresenter's dependency 2015-03-30 10:02:21 +00:00
Marcin Kulik
2852248989 Add PNG generation (https://asciinema.org/a/17654.png) 2015-03-27 11:42:14 +00:00
Marcin Kulik
c9ccc1b066 Add ability to set custom thumbnail frame time 2014-11-27 12:30:08 +00:00
Marcin Kulik
560e11f24e Introduce admin 2014-07-05 14:59:42 +02:00
Marcin Kulik
6bb5f39f8b Add theme changing for whole user profile and single asciicast 2014-07-01 21:33:50 +02:00
Marcin Kulik
6ad2a40ab8 Fix opening of currently processed asciicasts 2014-06-22 11:44:40 +02:00
Marcin Kulik
06c19adaab Move emedded player related endpoints to API 2014-03-05 10:05:45 +01:00
Marcin Kulik
24bad5e628 Use strong_parameters instead of protected_attributes 2014-02-12 20:22:20 +01:00
Marcin Kulik
4908599204 Fix style violations 2014-02-01 10:29:49 +01:00
Marcin Kulik
105d11bfe7 Change naming convention for presenter objects 2014-02-01 01:26:58 +01:00
Marcin Kulik
d06801487c Set defaults for AsciicastListPresenter in .build 2014-02-01 01:10:54 +01:00
Marcin Kulik
edca76233d It's rather "bare" than "raw" 2014-01-18 14:57:35 +01:00
Marcin Kulik
585167089d Rename container_width option to max_width 2014-01-18 14:53:15 +01:00
Marcin Kulik
57bcab04c9 Use proper PlaybackOptions object for passing options to JS player 2014-01-18 14:12:10 +01:00
Marcin Kulik
2191dfe32a Use .decorate instead of manually creating decorator instances 2014-01-18 12:24:40 +01:00
Marcin Kulik
86f6af3d78 Introduce AsciicastPresenter 2014-01-18 11:44:13 +01:00
Marcin Kulik
d571be2bbd Introduce AsciicastListPresenter 2014-01-17 17:21:22 +01:00
Marcin Kulik
4b9c33f228 Add fake host pages with an embedded asciicast 2013-11-22 21:45:45 +01:00
Marcin Kulik
b6f53c66b8 Set page <title> in templates 2013-11-20 21:33:27 +01:00
Marcin Kulik
100273f5bf Update browse page to new layout and add sorting 2013-11-20 21:33:26 +01:00
Marcin Kulik
b08ffd48b4 Make the ViewCounter a controller dependency in the form of a private method 2013-09-25 21:42:40 +02:00
Marcin Kulik
ee636bf958 Update the player to use backend-generated JSON frames 2013-09-21 13:05:13 +02:00
Marcin Kulik
731751650c Keep the lines shorther than 80 chars 2013-08-25 16:34:02 +02:00
Marcin Kulik
5c141003a1 Use "asciicast" over "Asciicast" in UI 2013-08-14 17:32:03 +02:00
Marcin Kulik
6db65b2a6c Serve asciicast as JSON in chunks 2013-08-13 19:52:54 +02:00
Marcin Kulik
40da1823d6 Do not send X-Frame-Options header in embeddable widget action 2013-08-09 08:54:09 +02:00
Marcin Kulik
df6bed3541 Merge branch 'master' into embed 2013-06-13 22:40:17 +02:00
Marcin Kulik
013eade63c Count view only once in the same browser 2013-06-13 22:26:27 +02:00
Marcin Kulik
d1dcd08861 Initial version of iframe-based embedding 2013-06-12 21:33:30 +02:00
Marcin Kulik
f5a91c680b Fix draper vs kaminari issue 2013-05-28 11:13:00 +02:00
Marcin Kulik
9977e69ace Fix ensure_owner 2012-12-11 12:22:25 +01:00
Marcin Kulik
b284781620 Cover all scenatios in asciicasts controller specs 2012-12-09 21:25:45 +01:00
Marcin Kulik
11bab12afb Extract AsciicastJSONDecorator from AsciicastDecorator 2012-12-09 21:23:37 +01:00
Marcin Kulik
9ac2c49180 Custom scopes for paginated lists 2012-12-09 21:22:12 +01:00
Marcin Kulik
646ca6858a AsciicastDecorator#user 2012-11-19 23:14:34 +01:00
Marcin Kulik
1754656578 Raw page with player only 2012-11-19 23:10:21 +01:00
Marcin Kulik
44e23bf003 Just decorate. 2012-11-19 22:12:57 +01:00
Marcin Kulik
ddd0cd9f74 HTTP caching for asciicast json data 2012-08-22 20:26:20 +02:00
Marcin Kulik
75961f3f22 Scopes 2012-08-22 20:13:31 +02:00
Marcin Kulik
7d6ac6ddc9 Include all the things!! 2012-08-21 20:25:50 +02:00
Marcin Kulik
668f382a69 Fix specs 2012-07-29 19:43:03 +02:00
Marcin Kulik
785273707b Proper design, finally! 2012-07-25 20:24:20 +02:00
Marcin Kulik
e5ea6488fd Move asciicast presentation to its decorator 2012-04-09 19:47:19 +02:00