Commit Graph

1503 Commits

Author SHA1 Message Date
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
Marcin Kulik
875112caac Words 2015-03-31 17:36:33 +02:00
Marcin Kulik
d6ddcf029d Update "Embedding" docs 2015-03-31 14:36:03 +00:00
Marcin Kulik
f9da63be3b Make docs templates the real markdown files 2015-03-31 13:07:22 +02:00
Marcin Kulik
689255edf1 Add Twitter card meta tags 2015-03-30 20:08:15 +00:00
Marcin Kulik
537846e372 Use text-only description in Open Graph tags 2015-03-30 17:54:43 +00:00
Marcin Kulik
724b79c371 Refactor image size part of screenshot generator 2015-03-30 16:41:45 +00:00
Marcin Kulik
7765c157c3 Use pre-redirect URL for thumbnail 2015-03-30 16:26:22 +00:00
Marcin Kulik
77ea5809f5 Add Open Graph meta tags 2015-03-30 16:23:58 +00:00
Marcin Kulik
3c76b79683 There's no such thing as Asciinema, only asciinema 2015-03-30 16:22:38 +00:00
Marcin Kulik
3abad5023f Test screenshot pixel values separately, outside of request/controller 2015-03-30 15:49:08 +00:00
Marcin Kulik
04004c490d Ensure thumbnail image size is known before generating oEmbed response 2015-03-30 10:33:45 +00:00
Marcin Kulik
871745cc6c "Generator" is a better name here 2015-03-30 10:27:59 +00:00
Marcin Kulik
08749dd32d Move html rendering to image updater 2015-03-30 10:23:58 +00:00