Commit graph

715 commits

Author SHA1 Message Date
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
Brian Gough
89d63c4f44 handle fullscreen mode in pdfng
default to scale = 1 when containing div size is zero
2014-12-08 10:28:02 +00:00
Brian Gough
0ae83d9be4 rescale pdf on parent size initialisation in addition to resizes 2014-12-05 19:42:16 +00:00
Brian Gough
407cecc0d3 save the pdf state when the directive is destroyed 2014-12-05 19:40:33 +00:00
Brian Gough
5915bfd885 prevent change to navbar url in pdf viewer
return false from pdf <a> click handler
2014-12-05 14:59:00 +00:00
Brian Gough
265ad4439c Merge branch 'master' of github.com:sharelatex/web-sharelatex into pdfng 2014-12-05 14:43:01 +00:00
Brian Gough
1284ce613c support pdf double click 2014-12-05 14:33:06 +00:00
Brian Gough
4c0f3c55d7 clear the pdf renderqueue faster after the initial page has rendered 2014-12-05 12:14:40 +00:00
Brian Gough
7ea20c4266 avoid exception on pdfPage destroy 2014-12-05 12:12:17 +00:00
Brian Gough
c167e86ba5 use timeout instead of requestAnimationFrame in pdf scroll handler
for simplicity as the time delay is large compared with rAF
2014-12-05 12:12:01 +00:00
Henry Oswald
70d0af519b reset project to large state each time 2014-12-05 00:10:46 +00:00
Brian Gough
2074326237 render pdf pages in ascending order, fix bug where pages could be left unrendered 2014-12-04 16:52:11 +00:00
Brian Gough
4faac88065 handle destroy event in pdf page view and remove pending timeouts 2014-12-04 16:50:38 +00:00
Brian Gough
f8c1c5b025 avoid unnecessary retrieval of pdf viewport when rendering 2014-12-04 16:50:00 +00:00
Brian Gough
44057a9632 only check pdf page visibility on scroll every 50ms 2014-12-04 16:49:24 +00:00
Brian Gough
a15a6d877f avoid exception when elements in pdf view have been removed 2014-12-04 16:44:41 +00:00
Brian Gough
ce4fb7ec04 remove the pdf spinner, it causes unwanted reflow/repaint 2014-12-04 16:44:14 +00:00
Brian Gough
05af3573b6 try disabling pdfjs font face usage for performance
each new font face rule causes a full screen repaint
2014-12-03 15:18:58 +00:00
Brian Gough
94448ed447 comment out logs/unused code in pdf viewer 2014-12-02 11:43:14 +00:00
Brian Gough
25521d1a26 insert the pdf text and annotations after the page has been rendered 2014-12-02 11:03:07 +00:00
Brian Gough
7071ee3540 set the size of the pdf container using jquery methods 2014-12-02 11:02:09 +00:00
Brian Gough
85750dfeb6 need to set the height of the container to get the pdf spinner working 2014-12-02 11:01:45 +00:00
Brian Gough
d6e47c2701 display empty div.pdf-canvas element as a blank page while it is being rendered 2014-12-02 11:00:33 +00:00
Brian Gough
f260b141a0 use the current stable version of pdfjs - previously committed HEAD version by accident 2014-12-01 16:27:24 +00:00
Brian Gough
4888ae8766 fix infinite loop in translated coffeescript for pdfng text layer 2014-12-01 16:26:48 +00:00
Brian Gough
440c1d3987 avoid exception 2014-12-01 15:24:19 +00:00
Brian Gough
be91bc2754 disable PDF.js autofetch only when used in new pdf viewer 2014-12-01 14:35:58 +00:00