Commit Graph

1867 Commits

Author SHA1 Message Date
Marcin Kulik
3247fffd73 Merge pull request #269 from asciinema/token-login
Recorder token based login
2017-06-23 14:10:40 +02:00
Marcin Kulik
6f801bf445 Test new session controller 2017-06-23 12:55:15 +02:00
Marcin Kulik
2042760abd Handle cases where there is current user which is tmp user 2017-06-23 11:12:20 +02:00
Marcin Kulik
bce66edf00 Update flash message 2017-06-23 10:54:50 +02:00
Marcin Kulik
4b3e81c813 Auto-merging of tmp user into current user 2017-06-23 10:21:20 +02:00
Marcin Kulik
c64bb379aa Display tmp username for current user when no username nor email set 2017-06-23 09:35:56 +02:00
Marcin Kulik
ff3aa008eb Check for email, not username, when detecting incomplete user accounts 2017-06-23 09:26:30 +02:00
Marcin Kulik
7cc07795ae Route to new login-via-recorder-token impl 2017-06-22 13:38:19 +02:00
Marcin Kulik
77430f090e Login via recorder token, first blood 2017-06-22 13:37:50 +02:00
Marcin Kulik
ef22a84367 Use same default secret_key_base for Rails and Phoenix in development 2017-06-22 13:18:29 +02:00
Marcin Kulik
8412d7f386 Import Plug.Conn for convenience 2017-06-22 12:01:54 +02:00
Marcin Kulik
1d7f5ef67d Merge pull request #268 from asciinema/remove-old-upload-endpoint
Remove old upload endpoint
2017-06-20 10:17:59 +02:00
Marcin Kulik
74337a5694 Remove old upload endpoint 2017-06-20 10:09:15 +02:00
Marcin Kulik
28ec385b72 Drop unused tables and columns 2017-06-19 12:09:08 +02:00
Marcin Kulik
3eeed04b15 Fix file store path for stdout data file 2017-06-18 22:48:16 +02:00
Marcin Kulik
55a367a91b Don't enqueue asciicast processing from within transaction 2017-06-18 19:50:02 +02:00
Marcin Kulik
9a204208d6 Fix tests 2017-06-18 16:04:52 +02:00
Marcin Kulik
fa2f552189 Fix store_location (closes #218) 2017-06-18 15:45:22 +02:00
Marcin Kulik
b2234929ca Split BASE_URL into URL_{SCHEME,HOST,PORT} 2017-06-18 14:31:30 +02:00
Marcin Kulik
8d80aeb9b1 Merge pull request #266 from asciinema/ex-upload
New upload endpoint implementation
2017-06-18 14:29:13 +02:00
Marcin Kulik
f07bedc754 Workaround 1.3.0-1.4.0 client bug regarding basic auth header 2017-06-18 12:27:49 +02:00
Marcin Kulik
99c326780f Route to new upload endpoint 2017-06-17 20:31:21 +02:00
Marcin Kulik
033744cf1f Enqueue asciicast processing job from Elixir 2017-06-17 20:23:35 +02:00
Marcin Kulik
ea28ebc5d9 Move embed iframe page out of API 2017-06-16 10:34:18 +02:00
Marcin Kulik
3fcfe0ef30 Remove dead code 2017-06-16 10:16:05 +02:00
Marcin Kulik
b94af03d58 Fix test description 2017-06-16 09:40:55 +02:00
Marcin Kulik
de9cd8eb60 Simplify assertions 2017-06-16 09:38:08 +02:00
Marcin Kulik
9f2210ba68 Add test for upload from v0.9.9 client 2017-06-16 09:26:06 +02:00
Marcin Kulik
9d7a7d455b Support client v0.9.8 in new upload endpoint 2017-06-16 09:17:36 +02:00
Marcin Kulik
515d486309 Support client version <= 0.9.7 in new upload endpoint 2017-06-15 22:25:04 +02:00
Marcin Kulik
f34b9707f3 Reformat code 2017-06-12 12:08:28 +02:00
Marcin Kulik
5971f03c0b New upload endpoint implementation 2017-06-12 11:52:50 +02:00
Marcin Kulik
f56bf8b452 Remove unused models 2017-06-11 19:27:38 +02:00
Marcin Kulik
2f44c1aa07 Tell crawlers to ignore .json and .png files 2017-06-11 15:31:43 +02:00
Marcin Kulik
5b9f97ce52 Don't generate frames for asciicast v1 2017-06-08 12:18:05 +02:00
Marcin Kulik
cac9aea574 Remove image_* columns from asciicasts 2017-06-08 12:18:05 +02:00
Marcin Kulik
8703a32111 Properly generate secret_token 2017-06-07 20:57:39 +02:00
Marcin Kulik
4aa9ba8f90 Add test for AsciicastImageController 2017-06-07 20:09:36 +02:00
Marcin Kulik
baff170ac8 Add test for AsciicastFileController 2017-06-07 19:55:02 +02:00
Marcin Kulik
713d92a58f Add FileStore.put_file/3 2017-06-07 19:53:12 +02:00
Marcin Kulik
fbd8acf326 Add test for AsciicastAnimationController 2017-06-07 16:26:10 +02:00
Marcin Kulik
66ac200733 Ability to run tests in docker
docker-compose -f test/docker-compose.yml run --rm web
2017-06-07 15:26:19 +02:00
Marcin Kulik
cf786d7de5 Pass real http scheme value to upstream servers 2017-06-07 14:30:29 +02:00
Marcin Kulik
34ea71bd80 Don't build on rbx and jruby 2017-06-07 09:25:24 +02:00
Marcin Kulik
7e7c5856a2 Remove setup script, it's obsolete for long time now 2017-06-07 09:23:54 +02:00
Marcin Kulik
2f6237f3b2 It's RGB, not RBG :P 2017-06-06 16:58:43 +02:00
Marcin Kulik
8c63169607 Support RGB color in thumbnails 2017-06-06 16:48:43 +02:00
Marcin Kulik
ec794000ed Add bundler signature 2017-06-06 16:41:23 +02:00
Marcin Kulik
28519cb455 Use asciinema/vt instead of libtsm based program 2017-06-06 15:33:59 +02:00
Marcin Kulik
9efbff6046 Re-license the project under ASLv2
Closes #264
2017-06-06 13:18:57 +02:00