Commit Graph

1466 Commits

Author SHA1 Message Date
Marcin Kulik
3fe980f209 Validate max values of terminal width and height 2015-05-08 09:52:42 +00:00
Marcin Kulik
c671a9ca8d Add ability to change default asciicast visibility (public/private) 2015-04-28 13:11:19 +00:00
Marcin Kulik
453d5c75a8 Full name doesn't have to be real 2015-04-28 11:18:11 +00:00
Marcin Kulik
69eb52f061 Allow supporters to change asciicast visibility 2015-04-28 11:00:23 +00:00
Marcin Kulik
946904ddfd Don't test on rbx nor jruby 2015-04-27 13:22:41 +00:00
Marcin Kulik
c6a0ae187b Merge branch 'private-asciicasts' 2015-04-27 15:11:38 +02:00
Marcin Kulik
bd4240587c Allow admin to change asciicast's visibility 2015-04-27 13:10:41 +00:00
Marcin Kulik
84acecfdc0 Use to_param for tmp title when no real title is set 2015-04-27 11:21:36 +00:00
Marcin Kulik
7bba6e66dd Make all assets on S3 private by default 2015-04-27 08:08:46 +00:00
Marcin Kulik
3772da7f63 Ask browsers to not send referrer for external links 2015-04-26 15:55:38 +00:00
Marcin Kulik
dd23c87e09 Fix sending of size message from an iframe 2015-04-26 15:55:33 +00:00
Marcin Kulik
ae95697a9a Add meta tags for hiding referrer on private asciicast pages 2015-04-26 15:09:30 +00:00
Marcin Kulik
c45ee93370 More high level specs for private asciicasts 2015-04-26 14:16:42 +00:00
Marcin Kulik
833c68ad69 Ensure private asciicast doesn't show up on public lists 2015-04-26 13:55:24 +00:00
Marcin Kulik
510f167680 Test for Asciicast.generate_secret_token 2015-04-26 13:55:15 +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
6aeb8810ad Refactor AsciicastPolicy 2015-04-25 18:47:52 +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
7f90d9e4dc Use latest player 2015-04-23 17:40:07 +00:00
Marcin Kulik
318654ef21 Use new player and its new API 2015-04-22 18:55:53 +00:00
Marcin Kulik
c34af6de4c Fix borders, paddings and margins on asciicast page 2015-04-22 15:49:45 +00:00
Marcin Kulik
3097292bd5 Move modal from :last-item position to fix double border at the bottom 2015-04-22 15:22:20 +00:00
Marcin Kulik
06cab0b59f Remove unused CSS 2015-04-22 15:16:20 +00:00
Marcin Kulik
94c39b6441 Limit title/command to 255 chars 2015-04-20 10:43:37 +00:00
Marcin Kulik
bf925c566d Add proper Contact page 2015-04-18 14:02:45 +00:00
Marcin Kulik
e8e4805431 Add contact info to footer 2015-04-16 11:09:49 +00:00
Marcin Kulik
14cbfa432c Use button group instead of dropdown for sorting 2015-04-16 10:41:27 +00:00
Marcin Kulik
fd6f9f2ee9 Activate ApiTokenRegistrator for asciicast upload only 2015-04-16 10:24:29 +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
c0b000b4df Always require authentication for asciicast upload 2015-04-04 17:48:01 +00:00
Marcin Kulik
448f0eb899 Use warden scopes 2015-04-04 17:46:55 +00:00
Marcin Kulik
3af9bfd7c1 Don't profile specs 2015-04-04 17:40:31 +00:00
Marcin Kulik
15d9c92a77 Do regular login in feature specs 2015-04-04 17:39:21 +00:00
Marcin Kulik
3ced30b4f0 Null user should be used only for display purposes 2015-04-04 17:38:39 +00:00
Marcin Kulik
dbc18f9ce6 Don't test XHR scenario as we don't have one anymore 2015-04-04 16:46:33 +00:00
Marcin Kulik
e05fbd574f Add ability to revoke recorder tokens 2015-04-03 17:07:38 +00:00
Marcin Kulik
fd03554e2e Don not auto-register Warden strategies on require 2015-04-03 16:58:40 +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
a719251745 Fix snapshot HTML escaping 2015-04-03 16:04:00 +00:00
Marcin Kulik
8c50e7d1b1 Words 2015-04-01 15:00:13 +00:00
Marcin Kulik
d5ff67c4f5 Fix typo 2015-04-01 14:55:44 +00:00
Marcin Kulik
65349d60cc Be more clear about first login 2015-04-01 14:54:19 +00:00
Marcin Kulik
a80e9a72f0 Link to login form for user's convenience 2015-04-01 09:52:03 +00:00
Marcin Kulik
4747091764 Open image link in new tab
The screenshot has "play button" which tricks people to start playback.
In most cases they don't want to leave the current page, so opening
asciicast link in a new tab seems like the best solution.
2015-03-31 15:39:34 +00:00