Граф коммитов

112 Коммитов

Автор SHA1 Сообщение Дата
Atul Varma 7939a5e932 support webmaker-desktop makes hosted at beta.webmaker.org. 2015-06-09 12:28:31 -04:00
Atul Varma ff34605a5f Add mobile-center-cropped screenshot type.
This required making it possible to specify cropping info
in the screenshot config.

The new screenshot type is based on @xmatthewx's specifications
here:

https://github.com/mozilla/api.webmaker.org/issues/64#issuecomment-106934401
2015-06-05 06:48:49 -04:00
Atul Varma 3c546da9f8 support accept: json in GET /:viewport/:thumbnail/:key. 2015-06-03 15:07:55 -04:00
Atul Varma c2843ea587 add support for webmaker-desktop screenshots. 2015-06-03 08:39:44 -04:00
Atul Varma f87d57051e First official version for deployment. 2015-02-03 11:48:30 -05:00
Atul Varma 9bb18ad5cf set discourse screenshot width/height. 2015-02-02 16:16:26 -05:00
Atul Varma ba7c65976b self-host discourse-onebox script. 2015-02-02 15:52:03 -05:00
Atul Varma 8edaff4697 added manual test for discourse-onebox.js. 2015-02-02 15:15:22 -05:00
Atul Varma 85c175352a added type assertions to redis-cache.js. 2015-01-30 20:42:46 -05:00
Atul Varma a99e1408cc add tests for POST screenshot endpoint. fixes #5. 2015-01-30 20:39:46 -05:00
Atul Varma f75fd4dfe1 add blitline error propagation error test 2015-01-30 20:28:35 -05:00
Atul Varma 91e632966c add more tests to app.test.js. 2015-01-30 20:25:12 -05:00
Atul Varma bc4fdbd598 simplify error handling code in app.js 2015-01-30 17:15:16 -05:00
Atul Varma 05cbf0655f added tests for thumbnail endpoints, for #5. 2015-01-30 17:11:42 -05:00
Atul Varma 4de69cccdc added test/app.test.js. helps w/ #5. 2015-01-30 16:50:05 -05:00
Atul Varma 9cb7351c3f use messina for logging in production. 2015-01-30 14:51:42 -05:00
Atul Varma d849290db6 added TODOs to get rid of deprecated functions. 2015-01-30 12:02:07 -05:00
Atul Varma 99b2dfde53 documented /healthcheck. 2015-01-30 11:53:44 -05:00
Atul Varma 2d485ceb00 added /healthcheck endpoint w/ redis test for #13. 2015-01-30 11:49:47 -05:00
Atul Varma d9c894ef44 include any cache-busting query args in the s3 redirect. 2015-01-30 11:34:59 -05:00
Atul Varma 087577f58e use morgan for request logging when DEBUG is on. 2015-01-30 11:24:10 -05:00
Atul Varma 030bdbdbf2 set DEFAULT_WAIT to 3000ms. 2015-01-30 11:17:42 -05:00
Atul Varma e1eb2f58fc documented API. 2015-01-30 11:07:27 -05:00
Atul Varma 7f30df7263 support makes on mofodev.net. 2015-01-29 11:42:15 -05:00
Atul Varma fd6118bb7d accept goggles makes. fixes #11. 2015-01-29 11:37:08 -05:00
Atul Varma 13b276d6ea remove hardcoded use of 'https://' 2015-01-29 11:22:41 -05:00
Atul Varma 78d1148148 added makes.fromUrl(), .fromHostnameAndPath(). 2015-01-29 11:17:49 -05:00
Atul Varma eaa016bc72 update README section on regenerating screenshots. 2015-01-23 18:58:46 -05:00
Atul Varma f9a88ad613 readme typo fix 2015-01-23 18:57:29 -05:00
Atul Varma 771988eb3f added link to webmaker discourse thread 2015-01-23 18:56:48 -05:00
Atul Varma f681b023fc decode URI component in window hash. 2015-01-23 18:52:25 -05:00
Atul Varma 7c26bfce47 add 'mobile' viewport type to JSON config. 2015-01-23 18:29:22 -05:00
Atul Varma f4034c55e2 get rid of static/js/main.js, update manual test page. 2015-01-23 18:25:50 -05:00
Atul Varma 11fd30df1d implement the regenerate button. 2015-01-23 18:20:38 -05:00
Atul Varma 8ba621bf03 even better thumbnail load logic 2015-01-23 17:48:39 -05:00
Atul Varma 4da8dce15d better thumbnail load logic 2015-01-23 17:36:36 -05:00
Atul Varma b0edd79e57 show throbber while thumbnails are loading. 2015-01-23 17:32:33 -05:00
Atul Varma 34df04ae0c use req.path, not req.url 2015-01-23 17:19:46 -05:00
Atul Varma 8c99584748 show protocol-relative URL in front-end. 2015-01-23 16:50:33 -05:00
Atul Varma 4dea08afd5 redo front-end in react, add app.jsx. 2015-01-23 16:44:46 -05:00
Atul Varma 48e17f76dc added static/vendor/react. 2015-01-23 16:44:21 -05:00
Atul Varma 68ff3af9de factored out screenshot code into screenshot.js. 2015-01-23 13:42:23 -05:00
Atul Varma d3cd6ca9d4 support multiple viewports in backend. 2015-01-23 13:29:25 -05:00
Atul Varma 7ef8c76c39 implemented ScreenshotConfig::makeThumbnailFromPath(). 2015-01-23 12:05:15 -05:00
Atul Varma 2b272c5cc5 added screenshot-config.js. 2015-01-23 11:36:46 -05:00
Atul Varma 495f8f409f RedisCache methods take lockKey option. 2015-01-23 10:04:07 -05:00
Atul Varma 1e34d2c140 added some comments to RedisCache. 2015-01-23 09:38:00 -05:00
Atul Varma 74164de4b9 RedisCache methods now take options objects. 2015-01-23 09:28:27 -05:00
Atul Varma 01d4c3a705 generate /js/bundle.js via browserify. 2015-01-22 19:56:12 -05:00
Atul Varma 685fc4da21 modify app.js to use new blitline.screenshot() options. 2015-01-22 16:33:35 -05:00