Marcin Kulik
6530152356
Don't accept asciicasts of 0 width or 0 height
9 years ago
Marcin Kulik
49cfe584ba
Use policy scope to decide which asciicasts should be listed
9 years ago
Marcin Kulik
8bb68ad53e
Serve original asciicast files from /a/:id.json
9 years ago
Marcin Kulik
3fe980f209
Validate max values of terminal width and height
10 years ago
Marcin Kulik
3f32ee0ef6
No "self" needed here
10 years ago
Marcin Kulik
2c7d549778
Require private asciicasts to be requested via secret token
10 years ago
Marcin Kulik
6bc2fd1048
Pad secret token correctly
...
After converting base 16 (hex) string of length 16 to integer and then to
base 36 we can end up with a shorter string due to implicit zeroes on
leading positions in the intermediate integer. This ensures
"00000000000000000000000000000000", "ffffffffffffffffffffffffffffffff"
and everything in between result in a string of length 25 after converting to
base 36.
10 years ago
Marcin Kulik
2c0bfee0cd
Filter out private asciicasts on homepage
10 years ago
Marcin Kulik
5dbe2c84c0
UI for toggling asciicasts private/public
10 years ago
Marcin Kulik
a30ee0d082
Allow making asciicasts "private"
10 years ago
Marcin Kulik
ade94029d6
Fail fast when invalid order given
10 years ago
Marcin Kulik
94c39b6441
Limit title/command to 255 chars
10 years ago
Marcin Kulik
3ced30b4f0
Null user should be used only for display purposes
10 years ago
Marcin Kulik
7a321bf2cc
Use "display" width in HTML image links
10 years ago
Marcin Kulik
2852248989
Add PNG generation ( https://asciinema.org/a/17654.png )
10 years ago
Marcin Kulik
3078b85d71
New concept! Foreign key constraints. On database!
10 years ago
Marcin Kulik
f45ff47737
Read asciicast directly from URL
10 years ago
Marcin Kulik
dad5f40c17
Expose stdout of old and new format asciicasts via Asciicast#stdout
10 years ago
Marcin Kulik
c6cc9fbdbc
Accept version 1 asciicasts
10 years ago
Marcin Kulik
c9ccc1b066
Add ability to set custom thumbnail frame time
10 years ago
Marcin Kulik
e06e72676e
Drop "dummy" from users, replace it with temporary_username
10 years ago
Marcin Kulik
130948ae3f
Upgrate to Rails 4.1.5
10 years ago
Marcin Kulik
560e11f24e
Introduce admin
10 years ago
Marcin Kulik
6bb5f39f8b
Add theme changing for whole user profile and single asciicast
10 years ago
Marcin Kulik
83df37f48b
Refactor Asciicast#user
11 years ago
Marcin Kulik
94817be1b3
Rename nickname to username
11 years ago
Marcin Kulik
81c8340bc1
Drop unused columns from asciicasts table
11 years ago
Marcin Kulik
24bad5e628
Use strong_parameters instead of protected_attributes
11 years ago
Marcin Kulik
5db7506823
Make "default legacy" asciicast user a dummy one
11 years ago
Marcin Kulik
d571be2bbd
Introduce AsciicastListPresenter
11 years ago
Marcin Kulik
e2e117ce84
Refactor profile link helpers and decorators
11 years ago
Marcin Kulik
9b80151511
Randomize "featured" and "other by user" lists
11 years ago
Marcin Kulik
2dbc811caf
Fix the condition for displaying edit/delete links
11 years ago
Marcin Kulik
100273f5bf
Update browse page to new layout and add sorting
11 years ago
Marcin Kulik
c0473dc217
Redesign homepage (and layout in general)
11 years ago
Marcin Kulik
d71da5b369
Move asciicast attributes preparation to AsciicastAttributes
11 years ago
Marcin Kulik
32a2f44eb6
Move user token creation/assignment to a service object
11 years ago
Marcin Kulik
ee636bf958
Update the player to use backend-generated JSON frames
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
26801d207f
Make Asciicast use BufferedStdout instead of Stdout
11 years ago
Marcin Kulik
a53c8de5b9
Pass paths to decompressed stdout files to Stdout
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
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
d93ac84c21
Refactor AsciicastDecorator#thumbnail to render colorful thumbnail
11 years ago