Marcin Kulik
38faf7e437
Use heroku style config (based on ENV)
2012-06-09 16:11:29 +02:00
Marcin Kulik
50428b9c66
Unicorn with girl_friday on Heroku
2012-06-09 15:25:43 +02:00
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
2012-06-08 09:12:46 +02:00
Marcin Kulik
69817d16f9
Multi-interpreter, part 1
2012-06-08 09:08:30 +02:00
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
2012-06-08 00:56:00 +02:00
Marcin Kulik
6b53a25f0a
Allow running in production mode on dev machine
2012-06-07 23:58:56 +02:00
Marcin Kulik
4b707884ab
Fix UserMailer to work in 1.8 mode
2012-06-07 23:58:06 +02:00
Marcin Kulik
72526f3e1d
Merge branch 'master' into rubinius
...
* master:
Handle wider range of printable unicode characters
2012-06-07 21:58:19 +02:00
Marcin Kulik
ea11733882
Handle wider range of printable unicode characters
2012-06-07 21:57:40 +02:00
Marcin Kulik
056074ef04
Make it work on rubinius in 1.8 mode
2012-06-07 21:02:30 +02:00
Marcin Kulik
e4a46fe45d
Don't use twitter bootstrap js bundle
2012-06-07 19:16:38 +02:00
Marcin Kulik
31b82ad512
Use girl_friday for bg jobs
2012-06-07 17:35:43 +02:00
Marcin Kulik
00d2a6fcc6
Shell out to bzip2 instead of using bzip2-ruby
2012-06-05 00:29:24 +02:00
Marcin Kulik
7b33c31c70
Display snapshot for not started movie
2012-05-29 22:49:30 +02:00
Marcin Kulik
45d6683cd5
Line height in pixels is more stable
2012-05-29 21:28:25 +02:00
Marcin Kulik
458ca6e78b
Use height + vertical margin instead of outerHeight for cellHeight
2012-05-29 20:59:57 +02:00
Marcin Kulik
bd96a8d722
A little smaller line height should be better though
2012-05-29 00:09:47 +02:00
Marcin Kulik
e67ec07562
Larger line-height
2012-05-28 22:10:31 +02:00
Marcin Kulik
6b39eac33f
Fix word wrap for terminal pre element
2012-05-27 13:59:55 +02:00
Marcin Kulik
4bb69abdc7
Set proper player width in base renderer
2012-05-27 12:10:58 +02:00
Marcin Kulik
0e9287ea85
Improved setting of player width (fixes hud size)
2012-05-27 11:34:29 +02:00
Marcin Kulik
2814f92074
Fix escaping of HTML entities like &, < and >
2012-05-27 11:19:54 +02:00
Marcin Kulik
d57f264f17
Properly set player width
...
Conflicts:
app/assets/javascripts/player/renderers/pre.js.coffee
2012-05-27 10:27:03 +02:00
Marcin Kulik
49b7c39aac
Handle aixterm color codes (90-97, 100-107)
2012-05-08 15:19:56 +02:00
Marcin Kulik
ba97246db8
Time compression
2012-05-04 21:49:08 +02:00
Marcin Kulik
5afa98bb11
Better handling of 404s
2012-04-29 10:47:33 +02:00
Marcin Kulik
b84b5489c0
Make SnapshotWorker#cleanup not crash
2012-04-29 10:37:50 +02:00
Marcin Kulik
fc8677114d
Again, better handling of UTF8 printing
2012-04-28 19:49:46 +02:00
Marcin Kulik
3c86965427
Improve regex for catching printable characters
2012-04-27 23:12:41 +02:00
Marcin Kulik
0d77b843d3
adjustFrameWaitTime in Movie#stop
2012-04-15 21:11:25 +02:00
Marcin Kulik
07eeb1e81b
Don't start TimeReporter once again when restarting movie
2012-04-15 20:21:01 +02:00
Marcin Kulik
a78678407f
Reset terminal when restarting movie
2012-04-15 20:18:17 +02:00
Marcin Kulik
6626f6cefc
Updated comment
2012-04-15 20:16:16 +02:00
Marcin Kulik
6b8d45f2b8
Refactor movie loading
2012-04-15 20:14:41 +02:00
Marcin Kulik
4252386501
Separate method for preparing self view in PlayerView
2012-04-15 20:08:17 +02:00
Marcin Kulik
1ccaa5ca31
Structure for PlayerView constructor
2012-04-15 20:07:16 +02:00
Marcin Kulik
5159029aff
Don't involve PlayerView in cursor blinking stuff
2012-04-15 19:55:58 +02:00
Marcin Kulik
bbdb9b15e5
Whitespace
2012-04-15 19:42:39 +02:00
Marcin Kulik
643926ade3
Same for adding "not-started" class
2012-04-15 19:42:25 +02:00
Marcin Kulik
736c3c87dc
showLoadingIndicator directly in constructor
2012-04-15 19:38:37 +02:00
Marcin Kulik
097a3653dd
Remove "not-started" class from element when movie "really" starts
2012-04-15 19:37:23 +02:00
Marcin Kulik
b15804ef0c
PlayerView#createChildViews -> #appendChildViews
2012-04-15 19:22:37 +02:00
Marcin Kulik
a8136ee18d
Create HudView instance directly in constructor
2012-04-15 19:20:44 +02:00
Marcin Kulik
005400a7ce
PlayerView doesn't need VT
2012-04-15 19:17:28 +02:00
Marcin Kulik
9a3d4c20dc
No need to pass movie-frame through PlayerView
2012-04-15 19:14:06 +02:00
Marcin Kulik
d2da307936
No need for setProgress(100) after movie finished
2012-04-15 18:55:19 +02:00
Marcin Kulik
6b8a80c823
Merge branch 'seeking'
...
* seeking:
Progress arrow with proper length
Hacky version of "seeking"
Seeking prototype
2012-04-15 17:14:21 +02:00
Marcin Kulik
6b2abebbf6
Progress arrow with proper length
2012-04-15 16:43:27 +02:00
Marcin Kulik
46e14dcbae
Hacky version of "seeking"
2012-04-15 16:03:31 +02:00
Marcin Kulik
a6664dc97f
Add fallback base64 codec for crippled browsers
2012-04-15 01:34:35 +02:00
Marcin Kulik
6fda6e4913
WebWorker via Sprockets
2012-04-15 01:11:26 +02:00
Marcin Kulik
ccf5576ed9
Seeking prototype
2012-04-15 00:32:29 +02:00
Marcin Kulik
7687449273
Largely improved pausing
2012-04-14 23:15:51 +02:00
Marcin Kulik
17dd692989
Use Math.floor instead of toFixed
2012-04-14 18:39:41 +02:00
Marcin Kulik
4d1afcf01a
Use Base64 for encoding asciicast data during transfer
2012-04-14 00:45:25 +02:00
Marcin Kulik
cbc845a2ef
Revert "Decompress stdout data on server side"
...
This reverts commit dda0d56fb7
.
2012-04-14 00:29:59 +02:00
Marcin Kulik
dda0d56fb7
Decompress stdout data on server side
2012-04-13 22:46:11 +02:00
Marcin Kulik
dc626d5cf2
Better From header in UserMailer
2012-04-12 16:56:02 +02:00
Marcin Kulik
3a7f462b13
Send email to asciicast author when someone comments
2012-04-12 15:49:20 +02:00
Marcin Kulik
0bb3e75fb6
No need for instance variables in CommentsController#create
2012-04-12 14:47:53 +02:00
Marcin Kulik
4138deffd6
Process up to 100 frames without a break
2012-04-11 21:48:27 +02:00
Marcin Kulik
8398750aab
Specs for StaticPagesController
2012-04-09 23:50:28 +02:00
Marcin Kulik
648cf1140b
Move all 404 handling to application_controller
2012-04-09 22:56:26 +02:00
Marcin Kulik
e5ea6488fd
Move asciicast presentation to its decorator
2012-04-09 19:47:19 +02:00
Marcin Kulik
9ddd44abb5
Move comment specs as comment decorator specs
2012-04-09 18:22:46 +02:00
Marcin Kulik
0a09204525
Consistent "time ago" display for asciicasts and comments
2012-04-09 17:21:46 +02:00
Marcin Kulik
32b2cbed35
Move "created" and "as_json" from Comment to CommentDecorator
2012-04-09 17:16:41 +02:00
Marcin Kulik
149e687f38
Bring back missing user->comments assoc
2012-04-09 17:04:58 +02:00
Marcin Kulik
c4b5b16e6f
Merge branch 'likes'
...
* likes:
Data model for "Like"
Conflicts:
app/models/user.rb
db/schema.rb
2012-04-09 17:03:50 +02:00
Marcin Kulik
45dd308186
Display comments count
2012-04-09 16:46:08 +02:00
Marcin Kulik
f4856407c1
Comment#destroy instead of #delete
2012-04-09 16:33:29 +02:00
Marcin Kulik
dccca52c26
Update specs
2012-04-09 15:56:26 +02:00
Marcin Kulik
4a6186f523
Account settings
2012-04-09 15:47:33 +02:00
Marcin Kulik
4daedc7235
Fix handling of OSC seq terminated by ESC\
2012-04-09 12:55:07 +02:00
Marcin Kulik
4bf95a1383
Fix handling of DCS sequences
2012-04-09 12:50:25 +02:00
Marcin Kulik
98d80ae1fd
More specs for home controller
2012-04-07 11:13:43 +02:00
Shannen Saez
202c87178f
Removed favicon links because they don't exist.
2012-04-07 18:20:21 +10:00
Marcin Kulik
6334dfde06
Get rid of jquery-linkify.js
2012-04-07 00:06:00 +02:00
Marcin Kulik
2a71c08e5f
Show info about github flavored md under comment box
2012-04-07 00:01:34 +02:00
Marcin Kulik
936dac6baa
Markdown in comments
2012-04-06 23:46:44 +02:00
Marcin Kulik
06fcbf65c4
Clean up comments_index
2012-04-06 23:08:36 +02:00
Marcin Kulik
7d762b045d
Use decorator also for user's asciicasts collection
2012-04-06 23:01:38 +02:00
Marcin Kulik
b6473b8554
user->comments association
2012-04-06 22:58:44 +02:00
Marcin Kulik
4cc0cb31a6
Use decorator for asciicast on homepage
2012-04-06 22:36:08 +02:00
Marcin Kulik
e84f1eb349
Don't need recent casts any more on homepage
2012-04-06 22:35:09 +02:00
Marcin Kulik
4ff8ab30f8
Example thumbnail view
2012-04-06 22:20:28 +02:00
Marcin Kulik
af43a2177e
Allow for specifying thumbnail size
2012-04-06 22:20:04 +02:00
Marcin Kulik
7c635ed7db
Don't crash when no snapshot available
2012-04-06 21:53:54 +02:00
Marcin Kulik
49c0d9f324
Move presentation to decorator
2012-04-06 21:51:05 +02:00
Marcin Kulik
70a44f5ba3
Fix fetching cast data via ajax
2012-04-06 21:10:59 +02:00
Marcin Kulik
27219f48b7
Thumbnail generation in Sidekiq worker
2012-04-06 20:53:04 +02:00
Marcin Kulik
da7a9532df
Sidekiq for background jobs
2012-04-06 20:50:16 +02:00
Marcin Kulik
da3ec8aca1
Prototype of thumbnail generation
2012-04-06 20:50:16 +02:00
Marcin Kulik
0cbd732980
Data model for "Like"
2012-04-06 14:06:40 +02:00
Marcin Kulik
bd85ecda47
Add console-shim for crippled browsers
2012-04-06 13:33:43 +02:00
Marcin Kulik
e26dd20385
Improved scroll region handling
2012-04-06 13:14:37 +02:00
Marcin Kulik
778f2281c8
Handle incorrect values when setting cursor position
2012-04-06 13:14:02 +02:00
Marcin Kulik
9e9e3f2662
Use block helper for markdown blocks
2012-04-05 22:30:57 +02:00
Marcin Kulik
8b504d8fea
Use asciicast title in page title
2012-04-05 21:35:21 +02:00
Marcin Kulik
1e2e8bfcc3
Display some environment info
2012-04-04 18:41:17 +02:00
Marcin Kulik
5cccd7c24b
Hyperlink URLs in title and description
2012-04-04 16:52:05 +02:00
Marcin Kulik
dd6eeb36ee
Merge pull request #62 from sickill/webworker
...
Use Web Worker for bz2 decoding
2012-04-04 01:17:45 -07:00
Marcin Kulik
1409c58cff
Fix Brush#fgColor/bgColor (fixes text color in canvas renderer)
2012-04-03 22:44:36 +02:00
Marcin Kulik
cddfa61dae
Autofocus correct field when editing asciicast
2012-04-03 21:15:44 +02:00
Marcin Kulik
8a9fc6fa89
Editing of title/description
2012-04-03 20:47:59 +02:00
Marcin Kulik
e28aa23e68
Edit title/desc links
2012-04-03 20:20:48 +02:00
Marcin Kulik
2039022f1c
Reformat erb
2012-04-03 20:07:13 +02:00
Marcin Kulik
ebcd3d43a6
Ability to delete your asciicast
2012-04-03 19:57:47 +02:00
Marcin Kulik
d7ebfac783
Reformat js
2012-04-03 19:38:36 +02:00
Marcin Kulik
b56d57c14d
Display ~username on asciicasts list
2012-04-03 19:10:44 +02:00
Marcin Kulik
69576f1a0d
Display ~username from asciicast if no profile assigned
2012-04-03 19:06:05 +02:00
Micha Wrobel
eb9251327f
Use Web Worker for bz2 decoding if possible
2012-04-03 18:21:27 +02:00
Marcin Kulik
ef86decdc0
More info in "What?" section
2012-04-03 12:13:05 +02:00
Marcin Kulik
88724d0e31
Useful links in heading
2012-04-03 11:58:59 +02:00
Marcin Kulik
5314d6baa5
Use color 0 as default fg color
2012-04-02 21:25:24 +02:00
Marcin Kulik
87b8f93e48
New, "old-school" hud
2012-04-02 21:04:11 +02:00
Marcin Kulik
e2eb708d06
Allow selecting (and copying) text in terminal view
2012-04-02 19:25:13 +02:00
Marcin Kulik
0aba1ba99a
Prefer github login over twitter
2012-04-02 19:15:13 +02:00
Marcin Kulik
6c73f63037
Wrap featured asciicast in dedicated div
2012-04-02 19:11:51 +02:00
Marcin Kulik
c85204bf6a
Remove random descriptions
2012-04-02 19:02:29 +02:00
Marcin Kulik
6b6d7a0c0c
Mention ~sickill profile in "Use it"
2012-04-02 18:53:04 +02:00
Marcin Kulik
e192f1d8cc
Homepage improvements
2012-04-02 18:46:47 +02:00
Marcin Kulik
1d9bded8ef
Move player overlays one level up
2012-03-22 21:27:05 +01:00
Marcin Kulik
8f23d94eaa
Remove logging
2012-03-17 21:35:01 +01:00
Marcin Kulik
ade4219458
Proper cursor blinking in canvas renderer
2012-03-17 21:31:25 +01:00
Marcin Kulik
38a68daa0f
Greatly improved cancas renderer
2012-03-17 20:33:01 +01:00
Marcin Kulik
850944cece
Fix cursor display in "pre" renderer
2012-03-16 21:14:20 +01:00
Marcin Kulik
1b2897573e
Merge branch 'bm'
...
* bm:
speed and benchmark options for movie
2012-03-16 20:47:45 +01:00
Marcin Kulik
1b49dceab9
speed and benchmark options for movie
2012-03-16 20:43:32 +01:00
Marcin Kulik
282511b60e
Move changed fragments detection to ScreenBuffer
2012-03-16 20:18:15 +01:00
Marcin Kulik
1e4864e51e
Use proper textBaseline in canvas renderer
2012-03-15 21:37:48 +01:00
Marcin Kulik
501c989c8a
Experimental canvas renderer
2012-03-15 09:53:26 +01:00
Marcin Kulik
b7d9547cdf
Fix setting of scroll region
2012-03-13 23:29:42 +01:00
Marcin Kulik
ca38cc20e7
Bind to events after movie is loaded
2012-03-13 21:36:35 +01:00
Marcin Kulik
7f019e6918
es5-shim for crippled browsers
2012-03-13 20:41:42 +01:00
Marcin Kulik
2369dd38c6
Improved header on ~profile page
2012-03-11 17:02:52 +01:00
Marcin Kulik
fddd33b37d
Italicize proper thing
2012-03-11 16:16:08 +01:00
Marcin Kulik
2bf3030755
Improved look of asciicast previews
2012-03-11 16:12:49 +01:00
Marcin Kulik
5ef241afff
More info in preview
2012-03-11 16:06:01 +01:00
Marcin Kulik
78488de405
Browse page header
2012-03-11 15:57:37 +01:00
Marcin Kulik
545adb3721
Only 5 recent on homepage
2012-03-11 15:44:06 +01:00
Marcin Kulik
cb0a605bfe
Homepage improvements
2012-03-11 15:38:12 +01:00
Marcin Kulik
b68e02212d
Featured asciicasts
2012-03-11 15:29:31 +01:00
Marcin Kulik
305b948576
Updated installation instructions
2012-03-11 14:53:22 +01:00
Marcin Kulik
4b6ed33158
Description field for Asciicast
2012-03-11 14:44:01 +01:00
Marcin Kulik
0ea7e6dbb0
Process descriptions with markdown
2012-03-11 14:38:37 +01:00
Marcin Kulik
60d32ca2d3
Use goToNextRowFirstColumn instead of manually changing cursor pos
2012-03-11 14:23:01 +01:00
Marcin Kulik
ba5acf4012
Update all changed lines in ScreenBuffer#print
2012-03-11 13:35:33 +01:00
Marcin Kulik
66b153c2d2
Installation instruction
2012-03-11 12:40:32 +01:00
Marcin Kulik
3c9d6a8062
Fix Movie#isPaused
2012-03-11 10:39:20 +01:00
Marcin Kulik
306c1619ab
Pr0 play button
2012-03-11 10:30:21 +01:00
Marcin Kulik
71f8fed196
Fix line length
2012-03-11 09:23:29 +01:00
Marcin Kulik
61b3890a3d
Merge remote-tracking branch 'origin/unique-nickname'
...
* origin/unique-nickname:
Keep sensitive signup data in session
Add users factory back
rm users factories
Add view spec for users#new
Add specs to user#create
Validate nickname uniquness
Conflicts:
Gemfile
Gemfile.lock
2012-03-10 18:30:33 +01:00
Marcin Kulik
81b06178fd
Display asciicast example on homepage
2012-03-10 17:57:35 +01:00
Marcin Kulik
97fe0cb3ff
Move player to partial
2012-03-10 17:45:06 +01:00
Marcin Kulik
085a678479
overflow: hidden for terminal element
2012-03-10 17:24:40 +01:00
Micha Wrobel
d6273d4259
Keep sensitive signup data in session
2012-03-10 14:58:10 +01:00
Marcin Kulik
029631df6d
Random description for asciicast
2012-03-10 14:56:43 +01:00
Marcin Kulik
6b8a9e8610
Profile links with tilde
2012-03-10 14:56:25 +01:00
Marcin Kulik
2e678714d4
Get brush with #getBrush
2012-03-10 14:55:57 +01:00
Marcin Kulik
6037903f1c
Use twitter bootstrap
2012-03-10 14:55:37 +01:00
Marcin Kulik
3f798ab7aa
Check code style with cane and tailor
2012-03-08 15:00:10 +01:00
Micha Wrobel
6b40d9dbc8
Add specs to user#create
2012-03-06 23:04:35 +01:00
Micha Wrobel
fc53b71ee2
Validate nickname uniquness
2012-03-06 22:39:16 +01:00
Marcin Kulik
a4014b2012
attr_accessible list for Asciicast ( closes #50 )
2012-03-06 22:10:58 +01:00
Marcin Kulik
119622f57b
Remove TODO comment
2012-03-06 22:10:46 +01:00
Marcin Kulik
9e0a6acf55
Spec for #redirect_back_or_to
2012-03-06 22:03:12 +01:00
Marcin Kulik
deaf42edad
ApplicationController#redirect_back_or_to
2012-03-06 21:46:05 +01:00
Marcin Kulik
8216781067
Use store_location in Unauthorized handler
2012-03-06 21:29:07 +01:00
Marcin Kulik
a0041abed1
store_location / get_stored_location
2012-03-06 21:28:32 +01:00
Marcin Kulik
80df89ec84
Fix typo
2012-03-06 21:27:17 +01:00
Marcin Kulik
98d5285a23
Require auth in UserTokensController ( closes #53 )
2012-03-06 19:51:40 +01:00
Marcin Kulik
16d11a1249
Redirect to profile page after claiming ( closes #51 )
2012-03-06 19:44:27 +01:00
Marcin Kulik
c976c567d7
Loading indicator
2012-03-05 22:52:14 +01:00
Marcin Kulik
830c39d2fb
Fix path for asciicasts json data
2012-03-05 22:51:48 +01:00
Marcin Kulik
f914a97308
Airbrake/Errbit
2012-03-04 23:49:13 +01:00
Marcin Kulik
c3326e4b16
Browse path
2012-03-04 23:44:36 +01:00
Marcin Kulik
6660efe8a7
collection is not needed in CommentEntry view
2012-03-04 23:09:06 +01:00
Marcin Kulik
51dfa8474f
Profile paths: ~sickill
2012-03-04 23:07:45 +01:00
Marcin Kulik
35af4cf9e7
Home and installation pages
2012-03-04 22:44:04 +01:00
Marcin Kulik
44d6914991
:dependent => :destroy for Asciicast#comments
2012-03-04 21:55:45 +01:00
Marcin Kulik
ad9542d124
Store files in tmp in specs
2012-03-04 21:54:31 +01:00
Marcin Kulik
ebf0383e99
Fix comment routes
2012-03-04 21:26:22 +01:00
Marcin Kulik
c4f40322ed
Merge branch 'master' into comments
...
* master:
Display asciicast author and creation time
Claiming asciicasts
User#add_user_token
Asciicast.assign_user
User tokens for assigning asciicasts to users
Better styles + pagination
Conflicts:
app/models/asciicast.rb
db/schema.rb
spec/factories/asciicasts.rb
spec/factories/users.rb
2012-03-04 21:14:35 +01:00
Marcin Kulik
66db199aab
Display asciicast author and creation time
2012-03-04 20:59:53 +01:00
Marcin Kulik
9e59b19c16
Claiming asciicasts
2012-03-04 20:30:26 +01:00
Marcin Kulik
0de5784e68
User#add_user_token
2012-03-04 20:29:19 +01:00
Marcin Kulik
9f51211bc1
Asciicast.assign_user
2012-03-04 20:28:30 +01:00
Marcin Kulik
1ba9067551
User tokens for assigning asciicasts to users
2012-03-04 18:14:58 +01:00
Micha Wrobel
5ad02c8610
Remove wrong route
2012-03-04 16:48:24 +01:00
Micha Wrobel
a2d1b1a15f
Simplify comments_index.js
2012-03-04 16:13:01 +01:00
Micha Wrobel
ea62987c06
Fix typo
2012-03-04 15:54:25 +01:00
Micha Wrobel
5d52be2bae
Add Forbiden Exception and refactor existing actions
2012-03-04 15:26:05 +01:00
Marcin Kulik
b7807c3f0d
Better styles + pagination
2012-03-04 15:18:09 +01:00
Micha Wrobel
4f47f0a7fc
Add specs for destroy
2012-03-04 14:37:30 +01:00
Micha Wrobel
e7567848d3
Url is defined after initialization
2012-03-04 13:54:42 +01:00
Micha Wrobel
712410a3e7
Remove not used leavings
2012-03-04 13:51:53 +01:00
Micha Wrobel
706460e71b
Show time ago in comments
2012-03-04 13:50:57 +01:00
Micha Wrobel
e7f5f57424
Some refactoring, and make possible to remove own comments
2012-03-04 13:50:56 +01:00
Micha Wrobel
9a190cf474
Don't show comment form if user not logged in
2012-03-04 13:50:56 +01:00