Commit Graph

1661 Commits

Author SHA1 Message Date
Marcin Kulik
23130c3bfc Run Rails app in production env 2017-04-13 14:37:40 +02:00
Marcin Kulik
442a68bb21 Put Nginx in front of Rails 2017-04-13 14:15:38 +02:00
Marcin Kulik
0823c79b54 Comments 2017-04-13 11:42:57 +02:00
Marcin Kulik
9e96ac01f3 Properly build a2png 2017-04-13 11:26:22 +02:00
Marcin Kulik
6509f74192 No need to create tmp/restart.txt 2017-04-12 21:48:58 +02:00
Marcin Kulik
f4f831e114 No need to delete log/* 2017-04-12 21:48:24 +02:00
Marcin Kulik
5353055d58 Run bundle install before adding whole app source tree to prevent cache busting 2017-04-12 21:43:32 +02:00
Marcin Kulik
200d6e1c24 Use asciinema's libtsm fork 2017-04-12 21:22:12 +02:00
Marcin Kulik
265fc002a6 Clear libtsm checkout after installing the lib 2017-04-12 21:22:01 +02:00
Marcin Kulik
ebb50ec04f Update Docker image to be based on Ubuntu 16.04 2017-04-12 21:16:32 +02:00
Marcin Kulik
1c8bdc5e90 Merge pull request #245 from asciinema/next
Bounded (thread-pool based) & asynchronous (Aleph) PNG generation
2017-04-12 15:47:44 +02:00
Marcin Kulik
d37bff0613 Add missing whitespace 2017-04-12 15:43:45 +02:00
Marcin Kulik
7345df6260 Bring back original README 2017-04-12 14:48:02 +02:00
Marcin Kulik
6d15e61860 Kill a2png after 30 sec 2017-04-12 14:43:33 +02:00
Marcin Kulik
8146b66b70 Fix arguments for a2png 2017-04-12 14:43:33 +02:00
Marcin Kulik
bc6f1ed3c7 Rename resource fns 2017-04-12 14:43:33 +02:00
Marcin Kulik
290cd74126 Set :png-gen/:bin-path for dev env 2017-04-12 14:43:33 +02:00
Marcin Kulik
60b8c2cc04 Set content-type for files uploaded to S3 2017-04-12 14:43:33 +02:00
Marcin Kulik
3d13141349 Allow setting a2png path via A2PNG_BIN_PATH 2017-04-12 14:43:33 +02:00
Marcin Kulik
bb0a8b7e29 Use 2 threads for generating PNG 2017-04-12 14:43:33 +02:00
Marcin Kulik
767e33145f Integrate yada with Bugsnag notifier 2017-04-12 14:43:33 +02:00
Marcin Kulik
800f466fa9 Custom responses for error statuses 2017-04-12 14:43:33 +02:00
Marcin Kulik
6769b08818 Log errors except 404 2017-04-12 14:43:33 +02:00
Marcin Kulik
71479150f3 Use timbre directly 2017-04-12 14:43:32 +02:00
Marcin Kulik
964947009b Use latest bidi 2017-04-12 14:43:32 +02:00
Marcin Kulik
b39630d9a7 Log errors with clojure.tools.logging/error 2017-04-12 14:43:32 +02:00
Marcin Kulik
d33e03ff2e Use latest cheshire version (yada chokes on 5.6.3) 2017-04-12 14:43:32 +02:00
Marcin Kulik
137ee108c5 Refactor png generation 2017-04-12 14:43:32 +02:00
Marcin Kulik
0b6ef2492a Fix clj-aws-s3 deps 2017-04-12 14:43:32 +02:00
Marcin Kulik
387d47757f No need to return :exists? true when resource exists 2017-04-12 14:43:32 +02:00
Marcin Kulik
4fe17fbc82 Serve 404 page when none route matches 2017-04-12 14:43:32 +02:00
Marcin Kulik
1e08b39e49 Default 404 page 2017-04-12 14:43:32 +02:00
Marcin Kulik
bb4c602a4c Use wrapper for yada/resource 2017-04-12 14:43:32 +02:00
Marcin Kulik
3424505587 Use yada+bidi instead of compojure-api 2017-04-12 14:43:32 +02:00
Marcin Kulik
d343d89dea cljr-clean-ns 2017-04-12 14:43:31 +02:00
Marcin Kulik
93ec479bb0 Generate PNG files on worker pool 2017-04-12 14:43:31 +02:00
Marcin Kulik
f0c25626d9 Update deps 2017-04-12 14:43:31 +02:00
Marcin Kulik
368d0787cf Auto-expire png files after 7 days 2017-04-12 14:43:31 +02:00
Marcin Kulik
f184616432 PNG generation 2017-04-12 14:43:31 +02:00
Marcin Kulik
2e0cb5c3eb Unify FileStore and FileServer 2017-04-12 14:43:31 +02:00
Marcin Kulik
6943bcecca Remove example endpoint 2017-04-12 14:43:31 +02:00
Marcin Kulik
d5addad542 Implement *Database protocols in our db component ns 2017-04-12 14:43:31 +02:00
Marcin Kulik
597c838d35 Remove comment 2017-04-12 14:43:31 +02:00
Marcin Kulik
0a3289f4c1 Report exceptions to Bugsnag 2017-04-12 14:43:31 +02:00
Marcin Kulik
b00e66cf3c Add ring req/resp logging 2017-04-12 14:43:31 +02:00
Marcin Kulik
a87b76cc60 Prevent compojure-api handle unknown exceptions 2017-04-12 14:43:31 +02:00
Marcin Kulik
ce92ccd6e1 Add S3 configuration bindings 2017-04-12 14:43:30 +02:00
Marcin Kulik
0eda5c040c Endpoint for serving recording JSON file 2017-04-12 14:43:30 +02:00
Marcin Kulik
be4995c9f9 Add asciicast model ns 2017-04-12 14:43:30 +02:00
Marcin Kulik
527db9dd9b cljr-clean-ns 2017-04-12 14:43:30 +02:00