Commit Graph

1019 Commits

Author SHA1 Message Date
Marcin Kulik
7d5a544650 Generate thumbnails from JSON snapshot via Snapshot/SnaphotPresenter 2013-08-06 00:37:36 +02:00
Marcin Kulik
c5c875309b Add shoulda-matchers to the test bundle 2013-08-06 00:37:36 +02:00
Marcin Kulik
148bd47756 Fix feature spec for visiting asciicast page 2013-08-06 00:37:35 +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
85f93a4490 Add spec for AsciicastSnapshotter 2013-08-06 00:37:33 +02:00
Marcin Kulik
1be93cac63 Use shortcut for #to_html stub on SnapshotPresenter 2013-08-06 00:37:33 +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
ecdf984789 Upgrade rspec to 2.14 (have_received FTW!!!11) 2013-08-06 00:37:32 +02:00
Marcin Kulik
5bca08cea5 Use zeus for faster tests boot time 2013-08-06 00:37:31 +02:00
Marcin Kulik
9ef766f16b Don't require rspec/autorun in spec_helper
This is not really needed and conflicts with zeus
2013-08-06 00:37:31 +02:00
Marcin Kulik
50c3a7bca5 Remove the test that validates asciicast factory 2013-08-06 00:37:31 +02:00
Marcin Kulik
1dd74b90b9 Merge pull request #104 from snapapps/patch-1
Update command
2013-07-20 03:29:17 -07:00
Marcin Kulik
31c94b02d2 Make sure OmniAuth redirects to failure action also in dev/test env 2013-07-05 21:40:40 +02:00
Marcin Kulik
0b9ae12feb Use nice matcher for sidekiq job enqueues 2013-07-05 21:10:04 +02:00
Marcin Kulik
47629b84e9 Upgrade to ruby 2.0 2013-07-05 20:59:19 +02:00
Marcin Kulik
c5509c60b6 Update tests for Sidekiq 2013-07-05 19:50:42 +02:00
Marcin Kulik
f25ff91b11 Use foreman for starting sidekiq in development 2013-07-05 16:17:53 +02:00
Marcin Kulik
2414f6a945 Remove obsolete LazyWorkQueue 2013-07-05 14:28:10 +02:00
Marcin Kulik
b4a977817c Make the AR connection pool big enough for all Sidekiq workers 2013-07-05 14:09:43 +02:00
Marcin Kulik
49df9e9082 Make SnapshotWorker a Sidekiq based worker 2013-07-05 14:09:43 +02:00
Marcin Kulik
4943980baf Add sidekiq gem to the bundle 2013-07-05 14:09:42 +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
df53fa1e2b Remove "ruby-" prefix from .ruby-version 2013-06-17 11:39:16 +02:00
Marcin Kulik
4403b5cf4d Remove unicorn config 2013-06-16 22:16:13 +02:00
Marcin Kulik
662a89ab46 Add capistrano to the bundle 2013-06-16 21:52:56 +02:00
Marcin Kulik
09de4725e5 Add dotenv gem to the bundle 2013-06-16 21:28:22 +02:00
Marcin Kulik
a81d9dadb3 Use tsm gem for snapshot generation 2013-06-14 22:52:55 +02:00
Marcin Kulik
4e1f01dc99 Add logging to SnapshotWorker 2013-06-14 00:11:30 +02:00
Marcin Kulik
2d6b60e027 Fix AsciicastDecorator#embed_script 2013-06-13 22:58:47 +02:00
Marcin Kulik
a0e84709d4 Merge pull request #110 from sickill/embed
Embedding
2013-06-13 13:48:36 -07:00
Marcin Kulik
0f99198a1a Add spec for asciicasts#show as js 2013-06-13 22:41:06 +02:00
Marcin Kulik
df6bed3541 Merge branch 'master' into embed 2013-06-13 22:40:17 +02:00
Marcin Kulik
8a52605266 Add spec for AsciicastDecorator#embed_script 2013-06-13 22:39:34 +02:00
Marcin Kulik
013eade63c Count view only once in the same browser 2013-06-13 22:26:27 +02:00
Marcin Kulik
feec862f99 Display embed link on the asciicast's page 2013-06-13 11:45:00 +02:00
Marcin Kulik
20cf58e89b Make the render expose its width and height 2013-06-12 23:58:24 +02:00
Marcin Kulik
f0b66b6399 Center overlays according to viewport/container width 2013-06-12 23:50:31 +02:00
Marcin Kulik
e182cce8ee Don't use document.write to insert the player into the DOM 2013-06-12 22:47:39 +02:00