Marcin Kulik
e1f54f697e
Fix specs
2015-05-10 19:24:46 +00:00
Marcin Kulik
e7e71644d4
Make it clear listed asciicasts are public
2015-05-10 19:15:43 +00:00
Marcin Kulik
26be8c5227
Display "untitled" for untitled private asciicasts
2015-05-10 17:03:36 +00:00
Marcin Kulik
740cb439af
Remove example doc
2015-05-10 16:52:40 +00:00
Marcin Kulik
5efb3d5787
Make all asciicasts private by default
2015-05-10 16:46:25 +00:00
Marcin Kulik
7156130d90
Allow everyone to have private asciicasts
2015-05-10 16:40:39 +00:00
Marcin Kulik
bffc76faa9
Use "null" user in policies
2015-05-08 10:19:52 +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
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