Commit Graph

47 Commits

Author SHA1 Message Date
Marcin Kulik
010716689c Wait up to 30 sec for snapshot generation 2017-07-07 15:53:01 +02:00
Marcin Kulik
d43ed62eb3 Generate snapshot via Exq worker 2017-07-07 15:23:05 +02:00
Marcin Kulik
1102164e56 Add Asciicasts.update_snapshot/1 2017-07-07 15:23:04 +02:00
Marcin Kulik
64a690d144 Allow setting title, private and snapshot_at at asciicast creation 2017-07-07 15:23:04 +02:00
Marcin Kulik
7de966bc3d Use {timing, data} tuple as file arg in stdout_stream 2017-07-04 13:51:15 +02:00
Marcin Kulik
c5fd094b91 Generating of snapshot from stdout stream 2017-07-04 13:45:57 +02:00
Marcin Kulik
c9a3bf044f Integrate vt via port 2017-07-04 13:44:59 +02:00
Marcin Kulik
c99e2ccaff Fix utf-8 handling in stdout_stream/2 2017-07-04 11:43:10 +00:00
Marcin Kulik
3fb1018803 Add stdout_stream/1 supporting asciicast v1 files 2017-06-28 11:06:04 +02:00
Marcin Kulik
719216f7c8 Split stdout_stream in 3 separate fns 2017-06-28 10:58:58 +02:00
Marcin Kulik
e17dada629 Support bzip2 files in Asciicasts.stdout_stream/2 2017-06-28 10:53:44 +02:00
Marcin Kulik
a81a74b18d Add Asciicasts.stdout_stream/2 (for gzipped files) 2017-06-27 22:51:06 +02:00
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
6824a85cc3 Set remember me cookie 2017-06-23 14:38:43 +02:00
Marcin Kulik
6f801bf445 Test new session controller 2017-06-23 12:55:15 +02:00
Marcin Kulik
4b3e81c813 Auto-merging of tmp user into current user 2017-06-23 10:21:20 +02:00
Marcin Kulik
77430f090e Login via recorder token, first blood 2017-06-22 13:37:50 +02:00
Marcin Kulik
8412d7f386 Import Plug.Conn for convenience 2017-06-22 12:01:54 +02:00
Marcin Kulik
55a367a91b Don't enqueue asciicast processing from within transaction 2017-06-18 19:50:02 +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
033744cf1f Enqueue asciicast processing job from Elixir 2017-06-17 20:23:35 +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
8703a32111 Properly generate secret_token 2017-06-07 20:57:39 +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
97ab619d37 Close tmp in-memory file after usage 2017-06-02 15:40:24 +02:00
Marcin Kulik
7a07fdfc81 Use fork of plugsnag that ignores Phoenix.NotAcceptableError 2017-06-02 15:40:24 +02:00
Marcin Kulik
39f3fd4e69 Capture stderr when invoking a2png 2017-06-02 15:40:24 +02:00
Marcin Kulik
9598205f86 Properly handle porcelain result 2017-06-02 15:40:24 +02:00
Marcin Kulik
13223d690c Generate PNG with proper theme and scale 2017-06-02 15:40:24 +02:00
Marcin Kulik
55acec9b90 503 + Retry-After 2017-06-02 15:40:24 +02:00
Marcin Kulik
6eecf479dd Basic PNG generation in Elixir 2017-06-02 15:40:24 +02:00
Marcin Kulik
8186c69243 Serve asciicast files from Phoenix 2017-06-02 15:40:24 +02:00
Marcin Kulik
03044f8fc9 Don't report Phoenix.NotAcceptableError to Bugsnag 2017-06-02 15:40:24 +02:00
Marcin Kulik
6886bcf50f Show asciicast2gif instructions when request for .gif 2017-06-02 15:40:24 +02:00
Marcin Kulik
7153569343 Send static files gzipped 2017-06-02 15:40:24 +02:00
Marcin Kulik
404c4c93bf secure is not used by PlugRailsCookieSessionStore 2017-06-02 15:40:24 +02:00
Marcin Kulik
6482983c76 Default Rails salts are safe with long enough secret_key_base 2017-06-02 15:40:24 +02:00
Marcin Kulik
a59781b071 Share session between Rails and Phoenix app 2017-06-02 15:40:24 +02:00
Marcin Kulik
6b4685d724 Port session info in navbar 2017-06-02 15:40:24 +02:00
Marcin Kulik
9d062a4855 mix phoenix.new 2017-06-02 15:40:24 +02:00