Commit Graph

556 Commits

Author SHA1 Message Date
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
Marcin Kulik
f22837f4e9 Add "embed" css/js bundles 2013-06-12 21:52:15 +02:00
Marcin Kulik
d1dcd08861 Initial version of iframe-based embedding 2013-06-12 21:33:30 +02:00
Marcin Kulik
7a3bc80340 Prevent progress bar to span more than 1 line 2013-06-12 11:27:41 +02:00
Marcin Kulik
22ae493513 Fix terminal's line-height even more! 2013-06-12 11:07:54 +02:00
Marcin Kulik
1e57bee513 Fix terminal line's line-height 2013-06-11 17:41:24 +02:00
Marcin Kulik
49be5d6fe2 Convert layout to slim 2013-06-10 17:15:52 +02:00
Marcin Kulik
597eb5174b Use old-sass syntax for stylesheets 2013-06-01 19:30:26 +02:00
Marcin Kulik
127f68a778 Fix Api::CommentsController#index 2013-05-28 11:13:01 +02:00
Marcin Kulik
87128c0873 Remove commented out code 2013-05-28 11:13:01 +02:00
Marcin Kulik
078b04e3a1 Fix asciicast page when its author has other asciicasts 2013-05-28 11:13:01 +02:00
Marcin Kulik
4c5c0c7d0e Fix logging in after draper upgrade 2013-05-28 11:13:01 +02:00
Marcin Kulik
7659fe722e Fix UsersController#show 2013-05-28 11:13:01 +02:00
Marcin Kulik
a6bbdf7a39 Load homepage asciicast in before_filter 2013-05-28 11:13:01 +02:00
Marcin Kulik
3e2bc439a0 Make sure docs pages are fine 2013-05-28 11:13:01 +02:00
Marcin Kulik
62a3ffed92 Don't check for webkit anymore when enabling WebWorker player 2013-05-28 11:13:00 +02:00
Marcin Kulik
f5a91c680b Fix draper vs kaminari issue 2013-05-28 11:13:00 +02:00
Marcin Kulik
5f53c66639 Update decorators to use new Draper API 2013-05-28 11:13:00 +02:00
Marcin Kulik
95a0e44798 Use http url for avatar in footer 2013-05-28 11:12:59 +02:00
Mike Fiedler
fee3e947bd Fixed upgrade command
`brew update foo` => This command updates brew itself, and does not take formula names.

Hence: `brew upgrade asciiio` => Error: asciiio-HEAD already installed
2013-05-20 22:14:15 -03:00
Marcin Kulik
2e8fc48473 Set MAX_DELAY constant on model, not decorator 2012-12-18 21:38:49 +01:00
Marcin Kulik
9977e69ace Fix ensure_owner 2012-12-11 12:22:25 +01:00
Marcin Kulik
50f84295af More space between asciicast description and thumbnails 2012-12-10 23:40:09 +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
1e07fafb2e When terminal_type is empty also return '?' 2012-12-09 16:14:26 +01:00
Marcin Kulik
816e09703a Cleanup author/profile links 2012-12-08 22:29:21 +01:00
Marcin Kulik
3b2dc7f998 Simplify author_profile_link 2012-12-08 20:51:20 +01:00
Marcin Kulik
780dff5db1 Decorate users in UserMailer 2012-12-08 20:51:20 +01:00
Marcin Kulik
a1fad7ccb7 Decorate User#nickname 2012-12-08 20:51:20 +01:00
Marcin Kulik
80619928a8 Decorate current_user 2012-12-08 20:51:19 +01:00
Marcin Kulik
3f53f2ad50 Use decorates_association instead of custom method 2012-12-08 20:51:19 +01:00
Marcin Kulik
c1e576e5dd "Other asciicasts by this user" 2012-12-08 20:51:19 +01:00
Marcin Kulik
af95da5fe8 Pass asciicasts to 'previews' partial explicitly 2012-12-08 20:51:19 +01:00
Marcin Kulik
cd16719be6 It's asciicast, not preview 2012-12-08 19:59:56 +01:00
Marcin Kulik
2c006d5fdf Improve AsciicastDecorator#description 2012-12-08 18:21:24 +01:00
Marcin Kulik
0e2f78af1d Split asciicasts#show into more partials 2012-12-08 18:11:03 +01:00
Marcin Kulik
ce6a47e815 Fix :location for unsaved records 2012-12-01 20:50:44 +01:00
Marcin Kulik
42f8ea63de Mark snapshot as safe HTML 2012-12-01 17:20:05 +01:00
Marcin Kulik
09a9d86254 Fix play button position in thumbnails 2012-12-01 16:40:16 +01:00
Marcin Kulik
ea3cfbb65a Limit function calls number between AnsiInterpreter and VT 2012-12-01 15:50:27 +01:00
Marcin Kulik
70b1f27234 "Reverse video" support 2012-11-29 18:44:42 +01:00
Marcin Kulik
51fc7a0db1 Fix typo 2012-11-29 18:44:42 +01:00
Marcin Kulik
f86409500c More semantic name for insertCharacters 2012-11-29 18:44:41 +01:00
Marcin Kulik
d95da9635a Update AnsiInterpreter specs to handle new implementation 2012-11-29 18:44:41 +01:00
Marcin Kulik
42897a3d47 Satisfy Brush specs 2012-11-29 18:44:41 +01:00
Marcin Kulik
d5831f163d Use eraseScreen instead of clearScreen 2012-11-29 18:44:41 +01:00
Marcin Kulik
f3775cdf3a "Plural, not singular" 2012-11-29 18:44:41 +01:00
Marcin Kulik
7e3120a4dd No () 2012-11-29 18:44:41 +01:00
Marcin Kulik
dc90d24f4f Remove comment 2012-11-29 18:44:41 +01:00
Marcin Kulik
3ddf5e5dce Don't rely on underscore too much 2012-11-29 18:44:41 +01:00
Marcin Kulik
0b01d98db2 Bring back brush caching 2012-11-29 18:44:41 +01:00
Marcin Kulik
cce80b07ca Fix brush creation in canvas renderer 2012-11-29 18:44:40 +01:00
Marcin Kulik
b87649aec2 Bring back color support 2012-11-29 18:44:40 +01:00
Marcin Kulik
1185e3a4d9 Buffer non-processed data in VT instead of AnsiInterpreter 2012-11-29 18:44:40 +01:00
Marcin Kulik
7b1be025d6 Simplify handlePrivateEscSeq 2012-11-29 18:44:40 +01:00
Marcin Kulik
9e61d3d179 Extract AnsiInterpreter from VT 2012-11-29 18:44:40 +01:00
Justin Hileman
bc052af53a Add a letter :) 2012-11-26 17:34:02 -08:00
Marcin Kulik
ec05e8eaa8 Asciicast preview styles don't belong to base 2012-11-22 00:36:12 +01:00
Marcin Kulik
05909ae22b Margin for player should be set in base.css 2012-11-20 17:53:04 +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
49644ffc68 Validate presence of a model, not id 2012-11-19 22:35:52 +01:00
Marcin Kulik
a344670d50 Clean up condition 2012-11-19 22:31:24 +01:00
Marcin Kulik
33025e00f7 AsciicastDecorator#terminal_type 2012-11-19 22:29:46 +01:00
Marcin Kulik
d86174d147 link_to_delete_asciicast helper 2012-11-19 22:27:52 +01:00
Marcin Kulik
fdf2a0c326 indented -> indented_text 2012-11-19 22:20:45 +01:00
Marcin Kulik
c94b6ff2d7 timeago -> time_ago_tag 2012-11-19 22:18:29 +01:00
Marcin Kulik
d9d85c11e0 category_link -> link_to_category 2012-11-19 22:16:39 +01:00
Marcin Kulik
44e23bf003 Just decorate. 2012-11-19 22:12:57 +01:00
Marcin Kulik
560ab8362a Introduce proper player helper with proper template 2012-11-19 22:01:44 +01:00
Marcin Kulik
4fba36778e player_script -> player_script_tag 2012-11-19 21:30:45 +01:00
Marcin Kulik
4f06a81ad1 Of course snapshot_queue, not comment_queue 2012-11-19 21:01:16 +01:00
Marcin Kulik
d72b5852e0 Move carrierwave storage config to initializer 2012-11-19 20:43:42 +01:00
Marcin Kulik
1fc49727b2 More meaningfull name for overpass font css file 2012-11-19 20:32:28 +01:00
Marcin Kulik
dbcbe42613 Move vendor CSS to vendor/assets 2012-11-19 20:29:23 +01:00
Marcin Kulik
12c500b57d Move vendor JS to vendor/assets 2012-11-19 20:25:40 +01:00
Marcin Kulik
db4c4a397c Return 'unknown' as os when uname is empty 2012-11-18 22:12:37 +01:00
Marcin Kulik
d0aea034f7 Change URL to recorder script on About page 2012-10-13 01:25:23 +02:00
Marcin Kulik
2f2c30ea0f Make the font of pre element a little smaller 2012-10-13 01:22:59 +02:00
Marcin Kulik
c3d45ba441 Tell about edit/delete of asciicast in online docs 2012-10-13 01:13:16 +02:00
Marcin Kulik
0ff6721530 Update online docs 2012-10-13 00:28:13 +02:00
Marcin Kulik
772aa32f0e Remove obsolete comment view and template 2012-10-12 21:59:39 +02:00
Marcin Kulik
58b619a7cf handlebars_assets is not used anymore 2012-10-12 21:52:16 +02:00
Marcin Kulik
07e6c6d8a1 Fix link to sickill's profile (closes #15) 2012-10-11 20:20:18 +02:00
Marcin Kulik
1410fd390f Update bzip2.js to latest version by @gbarco 2012-08-25 15:33:07 +02:00
Marcin Kulik
8f51defdaa Reformat long string 2012-08-25 15:15:13 +02:00
Marcin Kulik
c172df390e Remove old helper for created_at 2012-08-25 15:15:00 +02:00
Marcin Kulik
afa03974a2 Calculate relative time in JS (b/c of caching) 2012-08-25 14:24:53 +02:00
Marcin Kulik
4eae9aa664 Check for window.Worker when choosing Player class 2012-08-25 14:02:03 +02:00
Marcin Kulik
d4da1b2202 Revert "Handle both bzipped and non-bzipped data in DataUnpacker"
This reverts commit 05d3970e39.
2012-08-25 13:50:48 +02:00
Marcin Kulik
62236504cf Revert "Handle non-bzipped data also in AsciicastDecorator"
This reverts commit 9d08c17087.
2012-08-25 13:50:44 +02:00
Marcin Kulik
cbce088f05 Revert "Call the callback, really"
This reverts commit fe3af22bf2.
2012-08-25 13:50:33 +02:00
Marcin Kulik
83c3b12ee0 Turn off airbrake_javascript_notifier 2012-08-25 12:36:58 +02:00
Marcin Kulik
fe3af22bf2 Call the callback, really 2012-08-23 22:16:35 +02:00
Marcin Kulik
9d08c17087 Handle non-bzipped data also in AsciicastDecorator 2012-08-23 20:35:27 +02:00
Marcin Kulik
05d3970e39 Handle both bzipped and non-bzipped data in DataUnpacker 2012-08-23 20:25:25 +02:00