Commit Graph

1927 Commits

Author SHA1 Message Date
Marcin Kulik
618cc93601 Reorder fns 2017-06-27 17:36:54 +02:00
Marcin Kulik
85823d8b83 Allow logging in via token before recording 2017-06-27 11:40:29 +02:00
Marcin Kulik
74c32eb81d Create asciinema user with proper changeset fn 2017-06-26 11:16:33 +02:00
Marcin Kulik
5bca2b4724 Port seeds 2017-06-25 20:05:14 +02:00
Marcin Kulik
0b2112f95c Remove even more unused code 2017-06-25 20:05:14 +02:00
Marcin Kulik
ddc4b2a211 Add upgrade instructions 2017-06-25 18:56:53 +02:00
Marcin Kulik
ba78fca330 Use bash script for setup 2017-06-25 18:47:52 +02:00
Marcin Kulik
e9f831ab93 Remove unused code 2017-06-24 22:44:11 +02:00
Marcin Kulik
6824a85cc3 Set remember me cookie 2017-06-23 14:38:43 +02:00
Marcin Kulik
656b3a719b Fix location regex in nginx config 2017-06-23 14:12:33 +02:00
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