Commit Graph

350 Commits

Author SHA1 Message Date
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
Marcin Kulik
45d1d6c18b Use retro gravatars for default avatars 2014-11-29 12:17:03 +00:00
Marcin Kulik
c9ccc1b066 Add ability to set custom thumbnail frame time 2014-11-27 12:30:08 +00:00
Marcin Kulik
8d496bd418 Make snapshot generation aware of custom snapshot time on asciicast 2014-11-27 11:48:41 +00:00
Marcin Kulik
3207c4a65f Update OS detection for 0.9.9 client's User-Agent format 2014-11-05 16:27:05 +00:00
Marcin Kulik
e9f4ed1f61 Accept api token as http basic auth password 2014-10-25 20:53:12 +02:00
Marcin Kulik
427c19638c Prompt for username after login 2014-10-17 20:24:23 +02:00
Marcin Kulik
feb9703620 Remove old authentication code (browser-id, github, twitter) 2014-10-17 20:24:23 +02:00
Marcin Kulik
7397e14a57 Remove old user sign up code 2014-10-17 20:24:23 +02:00
Marcin Kulik
0cd4559f5a Log in by email without Persona 2014-10-17 20:24:22 +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
a27c27861f Fix playback spec - use "expect" syntax 2014-09-25 21:47:25 +02:00
Marcin Kulik
22922a4135 Exclude specs that need terminal binary compiled when it's missing 2014-09-23 21:30:04 +02:00
Marcin Kulik
59f73aad88 Print 5 slowest examples 2014-09-23 21:30:04 +02:00
Marcin Kulik
96e30031b2 Actually use spec_helper, lol 2014-09-23 21:30:04 +02:00
Marcin Kulik
411540d690 Exclude unstable specs on travis 2014-09-23 19:58:52 +02:00
Marcin Kulik
956975db38 Fix User.for_email to never return dummy users without email 2014-09-23 19:05:14 +02:00