Commit Graph

3941 Commits

Author SHA1 Message Date
Brian Gough 823bdcf583 fix scope error in pdf viewer 2015-01-12 17:03:03 +00:00
Brian Gough 887423f8d7 report timeout errors to sentry 2015-01-12 17:02:51 +00:00
Brian Gough 560919b78f avoid exception in pdf viewer
if file was previously bigger, current position could be greater than
the number of pages
2015-01-12 16:47:38 +00:00
Brian Gough bf8bc27de0 catch errors in pdf viewer and reload if necessary
if more than 3 reloads, display error to the user
2015-01-12 16:46:17 +00:00
Brian Gough 7f750ae692 add an error callback to the pdf renderer
use page load and render timeouts of 30 seconds to detect hanging pages
2015-01-12 16:45:24 +00:00
Henry Oswald 7508ba6c47 improved validation so that fields recurly said are wrong get highlighted 2015-01-07 16:43:20 +00:00
Henry Oswald f6e9c544e6 slightly improved the breakdown form. Still not very pretty. 2015-01-07 14:59:56 +00:00
James Allen dd5562f9b6 Send more data to sentry about messages.reverse error 2015-01-07 13:16:38 +00:00
James Allen 10653c12fd Send more data to Sentry to track down error 2015-01-07 13:16:38 +00:00
James Allen aec80fb1db Include FreeTrialModalControler in main.coffee 2015-01-07 13:16:38 +00:00
Henry Oswald f9843b3709 tax auto updates on change of address now. Is also preset based on users ip address 2015-01-07 13:16:19 +00:00
Henry Oswald d678af4417 only validate credit card an cvv if there is data in them 2014-12-28 22:19:15 +00:00
Henry Oswald 735dd0811c changed credit card/paypal logs from offical ones to font very good ones
upgraded fontamerican to 4.2
2014-12-28 22:14:39 +00:00
Henry Oswald 474fa5fe19 only validate expiry when both are set 2014-12-28 21:53:12 +00:00
Henry Oswald 1a4825a47b pulled total price down a little 2014-12-28 19:08:36 +00:00
Henry Oswald 2d03e0532f adjusted style of payment options 2014-12-28 19:04:47 +00:00
Henry Oswald bd52594f23 added new official paypal logo from https://www.paypal.com/uk/webapps/mpp/logo-center 2014-12-28 18:43:53 +00:00
Henry Oswald 673140b620 got new credit card logos from https://www.mastercardbrandcenter.com/us/getourbrand/index.shtml?pageId=dl_0340&expertVisible=false 2014-12-28 18:35:44 +00:00
Henry Oswald 7f979e77db - fixed new payment page so it uses correct plan and currency
- submit button is disabled while processing
- removed test data
2014-12-28 17:16:21 +00:00
Henry Oswald ecb71d5bbf pull recurely pub api key from settings file 2014-12-23 12:08:01 +00:00
Henry Oswald e2819c3bc6 added generic error handling to recurly processing and required fields 2014-12-23 11:04:54 +00:00
Henry Oswald a7eb836c79 redirect to /thank-you on success and fix broken unit test from a few commits ago 2014-12-22 16:37:09 +00:00
Henry Oswald d0c9783718 added paypal option in, not tested as we don't have paypal in stag 2014-12-22 15:51:50 +00:00
Henry Oswald fb0a083b36 added address 2 2014-12-22 15:19:40 +00:00
Henry Oswald 6cedfb19d9 cleaned up form and added basic validation 2014-12-22 15:07:55 +00:00
Henry Oswald fa1ec44e22 coupons work 2014-12-22 14:06:39 +00:00
Henry Oswald a47b25d4b2 works with multi plan and currency, auto updates view on change 2014-12-22 12:55:29 +00:00
Henry Oswald 5305cbfd3e got more correct details making it to recurly and improved form. 2014-12-19 11:17:35 +00:00
Henry Oswald cc545db17b can add account just about into recurly 2014-12-18 18:59:29 +00:00
Henry Oswald 47fb2a0878 basic angular form which has data bound to it 2014-12-18 17:48:23 +00:00
James Allen 2a2dc458e8 Merge pull request #127 from sharelatex/pdfng-server-fixes
pdfng server fixes
2014-12-16 10:30:22 +00:00
James Allen 2819935a52 Add photo of Brian 2014-12-15 15:13:34 +00:00
Brian Gough 660bb75df4 add query string parameters for compileGroup= and pdfng=
compileGroup will  bypass mongo check for compileGroup priority
pdfng will pass pdf Range: headers through from user request to CLSI
2014-12-12 16:47:43 +00:00
Brian Gough 419d84564c add support for client-side error logging using sentry 2014-12-12 13:58:07 +00:00
Brian Gough 724116bcc1 Merge branch 'master' into pdfng 2014-12-10 13:18:02 +00:00
Brian Gough 50e03e93ba poll the element for the pdf viewer if it is zero size
avoid invisible pdf forever waiting for layout-ready event when
switching between full-screen and split-screen
2014-12-09 14:40:54 +00:00
Brian Gough 1acc924e0b comment out console.logs in pdfng 2014-12-09 14:39:58 +00:00
Brian Gough 843fa6f847 handle shutdown of pdf viewer/rendering with destroy method 2014-12-09 13:46:44 +00:00
Brian Gough b157323eb7 defer loading of pdf destinations until required 2014-12-09 13:45:12 +00:00
Brian Gough 1e2e1ecb9c stream in the whole pdf file after loading the required page 2014-12-09 13:41:49 +00:00
Henry Oswald 268de7d739 make the user.name more robust 2014-12-09 11:11:06 +00:00
Henry Oswald 611916119a changed where online users name logic is so it catches all cases. 2014-12-08 18:56:46 +00:00
James Allen b94a9aab0d Hide loading bar once loaded enough to render 2014-12-08 17:48:57 +00:00
James Allen 48d4e96221 Remove development styles 2014-12-08 17:39:33 +00:00
James Allen 8c40432e18 Use fixed sized spinner 2014-12-08 17:39:24 +00:00
Brian Gough 63ac1093bc keep pages visible after a recompile until they are ready to rerender 2014-12-08 17:00:43 +00:00
Brian Gough c3569dd45f add a progress event in the pdfng viewer 2014-12-08 17:00:26 +00:00
Brian Gough 2a66651ec9 flash the pdf controls in pdfng 2014-12-08 15:32:16 +00:00
Brian Gough 863c8b9586 prevent exception when scrolling during rerender in pdfng 2014-12-08 15:32:05 +00:00
Brian Gough 206e7db144 add spinners and classes for feedback on pdfng loading and rendering 2014-12-08 14:46:59 +00:00