Marcin Kulik
f15f2e11a5
Avoid making a copy of feed data string
11 years ago
Marcin Kulik
b3da1c0656
Don't crash when stdout data is shorter than expected
11 years ago
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
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
e537c1b78a
Only release terminal if it is not nil
11 years ago
Marcin Kulik
e862acedb7
Animation frames generation on the backend
11 years ago
Marcin Kulik
bc6e1ddc3d
Make implementation of Stdout more readable
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
c3fc452b91
Make Grid#crop easier to read
11 years ago
Marcin Kulik
731fb11e8b
Simplify Grid#trailing_empty_lines implementation
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
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
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
2e9b0a4718
Remove boring empty trailing lines from thumbnails
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
20645271a1
Update models and helpers to use new Rails 4 syntax
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
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
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
2e8fc48473
Set MAX_DELAY constant on model, not decorator
12 years ago
Marcin Kulik
9ac2c49180
Custom scopes for paginated lists
12 years ago
Marcin Kulik
49644ffc68
Validate presence of a model, not id
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
0de8aa76ea
Use fragment caching for thumbnails
12 years ago
Marcin Kulik
668f382a69
Fix specs
12 years ago
Marcin Kulik
87ee87f4b7
Improve error message display
12 years ago
Marcin Kulik
ba97246db8
Time compression
13 years ago
Marcin Kulik
e5ea6488fd
Move asciicast presentation to its decorator
13 years ago
Marcin Kulik
32b2cbed35
Move "created" and "as_json" from Comment to CommentDecorator
13 years ago
Marcin Kulik
149e687f38
Bring back missing user->comments assoc
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
45dd308186
Display comments count
13 years ago
Marcin Kulik
4a6186f523
Account settings
13 years ago
Marcin Kulik
b6473b8554
user->comments association
13 years ago
Marcin Kulik
49c0d9f324
Move presentation to decorator
13 years ago
Marcin Kulik
0cbd732980
Data model for "Like"
13 years ago
Marcin Kulik
8b504d8fea
Use asciicast title in page title
13 years ago
Marcin Kulik
1e2e8bfcc3
Display some environment info
13 years ago
Marcin Kulik
8a9fc6fa89
Editing of title/description
13 years ago
Marcin Kulik
69576f1a0d
Display ~username from asciicast if no profile assigned
13 years ago
Marcin Kulik
b68e02212d
Featured asciicasts
13 years ago
Marcin Kulik
4b6ed33158
Description field for Asciicast
13 years ago
Marcin Kulik
71f8fed196
Fix line length
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
Marcin Kulik
3f798ab7aa
Check code style with cane and tailor
13 years ago
Micha Wrobel
fc53b71ee2
Validate nickname uniquness
13 years ago
Marcin Kulik
a4014b2012
attr_accessible list for Asciicast ( closes #50 )
13 years ago
Marcin Kulik
51dfa8474f
Profile paths: ~sickill
13 years ago
Marcin Kulik
44d6914991
:dependent => :destroy for Asciicast#comments
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
Marcin Kulik
0de5784e68
User#add_user_token
13 years ago
Marcin Kulik
9f51211bc1
Asciicast.assign_user
13 years ago
Marcin Kulik
1ba9067551
User tokens for assigning asciicasts to users
13 years ago
Marcin Kulik
b7807c3f0d
Better styles + pagination
13 years ago
Micha Wrobel
706460e71b
Show time ago in comments
13 years ago
Micha Wrobel
e7f5f57424
Some refactoring, and make possible to remove own comments
13 years ago
Micha Wrobel
9094b8b0b6
Override as_json to include more data
13 years ago
Micha Wrobel
e66ad8b5ed
Add comments association
13 years ago
Micha Wrobel
877a59b365
Protect from mass assignment
13 years ago
Micha Wrobel
70cf1bdc3b
Add comment resource
13 years ago
Marcin Kulik
1062aa3d01
Decompress bzip data in the browser
13 years ago
Marcin Kulik
b3e8fbb7df
Load asciicast data via ajax
13 years ago
Micha Wrobel
d4f127508f
Add nickname column to users
13 years ago
Micha Wrobel
0190c3f049
Add avatar_url column, modify migration file
13 years ago
Micha Wrobel
c374f43f5e
fix key name, and remove unsupported email
13 years ago
Micha Wrobel
f59841abaf
Add user model, and .create_with_omniauth method
13 years ago
Marcin Kulik
268d4b1660
Asciicast#meta=
13 years ago
Marcin Kulik
99a47393ab
Validate presence of stdout/stdout_timing
13 years ago
Marcin Kulik
73b2c07e1b
stdin/stdout as mounted Carrierwave uploader
13 years ago
Marcin Kulik
f35902ad31
rm .gitkeep
13 years ago
Marcin Kulik
c5de80788a
Asciicast model
13 years ago
Marcin Kulik
89a29aadd2
Fresh Rails 3.1 app with DM 1.2 and RSpec 2.7
13 years ago