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
Marcin Kulik
3809191a7c
Remove duplicated association defs
2015-02-26 13:11:22 +00:00
Marcin Kulik
c9ccc1b066
Add ability to set custom thumbnail frame time
2014-11-27 12:30:08 +00:00
Marcin Kulik
e9f4ed1f61
Accept api token as http basic auth password
2014-10-25 20:53:12 +02:00
Marcin Kulik
0cd4559f5a
Log in by email without Persona
2014-10-17 20:24:22 +02:00
Marcin Kulik
bf54046836
Link to anonymous users profiles
2014-10-05 19:53:00 +02:00
Marcin Kulik
9064a37e24
Validate email format
2014-10-05 18:26:30 +02:00
Marcin Kulik
ca156564f5
Don't use "dummy" anywhere
2014-10-05 18:25:49 +02:00
Marcin Kulik
c4a4961553
Introduce ExpiringToken, a base for future authentication
2014-10-05 17:58:05 +02:00
Marcin Kulik
e06e72676e
Drop "dummy" from users, replace it with temporary_username
2014-10-05 17:47:42 +02:00
Marcin Kulik
956975db38
Fix User.for_email to never return dummy users without email
2014-09-23 19:05:14 +02:00
Marcin Kulik
130948ae3f
Upgrate to Rails 4.1.5
2014-08-30 20:10:49 +02:00
Marcin Kulik
26cb260b41
Add "loop" option for embedded player
2014-08-09 13:10:07 +02:00
Marcin Kulik
560e11f24e
Introduce admin
2014-07-05 14:59:42 +02:00
Marcin Kulik
6bb5f39f8b
Add theme changing for whole user profile and single asciicast
2014-07-01 21:33:50 +02:00
Marcin Kulik
14648f11b7
Add ability to override theme via url param
2014-06-30 19:30:18 +02:00
Marcin Kulik
b6a23222d7
Integrate new React.js-based player
2014-06-24 20:49:26 +02:00
Marcin Kulik
ace357187c
Well, 2 letter usernames are fine too
2014-04-10 22:22:33 +02:00
Marcin Kulik
a6bb7bf5ba
Allow capital letters in usernames
2014-04-10 22:14:20 +02:00
Marcin Kulik
698767ad82
Validate username format
2014-04-10 22:03:21 +02:00