Marcin Kulik
79f8eaf2ed
Fix display of reversed characters in the thumbnails and the preview
11 years ago
Marcin Kulik
82fa03863d
Adjust Snapshot#crop to work on already optimized lines
11 years ago
Marcin Kulik
22f076a366
Add pregenerated snapshot and frames to asciicast factory
11 years ago
Marcin Kulik
ff153fff1a
Make Terminal return already optimized snapshot
11 years ago
Marcin Kulik
0e2c1784c6
Use terminal binary as a base for Terminal
11 years ago
Marcin Kulik
e862acedb7
Animation frames generation on the backend
11 years ago
Marcin Kulik
9e152c3172
Sanitize all characters coming from TSM::Screen#draw
...
It happens that libtsm's screen_draw returns a character that can't be
properly encoded as utf-8. As what we get is only meant to be displayed
and not interpreted we can replace these invalid characters with a
questio mark, which is a common practice for printing invalid chars.
11 years ago
Marcin Kulik
26801d207f
Make Asciicast use BufferedStdout instead of Stdout
11 years ago
Marcin Kulik
6962f49ec0
Fix spec for AsciicastDecorator#thumbnail
11 years ago
Marcin Kulik
b47fa27968
Refactor Snapshot to use Grid under the hood
11 years ago
Marcin Kulik
d324200b01
Add BufferedStdout class whose #each yields at 60 hz tops
11 years ago
Marcin Kulik
c775bc8b06
Use less spans for thumbnail rendering
11 years ago
Marcin Kulik
31a880b7aa
Simplify Snapshot and its presenter
11 years ago
Marcin Kulik
34b39d0db3
Simplify the structure returned by Terminal#snapshot
...
Each screen character is in its own, separate cell now. In addition the char
attributes don't include attributes that are "falsy".
11 years ago
Marcin Kulik
b330f29dcd
Define char encoding for a spec file
11 years ago
Marcin Kulik
731751650c
Keep the lines shorther than 80 chars
11 years ago
Marcin Kulik
cdc2f01753
Find or build user from omniauth hash in the middleware
11 years ago
Marcin Kulik
40856933aa
Support "blink" attribute in the thumbnails
11 years ago
Marcin Kulik
a53c8de5b9
Pass paths to decompressed stdout files to Stdout
11 years ago
Marcin Kulik
13119b2987
Display asciicast length on thumbnails
11 years ago
Marcin Kulik
2e9b0a4718
Remove boring empty trailing lines from thumbnails
11 years ago
Marcin Kulik
6acea6da70
Use tilde prefix for nickname only in profile url
11 years ago
Marcin Kulik
6db65b2a6c
Serve asciicast as JSON in chunks
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
4e5468b54e
Add feature spec for widget
11 years ago
Marcin Kulik
f5e47c3c8c
Add request spec for asciicast upload
11 years ago
Marcin Kulik
9845802180
Use stub_model instead of rspec's double
11 years ago
Marcin Kulik
c22cb1cdcc
Get rid of the asciicast comments that are not used anymore
11 years ago
Marcin Kulik
e1286b407e
Use double instead of mock, stub instead of stub! to make rspec happy
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
5ecf209a53
Add some TODO comments
11 years ago
Marcin Kulik
7d5a544650
Generate thumbnails from JSON snapshot via Snapshot/SnaphotPresenter
11 years ago
Marcin Kulik
148bd47756
Fix feature spec for visiting asciicast page
11 years ago
Marcin Kulik
ddf0e57b39
Update SnapshotWorker to generate colorful snapshots
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
85f93a4490
Add spec for AsciicastSnapshotter
11 years ago
Marcin Kulik
1be93cac63
Use shortcut for #to_html stub on SnapshotPresenter
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
9ef766f16b
Don't require rspec/autorun in spec_helper
...
This is not really needed and conflicts with zeus
11 years ago
Marcin Kulik
50c3a7bca5
Remove the test that validates asciicast factory
11 years ago
Marcin Kulik
0b9ae12feb
Use nice matcher for sidekiq job enqueues
11 years ago
Marcin Kulik
c5509c60b6
Update tests for Sidekiq
11 years ago
Marcin Kulik
2d6b60e027
Fix AsciicastDecorator#embed_script
11 years ago
Marcin Kulik
0f99198a1a
Add spec for asciicasts#show as js
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
847f8a4a3a
Run specs in random order
11 years ago
Marcin Kulik
fbbd182d39
Keep the lines < 80 chars long
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
634d0d5aec
Rename expect_browse_section to expect_browse_links
11 years ago
Marcin Kulik
7659fe722e
Fix UsersController#show
11 years ago
Marcin Kulik
3e2bc439a0
Make sure docs pages are fine
11 years ago
Marcin Kulik
61ac829715
Add missing feature specs
11 years ago
Marcin Kulik
f5a91c680b
Fix draper vs kaminari issue
11 years ago
Marcin Kulik
fcc39cc1cd
Inject factory_girl create/build methods into example groups
11 years ago
Marcin Kulik
6813755280
Use poltergeist as js driver for capybara
11 years ago
Marcin Kulik
f4c9122f74
Clean db before whole suite
11 years ago
Marcin Kulik
dda849a6a6
Generate coverage only when requested
11 years ago
Marcin Kulik
829d476495
Shorter Darwin-like uname
12 years ago
Marcin Kulik
b284781620
Cover all scenatios in asciicasts controller specs
12 years ago
Marcin Kulik
4a9036a9d9
Cover unauthenticated path in user_token controller spec
12 years ago
Marcin Kulik
b4095bd372
Use truncation cleaning strategy only for js tagged specs
12 years ago
Marcin Kulik
c0faca04f0
Namespace ControllerMacros module
12 years ago
Marcin Kulik
a6c06a3ce7
More AsciicastDecorator specs
12 years ago
Marcin Kulik
e236584458
Add explicit routing in ApplicationController spec
12 years ago
Marcin Kulik
edca2027ce
Fix AsciicastsController#destroy spec
12 years ago
Marcin Kulik
26923b64a5
Do not use set_current_view_context for decorator specs
12 years ago
Marcin Kulik
92dde22afe
Use proper verb in SessionsController specs
12 years ago
Marcin Kulik
d0e16853e0
Pass required action params in SessionsController spec
12 years ago
Marcin Kulik
67a182d6ca
Use new FactoryGirl syntax exclusively
12 years ago
Marcin Kulik
dd59b7db32
Update AnsiInterpreter spec to reflect interface change
12 years ago
Marcin Kulik
243bffee82
Additional AnsiInterpreter specs
12 years ago
Marcin Kulik
318fa52d94
Update Brush specs
12 years ago
Marcin Kulik
70b1f27234
"Reverse video" support
12 years ago
Marcin Kulik
454228bc28
More specs for Brush
12 years ago
Marcin Kulik
78ecdcbe76
Remove old obsolete specs
12 years ago
Marcin Kulik
d95da9635a
Update AnsiInterpreter specs to handle new implementation
12 years ago
Marcin Kulik
c201c510e7
Move sgr_interpreter_spec to vt dir
12 years ago
Marcin Kulik
2e06e9d39d
More specs for Brush
12 years ago
Marcin Kulik
fa9d2637a8
Proper specs for SgrInterpreter
12 years ago
Marcin Kulik
1aad013bb3
jasmine config
12 years ago
Marcin Kulik
ab387e6fdf
Use jasmine-rails and jasmine-headless-webkit for headless JS testing
12 years ago
Marcin Kulik
70af02102e
7 more full playback tests
12 years ago
Marcin Kulik
f39dc918f2
Use longer wait time for capybara in playback test
12 years ago
Marcin Kulik
a96c5e381b
Move test helper methods inside the describe block
12 years ago
Marcin Kulik
92a09476e8
Check if playback succeeded in capybara test
12 years ago
Marcin Kulik
26a6979c8e
Visit raw asciicast page
12 years ago
Marcin Kulik
a2ee3b1d10
Cut the lines
12 years ago
Marcin Kulik
0e535b4d43
Integration tests for player page
12 years ago
Marcin Kulik
db4c4a397c
Return 'unknown' as os when uname is empty
12 years ago
Marcin Kulik
668f382a69
Fix specs
12 years ago
Marcin Kulik
785273707b
Proper design, finally!
12 years ago
Marcin Kulik
a57d05597e
Don't crash on comment for asciicast without user
12 years ago
Marcin Kulik
06e7314f23
Fix AsciicastsController spec
12 years ago
Marcin Kulik
347068e064
Tests adjustments for girl_friday
12 years ago
Marcin Kulik
3a7f462b13
Send email to asciicast author when someone comments
13 years ago
Marcin Kulik
0bb3e75fb6
No need for instance variables in CommentsController#create
13 years ago
Marcin Kulik
10b64e08b4
Pending
13 years ago
Marcin Kulik
4549592238
Use "method" naming for describe blocks in controller specs
13 years ago
Marcin Kulik
8398750aab
Specs for StaticPagesController
13 years ago
Marcin Kulik
d6776ee261
Specs for asciicasts_controller
13 years ago
Marcin Kulik
648cf1140b
Move all 404 handling to application_controller
13 years ago
Marcin Kulik
46d0a94dda
Spec for Api::AsciicastsController#create
13 years ago
Marcin Kulik
db3980315a
Decoratos group for simplecov
13 years ago
Marcin Kulik
35817e72d4
Spec for Asciicast#meta=
13 years ago
Marcin Kulik
c0e386ebc2
Simplecov
13 years ago
Marcin Kulik
9ddd44abb5
Move comment specs as comment decorator specs
13 years ago
Marcin Kulik
e26875f68a
Update CommentsController spec
13 years ago
Marcin Kulik
c4b5b16e6f
Merge branch 'likes'
...
* likes:
Data model for "Like"
Conflicts:
app/models/user.rb
db/schema.rb
13 years ago
Marcin Kulik
dccca52c26
Update specs
13 years ago
Marcin Kulik
98d80ae1fd
More specs for home controller
13 years ago
Marcin Kulik
936dac6baa
Markdown in comments
13 years ago
Marcin Kulik
27219f48b7
Thumbnail generation in Sidekiq worker
13 years ago
Marcin Kulik
0cbd732980
Data model for "Like"
13 years ago
Marcin Kulik
e425441c05
Use new factory_girl syntax
13 years ago
Marcin Kulik
0455aeafb7
Fix code style issues in specs
13 years ago
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
13 years ago
Micha Wrobel
d6273d4259
Keep sensitive signup data in session
13 years ago
Micha Wrobel
ffb88b39ce
Add users factory back
13 years ago
Micha Wrobel
43758ede64
rm users factories
13 years ago
Marcin Kulik
3f798ab7aa
Check code style with cane and tailor
13 years ago
Marcin Kulik
a3d12d4a84
Fix typo in filename
13 years ago
Micha Wrobel
7a142927d3
Add view spec for users#new
13 years ago
Micha Wrobel
6b40d9dbc8
Add specs to user#create
13 years ago
Micha Wrobel
fc53b71ee2
Validate nickname uniquness
13 years ago
Marcin Kulik
9e0a6acf55
Spec for #redirect_back_or_to
13 years ago
Marcin Kulik
8216781067
Use store_location in Unauthorized handler
13 years ago
Marcin Kulik
a0041abed1
store_location / get_stored_location
13 years ago
Marcin Kulik
80df89ec84
Fix typo
13 years ago
Marcin Kulik
98d5285a23
Require auth in UserTokensController ( closes #53 )
13 years ago
Marcin Kulik
16d11a1249
Redirect to profile page after claiming ( closes #51 )
13 years ago
Marcin Kulik
11a8c66922
Remove empty helper spec files
13 years ago
Marcin Kulik
4041b31284
Update usage of FactoryGirl to new syntax
13 years ago
Marcin Kulik
51dfa8474f
Profile paths: ~sickill
13 years ago
Marcin Kulik
35af4cf9e7
Home and installation pages
13 years ago
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
13 years ago