Commit Graph

747 Commits (5dc857ed9e64065293db4fae329f0c50b62cdc8f)

Author SHA1 Message Date
Marcin Kulik 869ca9d896 Adjust JS player to new asciicast JSON representation 11 years ago
Marcin Kulik 6db65b2a6c Serve asciicast as JSON in chunks 11 years ago
Marcin Kulik 7e1b41dfef Code reformating in TimingParser 11 years ago
Marcin Kulik d21be98a5c Adjust SnapshotCreator to the latest API changes in Terminal and Stdout 11 years ago
Marcin Kulik 0c3494d174 Require explicit call to Terminal#snapshot for getting the snapshot 11 years ago
Marcin Kulik 6c8dbf4173 Make Stdout provide data in chunks 11 years ago
Marcin Kulik fa4c5e4664 Replace Bzip2Uploader#decompressed with #decompressed_path 11 years ago
Marcin Kulik 40da1823d6 Do not send X-Frame-Options header in embeddable widget action 11 years ago
Marcin Kulik c22cb1cdcc Get rid of the asciicast comments that are not used anymore 11 years ago
Marcin Kulik 20645271a1 Update models and helpers to use new Rails 4 syntax 11 years ago
Marcin Kulik 3f879e79da Ensure terminal gets released even in case of an exception 11 years ago
Marcin Kulik 0a8cc6ff8a One more attempt to fix the memory leak 11 years ago
Marcin Kulik 4767442875 Make Snapshot#crop return the snapshot of exact requested height 11 years ago
Marcin Kulik 7c9a9842af Adjust color of the play prompt triangle to match color thumbnails better 11 years ago
Marcin Kulik ade244e5d0 Fix rendering of snapshot in the player 11 years ago
Marcin Kulik 62be399455 Refactor player styles and use them for snapshots 11 years ago
Marcin Kulik 5ecf209a53 Add some TODO comments 11 years ago
Marcin Kulik 7d5a544650 Generate thumbnails from JSON snapshot via Snapshot/SnaphotPresenter 11 years ago
Marcin Kulik ddf0e57b39 Update SnapshotWorker to generate colorful snapshots 11 years ago
Marcin Kulik c8d574b243 Serialize asciicast snapshot just as JSON 11 years ago
Marcin Kulik 59e31baa1b Process incoming asciicast with AsciicastCreator 11 years ago
Marcin Kulik 86a4662fe5 Abstract stdout_data and stdout_timing as a single value object 11 years ago
Marcin Kulik caa6c52759 Rename stdout to stdout_data, stdin to stdin_data 11 years ago
Marcin Kulik 55fe325ec4 Add Bzip2Uploader for uploading, retrieving and decompressing bzip2 files 11 years ago
Marcin Kulik 1aefeb4d6b Introduce BaseUploader with common store_dir for all uploaders 11 years ago
Marcin Kulik 56a2bb2378 Fix Snapshot#crop to not burn when height > line count 11 years ago
Marcin Kulik d93ac84c21 Refactor AsciicastDecorator#thumbnail to render colorful thumbnail 11 years ago
Marcin Kulik 86f728364c Add Brush model 11 years ago
Marcin Kulik e947524533 Add a simple model representing a terminal snapshot 11 years ago
Marcin Kulik 8daf2d0f7f Serialize Snapshot with Snapshot::Serializer 11 years ago
Marcin Kulik a10a447c53 Make the snapshots the hashes 11 years ago
Marcin Kulik 49df9e9082 Make SnapshotWorker a Sidekiq based worker 11 years ago
Marcin Kulik 5087533126 Do the snapshotting in the service object 11 years ago
Marcin Kulik e85104179e Fix unbzipping of stdout files 11 years ago
Marcin Kulik a81d9dadb3 Use tsm gem for snapshot generation 11 years ago
Marcin Kulik 4e1f01dc99 Add logging to SnapshotWorker 11 years ago
Marcin Kulik 2d6b60e027 Fix AsciicastDecorator#embed_script 11 years ago
Marcin Kulik df6bed3541 Merge branch 'master' into embed 11 years ago
Marcin Kulik 8a52605266 Add spec for AsciicastDecorator#embed_script 11 years ago
Marcin Kulik 013eade63c Count view only once in the same browser 11 years ago
Marcin Kulik feec862f99 Display embed link on the asciicast's page 11 years ago
Marcin Kulik 20cf58e89b Make the render expose its width and height 11 years ago
Marcin Kulik f0b66b6399 Center overlays according to viewport/container width 11 years ago
Marcin Kulik e182cce8ee Don't use document.write to insert the player into the DOM 11 years ago
Marcin Kulik f22837f4e9 Add "embed" css/js bundles 11 years ago
Marcin Kulik d1dcd08861 Initial version of iframe-based embedding 11 years ago
Marcin Kulik 7a3bc80340 Prevent progress bar to span more than 1 line 11 years ago
Marcin Kulik 22ae493513 Fix terminal's line-height even more! 11 years ago
Marcin Kulik 1e57bee513 Fix terminal line's line-height 11 years ago
Marcin Kulik 49be5d6fe2 Convert layout to slim 11 years ago
Marcin Kulik 597eb5174b Use old-sass syntax for stylesheets 11 years ago
Marcin Kulik 127f68a778 Fix Api::CommentsController#index 11 years ago
Marcin Kulik 87128c0873 Remove commented out code 11 years ago
Marcin Kulik 078b04e3a1 Fix asciicast page when its author has other asciicasts 11 years ago
Marcin Kulik 4c5c0c7d0e Fix logging in after draper upgrade 11 years ago
Marcin Kulik 7659fe722e Fix UsersController#show 11 years ago
Marcin Kulik a6bbdf7a39 Load homepage asciicast in before_filter 11 years ago
Marcin Kulik 3e2bc439a0 Make sure docs pages are fine 11 years ago
Marcin Kulik 62a3ffed92 Don't check for webkit anymore when enabling WebWorker player 11 years ago
Marcin Kulik f5a91c680b Fix draper vs kaminari issue 11 years ago
Marcin Kulik 5f53c66639 Update decorators to use new Draper API 11 years ago
Marcin Kulik 95a0e44798 Use http url for avatar in footer 11 years ago
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
11 years ago
Marcin Kulik 2e8fc48473 Set MAX_DELAY constant on model, not decorator 12 years ago
Marcin Kulik 9977e69ace Fix ensure_owner 12 years ago
Marcin Kulik 50f84295af More space between asciicast description and thumbnails 12 years ago
Marcin Kulik b284781620 Cover all scenatios in asciicasts controller specs 12 years ago
Marcin Kulik 11bab12afb Extract AsciicastJSONDecorator from AsciicastDecorator 12 years ago
Marcin Kulik 9ac2c49180 Custom scopes for paginated lists 12 years ago
Marcin Kulik 1e07fafb2e When terminal_type is empty also return '?' 12 years ago
Marcin Kulik 816e09703a Cleanup author/profile links 12 years ago
Marcin Kulik 3b2dc7f998 Simplify author_profile_link 12 years ago
Marcin Kulik 780dff5db1 Decorate users in UserMailer 12 years ago
Marcin Kulik a1fad7ccb7 Decorate User#nickname 12 years ago
Marcin Kulik 80619928a8 Decorate current_user 12 years ago
Marcin Kulik 3f53f2ad50 Use decorates_association instead of custom method 12 years ago
Marcin Kulik c1e576e5dd "Other asciicasts by this user" 12 years ago
Marcin Kulik af95da5fe8 Pass asciicasts to 'previews' partial explicitly 12 years ago
Marcin Kulik cd16719be6 It's asciicast, not preview 12 years ago
Marcin Kulik 2c006d5fdf Improve AsciicastDecorator#description 12 years ago
Marcin Kulik 0e2f78af1d Split asciicasts#show into more partials 12 years ago
Marcin Kulik ce6a47e815 Fix :location for unsaved records 12 years ago
Marcin Kulik 42f8ea63de Mark snapshot as safe HTML 12 years ago
Marcin Kulik 09a9d86254 Fix play button position in thumbnails 12 years ago
Marcin Kulik ea3cfbb65a Limit function calls number between AnsiInterpreter and VT 12 years ago
Marcin Kulik 70b1f27234 "Reverse video" support 12 years ago
Marcin Kulik 51fc7a0db1 Fix typo 12 years ago
Marcin Kulik f86409500c More semantic name for insertCharacters 12 years ago
Marcin Kulik d95da9635a Update AnsiInterpreter specs to handle new implementation 12 years ago
Marcin Kulik 42897a3d47 Satisfy Brush specs 12 years ago
Marcin Kulik d5831f163d Use eraseScreen instead of clearScreen 12 years ago
Marcin Kulik f3775cdf3a "Plural, not singular" 12 years ago
Marcin Kulik 7e3120a4dd No () 12 years ago
Marcin Kulik dc90d24f4f Remove comment 12 years ago
Marcin Kulik 3ddf5e5dce Don't rely on underscore too much 12 years ago
Marcin Kulik 0b01d98db2 Bring back brush caching 12 years ago
Marcin Kulik cce80b07ca Fix brush creation in canvas renderer 12 years ago
Marcin Kulik b87649aec2 Bring back color support 12 years ago
Marcin Kulik 1185e3a4d9 Buffer non-processed data in VT instead of AnsiInterpreter 12 years ago
Marcin Kulik 7b1be025d6 Simplify handlePrivateEscSeq 12 years ago
Marcin Kulik 9e61d3d179 Extract AnsiInterpreter from VT 12 years ago
Justin Hileman bc052af53a Add a letter :) 12 years ago
Marcin Kulik ec05e8eaa8 Asciicast preview styles don't belong to base 12 years ago
Marcin Kulik 05909ae22b Margin for player should be set in base.css 12 years ago
Marcin Kulik 646ca6858a AsciicastDecorator#user 12 years ago
Marcin Kulik 1754656578 Raw page with player only 12 years ago
Marcin Kulik 49644ffc68 Validate presence of a model, not id 12 years ago
Marcin Kulik a344670d50 Clean up condition 12 years ago
Marcin Kulik 33025e00f7 AsciicastDecorator#terminal_type 12 years ago
Marcin Kulik d86174d147 link_to_delete_asciicast helper 12 years ago
Marcin Kulik fdf2a0c326 indented -> indented_text 12 years ago
Marcin Kulik c94b6ff2d7 timeago -> time_ago_tag 12 years ago
Marcin Kulik d9d85c11e0 category_link -> link_to_category 12 years ago
Marcin Kulik 44e23bf003 Just decorate. 12 years ago
Marcin Kulik 560ab8362a Introduce proper player helper with proper template 12 years ago
Marcin Kulik 4fba36778e player_script -> player_script_tag 12 years ago
Marcin Kulik 4f06a81ad1 Of course snapshot_queue, not comment_queue 12 years ago
Marcin Kulik d72b5852e0 Move carrierwave storage config to initializer 12 years ago
Marcin Kulik 1fc49727b2 More meaningfull name for overpass font css file 12 years ago
Marcin Kulik dbcbe42613 Move vendor CSS to vendor/assets 12 years ago
Marcin Kulik 12c500b57d Move vendor JS to vendor/assets 12 years ago
Marcin Kulik db4c4a397c Return 'unknown' as os when uname is empty 12 years ago
Marcin Kulik d0aea034f7 Change URL to recorder script on About page 12 years ago
Marcin Kulik 2f2c30ea0f Make the font of pre element a little smaller 12 years ago
Marcin Kulik c3d45ba441 Tell about edit/delete of asciicast in online docs 12 years ago
Marcin Kulik 0ff6721530 Update online docs 12 years ago
Marcin Kulik 772aa32f0e Remove obsolete comment view and template 12 years ago
Marcin Kulik 58b619a7cf handlebars_assets is not used anymore 12 years ago
Marcin Kulik 07e6c6d8a1 Fix link to sickill's profile (closes #15) 12 years ago
Marcin Kulik 1410fd390f Update bzip2.js to latest version by @gbarco 12 years ago
Marcin Kulik 8f51defdaa Reformat long string 12 years ago
Marcin Kulik c172df390e Remove old helper for created_at 12 years ago
Marcin Kulik afa03974a2 Calculate relative time in JS (b/c of caching) 12 years ago
Marcin Kulik 4eae9aa664 Check for window.Worker when choosing Player class 12 years ago
Marcin Kulik d4da1b2202 Revert "Handle both bzipped and non-bzipped data in DataUnpacker"
This reverts commit 05d3970e39.
12 years ago
Marcin Kulik 62236504cf Revert "Handle non-bzipped data also in AsciicastDecorator"
This reverts commit 9d08c17087.
12 years ago
Marcin Kulik cbce088f05 Revert "Call the callback, really"
This reverts commit fe3af22bf2.
12 years ago
Marcin Kulik 83c3b12ee0 Turn off airbrake_javascript_notifier 12 years ago
Marcin Kulik fe3af22bf2 Call the callback, really 12 years ago
Marcin Kulik 9d08c17087 Handle non-bzipped data also in AsciicastDecorator 12 years ago
Marcin Kulik 05d3970e39 Handle both bzipped and non-bzipped data in DataUnpacker 12 years ago
Marcin Kulik 5812b10709 Cache static pages 12 years ago
Marcin Kulik ddd0cd9f74 HTTP caching for asciicast json data 12 years ago
Marcin Kulik 75961f3f22 Scopes 12 years ago
Marcin Kulik 44edbe08d1 Cache whole previews list fragments 12 years ago
Marcin Kulik 6c007cdd9c Not ready yet for cache_key on ActiveRecord::Relation 12 years ago
Marcin Kulik 7d6ac6ddc9 Include all the things!! 12 years ago
Marcin Kulik 0de8aa76ea Use fragment caching for thumbnails 12 years ago
Marcin Kulik 877e1d9be9 Render partial with collection for previews 12 years ago
Marcin Kulik b1567e75f2 Fix cellHeight calculation 12 years ago
Marcin Kulik 6fcef6e448 Rename var 12 years ago
Marcin Kulik 5c395fccb6 Set title for homepage 12 years ago
Marcin Kulik e41681bcd8 Require colors for canvas renderer 12 years ago
Marcin Kulik 8ae889e477 Enable new worker-based player for webkit browsers 12 years ago
Marcin Kulik 4b26edfd49 Support for both new worker-based player and old one 12 years ago
Marcin Kulik 1672176335 Refactor PlayerView and introduce Player 12 years ago
Marcin Kulik 1f260e95aa DataUnpacker with fallback 12 years ago
Marcin Kulik 87f42d7874 Don't pass cursor blinking through VT 12 years ago
Marcin Kulik a429248cc3 We don't need no stinkin' play-button image 12 years ago
Marcin Kulik 84f2b9a5c6 Use requestAnimationFrame shim by Paul Irish 12 years ago
Marcin Kulik c55b77488d Use screenfull.js for fullscreen support 12 years ago
Marcin Kulik 2c02297792 Newer es5-shim 12 years ago
Marcin Kulik 8df492b2b4 Cleanup in assets 12 years ago
Marcin Kulik 510960dd00 requestAnimationFrame shim 12 years ago
Marcin Kulik 3b11713903 Render in webkitRequestAnimationFrame callback 12 years ago
Marcin Kulik d99cd115fc Improved naming 12 years ago
Marcin Kulik 8b7f733606 Wrap WebWorker with AsciiIo.Worker 12 years ago
Marcin Kulik 9d15c931b4 Directory structure reorganization 12 years ago
Marcin Kulik 2383d50d1c Move common css props to mixin 12 years ago
Marcin Kulik 1fd37f0e62 Add 'playing' / 'paused' class to player element 12 years ago
Marcin Kulik 8c68dbf574 Remove old commented code 12 years ago
Marcin Kulik cf55c2db87 Create worker earlier 12 years ago
Marcin Kulik 908ee1fb25 Improve rendering speed on high volume stdout 12 years ago
Marcin Kulik 8506e60b3f Include helper in worker bundle 12 years ago
Marcin Kulik 59567921db Working Web Worker version :) 12 years ago
Marcin Kulik 668f382a69 Fix specs 12 years ago
Marcin Kulik a02fdd7777 Fix 0-based SGR codes parsing 12 years ago
Marcin Kulik 095e262988 Fix record link on ~user page 12 years ago
Marcin Kulik 87ee87f4b7 Improve error message display 12 years ago
Marcin Kulik b1ecbc16c0 Option to disable HUD 12 years ago
Marcin Kulik 4edd5ead9e Play cast on homepage at 2x speed 12 years ago
Marcin Kulik 10f3000860 Put "About" into footer 12 years ago
Marcin Kulik 264b296e0b /connect improvements 12 years ago
Marcin Kulik 06da0da8cb Nicely looking auth buttons 12 years ago
Marcin Kulik 3274bdf7d5 Use h1 header on error page 12 years ago
Marcin Kulik db8319e2b8 Fix typo on homepage 12 years ago
Marcin Kulik fcb95df6c3 Remove obsolete view 12 years ago
Marcin Kulik 657ddab1de Improve situation with markdown parsing 12 years ago
Marcin Kulik 333e063161 Pimp My Docs 12 years ago
Marcin Kulik da53e64585 Get id of asciicast displayed on homepage from CFG 12 years ago
Marcin Kulik 785273707b Proper design, finally! 12 years ago
Marcin Kulik f3b6acf00a Move benchmarking code to player view 12 years ago
Marcin Kulik 789aa3a230 Less frequent time reporter 12 years ago
Marcin Kulik dd3341921d SRP for Movie 12 years ago
Marcin Kulik e001676f21 Normalized event naming 12 years ago
Marcin Kulik d581d4ede1 No prefix for HudView events 12 years ago
Marcin Kulik a58efccd6c No parenthesis 12 years ago
Marcin Kulik f092ad87d2 Decouple all the things 12 years ago
Marcin Kulik 58d5ce3fa5 Fix handling of incomplete OSC codes 12 years ago
Marcin Kulik cdbdb73c14 Make loading/play-prompt overlays semi-transparent 12 years ago
Marcin Kulik 02960a0cdc Properly indent whole multiline comment in email notification 12 years ago
Marcin Kulik a57d05597e Don't crash on comment for asciicast without user 12 years ago
Marcin Kulik adf2b30d8a Make pg happy 12 years ago
Marcin Kulik af44b0c0d1 Get rid of twitter-bootstrap-rails, yay! 12 years ago
Marcin Kulik 38faf7e437 Use heroku style config (based on ENV) 12 years ago
Marcin Kulik 50428b9c66 Unicorn with girl_friday on Heroku 12 years ago
Marcin Kulik 3ac8693358 Merge branch 'rubinius18'
* rubinius18:
  Add puma to bundle
  Make it work on rubinius in 1.8 mode
  Use draper from git
  Don't use twitter bootstrap js bundle
  Update gem dependencies to work on rubinius

Conflicts:
	Gemfile
	Gemfile.lock
12 years ago
Marcin Kulik 69817d16f9 Multi-interpreter, part 1 12 years ago
Marcin Kulik 95cbc4a52f Merge branch 'master' into rubinius18
* master:
  Allow running in production mode on dev machine
  Fix UserMailer to work in 1.8 mode

Conflicts:
	app/views/layouts/application.html.erb
12 years ago
Marcin Kulik 6b53a25f0a Allow running in production mode on dev machine 12 years ago
Marcin Kulik 4b707884ab Fix UserMailer to work in 1.8 mode 12 years ago
Marcin Kulik 72526f3e1d Merge branch 'master' into rubinius
* master:
  Handle wider range of printable unicode characters
12 years ago
Marcin Kulik ea11733882 Handle wider range of printable unicode characters 12 years ago
Marcin Kulik 056074ef04 Make it work on rubinius in 1.8 mode 12 years ago
Marcin Kulik e4a46fe45d Don't use twitter bootstrap js bundle 12 years ago
Marcin Kulik 31b82ad512 Use girl_friday for bg jobs 12 years ago
Marcin Kulik 00d2a6fcc6 Shell out to bzip2 instead of using bzip2-ruby 12 years ago
Marcin Kulik 7b33c31c70 Display snapshot for not started movie 12 years ago
Marcin Kulik 45d6683cd5 Line height in pixels is more stable 12 years ago
Marcin Kulik 458ca6e78b Use height + vertical margin instead of outerHeight for cellHeight 12 years ago
Marcin Kulik bd96a8d722 A little smaller line height should be better though 12 years ago
Marcin Kulik e67ec07562 Larger line-height 12 years ago
Marcin Kulik 6b39eac33f Fix word wrap for terminal pre element 12 years ago
Marcin Kulik 4bb69abdc7 Set proper player width in base renderer 12 years ago
Marcin Kulik 0e9287ea85 Improved setting of player width (fixes hud size) 12 years ago
Marcin Kulik 2814f92074 Fix escaping of HTML entities like &, < and > 12 years ago
Marcin Kulik d57f264f17 Properly set player width
Conflicts:

	app/assets/javascripts/player/renderers/pre.js.coffee
12 years ago
Marcin Kulik 49b7c39aac Handle aixterm color codes (90-97, 100-107) 13 years ago
Marcin Kulik ba97246db8 Time compression 13 years ago
Marcin Kulik 5afa98bb11 Better handling of 404s 13 years ago
Marcin Kulik b84b5489c0 Make SnapshotWorker#cleanup not crash 13 years ago
Marcin Kulik fc8677114d Again, better handling of UTF8 printing 13 years ago
Marcin Kulik 3c86965427 Improve regex for catching printable characters 13 years ago
Marcin Kulik 0d77b843d3 adjustFrameWaitTime in Movie#stop 13 years ago
Marcin Kulik 07eeb1e81b Don't start TimeReporter once again when restarting movie 13 years ago
Marcin Kulik a78678407f Reset terminal when restarting movie 13 years ago
Marcin Kulik 6626f6cefc Updated comment 13 years ago
Marcin Kulik 6b8d45f2b8 Refactor movie loading 13 years ago
Marcin Kulik 4252386501 Separate method for preparing self view in PlayerView 13 years ago
Marcin Kulik 1ccaa5ca31 Structure for PlayerView constructor 13 years ago
Marcin Kulik 5159029aff Don't involve PlayerView in cursor blinking stuff 13 years ago
Marcin Kulik bbdb9b15e5 Whitespace 13 years ago
Marcin Kulik 643926ade3 Same for adding "not-started" class 13 years ago
Marcin Kulik 736c3c87dc showLoadingIndicator directly in constructor 13 years ago
Marcin Kulik 097a3653dd Remove "not-started" class from element when movie "really" starts 13 years ago
Marcin Kulik b15804ef0c PlayerView#createChildViews -> #appendChildViews 13 years ago
Marcin Kulik a8136ee18d Create HudView instance directly in constructor 13 years ago
Marcin Kulik 005400a7ce PlayerView doesn't need VT 13 years ago
Marcin Kulik 9a3d4c20dc No need to pass movie-frame through PlayerView 13 years ago
Marcin Kulik d2da307936 No need for setProgress(100) after movie finished 13 years ago