Commit Graph

562 Commits

Author SHA1 Message Date
Marcin Kulik
40856933aa Support "blink" attribute in the thumbnails 2013-08-15 23:05:09 +02:00
Marcin Kulik
a53c8de5b9 Pass paths to decompressed stdout files to Stdout 2013-08-15 20:58:41 +02:00
Marcin Kulik
cf3e812e8e Move duration info below the thumbnail 2013-08-15 20:45:51 +02:00
Marcin Kulik
bae9bfdbc7 Use correct singular/plural form for asciicast count 2013-08-14 21:36:17 +02:00
Marcin Kulik
13119b2987 Display asciicast length on thumbnails 2013-08-14 20:40:24 +02:00
Marcin Kulik
44a7b0788e Convert asciicasts#_preview to slim 2013-08-14 19:38:01 +02:00
Marcin Kulik
49a2abe32b Make the "when by whom" font smaller 2013-08-14 19:27:32 +02:00
Marcin Kulik
abe0b77bcd Convert asciicast#index to slim 2013-08-14 18:16:03 +02:00
Marcin Kulik
562cd0ef0b Add "Show more" link on the homepage 2013-08-14 18:11:46 +02:00
Marcin Kulik
5c141003a1 Use "asciicast" over "Asciicast" in UI 2013-08-14 17:32:03 +02:00
Marcin Kulik
2e9b0a4718 Remove boring empty trailing lines from thumbnails 2013-08-14 17:24:36 +02:00
Marcin Kulik
9086aae060 Remove unused code 2013-08-14 16:38:33 +02:00
Marcin Kulik
6acea6da70 Use tilde prefix for nickname only in profile url 2013-08-14 16:30:49 +02:00
Marcin Kulik
4bb61b614f Prevent bots from following Edit links 2013-08-14 13:45:55 +02:00
Marcin Kulik
452f5869cf Fix Bzip2Uploader#decompressed_path for S3 storage 2013-08-13 20:13:09 +02:00
Marcin Kulik
869ca9d896 Adjust JS player to new asciicast JSON representation 2013-08-13 19:52:54 +02:00
Marcin Kulik
6db65b2a6c Serve asciicast as JSON in chunks 2013-08-13 19:52:54 +02:00
Marcin Kulik
7e1b41dfef Code reformating in TimingParser 2013-08-13 19:52:54 +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
0c3494d174 Require explicit call to Terminal#snapshot for getting the snapshot 2013-08-13 19:52:53 +02:00
Marcin Kulik
6c8dbf4173 Make Stdout provide data in chunks 2013-08-13 19:52:53 +02:00
Marcin Kulik
fa4c5e4664 Replace Bzip2Uploader#decompressed with #decompressed_path 2013-08-13 19:52:53 +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
c22cb1cdcc Get rid of the asciicast comments that are not used anymore 2013-08-08 15:25:27 +02:00
Marcin Kulik
20645271a1 Update models and helpers to use new Rails 4 syntax 2013-08-08 15:08:11 +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
4767442875 Make Snapshot#crop return the snapshot of exact requested height 2013-08-06 00:37:37 +02:00
Marcin Kulik
7c9a9842af Adjust color of the play prompt triangle to match color thumbnails better 2013-08-06 00:37:37 +02:00
Marcin Kulik
ade244e5d0 Fix rendering of snapshot in the player 2013-08-06 00:37:37 +02:00
Marcin Kulik
62be399455 Refactor player styles and use them for snapshots 2013-08-06 00:37:36 +02:00
Marcin Kulik
5ecf209a53 Add some TODO comments 2013-08-06 00:37:36 +02:00
Marcin Kulik
7d5a544650 Generate thumbnails from JSON snapshot via Snapshot/SnaphotPresenter 2013-08-06 00:37:36 +02:00
Marcin Kulik
ddf0e57b39 Update SnapshotWorker to generate colorful snapshots 2013-08-06 00:37:35 +02:00
Marcin Kulik
c8d574b243 Serialize asciicast snapshot just as JSON 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
86a4662fe5 Abstract stdout_data and stdout_timing as a single value object 2013-08-06 00:37:34 +02:00
Marcin Kulik
caa6c52759 Rename stdout to stdout_data, stdin to stdin_data 2013-08-06 00:37:34 +02:00
Marcin Kulik
55fe325ec4 Add Bzip2Uploader for uploading, retrieving and decompressing bzip2 files 2013-08-06 00:37:34 +02:00
Marcin Kulik
1aefeb4d6b Introduce BaseUploader with common store_dir for all uploaders 2013-08-06 00:37:34 +02:00
Marcin Kulik
56a2bb2378 Fix Snapshot#crop to not burn when height > line count 2013-08-06 00:37:33 +02:00
Marcin Kulik
d93ac84c21 Refactor AsciicastDecorator#thumbnail to render colorful thumbnail 2013-08-06 00:37:33 +02:00
Marcin Kulik
86f728364c Add Brush model 2013-08-06 00:37:32 +02:00
Marcin Kulik
e947524533 Add a simple model representing a terminal snapshot 2013-08-06 00:37:32 +02:00
Marcin Kulik
8daf2d0f7f Serialize Snapshot with Snapshot::Serializer 2013-08-06 00:37:32 +02:00
Marcin Kulik
a10a447c53 Make the snapshots the hashes 2013-08-06 00:37:32 +02:00
Marcin Kulik
49df9e9082 Make SnapshotWorker a Sidekiq based worker 2013-07-05 14:09:43 +02:00
Marcin Kulik
5087533126 Do the snapshotting in the service object 2013-07-05 14:09:42 +02:00
Marcin Kulik
e85104179e Fix unbzipping of stdout files 2013-06-18 15:25:54 +02:00
Marcin Kulik
a81d9dadb3 Use tsm gem for snapshot generation 2013-06-14 22:52:55 +02:00