Commit Graph

91 Commits (041fb81c7eb80c55361fbbad4b9ae2ea855c041e)

Author SHA1 Message Date
Marcin Kulik 0f8cdac4ba Remove old PNG generation code 8 years ago
Marcin Kulik 21ba8ce13c Don't keep default theme name as empty string 8 years ago
Marcin Kulik b373963497 Use new player via <asciinema-player> tag 8 years ago
Marcin Kulik 56cea2fb39 Serve uploads from outside of public dir 9 years ago
Marcin Kulik 442181efe9 Use actual asciicast width and height in example player usage 9 years ago
Marcin Kulik b8f90166c1 Support downloading asciicast JSON file as "attachment" 9 years ago
Marcin Kulik e3c04e1461 Play v1 format by default if available 9 years ago
Marcin Kulik ffe31c5258 Show recent featured asciicasts on homepage 9 years ago
Marcin Kulik 2e3fd29287 "Recency" is a weird word... 9 years ago
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 9 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