Commit Graph

205 Commits

Author SHA1 Message Date
Marcin Kulik
0f8cdac4ba Remove old PNG generation code 2017-04-19 23:59:43 +02:00
Marcin Kulik
21ba8ce13c Don't keep default theme name as empty string 2017-02-15 12:04:35 +00:00
Marcin Kulik
e5b718379d Port preload option to HTML5 element 2016-10-01 21:58:59 +02:00
Marcin Kulik
0e42b82e5d Favor poster from options over precomputed one 2016-10-01 19:32:44 +00:00
Marcin Kulik
b373963497 Use new player via <asciinema-player> tag 2016-10-01 19:31:11 +02:00
Marcin Kulik
4d9c9ff0c5 Auto-adjusting of poster to given t 2016-05-01 17:15:04 +00:00
Marcin Kulik
1a0519a4f7 Preload asciicasts 2016-04-21 13:13:32 +00:00
Marcin Kulik
56cea2fb39 Serve uploads from outside of public dir 2016-04-10 12:29:16 +00:00
Marcin Kulik
442181efe9 Use actual asciicast width and height in example player usage 2016-01-11 16:14:46 +01:00
Marcin Kulik
b8f90166c1 Support downloading asciicast JSON file as "attachment" 2016-01-10 18:42:13 +00:00
Marcin Kulik
1f85e0cb1c Don't imply autoplay when t option set in embed context 2016-01-07 13:41:25 +00:00
Marcin Kulik
e3c04e1461 Play v1 format by default if available 2015-12-22 22:09:20 +00:00
Marcin Kulik
30bdd93460 Make "asciinema" theme a default one 2015-10-18 17:52:11 +02:00
Marcin Kulik
cc13bf755a Add ?t=1:20 param support 2015-10-13 18:38:37 +00:00
Marcin Kulik
a44121eb7b Pass title and author info to the player 2015-10-08 12:43:09 +00:00
Marcin Kulik
b9574e35c3 Add SETI theme 2015-10-05 18:52:56 +02:00
Marcin Kulik
f99eab08b8 Revert "Make SETI a new default theme"
This reverts commit 531a4f1b44.
2015-10-03 17:57:06 +02:00
Marcin Kulik
531a4f1b44 Make SETI a new default theme 2015-10-03 17:39:26 +02:00
Marcin Kulik
ffe31c5258 Show recent featured asciicasts on homepage 2015-07-20 12:27:30 +00:00
Marcin Kulik
2e3fd29287 "Recency" is a weird word... 2015-07-20 12:05:38 +00:00
Marcin Kulik
6e67258990 raise FormatError both when Oj raises and when it returns nil 2015-06-17 14:20:54 +00:00
Marcin Kulik
6530152356 Don't accept asciicasts of 0 width or 0 height 2015-05-18 16:06:14 +00:00
Marcin Kulik
49cfe584ba Use policy scope to decide which asciicasts should be listed 2015-05-15 19:13:37 +00:00
Marcin Kulik
8bb68ad53e Serve original asciicast files from /a/:id.json 2015-05-13 13:46:25 +00:00
Marcin Kulik
7156130d90 Allow everyone to have private asciicasts 2015-05-10 16:40:39 +00:00
Marcin Kulik
2d4a0fbaa1 Log more details about terminal process death 2015-05-08 10:14:19 +00:00
Marcin Kulik
3fe980f209 Validate max values of terminal width and height 2015-05-08 09:52:42 +00:00
Marcin Kulik
69eb52f061 Allow supporters to change asciicast visibility 2015-04-28 11:00:23 +00:00
Marcin Kulik
3f32ee0ef6 No "self" needed here 2015-04-26 13:54:23 +00:00
Marcin Kulik
2c7d549778 Require private asciicasts to be requested via secret token 2015-04-26 13:30:42 +00:00
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.
2015-04-25 10:15:29 +00:00
Marcin Kulik
2c0bfee0cd Filter out private asciicasts on homepage 2015-04-25 10:15:28 +00:00
Marcin Kulik
5dbe2c84c0 UI for toggling asciicasts private/public 2015-04-25 10:15:28 +00:00
Marcin Kulik
a30ee0d082 Allow making asciicasts "private" 2015-04-25 10:15:28 +00:00
Marcin Kulik
ade94029d6 Fail fast when invalid order given 2015-04-24 11:40:28 +00:00
Marcin Kulik
94c39b6441 Limit title/command to 255 chars 2015-04-20 10:43:37 +00:00
Marcin Kulik
67d21b9692 Prevent asciicast upload for revoked tokens 2015-04-04 17:59:58 +00:00
Marcin Kulik
fc9e8a47de Validate client generated tokens - they should be UUID 2015-04-04 17:57:34 +00:00
Marcin Kulik
3ced30b4f0 Null user should be used only for display purposes 2015-04-04 17:38:39 +00:00
Marcin Kulik
e05fbd574f Add ability to revoke recorder tokens 2015-04-03 17:07:38 +00:00
Marcin Kulik
47578b63b1 Refactor handling of auth token for pre 0.9.9 clients 2015-04-03 16:48:37 +00:00
Marcin Kulik
7a321bf2cc Use "display" width in HTML image links 2015-03-27 17:33:50 +00:00
Marcin Kulik
2852248989 Add PNG generation (https://asciinema.org/a/17654.png) 2015-03-27 11:42:14 +00:00
Marcin Kulik
ca09a61b52 Handle invalid asciicast upload 2015-03-23 17:40:11 +01:00
Marcin Kulik
3078b85d71 New concept! Foreign key constraints. On database! 2015-03-11 10:55:54 +01:00
Marcin Kulik
f45ff47737 Read asciicast directly from URL 2015-03-02 10:53:56 +00:00
Marcin Kulik
dad5f40c17 Expose stdout of old and new format asciicasts via Asciicast#stdout 2015-02-28 17:39:31 +00:00
Marcin Kulik
47c222c945 Refuse to accept json file with version != 1 2015-02-27 15:44:15 +00:00
Marcin Kulik
531a2de60f Handle all asciicast attribute building outside of the controller 2015-02-27 14:40:12 +00:00
Marcin Kulik
c6cc9fbdbc Accept version 1 asciicasts 2015-02-27 14:01:12 +00:00