Commit Graph

36 Commits

Author SHA1 Message Date
Marcin Kulik
724b79c371 Refactor image size part of screenshot generator 2015-03-30 16:41:45 +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
b619302e3e Refactor PNG generation 2015-03-29 14:15:05 +00:00
Marcin Kulik
7a321bf2cc Use "display" width in HTML image links 2015-03-27 17:33:50 +00:00
Marcin Kulik
2852248989 Add PNG generation (https://asciinema.org/a/17654.png) 2015-03-27 11:42:14 +00:00
Marcin Kulik
531a2de60f Handle all asciicast attribute building outside of the controller 2015-02-27 14:40:12 +00:00
Marcin Kulik
78a2ba9ea9 Lookup asciicast creator on controller level 2015-02-26 16:17:11 +00:00
Marcin Kulik
c9ccc1b066 Add ability to set custom thumbnail frame time 2014-11-27 12:30:08 +00:00
Marcin Kulik
8d496bd418 Make snapshot generation aware of custom snapshot time on asciicast 2014-11-27 11:48:41 +00:00
Marcin Kulik
e9f4ed1f61 Accept api token as http basic auth password 2014-10-25 20:53:12 +02:00
Marcin Kulik
0cd4559f5a Log in by email without Persona 2014-10-17 20:24:22 +02:00
Marcin Kulik
24bad5e628 Use strong_parameters instead of protected_attributes 2014-02-12 20:22:20 +01:00
Marcin Kulik
1be5538e5c Merge dummy users into real ones when assigning api tokens 2014-02-12 17:41:06 +01:00
Marcin Kulik
74d7bb0156 Make AsciicastCreator unaware of API subtleties 2014-02-10 17:39:37 +01:00
Marcin Kulik
633f514de8 Use Virtus for AsciicastParams 2014-02-09 19:12:15 +01:00
Marcin Kulik
13544d9d04 Rename user_token to api_token 2014-02-09 14:44:09 +01:00
Marcin Kulik
9589df952f Make the view count cookie names shorter 2014-01-29 16:10:18 +01:00
Marcin Kulik
a2baeb91ea Add a default value for headers in AsciicastCreator 2013-10-20 16:41:37 +02:00
Marcin Kulik
d74ead2263 Store client's user agent on Asciicast record 2013-10-11 20:44:49 +02:00
Marcin Kulik
d71da5b369 Move asciicast attributes preparation to AsciicastAttributes 2013-09-25 21:42:59 +02:00
Marcin Kulik
f3ecd376d7 Update updated_at on all claimed asciicasts 2013-09-25 21:42:59 +02:00
Marcin Kulik
32a2f44eb6 Move user token creation/assignment to a service object 2013-09-25 21:42:59 +02: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
0350f908a9 Move TimingParser to services 2013-09-23 21:21:07 +02:00
Marcin Kulik
82fa03863d Adjust Snapshot#crop to work on already optimized lines 2013-09-21 13:05:12 +02:00
Marcin Kulik
e862acedb7 Animation frames generation on the backend 2013-09-10 21:29:17 +02:00
Marcin Kulik
c775bc8b06 Use less spans for thumbnail rendering 2013-08-26 11:02:32 +02:00
Marcin Kulik
731751650c Keep the lines shorther than 80 chars 2013-08-25 16:34:02 +02:00
Marcin Kulik
d21be98a5c Adjust SnapshotCreator to the latest API changes in Terminal and Stdout 2013-08-13 19:52:54 +02:00
Marcin Kulik
3f879e79da Ensure terminal gets released even in case of an exception 2013-08-06 14:00:30 +02:00
Marcin Kulik
0a8cc6ff8a One more attempt to fix the memory leak 2013-08-06 12:50:38 +02:00
Marcin Kulik
ddf0e57b39 Update SnapshotWorker to generate colorful snapshots 2013-08-06 00:37:35 +02:00
Marcin Kulik
59e31baa1b Process incoming asciicast with AsciicastCreator 2013-08-06 00:37:35 +02:00
Marcin Kulik
5087533126 Do the snapshotting in the service object 2013-07-05 14:09:42 +02:00
Marcin Kulik
013eade63c Count view only once in the same browser 2013-06-13 22:26:27 +02:00