Commit Graph

368 Commits

Author SHA1 Message Date
Marcin Kulik
7254b1d099 Fix oEmbed endpoint when only one of maxwidth/maxheight given 2015-06-16 18:53:40 +00:00
Marcin Kulik
939137cff6 Don't rely on external resources (gravatar) in integration tests 2015-05-25 19:10:08 +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
af4ef06e56 Remove obsolete JS tests 2015-05-13 10:51:06 +00:00
Marcin Kulik
9da6892a9c Fix "processing" page for private asciicasts 2015-05-13 10:43:49 +00:00
Marcin Kulik
e1f54f697e Fix specs 2015-05-10 19:24:46 +00:00
Marcin Kulik
7156130d90 Allow everyone to have private asciicasts 2015-05-10 16:40:39 +00:00
Marcin Kulik
c671a9ca8d Add ability to change default asciicast visibility (public/private) 2015-04-28 13:11:19 +00:00
Marcin Kulik
69eb52f061 Allow supporters to change asciicast visibility 2015-04-28 11:00:23 +00:00
Marcin Kulik
bd4240587c Allow admin to change asciicast's visibility 2015-04-27 13:10:41 +00:00
Marcin Kulik
dd23c87e09 Fix sending of size message from an iframe 2015-04-26 15:55:33 +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
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
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
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
47578b63b1 Refactor handling of auth token for pre 0.9.9 clients 2015-04-03 16:48:37 +00:00
Marcin Kulik
3abad5023f Test screenshot pixel values separately, outside of request/controller 2015-03-30 15:49:08 +00:00
Marcin Kulik
7d199ad416 Make routes AsciicastPagePresenter's dependency 2015-03-30 10:02:21 +00:00
Marcin Kulik
0930e5fa23 Add oEmbed endpoint 2015-03-29 18:19:18 +00:00
Marcin Kulik
b619302e3e Refactor PNG generation 2015-03-29 14:15:05 +00:00
Marcin Kulik
78f0f9248c Don't run screenshot test on environments without phantomjs 2.0+ 2015-03-27 12:34:22 +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
2bd7bca951 Make test headers building more concise 2015-03-23 17:20:11 +01:00
Marcin Kulik
072ac32e90 Use latest coveralls gem 2015-03-06 10:37:42 +00:00
Marcin Kulik
770571d0bd Remove unused fixtures 2015-02-28 18:01:59 +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
8f56d019ec Build new format asciicast by default 2015-02-28 16:54:51 +00:00
Marcin Kulik
93075508c2 Prevent rounding errors during JSON serialization/deserialization in tests 2015-02-27 14:50:31 +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
78a2ba9ea9 Lookup asciicast creator on controller level 2015-02-26 16:17:11 +00:00
Marcin Kulik
87d60054cf Support all (old) variations of asciicast upload API 2015-02-26 13:14:32 +00:00
Marcin Kulik
527abc03b5 Allow embedding the same asciicast multiple times on a single page 2014-12-23 17:27:33 +00:00
Marcin Kulik
e5f307cbbc Fix feature specs for doc pages 2014-12-17 15:25:13 +00:00
Marcin Kulik
4984c81e1b Fix homepage test - "Start Recording" is a button now 2014-12-17 10:45:10 +00:00
Marcin Kulik
03f9d1b1d3 Don't use command as title when command == shell 2014-12-15 16:33:17 +00:00
Marcin Kulik
9d6a01fa41 Differentiate avatar between unconfirmed users with the same tmp username 2014-11-29 12:26:11 +00:00