Commit graph

2453 commits

Author SHA1 Message Date
Paulo Reis
6a3372fcbf Use new event tracking methods. 2016-08-10 17:33:56 +01:00
Paulo Reis
0ec8e22ccf Send events to Postgre. 2016-08-10 17:28:13 +01:00
James Allen
93cd511211 Send events to custom DB backend 2016-08-10 16:42:56 +01:00
Brian Gough
abcfb2dd16 Merge pull request #290 from sharelatex/enable-chktex
Enable chktex
2016-08-10 11:49:31 +01:00
Shane Kilkelly
d59b51aacd Add error handlers. 2016-08-05 14:09:37 +01:00
Shane Kilkelly
eafd61a90e Refresh members and invites in client when status changes 2016-08-05 14:01:08 +01:00
Shane Kilkelly
8f7603c324 Add an endpoint to access project members 2016-08-04 16:47:48 +01:00
Paulo Jorge Reis
60f8e577a8 Merge pull request #293 from sharelatex/pr-wrap-long-words-chat
Wrap long words chat
2016-08-03 16:32:36 +01:00
Shane Kilkelly
721ea88bd0 If email is already invited, resend the invite 2016-08-03 16:30:34 +01:00
Paulo Reis
cf5c8e27e1 UI fix - do not allow multiple clicks to restore a deleted file. 2016-08-03 16:05:19 +01:00
Shane Kilkelly
a5ddcc3df7 Allow resending of invites 2016-08-03 15:42:19 +01:00
Paulo Reis
216779fafe Track-changes usage. 2016-08-03 12:36:42 +01:00
Paulo Reis
e6898d64c9 Track hovering of header features. 2016-08-03 12:17:19 +01:00
Shane Kilkelly
8cb93511df Update UI of share modal 2016-08-03 11:55:24 +01:00
Paulo Reis
01637386bd Use string split instead of regex. 2016-08-02 11:59:43 +01:00
Shane Kilkelly
dca1c9be5d Load invites on project load, rather than asynchronously. 2016-08-01 17:05:37 +01:00
Paulo Reis
ff62e50530 Integrate word wrapping filter in the chat component. 2016-08-01 16:42:54 +01:00
Paulo Reis
c6334ffab7 Add Angular filter for wrapping words larger than N characters. 2016-08-01 16:35:28 +01:00
Paulo Reis
4b8ab2dbba More comments. 2016-08-01 13:35:49 +01:00
Paulo Reis
0d4e1e5495 Try a smaller timeout + minor fixes. 2016-08-01 11:12:50 +01:00
Paulo Reis
16e8cd7820 Refactor Safari scroll patcher; ensure it works after PDF is reloaded. 2016-07-29 17:45:50 +01:00
Paulo Reis
9b3a28048e Integrate Safari scroll patcher. 2016-07-29 17:24:55 +01:00
Paulo Reis
f012a6fe32 Scroll patcher for Safari. 2016-07-29 17:24:45 +01:00
Brian Gough
208798ebe3 add a log hint for mismatched brackets 2016-07-29 14:59:48 +01:00
Brian Gough
4d3b743e4d display validation errors only when doing validation 2016-07-29 14:59:48 +01:00
Brian Gough
a3c8202d0e support jumping to position with line and column from log entries 2016-07-29 14:59:48 +01:00
Brian Gough
5da1b90418 use validate as keyword for syntax checks 2016-07-29 14:59:48 +01:00
Brian Gough
14a0499b56 allow HumanReadableLogs to rewrite messages with regex
also allow an explicit hintId for each rule
2016-07-29 14:59:48 +01:00
Brian Gough
d4c5028350 allow HumanReadableLogs to accept an already parsed log 2016-07-29 14:59:48 +01:00
Brian Gough
ef85f1014c add menu option for checking with chktex 2016-07-29 14:59:48 +01:00
Brian Gough
e0d5075fdb include check option when compiling 2016-07-29 14:59:48 +01:00
Shane Kilkelly
7b18f88145 Merge branch 'master' into pr-email-tokens 2016-07-28 14:53:36 +01:00
Shane Kilkelly
254705c3f1 Tidy up, and fall back to handling data.users. 2016-07-28 13:47:19 +01:00
Paulo Reis
3825111713 No need to check for property existence. 2016-07-27 17:08:15 +01:00
Paulo Reis
4c2f69692e Namespace events which are sent only once. 2016-07-27 16:56:14 +01:00
Paulo Reis
a93980f080 Use existing localStorage module. 2016-07-27 16:53:44 +01:00
Paulo Reis
a3af95006b Minor fixes. 2016-07-27 16:22:23 +01:00
Paulo Reis
406175a410 Protection against possible local storage write errors. 2016-07-27 16:17:16 +01:00
Paulo Reis
64654257a1 Track a few high-frequency events only once. 2016-07-27 15:53:28 +01:00
Paulo Reis
5ea9558976 Add method to track event only once (stores sent events in local storage). 2016-07-27 15:53:04 +01:00
Shane Kilkelly
46ec17f2c4 Add redir query string to login link 2016-07-27 13:51:52 +01:00
Shane Kilkelly
1a8c86ab6b Merge branch 'pr-empty-autocomplete' 2016-07-27 08:42:24 +01:00
Paulo Reis
acd95b6215 Disable tracking of a few high frequency events. 2016-07-26 17:04:06 +01:00
Paulo Reis
5349ea6ed8 Avoid using FormData.set, Safari only has support for append. 2016-07-26 15:54:58 +01:00
Shane Kilkelly
72c9c3f020 If there are no completions matching, detach the completer.
This prevents an invisible completer from swallowing keystrokes such as up/down
2016-07-26 15:54:33 +01:00
Paulo Reis
24614effc4 Support other as answer, without further details. 2016-07-26 11:50:29 +01:00
Paulo Reis
bfe3e160c9 Integrate with UI. 2016-07-26 11:37:51 +01:00
Paulo Reis
1c9d0a417f Forge a form submission to avoid CORS checking with wufoo. 2016-07-26 11:30:42 +01:00
Paulo Reis
32b57f228c Integrate feedback UI with wufoo service. 2016-07-25 16:12:56 +01:00
Paulo Reis
c083b42487 Basic wufoo submit service. 2016-07-25 16:12:34 +01:00
Shane Kilkelly
16dcbe2cd4 WIP: wire up share-modal frontend to invite system 2016-07-25 15:07:14 +01:00
Shane Kilkelly
b3add65de1 Start integrating invites into share frontend 2016-07-25 14:27:02 +01:00
Shane Kilkelly
8dea179b01 Whitespace 2016-07-25 10:33:43 +01:00
Henry Oswald
a3e40adbaf Merge pull request #283 from sharelatex/ho-cdn
Ho cdn
2016-07-20 14:19:37 +01:00
Henry Oswald
6c78ab4ace got requirejs working nicely with cdn 2016-07-20 12:58:32 +01:00
Brian Gough
fcfdabd279 clean up pdfcontroller query string logic 2016-07-20 09:58:47 +01:00
Brian Gough
4e252976c7 add missing cache bust on log file 2016-07-20 09:58:47 +01:00
Shane Kilkelly
4e1df9f476 Fix wording of userHasSubscription to userHasNoSubscription 2016-07-19 11:37:58 +01:00
Brian Gough
a3c97533ae Merge pull request #281 from sharelatex/stop-compile
add support for stopping compile
2016-07-18 15:01:26 +01:00
Brian Gough
5a02e8c656 add support for stopping compile 2016-07-15 16:28:52 +01:00
Henry Oswald
4202b4795b fix ordering of deps for contact us 2016-07-14 11:15:44 +01:00
Paulo Jorge Reis
0b21f8f4f1 Merge pull request #279 from sharelatex/pr-track-trial-start
Track trial start and subscription
2016-07-14 10:14:49 +01:00
Brian Gough
d53fa5de47 avoid exception in pdf viewer when no visible pages 2016-07-13 14:14:51 +01:00
Brian Gough
d8c11a0824 fix scope for pdf page load error handler 2016-07-13 14:04:58 +01:00
Paulo Reis
688eebf469 Merge branch 'pr-track-trial-start' of github.com:sharelatex/web-sharelatex into pr-track-trial-start 2016-07-13 09:49:57 +01:00
Paulo Reis
4801d8c1c2 Track subscription form page flow. 2016-07-12 17:33:24 +01:00
Paulo Reis
0542d9e05d Track trials starts, with source. 2016-07-12 17:33:00 +01:00
Paulo Reis
b2da63f532 Track trials starts, with source. 2016-07-12 16:41:22 +01:00
Brian Gough
2e646729d1 avoid clobbering file urls in download dropdown 2016-07-12 14:37:08 +01:00
Paulo Jorge Reis
b3acf011ab Merge pull request #276 from sharelatex/pr-contact-form-suggestions
Contact form suggestions
2016-07-12 11:53:05 +01:00
Brian Gough
8c9fcfdd60 remove sentry downsampling on pdf errors
load errors should be less frequent now
2016-07-12 11:51:30 +01:00
Brian Gough
7555382e33 remove the render timeout
pdfjs uses requestAnimationFrame to schedule the rendering, and this
does not fire if the tab is inactive. That causes an unwanted error if
switching tabs for more than the one minute timeout.
2016-07-12 11:51:30 +01:00
Brian Gough
0ae639f1c3 enable per-page pdf downloads by default 2016-07-12 11:51:30 +01:00
Paulo Reis
61b57905cb Merge branch 'master' into pr-contact-form-suggestions 2016-07-12 10:48:37 +01:00
Brian Gough
b546c5eee9 cleanup, remove comments 2016-07-11 15:07:06 +01:00
Brian Gough
4b1ec24bc0 cancel existing load/render tasks correctly 2016-07-11 15:01:58 +01:00
Brian Gough
f68ab1e508 improve loading indicators 2016-07-11 15:01:24 +01:00
Paulo Reis
af93ac4413 Track suggestions usage. 2016-07-11 14:27:07 +01:00
Paulo Reis
fb7c437098 Make other Algolia clients use the common factory. 2016-07-11 12:31:52 +01:00
Paulo Reis
bf67fedc73 Centralize Algolia methods in a common factory. 2016-07-11 12:24:48 +01:00
Brian Gough
379e6d2f90 nullify highlight timeout after clearing it 2016-07-11 12:17:49 +01:00
Brian Gough
ad83784a81 remove the renderTimer
only display the page when it is fully rendered
2016-07-11 12:17:49 +01:00
Brian Gough
70a82c10ce cleanup pdfJs 2016-07-11 12:17:49 +01:00
Brian Gough
41b0309e6e show progress bar when loading starts 2016-07-11 12:17:49 +01:00
Brian Gough
a4cd5c90c3 only process the render queue after we stop moving 2016-07-11 12:17:49 +01:00
Brian Gough
eaca616dd3 use progress bar for initial loading 2016-07-11 12:17:49 +01:00
Brian Gough
b8f677ac7c replace canvas with rendered page after 1 second 2016-07-11 12:17:49 +01:00
Brian Gough
0e550ac012 add spinner for loading, initially static 2016-07-11 12:17:49 +01:00
Brian Gough
c657a02db5 render offscreen pages 2016-07-11 12:17:49 +01:00
Brian Gough
83ea771aef include start method for spinner 2016-07-11 12:17:49 +01:00
Brian Gough
8c81f0a9ff prerender offscreen pages 2016-07-11 12:17:49 +01:00
Paulo Reis
444120f8b1 Merge branch 'master' into pr-contact-form-suggestions 2016-07-08 13:55:08 +01:00
Paulo Reis
e1fb4a51c6 Identify sampled events. 2016-07-08 11:17:18 +01:00
Paulo Jorge Reis
c5cf151add Merge pull request #275 from sharelatex/pr-separate-events-log-hints-feedback
Track positive and negative feedback as different events
2016-07-08 10:54:02 +01:00
Paulo Reis
c67ad84be8 Track positive and negative feedback as different events. 2016-07-08 10:26:40 +01:00
Paulo Reis
dfe9e05abe Use sampled tracking in editor recompiles. 2016-07-08 10:07:45 +01:00
Paulo Reis
07cce99c17 Add sampled tracking method. 2016-07-08 10:06:46 +01:00
Paulo Jorge Reis
3a24c4bff9 Merge pull request #272 from MCribbin/patch-2
Update HumanReadableLogsRules.coffee
2016-07-07 13:39:44 +01:00
MCribbin
b62fbd4d3f Update HumanReadableLogsRules.coffee 2016-07-06 16:18:27 +01:00
MCribbin
dadee03ca3 Update HumanReadableLogsRules.coffee
Added new linke for LaTeX Error: Unknown float option `q'.
Changed hint for "No positions in optional float specifier" to include quick fix (will probably need some clearer way of saying which square brackets need to be removed)
2016-07-06 15:57:56 +01:00
Paulo Reis
b867c37d49 Merge branch 'master' into pr-log-dropdown 2016-07-06 15:35:28 +01:00
Paulo Reis
8e2475afdc Track hints feedback in both GA and Countly; clean-up. 2016-07-06 14:24:50 +01:00
MCribbin
95f1435920 Update HumanReadableLogsRules.coffee 2016-07-06 14:16:21 +01:00
Paulo Reis
0dd3a70b4b Use Countly tracking method where appropriate. 2016-07-06 12:32:33 +01:00
Paulo Reis
b841d41b68 Actually send the data to Countly. 2016-07-06 12:26:21 +01:00
Paulo Reis
909f7c15b5 Track log-related actions. 2016-07-05 16:27:14 +01:00
Paulo Reis
d5efe81a46 Track recompiles. 2016-07-05 16:02:46 +01:00
Paulo Reis
96f6603bd3 Track settings changes. 2016-07-05 15:37:13 +01:00
Paulo Reis
304529754d Track editor modals. 2016-07-05 15:16:55 +01:00
Paulo Reis
71b8f86e89 Track editor macro views. 2016-07-05 15:07:16 +01:00
Paulo Reis
a40cbdd84e Track share modal opening. 2016-07-05 14:32:56 +01:00
Brian Gough
ea942fe255 Merge pull request #269 from sharelatex/remove-migration-to-per-user-containers
remove scaffolding for per-user compiles so that it is always by default
2016-06-30 15:16:28 +01:00
Brian Gough
c04e00026b remove scaffolding for per-user compiles so that it is always by default 2016-06-30 14:43:03 +01:00
Paulo Reis
d93c96d43c Improve log hints ids. 2016-06-30 11:30:43 +01:00
Paulo Reis
c5f53ef431 Track log hints feedback. 2016-06-30 11:30:30 +01:00
Paulo Reis
536c1ac65e Merge branch 'pr-project-filepath-regex' 2016-06-29 14:19:37 +01:00
Paulo Reis
36e09e3b0c Make the user id portion of the path optional. 2016-06-29 14:19:16 +01:00
Brian Gough
16b58a9420 Merge pull request #268 from sharelatex/per-user-containers-part-3
add support for on-demand viewing of pdfs for per-user compiles
2016-06-29 14:16:24 +01:00
Paulo Reis
72d498c6c8 Merge branch 'master' into pr-contact-form-suggestions 2016-06-29 11:58:07 +01:00
Paulo Reis
f50c73642a Integrate with KB index. 2016-06-29 11:57:43 +01:00
Paulo Reis
5ad0c06770 Regex now matches new folder nomenclature. 2016-06-28 17:19:02 +01:00
Paulo Reis
88564ea126 Dynamically determine if the files dropdown should drop up or drop down. 2016-06-28 15:48:11 +01:00
Shane Kilkelly
9e16f250f9 Merge branch 'sk-subscription-address' 2016-06-28 14:16:34 +01:00
Shane Kilkelly
6581bc4ecf set postal_code as zip 2016-06-28 14:15:47 +01:00
Paulo Reis
86a8a180a8 Merge branch 'master' into pr-toggle-comment-keybinding-windows 2016-06-28 11:37:46 +01:00
Paulo Reis
d6067b86ac Merge branch 'master' into pr-ui-feedback-error-nav 2016-06-28 10:49:55 +01:00
James Allen
883a9b512a Merge pull request #265 from MCribbin/patch-1
Update HumanReadableLogsRules.coffee
2016-06-28 10:33:24 +01:00
Brian Gough
8d32fa1e87 enable per-user containers by default 2016-06-28 08:40:30 +01:00
Paulo Reis
6a8499f515 Merge branch 'master' into pr-toggle-comment-keybinding-windows 2016-06-27 15:39:35 +01:00
Paulo Reis
3580d8377f Merge branch 'master' into pr-contact-form-suggestions 2016-06-27 15:39:00 +01:00
Paulo Reis
0551f27c83 Extra search options; only search after three chars have been entered. 2016-06-27 14:46:34 +01:00
Brian Gough
8b15d40f8b add word count to per-user container 2016-06-27 12:41:50 +01:00
Paulo Reis
81b93ab5a9 Disable links to the docs when the wiki is not available. 2016-06-27 11:34:24 +01:00
Shane Kilkelly
9938787e4a fix a few silly issues. Appears to work now 2016-06-27 10:38:10 +01:00
Paulo Reis
c2ace9a0a0 Restrict # of hits returned; clear results on empty search string. 2016-06-27 10:21:36 +01:00
Shane Kilkelly
72c73809f6 Generate address xml from object. 2016-06-27 09:44:40 +01:00
Henry Oswald
6526b29f96 add another null check on file inside fetchLogs 2016-06-25 13:56:45 +01:00
Paulo Reis
2c9812f62f Add algolia search. 2016-06-24 17:10:07 +01:00
MCribbin
9a399ebd15 Update HumanReadableLogsRules.coffee
Space added after URL. '...' changed to '\u2026'
2016-06-24 15:50:23 +01:00
MCribbin
883ae307a9 Update HumanReadableLogsRules.coffee
Changed extraInfoURL links from /Errors:... to /Errors/...
Added math mode description to "Missing $ inserted." (humanReadableHint might be too long with this extra description)
2016-06-24 15:37:39 +01:00
Paulo Reis
91cbf2b321 Links within hint content also open in a new tab. 2016-06-24 11:56:31 +01:00
Shane Kilkelly
249381b6a8 WIP: initial work on sending address to recurly for paypal subscriptions 2016-06-24 11:42:58 +01:00
Paulo Reis
a587d5ddba Set up model options. 2016-06-24 11:02:29 +01:00
Paulo Reis
2da9cdb0db Hints as HTML. 2016-06-24 10:15:51 +01:00
Paulo Reis
9b25af3c8c Consolidate rules related to too-strict float specifiers. 2016-06-23 16:57:05 +01:00
James Allen
da41e64e97 Update HumanReadableLogsRules.coffee 2016-06-23 16:52:02 +01:00
Paulo Reis
5a890d0d8b Add log matching rules. 2016-06-23 16:39:05 +01:00
Shane Kilkelly
cbdcc874e3 Merge branch 'master' of github.com:sharelatex/web-sharelatex 2016-06-22 11:03:32 +01:00
James Allen
594ec9cbdd Revert "minify algolia and moment.js"
This reverts commit f32a92b3c2b6c321ea7e7339110c644f9caa790c.
2016-06-22 08:00:25 +01:00
Paulo Reis
d6c966934d Set the key binding which is reported on Windows. 2016-06-21 16:53:50 +01:00
Shane Kilkelly
6f07ea513e Remove DataJoy link from the project page. 2016-06-21 13:28:08 +01:00
Paulo Reis
e607de0b91 Safety checks for non-existing values; avoid rendering the hint template when there is no hint. 2016-06-21 12:07:47 +01:00
Paulo Reis
d8e0026bc6 Add class to enable per-hint feedback tracking. 2016-06-20 17:32:57 +01:00
Paulo Reis
a8976fd4dc Use plain links instead of buttons. 2016-06-20 14:42:36 +01:00
Paulo Reis
ada018263a Merge branch 'master' into pr-human-readable-logs 2016-06-20 11:54:56 +01:00
Paulo Reis
605bb07ba3 Hint card styling. 2016-06-20 09:45:14 +01:00
Henry Oswald
fed71ea0bd minify algolia and moment.js 2016-06-18 16:43:10 +01:00
Paulo Reis
54d48ce0ea Support extra info URL in human readable hints. 2016-06-17 11:42:32 +01:00
Paulo Reis
40fda6e361 Support HTML in human readable log messages. 2016-06-16 16:29:19 +01:00
Paulo Reis
9b8d695e43 Match logs against ruleset; show human readable message when appropriate. 2016-06-16 15:53:39 +01:00
Paulo Reis
f167aacc08 Add sample rules file. 2016-06-16 15:29:00 +01:00
Brian Gough
5e30310aae restore popupDownloads=true for pdf downloads 2016-06-16 15:20:57 +01:00
Brian Gough
fcd5582e6e Merge pull request #259 from sharelatex/fix-per-user-containers
Fix per user containers
2016-06-16 14:12:57 +01:00
Brian Gough
02e3f7a02b change download links so they do not rely on build id
prefer the top level files, because the build directories are more
ephemeral.  In a shared project they can expire if there are multiple
compiles.
2016-06-16 14:05:21 +01:00
Brian Gough
f045eb65d3 add query string utility function 2016-06-16 14:03:42 +01:00
Paulo Reis
c54f3dae20 Create human readable logs module on top of LatexLogParser; use it in the PDF controller. 2016-06-16 11:14:45 +01:00
Shane Kilkelly
9919f5f44a Refactor heap analytics 2016-06-16 10:17:36 +01:00
Shane Kilkelly
522ac8b59b initial port of heap code from DJ into sharelatex. 2016-06-15 15:35:03 +01:00
Paulo Reis
e28e959941 Quick fix require statements. 2016-06-15 13:46:40 +01:00
Paulo Reis
a9e0185098 Added tooltip with keyboard shortcut in the recompile button. 2016-06-14 17:02:22 +01:00
Brian Gough
d6964feb2f Revert "enable per-user containers by default"
This reverts commit e80b8cd907605d9a7aad16496d49efff4bb08810.
2016-06-14 16:30:06 +01:00
Brian Gough
d0a273fac1 Merge pull request #257 from sharelatex/fix-synctex-position-calculation
Fix synctex position calculation
2016-06-14 15:07:48 +01:00
Brian Gough
77de4dd432 Merge pull request #258 from sharelatex/enable-per-user-container
enable per-user containers by default
2016-06-14 15:07:37 +01:00
Brian Gough
ed6c384b68 fix urls of downloaded files to those provided by clsi 2016-06-14 14:51:33 +01:00
Brian Gough
ecd9bed1c2 enable per-user containers by default 2016-06-14 14:21:56 +01:00
Brian Gough
991d3c7aa1 avoid exception when switching between full and split pdf view 2016-06-14 12:49:06 +01:00
Brian Gough
2840a7757f fix bug in synctex position calculation for syncToCode 2016-06-14 12:32:54 +01:00
Brian Gough
830d15136d fix missing variables in pdf sync 2016-06-14 08:49:08 +01:00
Brian Gough
49a7c3c27b Merge branch 'per-user-containers-part-2'
Conflicts:
	app/coffee/Features/Compile/ClsiManager.coffee
	app/coffee/Features/Compile/CompileController.coffee
	app/coffee/Features/Compile/CompileManager.coffee
2016-06-13 12:24:48 +01:00
Brian Gough
3c31988e9a enable on-demand viewing of pdfs for per-user compiles 2016-06-10 16:06:02 +01:00
Brian Gough
6c244eb2f4 Merge pull request #251 from sharelatex/fix-download-urls
fix filename of downloaded pdf files
2016-06-08 14:33:12 +01:00
Henry Oswald
a297c07bbb added null check into response.outputFiles? 2016-06-06 14:56:34 +01:00
Henry Oswald
79929eae73 Merge branch 'clsichecks' 2016-06-06 14:34:22 +01:00
Brian Gough
ce1524cd07 remove unnecessary build id in query string
this is now in the url
2016-06-02 15:48:13 +01:00
Brian Gough
272625fbcc add per-user compilation in client
enabled only when query string includes isolated=true
2016-06-02 15:48:13 +01:00
Henry Oswald
c284465ba5 added clsiformat checker, wired in 2016-06-02 13:09:32 +01:00
Brian Gough
b8e31dfc71 fix filename of downloaded pdf files 2016-06-01 16:47:55 +01:00
James Allen
daf8f6f3cf Refresh the page if the user is not logged in when joining a project 2016-05-31 11:47:48 +01:00
James Allen
345d38c28d Don't clean up a documents event listener until after the socket has disconnected on error 2016-05-27 14:39:33 +01:00
James Allen
36c8c197e1 Add more debug log lines 2016-05-27 14:14:08 +01:00
James Allen
fec3266726 Don't remove new instance of Document from openDocs when cleaning up old instance 2016-05-27 14:13:53 +01:00
James Allen
a605dae7ba Don't show saving just because of pending ops
When typing continuously, there is always a pending op present.
The only time we're not saving is if the inflight op isn't changing.
So long as this has changed, it means the previous one has been processed.
2016-05-27 14:08:46 +01:00
James Allen
4bc31ae2b9 Don't throw an error if we get an ack for our update more than once, since we may try sending it more than once 2016-05-27 10:46:14 +01:00
James Allen
6ea58d4d6c Don't try to resend an update if the editor is not joined to the project 2016-05-27 10:46:14 +01:00
James Allen
39e57a9886 Throw fatal error if document update actually returns an error from the real-time service 2016-05-27 10:46:14 +01:00
James Allen
0175a86d4c Add in debugging console.logs which only display if ?debug=true is in URL 2016-05-27 10:46:14 +01:00
James Allen
f937f0bc5c Remove missed debugging console.log 2016-05-25 10:38:40 +01:00
James Allen
a196531a58 Move spinner add logic into same code pathway as spinner remove logic 2016-05-24 15:13:08 +01:00
James Allen
3452a9870e Show logs when compile fails correctly 2016-05-24 15:10:55 +01:00
Shane Kilkelly
0c454f5ddd Merge branch 'master' of github.com:sharelatex/web-sharelatex 2016-05-20 14:34:55 +01:00
Shane Kilkelly
2441930fe9 Add a spinner when waiting for image preview to load. 2016-05-20 14:28:51 +01:00
Henry Oswald
11724fce13 Merge branch 'master' into clsi-dynamic-load 2016-05-20 12:34:42 +01:00
Brian Gough
eaa41e4361 support displaying output files using .url parameter from clsi 2016-05-20 11:34:22 +01:00
Shane Kilkelly
939c7a8c72 Force reload BinaryFile view when a new object is selected. 2016-05-20 11:20:00 +01:00
Shane Kilkelly
2e2354c574 Merge branch 'master' of github.com:sharelatex/web-sharelatex 2016-05-20 09:17:35 +01:00
Shane Kilkelly
9a6876d237 Toggle the dots at the end of bib preview, based on size of payload. 2016-05-20 09:17:25 +01:00
Henry Oswald
04e70735d2 Merge branch 'master' into clsi-dynamic-load 2016-05-19 16:26:54 +01:00
Henry Oswald
f03a076669 make cash bust add onto object not recreate it 2016-05-19 16:23:56 +01:00
Brian Gough
5497eb86d1 Merge pull request #245 from sharelatex/clean-up-log-requests-in-pdf-controller
clean up log requests, avoid requesting blg file when not present
2016-05-19 16:13:21 +01:00
Shane Kilkelly
0ea16f0bcc Index '.bib' file objects. 2016-05-19 14:58:12 +01:00
Henry Oswald
036b179ffe put the clsiserverid onto qs object for correct server allocation 2016-05-19 13:28:20 +01:00
Henry Oswald
2abebd850c Merge branch 'project_url_query' into clsi-dynamic-load 2016-05-19 13:08:20 +01:00
Shane Kilkelly
b649c13c17 Eliminate weird flicker when loading bibtex 2016-05-19 11:25:24 +01:00
Shane Kilkelly
b70a993572 Make bib previews more robust. 2016-05-19 11:11:23 +01:00
Shane Kilkelly
3c298ed6ad Preview up to Two Megabytes of bib files 2016-05-19 10:02:25 +01:00
Brian Gough
6305cea3e3 clean up log requests, avoid requesting blg file when not present 2016-05-18 16:17:38 +01:00
Shane Kilkelly
10f64004fc Show a book icon for *.bib files. 2016-05-18 15:58:24 +01:00
James Allen
d813f45d28 Cherry-pick 0e70320 (Select icon based on file extension) from datajoy 2016-05-18 15:58:01 +01:00
Henry Oswald
d2cc75b73f changed $scope.pdf.clsiServerId to ide.clsiServerId 2016-05-18 14:38:17 +01:00
Henry Oswald
dba8d96d11 pass clsiServerId to the client and use it as query stirng for requests 2016-05-18 12:50:50 +01:00
Shane Kilkelly
8621d497b4 Fix view so that bib preview only shows for bib files 2016-05-18 11:14:24 +01:00
Shane Kilkelly
eae82a2b20 Preview bib files. 2016-05-17 17:00:14 +01:00
Brian Gough
40464fe5b5 Merge pull request #244 from sharelatex/add-fast-path-to-pdf
Add fast path to pdf
2016-05-13 13:25:49 +01:00
Brian Gough
ac7aa5f936 request output files using /project/project_id/build/build_id/output/* route
avoids using query string for build_id
2016-05-13 11:48:58 +01:00
Shane Kilkelly
ae85dc3f5d Enable spaces after commas in references autocomplete 2016-05-12 15:13:00 +01:00
Shane Kilkelly
9eb2e933cd enable autocomplete on citations like citeauthor 2016-05-12 12:03:08 +01:00
Shane Kilkelly
60cc1bfbff Merge branch 'master' of github.com:sharelatex/web-sharelatex 2016-05-12 11:02:54 +01:00
Shane Kilkelly
41a6fa1480 Fix uncompiled pdf view 2016-05-12 11:02:24 +01:00
Brian Gough
ab0bcd4f57 increase default pdfjs chunk size from 64K to 128K 2016-05-10 15:53:37 +01:00
Shane Kilkelly
a1552aa872 reset the 'failedLoad' state when a new entity is selected 2016-05-04 10:08:48 +01:00
Shane Kilkelly
9738703424 If image preview fails to load, just show the "no preview" message 2016-05-04 09:32:59 +01:00
Shane Kilkelly
07ad6eb704 actually use the rendering-error state. 2016-04-25 12:42:03 +01:00
Shane Kilkelly
d54515a9a7 add a featureToggle property to ide. 2016-04-19 11:53:27 +01:00
Shane Kilkelly
76697599ae Use the _ide version of browserIsSafari 2016-04-11 14:45:26 +01:00
Shane Kilkelly
e3b2ec9977 Add a ide.browserIsSafari boolean flag. 2016-04-11 14:35:59 +01:00
Shane Kilkelly
8d6003dcc5 Add commentary 2016-04-11 09:58:37 +01:00
Shane Kilkelly
4fd4a0372c In Safari, limit iterations of the command-parsing loop. 2016-04-11 09:55:53 +01:00
Henry Oswald
633839c98b for support tickets include browser/os and hide email address if
set already. This way we know who they are logged in with which has
caused condfusion.
2016-04-04 16:05:42 +01:00
Henry Oswald
cb3eb88af2 Merge branch 'subscriptionimprovements' 2016-03-31 11:58:56 +01:00
Shane Kilkelly
059d3432c2 Allow citations like -parencite[page 6]{ to work. 2016-03-30 11:28:56 +01:00
Henry Oswald
c7da9f1eef added different check to contact-us modal 2016-03-29 14:25:59 +01:00
Henry Oswald
e2dffdf722 when user contact us put project url at bottom of message 2016-03-24 14:23:18 +00:00
Henry Oswald
6662d4c2cd wired up modal for learn and added translations 2016-03-24 12:05:54 +00:00
James Allen
9b84e1b164 Improve styling of wiki search 2016-03-24 11:38:56 +00:00
Henry Oswald
ce2cfeaa5b don't show search bar in templates if its not configured 2016-03-24 09:52:19 +00:00
Henry Oswald
6a4e13d3c8 added templates angular file forgoten in last commit 2016-03-24 09:35:11 +00:00
Henry Oswald
de0aa1035d pulled tempaltes search into its own file 2016-03-22 22:29:18 +00:00
Henry Oswald
9cfbbfa504 template search works nicely, needs styling 2016-03-22 22:16:38 +00:00
Henry Oswald
cf45b8bd74 Merge branch 'master' into templatessearch 2016-03-22 21:35:36 +00:00
Henry Oswald
c554b0630d if user has subscription before joining group is given option to cancel personal one 2016-03-22 16:59:47 +00:00
Shane Kilkelly
62ececeef8 show logs on failure. 2016-03-22 16:59:40 +00:00
Shane Kilkelly
2c321a4803 If the compile request errors out, set view to 'errors'. 2016-03-22 15:51:05 +00:00
Shane Kilkelly
12b0e982c8 Don't raise an error if output.blg cannot be found. 2016-03-22 14:42:00 +00:00
Shane Kilkelly
d566ce3fd2 Merge branch 'master' of github.com:sharelatex/web-sharelatex 2016-03-22 14:38:56 +00:00
Shane Kilkelly
d5c280dc4d Show the pdf if it was already loaded.
This ensures the pdf will be visible if the user switches to fullscreen-view.
2016-03-22 14:38:48 +00:00
Henry Oswald
fbfd160c6d default message to empty string 2016-03-22 14:02:15 +00:00
Shane Kilkelly
b8c3b427ee Merge branch 'sk-pdf-error-display' 2016-03-22 14:00:12 +00:00
Shane Kilkelly
2dd9aa9424 Merge branch 'sk-environment-autocomplete' 2016-03-22 13:55:41 +00:00
Henry Oswald
cacb3bf39e Merge branch 'master' of https://github.com/sharelatex/web-sharelatex 2016-03-22 12:30:52 +00:00
Henry Oswald
69a7a1508b modal != modal instance 2016-03-22 12:28:37 +00:00
James Allen
7637c858c8 Merge branch 'master' of github.com:sharelatex/web-sharelatex 2016-03-22 12:14:18 +00:00
James Allen
4595c90363 Use translations for action in project delete modal 2016-03-22 12:12:11 +00:00
Henry Oswald
c777f498ad Merge branch 'groove2' 2016-03-22 11:58:04 +00:00
Shane Kilkelly
45077cfba9 Merge branch 'master' into sk-pdf-error-display 2016-03-22 10:56:59 +00:00
Shane Kilkelly
723031f7f3 un-show logs on successful run. 2016-03-22 10:32:55 +00:00
Shane Kilkelly
293cb3c73e fix typo 2016-03-22 10:32:44 +00:00
Shane Kilkelly
4f3755318f Clean up. 2016-03-22 10:24:58 +00:00
Shane Kilkelly
59b131f251 First pass at refactoring the output panel views. 2016-03-22 09:39:33 +00:00
Shane Kilkelly
f58f1c3795 Account for the new too-recently-compiled error. 2016-03-21 15:16:17 +00:00
Shane Kilkelly
53dfa841cc Add the beginnings of a clsi-maintenance-mode message 2016-03-21 15:00:25 +00:00
Shane Kilkelly
9b22efbd98 split errors into normal error, and renderingError. 2016-03-21 13:20:03 +00:00
Henry Oswald
4e78e34cdf finished contact us with groove
for settings file:

<a ng-controller="ContactModal", ng-click="contactUsModal()", href>Contact</a>
2016-03-21 11:41:05 +00:00
Henry Oswald
882297c353 working framework. not happy with groove. Can't set mailbox 2016-03-18 12:55:35 +00:00
Henry Oswald
209c8ebbfc wip 2016-03-18 11:31:50 +00:00
James Allen
de02928454 Merge branch 'master' into ja_email_tokens 2016-03-17 17:01:26 +00:00
Shane Kilkelly
11d77df898 Fix weird tab behaviour 2016-03-17 16:18:46 +00:00
Shane Kilkelly
020fd2e88d De-dupe autocomplete entries 2016-03-17 15:58:57 +00:00
Shane Kilkelly
53b46e42cd Refactor, take indentation into account. 2016-03-17 15:27:20 +00:00
Shane Kilkelly
229ced6f2f Remove Indentation. 2016-03-17 14:43:34 +00:00
Shane Kilkelly
95a6e1900e Add autocomplete entries for the end{} commands 2016-03-17 14:09:45 +00:00
Shane Kilkelly
d655e99439 Parse existing begin commands too. 2016-03-17 12:07:21 +00:00
Shane Kilkelly
eebd25351d Add the custom environments to the list of snippets 2016-03-17 11:23:53 +00:00
Shane Kilkelly
c25c2b676a Parse \newenvironment{} commands. 2016-03-17 11:14:05 +00:00
Shane Kilkelly
115734f82e Rename Snippets -> SnippetManager 2016-03-17 10:04:14 +00:00
Shane Kilkelly
7cc3f7613e Move the getCompletions call for Snippets into the Snippets module. 2016-03-17 10:00:07 +00:00
Shane Kilkelly
2985a0b0b2 Account for later commands on the same line. 2016-03-16 11:42:30 +00:00
Shane Kilkelly
cff00c09b0 Add a '}' at the end of citation autocomplete if required. 2016-03-15 16:02:48 +00:00
Henry Oswald
3fc357a343 Merge branch 'master' into projectsizelimit 2016-03-14 10:31:07 +00:00
Henry Oswald
7e216391b7 wip 2016-03-12 10:55:17 +00:00
Shane Kilkelly
3ba5808074 Merge branch 'master' into sk-biber-errors 2016-03-11 13:54:06 +00:00
Henry Oswald
36966f0c9b wip 2016-03-10 17:11:28 +00:00
James Allen
e36be96ec9 Move public access setting to its own end point 2016-03-10 11:13:57 +00:00
Henry Oswald
f108c01ea5 don't do a project rename if the name is the same
this prevents double renaming which happens when you press
enter as well as no name change
2016-03-09 14:47:57 +00:00
Shane Kilkelly
cb28fe0891 use the renamed bib-parser. 2016-03-08 16:18:02 +00:00
Shane Kilkelly
6911de1149 Merge branch 'master' into sk-biber-errors 2016-03-08 14:55:19 +00:00
Henry Oswald
3643f6ef4f Merge branch 'master' of https://github.com/sharelatex/web-sharelatex 2016-03-08 14:13:40 +00:00
Shane Kilkelly
471cb95091 Clean up a bit, and upgrade parser. 2016-03-08 14:04:42 +00:00
Shane Kilkelly
f6d02090d2 First pass at parsing and showing decent biber errors. 2016-03-08 13:20:23 +00:00
Brian Gough
d89e855314 add client-side spelling cache to reduce load on server 2016-03-03 16:00:10 +00:00
Henry Oswald
789abe504d added random ticket number to groove tickets 2016-03-02 12:23:51 +00:00
Shane Kilkelly
ca43d27244 Merge branch 'master' of github.com:sharelatex/web-sharelatex 2016-02-29 15:52:09 +00:00
Shane Kilkelly
b005f8233e guard against null and undefined keys in \cite{} autocomplete 2016-02-29 15:52:02 +00:00
Henry Oswald
8f0d1dc73e add in the calls to block large projects 2016-02-29 13:05:17 +00:00
James Allen
71ca358e0e Show confirmation if upload will overwrite files 2016-02-24 16:37:03 +00:00
James Allen
ff7632d6c7 Don't reload editor with file tree or PDF viewer hidden 2016-02-23 15:21:54 +00:00
James Allen
f21aa0dd94 Don't allow project names to be blank 2016-02-23 15:21:53 +00:00
Shane Kilkelly
1e1f57a80b Merge branch 'master' of github.com:sharelatex/web-sharelatex 2016-02-22 12:04:43 +00:00
Shane Kilkelly
2d954baa62 match cite commands like footcite too. 2016-02-22 12:04:15 +00:00
Henry Oswald
85a8bc97ed add leave group button for group subscriptions 2016-02-19 12:27:32 +00:00
Shane Kilkelly
b505f0d455 Merge branch 'sk-references-search'
Conflicts:
	app/coffee/Features/References/ReferencesController.coffee
2016-02-19 11:30:55 +00:00
James Allen
e4960e782f Merge branch 'ja-multi-select' 2016-02-12 11:56:10 +00:00
Henry Oswald
5c5888b5dc Merge branch 'pr/221' 2016-02-11 11:44:45 +00:00
James Allen
938b042f8c Include selected entity in multi selection on first click 2016-02-10 15:59:51 +00:00
James Allen
8359029503 Improve drop zones and feel of dragging in file tree 2016-02-10 15:54:25 +00:00
James Allen
d47f6801c2 Don't trigger delete event on move to avoid switching to root document 2016-02-10 15:26:26 +00:00
James Allen
4487ae1253 Look for queued-http in the correct place 2016-02-10 11:38:01 +00:00
James Allen
03a3e1ceb3 Added missing files 2016-02-09 15:20:59 +00:00
James Allen
506d2224aa Allow Cmd+Clicking to multi select entries in the file tree 2016-02-09 15:13:58 +00:00
Shane Kilkelly
326d9e59f8 Refactor ReferencesSearch* to just References*. 2016-02-08 17:04:27 +00:00
James Allen
835b43cab2 Don't remove replace command so Ctrl+H is an option in Vim mode 2016-02-05 11:15:00 +00:00
James Allen
5cfd4e0d1f Fix toggle comment hotkey for European keyboards 2016-02-04 15:42:54 +00:00
James Allen
8a095a5144 Upgrade to PDF 1.3.91 2016-02-04 14:27:00 +00:00
Shane Kilkelly
9880df496f Display ellipsis instead of previous args if they are too long. 2016-02-04 10:49:01 +00:00
Henry Oswald
47eebb1840 add null check and default empty object for subscirption dashboard 2016-02-03 17:41:05 +00:00
Shane Kilkelly
90fd6eb8a1 Autocomplete with many parameters to cite. 2016-02-03 16:46:34 +00:00
Shane Kilkelly
7ef96be7dc Handle cite commands like citep and citet, etc. 2016-02-03 15:08:52 +00:00
Shane Kilkelly
7fceb2b3af Merge branch 'master' of github.com:sharelatex/web-sharelatex 2016-02-03 11:08:58 +00:00
Shane Kilkelly
d0835fd2ba Fully enable references autocomplete. 2016-02-03 11:08:51 +00:00
James Allen
65a42c551d Update \documentclass regex so that it does match on '\documentclass{...} % comment with \documentclass' 2016-02-03 10:19:25 +00:00
James Allen
4c626f23e7 Merge pull request #224 from sharelatex/ja_draft_mode
Draft mode for compiles
2016-02-02 15:04:21 +00:00
James Allen
425a9b9db2 Add in option to compile in draft mode 2016-02-02 14:50:48 +00:00
Henry Oswald
a05a7b984f refresh scope after contact us request 2016-02-01 15:41:43 +00:00
Henry Oswald
7f05ac54f8 improved contact us form progress feedback 2016-02-01 15:22:22 +00:00
Henry Oswald
1f6b43e1b1 added universties site angular controler 2016-02-01 14:33:50 +00:00
James Allen
a0e129b880 Remove tag from projects when deleted 2016-02-01 11:36:04 +00:00
James Allen
1ee0ef2cde Remove console.log line 2016-02-01 10:36:38 +00:00
James Allen
b32178182d Explicitly create tags and get their id 2016-02-01 10:18:56 +00:00
James Allen
77cc6af35e Update add tag end point to use tag_id 2016-02-01 10:18:56 +00:00
James Allen
f1e65cc776 Use tag_id for deleting tags from project 2016-02-01 10:18:56 +00:00
James Allen
1bd5aef85f Allow renaming of tags 2016-02-01 10:18:56 +00:00
James Allen
1a86e69d1f Allow tags to be deleted 2016-02-01 10:18:56 +00:00
Shane Kilkelly
280a0fa54c Remove debug prints. 2016-01-28 10:22:19 +00:00
Shane Kilkelly
cc818695ef Split References.index into index and indexAll. 2016-01-27 16:00:53 +00:00
Shane Kilkelly
ec8a12d445 Flush changes to mongo before sending request to references service 2016-01-27 13:33:42 +00:00
Shane Kilkelly
a043f28d9b Remove extra event emission. add debug print. 2016-01-26 16:49:54 +00:00
Shane Kilkelly
6866d45c3c Delete dead code 2016-01-26 16:39:47 +00:00
Shane Kilkelly
6e3dba52e5 Set up feature flag for references autocomplete. 2016-01-26 16:35:58 +00:00
Shane Kilkelly
a3cee72663 Remove old routes and debug prints. 2016-01-25 13:56:07 +00:00
Henrique Santos
9429e49cf8 finishing frontend 2016-01-22 18:08:39 -02:00
Shane Kilkelly
c911b7d6a3 Broadcast references-key changes back to connected clients. 2016-01-22 15:59:43 +00:00
Shane Kilkelly
af75bb8a60 wip: change how indexing of references works. 2016-01-22 14:23:59 +00:00
Henrique Santos
476eaa8b84 add notification backend and unit test
add notification init frontend
2016-01-21 18:42:50 -02:00
Shane Kilkelly
307f78b831 WIP: send multiple bib files and get back keys 2016-01-21 17:01:24 +00:00
Shane Kilkelly
58edb87c61 Dumbest bug ever. Fix latex autocomplete. 2016-01-19 12:58:18 +00:00
Shane Kilkelly
dbbc3bbbbb Fetch the keys when autocomplete is triggered on a cite element. 2016-01-18 10:29:13 +00:00
Shane Kilkelly
6244d013af Null check before regex match 2016-01-14 10:18:12 +00:00
Shane Kilkelly
d5edea77db Put the references autocomplete feature behind a feature flag for now. 2016-01-13 14:42:35 +00:00
Shane Kilkelly
77333c923b Merge branch 'master' into sk-references-ac 2016-01-04 09:37:10 +00:00
Shane Kilkelly
3bd52f4aaf Better matching against keys.
Allows for successive matching as you type.
2015-12-30 11:27:58 +00:00
Shane Kilkelly
7aa8f3a5da autocomplete the cite{key part. 2015-12-30 11:11:30 +00:00
Shane Kilkelly
b0f3d9e6f4 load the keys if the command is a 'cite' 2015-12-29 15:48:42 +00:00
Shane Kilkelly
e94863d026 Get reference keys when project loads. 2015-12-29 13:30:57 +00:00
Shane Kilkelly
a48abcab0b load references keys for autocomplete. 2015-12-29 11:02:59 +00:00
Henry Oswald
134e733b01 change succesful subscription message 2015-12-21 10:31:22 +00:00
Shane Kilkelly
bd0f1c0e29 keep the references keys. 2015-12-18 16:20:58 +00:00
Shane Kilkelly
4d46804b9f Remove debug prints. 2015-12-18 16:12:55 +00:00
Shane Kilkelly
8c9c476dd7 Fetch the list of keys from references index. 2015-12-18 16:00:24 +00:00
Brian Gough
1b70e08f82 reinstate the chaosmonkey 2015-12-18 09:55:24 +00:00
Shane Kilkelly
1ea13a74dd Refresh the references when the bib file is closed. 2015-12-17 15:13:02 +00:00
Henry Oswald
1ad27bb6ed changed left menu test to show random benefit to users 2015-12-16 12:40:34 +00:00
Henry Oswald
e801f288f2 add tabs to snippets 2015-12-12 11:53:33 +00:00
Henry Oswald
3ed4c0fb72 change name of test cancelation-view -> cancelation-options-view 2015-12-12 11:17:17 +00:00
Henry Oswald
d5cf8f6886 simplified cancelation logic 2015-12-09 13:58:26 +00:00
Henry Oswald
56fa51f9b2 got translations done for subscription dashboard 2015-12-09 11:24:14 +00:00
Henry Oswald
aafdeb031e wip - downgrade options it all works, need unit tests & translations 2015-12-08 18:23:28 +00:00
Henry Oswald
8fb1f9e00b wip: downgrade to student if they are a collab monthly 2015-12-08 15:45:52 +00:00
Henry Oswald
156f646613 increase number of files that can be uploaded & limit 1 concurent 2015-12-07 16:50:09 +00:00
Henry Oswald
88799fc881 add help link when user needs to refresh page 2015-12-04 08:43:55 +00:00
Henry Oswald
25411189a7 redirect to login if session expired in file upload 2015-12-02 15:40:14 +00:00
Henry Oswald
8590af3e49 added rate limit on server side for file uploads 2015-12-01 13:08:49 +00:00
Henry Oswald
a6aea41fb1 added max of 20 files which can be uploaded at same time to client 2015-12-01 12:55:35 +00:00
Henry Oswald
4f3b01ed43 Merge branch 'master' of https://github.com/sharelatex/web-sharelatex 2015-11-23 17:11:06 +00:00
Henry Oswald
333c1be68f added dropbox and github promo on left hand side 2015-11-23 15:12:17 +00:00
James Allen
dea97bb9dc Fix bad connection debugging parameters 2015-11-19 13:15:51 +00:00
James Allen
442ae638de Revert "Report unsaved changes after 60 seconds"
This reverts commit 44a7e598f2fdbd91d18cc340de477ca3d33a1338.
2015-11-19 12:04:35 +00:00
James Allen
99bca31766 Error and hard refresh document after 30 seconds unsaved changes 2015-11-19 12:04:12 +00:00
James Allen
bf452bf306 Keep the connection.id up to date with socket.io client id
The meta.source of an update is populated on the server side so
we need to keep our local connection id up to date with it. When a duplicate
op is submitted we must send all possible client ids that it could have
been sent with.
2015-11-19 12:04:12 +00:00
James Allen
cde5144c42 Retry updates that have not been acknowledged.
If we do not get a reply from the server acknowledging our update after 5 seconds,
send it again. If it never got to the server, this is like normal. If the update
got to the server, but we never received the ack then we need to rely on ShareJs's
duplicate handling. We set the dupIfSource parameter on any retried updates which
let ShareJs know that it's a dup if we already have an op with this version number
and client id. The doc-updater and real-time services need changes to correctly
send another ack only to the submitting client in the case of a duplicate update.
2015-11-19 12:04:12 +00:00
James Allen
2476c1e868 Report unsaved changes after 60 seconds 2015-11-18 15:23:23 +00:00
Henry Oswald
5a9174b1de use user_id for client side six pack. also change name of editor free trial test 2015-11-17 15:54:59 +00:00
Henry Oswald
76be671e26 fix the popup alert when starting a new trial 2015-11-17 14:56:03 +00:00
Henry Oswald
b1c0dfb0e4 show discount rate on pricing page 2015-11-17 12:23:27 +00:00
Henry Oswald
631e84f5d6 copy coupon code over when switching to student 2015-11-17 11:47:28 +00:00
Henry Oswald
d959a51f36 show normal price if there is a discount 2015-11-17 11:42:03 +00:00
Henry Oswald
ef3613371f don't show coupon area for upgrades 2015-11-17 11:41:39 +00:00
Henry Oswald
471b285ad7 changed plan choice using ab sixpack not ga 2015-11-16 16:40:14 +00:00
Henry Oswald
f7854649e2 added 20% off option 2015-11-16 15:58:04 +00:00
Henry Oswald
89381e84eb switch to student switches to free trial 2015-11-16 15:51:54 +00:00
Henry Oswald
b6b252b1f8 only participate in track changes test if they are shown view 2015-11-10 15:14:27 +00:00
Henry Oswald
5598624ee1 only run participate test for sign up if user has no projects 2015-11-10 14:06:06 +00:00
Henry Oswald
c8ba7b72ab Merge branch 'master' of https://github.com/sharelatex/web-sharelatex 2015-11-10 10:36:06 +00:00
James Allen
a153c6682a Put in client side check for document getting too long 2015-11-06 12:51:43 +00:00
James Allen
8128200d55 Don't show pop up when leaving page in Safari 2015-11-05 10:18:40 +00:00
James Allen
16b7bf222a Merge branch 'contacts' 2015-11-05 10:14:25 +00:00
James Allen
21f702a42e Fix bug with click on share button registering 2015-11-04 14:33:27 +00:00
Henry Oswald
0ef8d77ce3 project list minimal to work with projects 2015-11-02 18:44:12 +00:00
James Allen
c46f62cfc1 Ensure that a user can only be added to project once 2015-11-02 15:21:41 +00:00
Shane Kilkelly
c05c5ac7c8 Clear drag/drop highlight explicitly after the drop has completed.
Solves a problem where sometimes the Jquery drag/drop plugin
fails to remove the highlight class from drop target.
2015-10-28 12:17:50 +00:00
Henry Oswald
730088b6ab set button colour to red for free trial 2015-10-27 23:35:13 +00:00
Henry Oswald
2d03410c42 removed some editor actions sent to google analytics as we are sending too much data 2015-10-27 23:28:54 +00:00
Henry Oswald
97c2b5fb11 removed excess logging for sixpack 2015-10-27 11:20:54 +00:00
Henry Oswald
8f1d09beea added six pack to web 2015-10-27 10:58:27 +00:00
James Allen
bafd3a1cb4 Merge branch 'master' of github.com:sharelatex/web-sharelatex 2015-10-16 12:31:21 +01:00
James Allen
fb42489803 Improve formatting of users, groups and tags 2015-10-15 16:43:53 +01:00
James Allen
b0895cc6aa Support adding groups to projects via share modal 2015-10-15 13:53:46 +01:00
Henry Oswald
bbe510099e change auto disconnect to 24 hours and expose it publicly for easier testing 2015-10-15 11:38:23 +01:00
Henry Oswald
2f48568f76 fix free trial button on timeout view 2015-10-15 11:38:01 +01:00
Henry Oswald
9eb4dd1b3b on firefox don't show retrying connected message if the user clicked to change page
it creates a bit of worry for the user as it looks like the connection was not there.
2015-10-14 18:07:12 +01:00
Henry Oswald
f5162d424f if a user is inactive for 12 hours disconect them. 2015-10-14 14:28:24 +01:00
Henry Oswald
28e507b007 Revert "A tiny cache-busting change"
This reverts commit 1241b397d32cf982c9bb92865c725ce1e431e409.
2015-10-09 10:12:08 +01:00
Shane Kilkelly
8676ce9538 A tiny cache-busting change 2015-10-09 08:45:50 +01:00
James Allen
c4e4f2c77a Add modules hook for contacts and support groups in auto complete 2015-10-08 18:17:53 +01:00
James Allen
8cc7869b03 Pull in contacts from contacts api and send to tag-input for autocomplete 2015-10-07 17:32:35 +01:00
Henry Oswald
a73b2ceb37 Merge branch 'connect-failed' 2015-10-07 11:30:48 +01:00
James Allen
64ffcde3df Namespace subscription groups as SubscriptionGroup 2015-10-05 16:37:03 +01:00
Henry Oswald
89256f9d5f added connect timeout option to socket.io.connect needed for the firing of connect_failed. Best way to test is drop connect timeout to 10ms and remove some transports from realtime. 2015-10-05 00:43:37 +01:00
Shane Kilkelly
b4c7209a11 Try to reconnect either on editor-cursor move, or when any thing in the page is clicked. 2015-09-29 10:23:21 +01:00
Shane Kilkelly
8bd83f64e0 Try to reconnect when the editor cursor is moved. 2015-09-28 16:18:09 +01:00
Shane Kilkelly
b393de1450 Try to reconnect when the user types in the editor. 2015-09-28 15:45:14 +01:00
Shane Kilkelly
30a63d1e42 Remove ng-click on output files, which was causing a double-request for download. 2015-09-22 10:11:03 +01:00
Henry Oswald
5ffd76c670 Merge branch 'master' of https://github.com/sharelatex/web-sharelatex 2015-09-14 15:36:08 +01:00
Henry Oswald
9a72667e91 added word count UI feature. 2015-09-14 15:28:19 +01:00
Shane Kilkelly
5e157bcd16 Fix a case where a null user would cause displayName to crash. 2015-09-14 12:27:27 +01:00
Shane Kilkelly
7bc9218b3c Fix up a bunch of issues with the track-changes list view.
- not crash when a user is null
- fix alignment of user color square
- if first and last name are absent, display email instead
- truncate overly long display name with '...'
2015-09-14 12:08:05 +01:00
Shane Kilkelly
4a315a0474 When a user is null in track-changes UI, display them as "Anonymous". 2015-09-10 14:35:09 +01:00
James Allen
1c9f9274a9 Remove uneeded and now wrong Sentry error capturing 2015-09-08 11:48:39 +01:00
James Allen
25b9a9be19 Upgrade Ace to 'package 11.07.15'
This required a refactor of all code that listen to events changes since the API
has changed. See https://github.com/ajaxorg/ace/pull/1745 for more details.
2015-09-07 17:04:05 +01:00
James Allen
aa06eb55b7 Merge branch 'master' into angular_1.3.15 2015-09-03 12:52:08 +01:00
James Allen
7446572ed9 Group online users into dropdown menu when more than 3 2015-09-02 14:33:51 +01:00
James Allen
34c8f22dd7 Allow multiple collaborators to be added at once with a list of emails 2015-09-02 14:33:43 +01:00
Shane Kilkelly
96619bde8c Move the template-browser code into the 'templates' module.
Now located to be located at `modules/templates/public/coffee/main/index.coffee`,
moved to complete a migration of template related code into the templates module.

Corresponding commit in sharelatex-web-modules:
625c556e42072d30f30d474aaef72deff24ca154
2015-08-18 14:21:35 +01:00
Henry Oswald
3e55aef25a show error if socket io fails to connect. Not tested yet. 2015-07-31 15:42:47 +01:00
James Allen
c75cdf24b5 Fix selectAll for angular upgrade 2015-06-29 13:43:44 +01:00
Henry Oswald
b657c5207e cleaned up the views a bit 2015-05-27 21:45:29 +01:00
Henry Oswald
481bd67fbd changed paths to use hyphens and add succesfull join page 2015-05-26 15:26:45 +01:00
Henry Oswald
cad8d8a23b v1 basic invite works, not pretty or tested 2015-05-22 13:57:15 +01:00
Brian Gough
1bb7ae3996 always remove the spinner, even if it is not spinning 2015-05-11 14:12:24 +01:00
Brian Gough
92836f49fc avoid unnecessary spell checks on session change 2015-05-11 10:07:11 +01:00
Henry Oswald
9764ab258b added complex password validation to password resets 2015-04-30 12:05:46 +01:00
Henry Oswald
65b91930d1 field != feild 2015-04-28 17:50:06 +01:00
Henry Oswald
cdbc239a62 config the password options via the settings 2015-04-28 17:39:35 +01:00
Henry Oswald
fa4a51b5a3 email address is not allowed as part of password 2015-04-28 16:20:12 +01:00
Brian Gough
82c35d9b82 example of using controller to access other fields 2015-04-27 16:38:40 +01:00
Henry Oswald
639f73ea74 mvp for password validation 2015-04-27 14:42:32 +01:00
Henry Oswald
7d109ce77d null check error in pdf view 2015-04-23 10:40:11 +01:00
Henry Oswald
31a51b73d8 improved linkify so data is correctly sanitized, used inbuilt angular lib
don't know how I missed that last time!
2015-04-22 17:58:33 +01:00
James Allen
6c585adb3c Merge branch 'buffer_sharejs_ops' 2015-04-22 13:59:19 +01:00
Brian Gough
d0c759c6fb always send the latest position when emitting updatePosition event
Avoid sending outdated position by capturing the current position in
$scope.currentPostion on every call and sending it the when the timer
for updatePosition runs.
2015-04-20 14:26:56 +01:00
James Allen
87d625b5e0 Delay flushes performed after getting an op acknowledgement as well 2015-04-17 17:32:23 +01:00
James Allen
8a32ca1b64 Reduce buffer delay to 1 second 2015-04-17 16:45:17 +01:00
James Allen
af85c83877 Buffer updates when only a single user is editing a document
Add in 5 second delay between flushing updates when only a single user
is editing a document. As soon as an update is received from another user
we switch to sending updates immediately again so there is no latency
between collaborators. The logic applies to individual docs, so two users
can be editing different docs and will still buffer updates since they
will not affect each other.
2015-04-17 11:24:28 +01:00
Henry Oswald
dbd076849b updated online user management to only send cursor position when people are collaborate
if someone is in the project with them cursor info is sent every 500ms, if they are
by themself it is sent every 5mins so they are still marked as online.
2015-04-16 21:01:03 +01:00
Henry Oswald
52f3248869 null check entity in filetree for orderByFoldersFirst 2015-04-14 17:05:13 +01:00
Brian Gough
2ed934120c Fix display of annotations when switching files in ace editor
The annotations (error markers) were not preserved when switching
between files.  The setAnnotations method was being called before the
document is ready -- when the document is attached to ace the content
is deleted and reinserted, which caused the annotations to be removed.
To fix the problem we set the annotations after attaching.
2015-04-08 14:39:39 +01:00
Brian Gough
52b041c0bf update pdf text layer builder with improvements from pdfjs 1.0.1040 2015-03-31 14:55:05 +01:00
Brian Gough
b893446b9c use new pdfjs getDestination method in pdfRenderer
gives faster lookup of link destinations in pdf file
2015-03-31 14:54:36 +01:00
Brian Gough
0684fa36fd upgrade pdfjs to version 1.0.1040 2015-03-31 14:53:27 +01:00
Mick O'Brien
9f037384b6 Update word regex for spellcheck
Adds Latin Extended-A characters to word regex to prevent splitting words half way through on characters like ąęćółżźńś.
2015-03-23 16:14:38 +00:00
James Allen
358242a5e0 Merge pull request #159 from SibrenVasse/adblock_fix
Fix for adblock blocking loginscreen.
2015-03-23 12:29:40 +00:00
James Allen
8483f249ee Actually proxy websocket connections 2015-03-20 19:08:48 +00:00
Brian Gough
b0a32b1ef8 make new pdf viewer the default for all users
remove old pdf viewer
2015-03-20 11:28:28 +00:00
James Allen
ff55e4c5ed Merge branch 'private_registration' 2015-03-20 10:34:17 +00:00
Brian Gough
3bdf2158c1 avoid exception on page size change 2015-03-19 14:26:06 +00:00
James Allen
9b8cf7bcfa Remove public registration and require that a user be registered by an admin 2015-03-19 14:22:48 +00:00
Brian Gough
6320fcccec remove underscore from pollSavingStatus
the underscore module is not loading in time for some users on MacOS
2015-03-19 14:22:22 +00:00
Sibren Vasse
f4f74a2baf Fix for adblock blocking loginscreen. 2015-03-17 20:14:55 +01:00
James Allen
bb61dfe34a Show nice error page if socket.io could not be loaded 2015-03-09 13:57:13 +00:00
Brian Gough
b41cdb424b Merge branch 'master' of github.com:sharelatex/web-sharelatex
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2015-03-06 15:03:52 +00:00
Brian Gough
24b2844ece avoid race condition loading underscore
make underscore.coffee angular module depend on libs, which depends on
underscore-1.3.3

Have avoided adding an extra dependency on underscore itself so that
the version number is not duplicated.  We could have a single
definition of underscore in the requirejs config, to keep the version
number in one place.
2015-03-06 15:03:30 +00:00
Henry Oswald
97f0fad525 add vat number option to payment form 2015-03-04 18:08:06 +00:00
Henry Oswald
80dc2f9224 send coupon code server side to be applied to users subscription 2015-03-04 17:50:24 +00:00
Henry Oswald
69806c02d0 improve behaviour of trying to rename a file to empty 2015-03-04 14:19:47 +00:00
Henry Oswald
fe3b9bf07a clients can not rename docs/files/folders to blank name.
Client and server side checks added
2015-03-04 11:10:59 +00:00
Brian Gough
8d092fc84d replace .filter with _.filter to remove dependency on ES5 2015-03-03 16:45:37 +00:00
Brian Gough
c52a122966 workaround for lack of DOM element .remove in IE 2015-03-03 16:44:26 +00:00
Brian Gough
7aea33b562 keep existing behaviour when loading other output files 2015-03-02 12:18:10 +00:00
Brian Gough
0315954b47 Merge branch 'master' into support-cached-pdfs 2015-03-02 09:20:00 +00:00
Brian Gough
caed778117 load output files from cached build when known 2015-02-26 16:47:47 +00:00
Brian Gough
5b9f2e8fc1 pass build id through to clsi when requesting pdf 2015-02-26 16:21:44 +00:00
Henry Oswald
3a9c6503ee null check mathjax 2015-02-23 17:46:17 +00:00
Henry Oswald
9a7f73ed89 null check response.outputFiles 2015-02-23 17:43:22 +00:00
Henry Oswald
4f11974c85 added null check when looking for deletedByExternalDataSource 2015-02-23 17:33:05 +00:00
Henry Oswald
c98c2db6be change Raven?.captureException to not log json, might be causing error 2015-02-23 17:27:35 +00:00
Henry Oswald
f7f681d2a3 deal with nan tax rate if user is not in taxable location for subscription dashboard/change plan 2015-02-22 18:35:59 +00:00
Henry Oswald
67f4929e49 null check on loadRootFolder 2015-02-18 22:31:45 +00:00
Henry Oswald
e8b50e2ffd null check highlights before removing them 2015-02-18 22:29:07 +00:00
Henry Oswald
2c3b19e43d null check on deleting entry from scope 2015-02-18 22:28:02 +00:00
Henry Oswald
c15484db6b added null check on log entry files in the client 2015-02-18 22:16:29 +00:00
Henry Oswald
4ec05364bb set chat message to empty string by default 2015-02-18 22:06:18 +00:00
Henry Oswald
4c4aaac7a9 Merge branch 'master' of https://github.com/sharelatex/web-sharelatex 2015-02-17 10:59:25 +00:00
Henry Oswald
c4b21f3184 added some null checks to message.user.id 2015-02-16 23:16:38 +00:00
Brian Gough
c29714f427 avoid unnecessary infinite scroll loadUntilFull calls
allow the dom to update before checking if more data is needed
2015-02-13 15:53:59 +00:00
James Allen
f037c466cd Quieten noisy Ace warnings 2015-02-12 12:17:21 +00:00
James Allen
18d627baba Add missing localStorage.coffee... oops 2015-02-12 11:55:52 +00:00
James Allen
7dd1ab84d5 Wrap calls to localStorage in an exception handler 2015-02-12 11:32:27 +00:00
Henry Oswald
bf38fb7459 Merge branch 'master' of https://github.com/sharelatex/web-sharelatex 2015-02-10 18:05:51 +00:00
Henry Oswald
1d6c928c81 fix bug which showed all plans as monthly in payment form.
Also use translations for string of month/year
2015-02-10 18:05:39 +00:00
James Allen
bd5f303712 Remove dropbox js include 2015-02-10 14:05:51 +00:00
James Allen
b44e9b1dcb Move template front end code to module 2015-02-10 13:02:43 +00:00
James Allen
e4b77a2563 Merge branch 'dropbox-module' 2015-02-10 11:38:32 +00:00
Brian Gough
353e9c86a8 sample only 1% of pdf exceptions due to volume of requests to sentry 2015-02-09 11:18:46 +00:00
Henry Oswald
08420a305a autolink chat messages 2015-02-07 16:15:33 +00:00
Henry Oswald
6f5b524b56 use currency for change plan pricing 2015-02-06 17:08:42 +00:00
Henry Oswald
79e7f82a36 only setup recurly once for subscription dashboard and apply async to make sure updates on pricing are applied 2015-02-06 16:54:11 +00:00
Henry Oswald
7030d5f822 change plan shows price including tax 2015-02-06 16:19:52 +00:00
James Allen
6c387edbe2 Remove Dropbox front end logic from main sharelatex repo 2015-02-05 18:20:34 +00:00
James Allen
d7afb4e513 Clean up unused real-time code in web 2015-02-05 16:37:37 +00:00
James Allen
ae3175c805 Show cookies error message on forbidden response 2015-02-05 12:57:44 +00:00
Henry Oswald
42d8f1f222 Merge branch 'master' of https://github.com/sharelatex/web-sharelatex 2015-02-03 14:10:27 +00:00
James Allen
753a80ada5 Navigate away from deleted docs. Closes #141 2015-02-03 13:51:56 +00:00
James Allen
bd8311e1cf Merge pull request #146 from sharelatex/fix-pdfng-no-background-digests
Fix pdfng no background digests
2015-02-03 12:11:46 +00:00
Henry Oswald
e9ab77351a Merge branch 'master' of https://github.com/sharelatex/web-sharelatex 2015-02-03 11:36:16 +00:00
Henry Oswald
e4976539d9 show generic error handler only on error 2015-02-03 10:41:58 +00:00
James Allen
860de1528f Load default coupon code if provided in query string 2015-02-02 17:42:27 +00:00
Henry Oswald
69b5eaad19 fixed the classic "UI Layout Callback Error" 2015-01-29 19:23:04 +00:00
Henry Oswald
cb889efb6a Merge branch 'master' of https://github.com/sharelatex/web-sharelatex 2015-01-29 18:32:26 +00:00
Henry Oswald
948eeb87ba improved momentjs
- access it via amd not global
- remove warning message
- updated 2.7.0 -> 2.9.0
2015-01-29 18:31:11 +00:00
Henry Oswald
5a15e826a7 moved mathjax to be served locally 2015-01-29 18:29:53 +00:00
James Allen
36513f443c Ensure we are in a digest loop when updating validation errors 2015-01-29 14:43:38 +00:00
James Allen
3731c62e17 Get validation working with address fields and Angular digest loop 2015-01-29 14:22:57 +00:00
James Allen
2a78a7843a Allow subscriptions with no free plans, and adjust styles 2015-01-29 14:11:25 +00:00
Henry Oswald
69c3f48c1e if there is a validation error re enable the button 2015-01-29 13:56:19 +00:00
Brian Gough
a13e78e853 catch rejected promises in pdfviewer 2015-01-26 16:07:49 +00:00
Brian Gough
b4f527b099 handle rejected promises in pdf viewer 2015-01-26 16:07:49 +00:00
Brian Gough
182dfabbae fix pdf loadcount (no ?: operator in coffeescript) 2015-01-26 16:07:49 +00:00
Brian Gough
1a8438be5f handle error loading pdf 2015-01-26 16:07:49 +00:00
Brian Gough
d9a3776183 make sure the progress bar always goes to 100% before removing 2015-01-26 16:07:49 +00:00
Brian Gough
5a47b1bac2 use .25-second delay before loading indicator is removed 2015-01-26 16:07:49 +00:00
Brian Gough
940c6a4b8d replace console.logs with error callbacks 2015-01-26 16:07:48 +00:00
Brian Gough
a5900c4b9a handle case where Raven is not defined in pdf renderer 2015-01-26 16:07:48 +00:00
Brian Gough
192918dda1 replace $timeout by setTimeout in pdf viewer 2015-01-26 16:07:48 +00:00
Brian Gough
63fd1f7c78 remove comments 2015-01-26 16:07:48 +00:00
Brian Gough
20d1a8b0f7 queue all pdf rescale/relayout events to avoid duplicate redraws
delay spinner by 100ms, since it now shows sooner
2015-01-26 16:07:48 +00:00
Brian Gough
866de306d6 added comment about double resize event 2015-01-26 16:07:48 +00:00
Brian Gough
3d1fe22f00 remove layout-ready event from pdfjs, we get it from jq layout 2015-01-26 16:07:48 +00:00
Brian Gough
bd8cfb1dae fix pdf viewer to work without background scope.apply 2015-01-26 16:07:48 +00:00
Brian Gough
1160560bfb add missing scope.$apply in pdf viewer event handlers
shows up now there are no apply's coming from the unsaved file check
2015-01-26 16:07:48 +00:00
Brian Gough
994b307e3f added comment for background polling change 2015-01-26 16:06:50 +00:00
Henry Oswald
bebe94a128 Merge branch 'master' of https://github.com/sharelatex/web-sharelatex 2015-01-26 15:38:34 +00:00
Henry Oswald
b06c9f509e if chat errors don't keep trying to get more chat messages
causes loop which is why we have so many sentury errors
2015-01-26 15:36:34 +00:00
Brian Gough
5050c8c023 optimise common case for highlights (triggered on mousemove) 2015-01-26 15:14:55 +00:00
Brian Gough
5244fddce2 optimise common case for closing context menu (triggered on scroll) 2015-01-26 15:04:30 +00:00
Brian Gough
e62a2c7a6f only set watch on attrs.layoutDisabled when attribute is defined 2015-01-26 15:04:30 +00:00
Brian Gough
0453c657da prevent $scope.$apply from firing on every unsaved files check
only trigger a digest when there is a change in the saved state
2015-01-22 17:00:56 +00:00
Brian Gough
e66cd6dc58 Merge pull request #142 from sharelatex/pdfng-scrollhandler
Pdfng scrollhandler performance improvements
2015-01-21 15:25:29 +00:00
Brian Gough
4ab0f00b8d do not render offscreen pdf pages yet
they cause a delay without a visible spinner
2015-01-21 14:37:59 +00:00
Brian
f510c5d19f render current page immediately 2015-01-20 21:33:49 +00:00
Brian
62d5916883 replace $timeout by setTimeout in pdf viewer update 2015-01-20 21:06:53 +00:00
Brian
ed6eedd9e2 remove unused functions in pdfRenderer 2015-01-20 20:36:43 +00:00
Brian
c8012dc22c fix getVisiblePages in pdf viewer to allow optimisation 2015-01-20 20:35:29 +00:00
Brian Gough
debc3037ae remove debugging from pdf viewer 2015-01-20 16:22:34 +00:00
Brian Gough
441bc63935 use setTimeout instead of $timeout in pdf scrollhandler 2015-01-20 16:20:38 +00:00
Brian Gough
591498a056 fix dom position calculation in pdf viewer 2015-01-20 16:20:19 +00:00
Brian
53e9086094 remove useless scope.$apply in pdf scrollhandler 2015-01-20 15:37:11 +00:00
Brian
721843695b avoid using jquery in pdf scrollhandler to improve peformance 2015-01-20 15:36:52 +00:00
Brian Gough
96af4e0b4a fix selection of prerender pages in pdf viewer 2015-01-20 14:28:43 +00:00
Brian Gough
f18f862be2 handle different page size in pdf viewer 2015-01-20 14:28:14 +00:00
Brian Gough
c9e019b4a7 clean up calculation of visible pdf pages and display on redraw 2015-01-20 11:06:40 +00:00
Henry Oswald
90bb12db40 added state to payment form 2015-01-19 20:27:01 +00:00
Brian Gough
776535f9f3 move pdf page visibility calculation up into pdfViewer directive
removes per-page watch for visibility
2015-01-19 16:55:44 +00:00
Brian Gough
2e021b64d8 remove per-page $watch on default page size in pdf viewer 2015-01-19 14:36:20 +00:00
Brian Gough
906c9114cd replace per-page pdf highlight $watch with highlight event 2015-01-19 14:26:14 +00:00
Brian Gough
adab8c6769 delay pdf spinner by 100ms 2015-01-19 14:24:52 +00:00
Henry Oswald
00810eaf21 Merge branch 'recurlyv3' 2015-01-19 13:51:02 +00:00
Brian
06330e6506 add pdfng scroll handler using requestAnimationFrame 2015-01-16 15:51:22 +00:00
Brian Gough
4e31833131 Merge pull request #138 from sharelatex/pdfng-use-browser-fonts
use font-face for pdfjs rendering
2015-01-16 14:31:37 +00:00
Brian Gough
751166d987 Merge branch 'master' into fix-pdfng-progress-bar
Conflicts:
	public/coffee/ide/pdfng/directives/pdfRenderer.coffee
	public/coffee/ide/pdfng/directives/pdfViewer.coffee
2015-01-16 14:19:59 +00:00
Brian Gough
df9cb03dcc Merge pull request #134 from sharelatex/pdfng-reload-on-error
Pdfng reload on error
2015-01-16 14:18:17 +00:00
Brian Gough
d832406923 pdfng: add comment about getDestinations vs getDestination 2015-01-16 12:50:08 +00:00
Henry Oswald
f2bc98bc3c Change debuging to stringify messages in exception message 2015-01-15 15:18:15 +00:00
Brian Gough
157424c7b6 use font-face for pdfjs rendering 2015-01-13 16:39:49 +00:00
Brian Gough
8d568d9663 increase pdfng page load/render timeouts to 1 minute 2015-01-13 16:38:40 +00:00
Brian Gough
5e06043fcb add loadedCallback to pdfng, detects when pdf is fully loaded 2015-01-13 16:28:24 +00:00
Brian Gough
953821959d hide progress bar when pdfng has loaded 2015-01-13 16:27:04 +00:00
Brian Gough
1d3d316595 capture all pdfng error callbacks with raven 2015-01-13 15:47:27 +00:00
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
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
474fa5fe19 only validate expiry when both are set 2014-12-28 21:53:12 +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
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
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
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
Brian Gough
25bebe1104 support old and new pdf viewers depending on feature switch 2014-12-01 14:35:12 +00:00
Brian Gough
3c05e032bd rename the new pdf directive to pdfng 2014-12-01 11:46:52 +00:00
Brian Gough
a7f9a68159 removed duplicated pdf controllers 2014-12-01 11:45:56 +00:00
Brian Gough
608e6cd0d9 remove autogenerated file 2014-12-01 10:42:57 +00:00
Brian Gough
ff04e1662a moved new pdf viewer under base App module 2014-12-01 10:42:47 +00:00
Brian Gough
175de30967 Merge branch 'master' into pdfng 2014-12-01 10:09:04 +00:00
Brian Gough
57b09e1d60 started making pdf viewer conditional - work in progress 2014-11-28 16:59:39 +00:00
Brian Gough
d8e07731e0 clean up unnecessary redraws 2014-11-28 15:08:24 +00:00
Brian Gough
7485b564bc fix off by one error in viewport retrieval 2014-11-28 14:39:17 +00:00
Brian Gough
23011cf221 convert page indices from 1-based to 0-based to match pdfListView positions 2014-11-28 14:34:05 +00:00
James Allen
175dfae085 Look up compile group and features from project owner, not current user 2014-11-28 14:26:21 +00:00
James Allen
dbd7b95823 Close spell check menu on scroll so it doesn't appear in the wrong position 2014-11-28 13:27:25 +00:00
Brian Gough
f914c75712 highlights working for moving to position in pdf from source 2014-11-28 11:57:23 +00:00
Brian Gough
ea310f0248 highlights/dblclick in pdfng - work in progress 2014-11-27 16:58:38 +00:00
Henry Oswald
fa755c6521 added project to long check from clsi2 (bit of a punt) 2014-11-27 15:42:37 +00:00
Brian Gough
3694bea956 use margin for height/width in pdfng 2014-11-27 14:16:32 +00:00
Brian Gough
b8377bca7b fix offset calculation to match pdflistview 2014-11-27 13:46:22 +00:00
Brian Gough
7b4ca6501b update the margin size of pdfng 2014-11-27 13:42:05 +00:00
Brian Gough
21e5fb08cd replicate the pdflistview classes in pdfng viewer 2014-11-27 13:41:48 +00:00
Brian Gough
a15ee57d77 working on zoom/fit buttons 2014-11-26 16:52:54 +00:00
Brian Gough
6c1cee1431 save pdf position and scale 2014-11-26 16:18:59 +00:00
Brian Gough
7b66802bf5 set up pdf viewer app in base 2014-11-26 16:18:39 +00:00
Brian Gough
33d94af930 Merge branch 'master' into pdfng 2014-11-26 14:17:02 +00:00
Brian Gough
643bda6095 add pdfng module and use it by default 2014-11-25 16:49:09 +00:00
Henry Oswald
ba784c3e62 changed swiss franks to show Fr for display issues 2014-11-25 13:18:57 +00:00
Henry Oswald
d070c0acd8 fixed SGD collab price 2014-11-25 13:14:38 +00:00
Henry Oswald
dd37436da2 delete old cookie keys 2014-11-25 11:35:46 +00:00
Henry Oswald
02ef07dca4 broken free trial func into own file. added ab test on upgrade button colour 2014-11-24 23:59:55 +00:00
Henry Oswald
6c0f03e9c7 added ab test to show collar plan to people in editor 2014-11-24 16:21:03 +00:00
Henry Oswald
6d22bda88f added new currencies removed ab test as well 2014-11-21 13:13:53 +00:00
Henry Oswald
458e4335de added a load more currencies 2014-11-19 21:34:13 +00:00
Henry Oswald
dbb1d68b66 added SEK and CAD currencies 2014-11-19 14:52:59 +00:00
James Allen
e559c72491 Connect to configurable websocket service 2014-11-17 13:38:44 +00:00
James Allen
f7e6b24ff6 Save template description on modal close 2014-11-07 10:26:09 +00:00
James Allen
a59a2dcf39 Make sure to send description before publishing 2014-11-07 10:20:29 +00:00
James Allen
d27af25bc9 Convert template publishing to use HTTP end points 2014-11-06 14:39:40 +00:00
James Allen
7b6ec86cef Access Dropbox status via HTTP end points 2014-11-06 14:39:40 +00:00
James Allen
5c3e8e6d88 Add and remove collaborators with HTTP requests, not websockets 2014-11-06 14:39:40 +00:00
Henry Oswald
a2f99bc04f prevent spell check from running twice on doc load 2014-11-04 14:20:59 +00:00
Henry Oswald
14d32af6bf allow ace to scoll off screen 2014-10-30 08:33:54 +00:00
James Allen
2a69e185ce Append spell check menu to body so it isn't hidden by PDF view resizer 2014-10-27 14:51:28 +00:00
James Allen
184189fa3f Disable hotkeys for layout panels since they interfere with text editing 2014-10-27 14:47:06 +00:00
Henry Oswald
c60f11519f added ga logging of starting free trial again 2014-10-21 14:06:53 +01:00
Henry Oswald
8097e6ad71 made 7 day free trial the default 2014-10-21 13:48:46 +01:00
Henry Oswald
3cf64ce34f pass new compile features to client side, don't show timeout upgrade for premium users 2014-10-20 12:21:40 +01:00
James Allen
9f1a7c7396 Send source of update to doc updater and allow external updates to be ignored in UI 2014-10-16 11:27:10 +01:00
Henry Oswald
750b050358 added ab test in for multi currency 2014-10-15 16:21:45 +01:00
Henry Oswald
52c54e7300 added ability to change currency on payment page 2014-10-13 17:28:00 +01:00
Henry Oswald
2bbdea3433 renamed change currency function and sorted out recommended currency 2014-10-13 16:27:27 +01:00
Henry Oswald
f55ef2f1b4 made what is returned for multi currency more explicit 2014-10-13 16:13:31 +01:00
Henry Oswald
36264706f6 hooked the plans page up to the geo ip lookup 2014-10-13 14:10:15 +01:00
James Allen
bc94ea56cb Add projects to tag after creating the tag 2014-10-09 08:39:15 +01:00
Mick O'Brien
834e27f3c5 Fix indentation in italics shortcut 2014-10-08 16:34:44 +01:00
Mick O'Brien
b7db72e574 Replace $isEmpty check 2014-10-08 16:17:38 +01:00
Mick O'Brien
72fc630e81 Added keyboard shortcuts to bold and italicise text 2014-10-08 15:44:01 +01:00
James Allen
128c672edd Merge branch 'github-sync'
Conflicts:
	package.json
2014-10-08 12:13:37 +01:00
Henry Oswald
28b1e6bfe5 added client side checks on how long project or entity names can be
150 chars should be safely under the 1024 bytes mongo index limit
2014-10-07 11:08:08 +01:00
James Allen
10732d112d Hook module system into project list page 2014-10-03 11:32:59 +01:00
Henry Oswald
ab46d6ec1a 30 != 7 days 2014-09-26 11:33:34 +01:00
Henry Oswald
21f46da08a changed ab test from 30 -> 14 to 14 -> 7 2014-09-26 10:56:45 +01:00
Henry Oswald
d961b48857 imporved logging for session debug 2014-09-10 08:20:36 +01:00
Henry Oswald
50ee889569 fixed template search, ng-controller was too deep 2014-09-09 16:51:52 +01:00
Henry Oswald
187e87a978 disabled euro and pounds for the moment 2014-09-08 17:45:03 +01:00
James Allen
e973a66482 Allow client side module code injection 2014-09-08 17:33:30 +01:00
Henry Oswald
ff0365c157 change plan has multi currency view 2014-09-05 15:47:08 +01:00
Henry Oswald
eeb27062a0 added currency query string param to subscribe button 2014-09-05 11:40:14 +01:00
Henry Oswald
13a667f47a v1 of multi currency 2014-09-04 19:03:04 +01:00
Henry Oswald
69eafd2a74 added more console .logs 2014-09-02 14:03:31 +01:00
Henry Oswald
137cffabec added some console.logs in 2014-09-02 13:54:09 +01:00
Henry Oswald
7fc0388003 fixed case sensitivity 2014-09-02 13:19:59 +01:00
Henry Oswald
75e570c076 fix ab cookies and send 0 event when clicking monthly free trial button on plans page 2014-09-02 11:07:21 +01:00
Henry Oswald
f25dba10ea changed label to send to GA 2014-09-02 10:47:58 +01:00
Henry Oswald
326900c467 broke project-list file down into more digestable chunks 2014-09-01 18:05:51 +01:00
Henry Oswald
54b9cdc3e4 new ab framework up and running 2014-09-01 17:48:09 +01:00
Henry Oswald
62f207c368 added basic new a/b test funnely framework 2014-09-01 15:14:08 +01:00
Henry Oswald
f3c04feda7 added a missing templates button back into templates index page 2014-09-01 15:13:37 +01:00
Henry Oswald
e740e4913d if user is already annual tell them so on the annual upgrade page 2014-08-29 14:13:05 +01:00
Henry Oswald
b951ab798c set flag incorrectly when debugging 2014-08-29 12:37:00 +01:00
Henry Oswald
e67d3889f9 got better logic and copy for upgrade annual plans, needs i18n next 2014-08-29 12:36:36 +01:00
Henry Oswald
350b95a0a5 annual upgrade page works, needs a bit of copy love now 2014-08-28 18:14:31 +01:00
Henry Oswald
78d94094b4 changed moment path in libs to work locally 2014-08-27 13:22:17 +01:00
Henry Oswald
d0d08824da modal asking users to confirm a change of plan 2014-08-27 13:21:39 +01:00
James Allen
894024ba29 Don't allow folders to be moved into their child folders 2014-08-22 14:38:52 +01:00
Henry Oswald
8d51fcc457 hide translations notification on editor page 2014-08-20 14:08:59 +01:00
Henry Oswald
b7cd4e5c79 add translations popup into editor 2014-08-20 13:03:55 +01:00
Henry Oswald
aa4f748608 Merge branch 'master' into i18n 2014-08-14 15:42:54 +01:00
James Allen
670e8e5cb9 Use Dropbox Real-time polling 2014-08-13 17:26:18 +01:00
Henry Oswald
d033238efc forgot to commit files 2014-08-13 16:04:23 +01:00
Henry Oswald
041e85b92b added local cooked option to hide notification 2014-08-13 14:14:31 +01:00
James Allen
6bfefea5cb Show PDF button in toolbar if file tree is closed in PDF flat view 2014-08-12 13:18:22 +01:00
James Allen
7e24972b46 Fix off by one error in track changes highlights 2014-08-08 14:01:30 +01:00
James Allen
10021986c5 Don't error on password reset if no email found, and translate error messages 2014-08-08 11:41:54 +01:00
Henry Oswald
9c6f0faff6 Merge branch 'i18n'
Conflicts:
	app/coffee/Features/User/UserPagesController.coffee
	app/views/layout.jade
	app/views/project/editor/dropbox.jade
	app/views/project/editor/file-tree.jade
	app/views/project/editor/pdf.jade
	app/views/project/list/project-list.jade
	app/views/user/settings.jade
2014-08-07 14:46:17 +01:00
Henry Oswald
9b8d77cb0f removed client side i18n as we don't really need it #wasteoftime 2014-08-01 14:49:43 +01:00
James Allen
be725c50ba Make right click on menus behave like native right click 2014-07-31 14:20:56 +01:00
James Allen
e6c04bbeeb Clear message from chat box immediately on pressing enter 2014-07-31 13:04:55 +01:00
James Allen
330d4f5a16 Redirect to cloned project after copy 2014-07-31 13:04:55 +01:00
James Allen
f886f19429 Keep root doc list in sync with file tree updates 2014-07-31 13:04:55 +01:00
Henry Oswald
42c63dd5a2 equals checks work, uses id now as well. Taken from:
http://blog.brunoscopelliti.com/angularjs-directive-to-check-that-passwords-match
the old one from SO does not seem to work any more
2014-07-31 11:16:13 +01:00
Henry Oswald
49c7d52208 i18n is cleaned and working with requirejs 2014-07-30 16:13:02 +01:00
Henry Oswald
1a8c3d17b2 working example of directive for i18n new project button 2014-07-30 15:05:13 +01:00
Henry Oswald
bdf1fed462 jquery translations work 2014-07-30 14:22:36 +01:00
Henry Oswald
4160101570 moved got link status outside of the if so if they are not registered we can start the link process 2014-07-30 10:44:46 +01:00
James Allen
714266b16e Fix infinite scroll 2014-07-28 17:28:52 +01:00
James Allen
6d9072f0e2 Merge branch 'master' of github.com:sharelatex/web-sharelatex 2014-07-28 17:16:08 +01:00
James Allen
9f26214142 Fix double context menu in FF 2014-07-28 17:11:15 +01:00
Henry Oswald
e8be248b29 Merge branch 'master' of https://github.com/sharelatex/web-sharelatex 2014-07-28 16:52:40 +01:00
Henry Oswald
9354d61aa3 fixed delete account validation
not using angular equals which does not seem to work
2014-07-28 16:52:25 +01:00
James Allen
9db2fc93a4 Add spell check underline to front marker layer 2014-07-28 16:28:01 +01:00
James Allen
3a3933dfe9 Don't immediately close context menu in Firefox 2014-07-28 16:23:46 +01:00
James Allen
4ff9fe33b6 Use a dark editor surround if the theme is dark 2014-07-28 15:06:26 +01:00
James Allen
06eb952994 Resize project list correctly on page load 2014-07-28 10:28:48 +01:00
James Allen
bb55d8f406 Reset undo state when switching documents 2014-07-25 21:10:50 +01:00
James Allen
d3fd161c25 Clear annotations 2014-07-25 16:54:49 +01:00
Henry Oswald
c0f5894edb Merge branch 'master-redesign' of https://github.com/sharelatex/web-sharelatex into master-redesign 2014-07-25 13:14:22 +01:00
Henry Oswald
bf56e083cf removed a load of console.logs 2014-07-25 13:14:19 +01:00
James Allen
9aa8682082 Add group plan enquiry form 2014-07-25 12:32:26 +01:00
James Allen
4809c5ceee Track events that were done in analytics manager 2014-07-24 16:51:04 +01:00
James Allen
6e6b20d3af Add in renamed or deleted modal 2014-07-24 16:39:32 +01:00
James Allen
fb98509789 Report client side errors to server 2014-07-24 16:07:43 +01:00
James Allen
4abf6ed38c Show message and auto refresh on force disconnect 2014-07-24 15:59:24 +01:00
Henry Oswald
726719ce3f changed html autofocus to an angular directive
autofocus is html5y and worked on chrome but not firefox for me.
2014-07-24 14:57:56 +01:00
James Allen
5c18f4fe02 Sexy project list resizing 2014-07-24 14:02:14 +01:00
James Allen
1128b45b17 Add in system messages 2014-07-24 13:24:08 +01:00
Henry Oswald
9c2cca1372 Added the old backspace highjack back in.
It uses jquery and works well. There may be an angular way todo this
but the jquery way seemed cleanest to me.
2014-07-23 14:40:01 +01:00
Henry Oswald
e39e6c86a1 moved where we write the window.sharelatex.x to the header as some
times it is possible for the scripts to evaulate before those props
have been read in
2014-07-23 11:29:04 +01:00
Henry Oswald
c6ab4c4f7b roughly styled template search results
clear button in template search also clears results
2014-07-22 17:43:17 +01:00
Henry Oswald
234bc5e0e9 Merge branch 'master-redesign' of https://github.com/sharelatex/web-sharelatex into master-redesign 2014-07-22 14:56:41 +01:00
Henry Oswald
806ebc977c templates index page looks roughly correct 2014-07-22 14:56:33 +01:00
James Allen
c099b8e9de Add hotkeys modal 2014-07-22 14:38:32 +01:00
James Allen
cd8a94b108 Auto compile on project join, not doc open 2014-07-22 13:38:34 +01:00
James Allen
688842de3c Allow full screen PDF 2014-07-22 13:33:01 +01:00
James Allen
3a13dac7ab Merge branch 'master-redesign' of github.com:sharelatex/web-sharelatex into master-redesign 2014-07-21 17:56:28 +01:00
Henry Oswald
535a3c67cd added template for bonus page with html linking to us 2014-07-21 16:41:22 +01:00
James Allen
1d6314a2c1 add Ctrl-Enter hotkey 2014-07-21 15:39:15 +01:00
James Allen
27795c451f Merge branch 'master-redesign' of github.com:sharelatex/web-sharelatex into master-redesign 2014-07-21 15:12:00 +01:00
James Allen
2b85ebf8ec Allow root doc to be set 2014-07-21 15:09:19 +01:00
Henry Oswald
9292000f01 X in search bar clears search text, and the filter on the project list 2014-07-21 14:27:56 +01:00
Henry Oswald
82914b6fe5 Merge branch 'master-redesign' of https://github.com/sharelatex/web-sharelatex into master-redesign 2014-07-21 13:14:08 +01:00
James Allen
f16f6fd126 Don't render Mathjax on load 2014-07-21 12:44:48 +01:00
James Allen
98d601fb66 Only show synctex controls when pdf layout is open 2014-07-21 12:30:34 +01:00
James Allen
4151f5d85f Disable chat for anonymous users 2014-07-21 11:56:49 +01:00
James Allen
088d27f22b Make sure gotoLine works when changing session 2014-07-21 11:50:02 +01:00
James Allen
36f48cf772 Fix drag and drop 2014-07-21 11:36:03 +01:00
Henry Oswald
57ad5e4182 - migrated event tracking to new pages/angular
- hooked up the search field on projects to search on keypress
2014-07-21 11:35:05 +01:00
James Allen
608fc8364b Merge branch 'master-redesign' of github.com:sharelatex/web-sharelatex into master-redesign 2014-07-18 14:30:35 +01:00
James Allen
abdd239ad2 Sort with latest first by default 2014-07-18 14:30:24 +01:00
Henry Oswald
d5d29f0997 Merge branch 'master-redesign' of https://github.com/sharelatex/web-sharelatex into master-redesign 2014-07-18 14:08:57 +01:00
Henry Oswald
0868ce9cc7 send user details on modal dismiss. Role uses same autocomplete lib as institution 2014-07-18 14:08:53 +01:00
James Allen
1ef76d99ec Update visible projects when loading the page 2014-07-18 14:06:37 +01:00
James Allen
b532461232 Style project sorting with a cleaner look 2014-07-18 12:20:12 +01:00
James Allen
b785ab4d15 Fix broken project list page 2014-07-18 12:18:05 +01:00
James Allen
42578e328b Merge branch 'master-redesign' of github.com:sharelatex/web-sharelatex into master-redesign 2014-07-18 12:09:04 +01:00
James Allen
462403bb4f Finger print Ace files 2014-07-18 12:08:56 +01:00
James Allen
d641be70a4 Fix minification of clone/index.coffee 2014-07-18 11:53:44 +01:00
Henry Oswald
20cf493328 app -> App 2014-07-18 11:35:58 +01:00
Henry Oswald
57b461e0ff added little icons to the table for when you want to sort 2014-07-18 10:43:32 +01:00
Henry Oswald
ca6e8a7d40 basic sorting added to project list page 2014-07-17 17:34:09 +01:00
Henry Oswald
c683eab9e2 change the scribtex modal to be bootstrap3/angular, same content and same logic if it should be shown or not 2014-07-17 17:05:39 +01:00
Henry Oswald
478910a3aa if a user does not have a first or last name use their email for their name in connected user data 2014-07-17 16:00:41 +01:00
James Allen
2cf8f8c56f Merge branch 'master-redesign' of github.com:sharelatex/web-sharelatex into master-redesign 2014-07-17 15:35:06 +01:00
Henry Oswald
fc02f99659 made restricted page like 404, also got dropbox progress bar going the other way 2014-07-17 15:26:31 +01:00
James Allen
37a12e88c1 Show who is online 2014-07-17 15:25:22 +01:00
Henry Oswald
c429bd1f44 improved the dropbox progress bar 2014-07-17 15:08:12 +01:00
Henry Oswald
b54c351956 Merge branch 'master-redesign' of https://github.com/sharelatex/web-sharelatex into master-redesign 2014-07-17 14:23:55 +01:00
Henry Oswald
5fa83fb2b9 added dropbox in left menu 2014-07-17 14:23:47 +01:00
James Allen
3995de3cfc Add in project cloning to editor 2014-07-17 14:04:21 +01:00
James Allen
3055231f75 Clear countdown before returning from reconnect 2014-07-17 13:46:14 +01:00
James Allen
a002709870 Don't try reconnect if connected 2014-07-17 13:44:50 +01:00
Henry Oswald
b428a8fb7d Merge branch 'master-redesign' of https://github.com/sharelatex/web-sharelatex into master-redesign 2014-07-17 13:43:41 +01:00
James Allen
a3faaf0c18 Add in mathjax directive 2014-07-17 13:23:43 +01:00
James Allen
361fe310ce Update chat UI immediately 2014-07-17 13:12:34 +01:00
James Allen
380d776b67 Remove wonky line 2014-07-17 12:58:35 +01:00
James Allen
ee7013c1ee TRack free trial clicks and redirect to subscription page 2014-07-17 12:57:17 +01:00
Henry Oswald
d06848d109 fixed null on description in client 2014-07-17 12:02:56 +01:00
Henry Oswald
4bc47bd2b2 don't search for instituion until we get a few chars. Saves some usless algolia http calls 2014-07-17 11:21:25 +01:00
James Allen
c6f51cf5ac Show new chat message notification 2014-07-17 11:05:08 +01:00
James Allen
596ad4cf1c Null check 2014-07-16 17:32:04 +01:00
James Allen
abf04f7e1a Make pdfjs default if not set 2014-07-16 17:05:57 +01:00
Henry Oswald
4f91e40875 Merge branch 'master-redesign' of https://github.com/sharelatex/web-sharelatex into master-redesign 2014-07-16 15:53:12 +01:00
Henry Oswald
f3f53a99d0 Templates state resets on modal close so if the api comes back it will work 2014-07-16 15:50:27 +01:00
James Allen
14a9d0838e Get line wrapping of long tag names sorted 2014-07-16 15:24:30 +01:00
Henry Oswald
735bc9e53d show message when can not talk to templates api 2014-07-16 13:36:02 +01:00
Henry Oswald
abc4306e06 merge 2014-07-16 13:35:15 +01:00
Henry Oswald
eb58bb7c5a all template buttons in editor are disabled on publish/unpublish 2014-07-16 12:04:33 +01:00
Henry Oswald
6982ec63ae changed get template details to findOne 2014-07-16 11:56:22 +01:00
James Allen
9e0d5ff890 Use permissions.admin, not hasPermission(...) 2014-07-16 11:50:03 +01:00
James Allen
4a139949f2 Merge branch 'master-redesign' of github.com:sharelatex/web-sharelatex into master-redesign 2014-07-16 11:29:02 +01:00
James Allen
8f08823d34 Sort out fingerprints and pdf.js worker path 2014-07-16 11:28:52 +01:00
James Allen
eb818be2df Use Ace in no-conflict mode 2014-07-16 11:07:18 +01:00
Henry Oswald
c8c0030b7c Merge branch 'master-redesign' of https://github.com/sharelatex/web-sharelatex into master-redesign 2014-07-16 11:02:53 +01:00
Henry Oswald
46377aea3d the template link in the left menu is only shown to owners/admins 2014-07-16 11:02:45 +01:00
James Allen
1d7a595c6c Small chat scroll tweaks 2014-07-16 10:52:06 +01:00
James Allen
604a877f12 Load chat messages in reasonable sized chunks 2014-07-15 18:50:46 +01:00
James Allen
81eca79613 Deep watch messages to catch all updates 2014-07-15 18:32:18 +01:00
James Allen
57409df92b Remove dead code 2014-07-15 18:26:30 +01:00
James Allen
7318f4c2d3 Merge branch 'master-redesign' of github.com:sharelatex/web-sharelatex into master-redesign 2014-07-15 18:25:29 +01:00
James Allen
b9f2b02594 Sort out scroll in chat 2014-07-15 18:25:12 +01:00
Henry Oswald
c93c8b3f7d got basic client side templates 2014-07-15 17:56:09 +01:00
Henry Oswald
0aa6a206e7 added name and email to connected user data and example get request for chat 2014-07-14 16:23:31 +01:00
Henry Oswald
5093820a5f Merge branch 'master-redesign' into master-redesign-templates-and-blog 2014-07-14 12:42:03 +01:00
James Allen
e4d9d03f55 Improve feedback on login/register forms 2014-07-11 17:08:19 +01:00
James Allen
76415ae02b Show labels for tracked changes above and below 2014-07-11 16:17:59 +01:00
James Allen
0a2d93011f Add in restore button for diffs 2014-07-11 13:55:14 +01:00
James Allen
39e4f46bdb Style search and replace box 2014-07-10 17:27:19 +01:00
Henry Oswald
e1dd58aca8 fixed algolia settings and removed some console.logs 2014-07-10 16:05:18 +01:00
James Allen
e102e65325 Set autocomplete menu to editor font size 2014-07-10 15:52:36 +01:00
Henry Oswald
c0a6f0b7ad Merge branch 'master-redesign' into master-redesign-templates-and-blog
Conflicts:
	public/coffee/ide/editor/directives/aceEditor/auto-complete/AutoCompleteManager.coffee
	public/coffee/ide/editor/directives/aceEditor/cursor-position/CursorPositionManager.coffee
	public/coffee/ide/online-users/OnlineUsersManager.coffee
	public/coffee/ide/track-changes/directives/infiniteScroll.coffee
2014-07-10 15:15:18 +01:00
James Allen
aaebb0902d Fix synctex controls with new Ace 2014-07-10 14:36:04 +01:00
James Allen
7fb8154c6e Improve loading screen 2014-07-10 13:41:54 +01:00
James Allen
9e4653d83c Try to clean up to avoid memory leaks 2014-07-09 20:49:10 +01:00
James Allen
f2b8a5971f Don't do a scope.apply on every change 2014-07-09 20:32:03 +01:00
James Allen
16e382bef2 Update Ace and fix autocomplete 2014-07-09 17:59:04 +01:00
James Allen
c93902345a Remove all console.log debug statements 2014-07-09 16:18:09 +01:00
James Allen
51d0026b74 More performance tweaks 2014-07-09 16:07:42 +01:00
James Allen
b0f43eab19 Use events for updating cursor = big performance gain 2014-07-09 15:38:38 +01:00
James Allen
d9c8e5c1c2 Deleted docs null check 2014-07-09 15:01:33 +01:00
James Allen
4423471b1a Auto resize project list to always fit in screen 2014-07-08 17:47:20 +01:00
Henry Oswald
c5497a6c07 remove gravtar compute function as we are not using it, this is done in the chat api 2014-07-08 14:19:27 +01:00
James Allen
8067432e09 Fix include paths 2014-07-08 13:29:09 +01:00
Henry Oswald
521c7f9485 Merge branch 'master-redesign' into master-redesign-templates-and-blog 2014-07-08 12:45:13 +01:00
Henry Oswald
60cc16dbe6 fixed broken paths to ace editor stuff from moving things around 2014-07-08 12:43:07 +01:00
Henry Oswald
0080809489 merge/moving js stuff around half done 2014-07-08 12:32:50 +01:00
James Allen
8ed03694c3 Add missing files 2014-07-08 12:02:26 +01:00
James Allen
b9909bbd84 Sort out front end coffee/js files and minification 2014-07-08 12:01:32 +01:00
Henry Oswald
32b5e39681 chat scoll works fairly well using scroll glue 2014-07-08 11:56:44 +01:00
Henry Oswald
6dc9d32104 Merge branch 'master-redesign' into master-redesign-templates-and-blog
Conflicts:
	public/coffee/app/main.coffee
2014-07-08 11:14:56 +01:00
Henry Oswald
581d9ec925 - hooked up chat throughout the stack
- removed lots of console.logs
- working on the auto scrol, doesn't quite work yet
2014-07-08 10:08:38 +01:00
James Allen
8525bf4a72 Get group admin page working with angular and new style 2014-07-07 18:06:12 +01:00
James Allen
41ef675999 Improve UX of user profile 2014-07-07 14:58:12 +01:00
James Allen
b3bfa2dc26 Add plans page 2014-07-07 12:27:58 +01:00
Henry Oswald
34ac6b03cd Merge branch 'master-redesign' into master-redesign-templates-and-blog 2014-07-07 10:54:50 +01:00
James Allen
e0c25a8cc3 Don't group far apart messages together 2014-07-04 15:47:48 +01:00
James Allen
773b457d24 Group messages from the same person together 2014-07-04 15:46:21 +01:00
Henry Oswald
86a9d08e5c Merge branch 'master-redesign' into master-redesign-templates-and-blog 2014-07-04 13:06:47 +01:00
James Allen
5dd3f828e3 Open current selection when leaving track changes 2014-07-03 17:12:23 +01:00
James Allen
ac0f05a9e4 Create binary file preview 2014-07-03 17:05:50 +01:00
James Allen
af870c8269 Style project name and allow renaming 2014-07-03 16:18:49 +01:00
James Allen
a8d371d2f6 Sort out permissions and displaying anonymous users 2014-07-03 15:05:35 +01:00
James Allen
a13ee00e91 Allow dragging into the root folder 2014-07-03 11:01:41 +01:00
James Allen
a4afc70f9b Show saving notifications 2014-07-02 17:41:07 +01:00
James Allen
b61da1a9f0 Handle out of sync errors with a pop-up 2014-07-02 17:04:29 +01:00
James Allen
e870d7190b Improve reconnecting message 2014-07-02 16:41:29 +01:00
Henry Oswald
b81fac1cf4 Merge branch 'master-redesign' into master-redesign-templates-and-blog 2014-07-02 15:58:30 +01:00
Henry Oswald
ba4d585854 Merge branch 'master-redesign' into master-redesign-templates-and-blog 2014-07-02 15:56:22 +01:00
James Allen
f256c96195 Add in chat view with stubbed data 2014-07-02 15:56:09 +01:00
James Allen
ab09a865b8 Add in chat pane and sort out layout resizing 2014-07-02 13:23:04 +01:00
James Allen
f86c9cf853 Move all editor manager binding logic into the managers 2014-07-02 10:59:18 +01:00
James Allen
f5e5e55457 Don't capture all click events 2014-07-02 10:58:06 +01:00
Henry Oswald
55d20e8abd change format of algolia settings 2014-07-01 16:45:20 +01:00
James Allen
b51af73516 Fix a few issues with ace autocomplete and cursors 2014-07-01 16:36:30 +01:00
Henry Oswald
000be22f16 Merge branch 'master-redesign' into master-redesign-templates-and-blog
Conflicts:
	app/views/project/editor.jade
2014-07-01 15:23:05 +01:00
James Allen
9839f3fc62 Get public sharing modal working 2014-07-01 15:05:32 +01:00
Henry Oswald
17537b0d7a client side js for templates loads and works 2014-07-01 14:27:20 +01:00
James Allen
08f702a7c5 Get free trial button working in share modal 2014-07-01 14:16:41 +01:00
James Allen
be48ab2a30 Add in basic share modal 2014-07-01 14:12:28 +01:00
James Allen
9097fdd930 Allow switching between pdfjs and native viewer 2014-07-01 11:00:47 +01:00
James Allen
96696e745e Fix path normalization 2014-06-30 18:37:39 +01:00
James Allen
11d951f021 Get synctex working 2014-06-30 18:35:01 +01:00
James Allen
d3d18c384a Fix remote cursors 2014-06-30 14:01:39 +01:00
James Allen
0f9f04803e Improve goto line functionalitt 2014-06-30 13:47:37 +01:00
James Allen
797dcf5c84 Jump to error when clicking on log entry 2014-06-30 13:41:32 +01:00
James Allen
8b6f962275 Allow clearing of aux files 2014-06-30 12:36:17 +01:00
James Allen
aee7b5477b View raw log and download aux files 2014-06-30 12:05:43 +01:00
James Allen
32d1642b9e Get basic compile/errors/autocompile working 2014-06-30 11:35:32 +01:00
James Allen
0a0719cf7b Sort of out styling of log entries 2014-06-29 14:22:08 +01:00
James Allen
25a4be408a Get PDF controls working 2014-06-28 15:43:44 +01:00
James Allen
9c9de35918 Set up basic PDF viewer 2014-06-28 13:25:06 +01:00
James Allen
845c4a7297 Get layout and resize logic working for PDF view 2014-06-28 12:07:18 +01:00
James Allen
3b57d62de2 Refactor project list select all to use linked directives 2014-06-27 21:19:14 +01:00
James Allen
75f1fb54b6 Allow restoring of deleted files 2014-06-27 17:11:26 +01:00
James Allen
562f28f412 Fix resizing and dragging issues 2014-06-27 15:55:08 +01:00
James Allen
b07def6901 Get infinite scroll auto-loading of track changes workikng 2014-06-27 15:45:14 +01:00
James Allen
5cbf600f05 Improve labelling of track changes diffs 2014-06-27 14:35:46 +01:00
James Allen
5da92dc864 Auto select recent changes 2014-06-27 13:46:38 +01:00
James Allen
b7adaf9f87 Display diffs 2014-06-27 12:45:37 +01:00
James Allen
28f8c9e055 Get hover state working 2014-06-26 17:22:06 +01:00
James Allen
60e5542f35 Get basic track changes list working 2014-06-26 16:39:52 +01:00
James Allen
7e70dc9afc Restore cursor position: 2014-06-26 11:45:12 +01:00
James Allen
afb953a489 Display cursor name labels 2014-06-26 11:19:05 +01:00
James Allen
c14774bedd Get basic cursor updating going on 2014-06-25 18:17:17 +01:00
James Allen
703a4faa0e Code tidy up of ace editor directive 2014-06-25 16:46:28 +01:00
James Allen
5922ed45ee Get spell check working in new editor 2014-06-25 16:06:04 +01:00
James Allen
9dfbb36a83 Update project settings over http 2014-06-25 13:51:02 +01:00
James Allen
d2ac9a1e9f Add in auto complete 2014-06-24 21:09:20 +01:00
James Allen
f154f17704 Wire up fontSize and mode settings 2014-06-24 20:46:00 +01:00
James Allen
5cef41fdbd Allow selecting of theme 2014-06-24 20:28:53 +01:00
James Allen
71ca8f63ed Improve reconnection and loading display and logic 2014-06-24 17:44:46 +01:00
James Allen
7104f458f7 Fix selection bugs 2014-06-24 17:24:29 +01:00
James Allen
2520651ef2 Automatically open previously open doc 2014-06-24 17:15:27 +01:00
James Allen
35c7f27788 Record last updated date for reconnecting 2014-06-24 16:56:31 +01:00
James Allen
f727bb775d Show and preform auto-reconnect 2014-06-24 16:33:36 +01:00
James Allen
a1b715d1e9 Add in undo manager 2014-06-24 15:31:44 +01:00
James Allen
84f998ba4a Restructure public/coffee/app folders slightly 2014-06-23 17:47:08 +01:00
James Allen
6f17e0bb82 Save folder expansion state to local storage 2014-06-23 17:28:05 +01:00
James Allen
cc0d45c678 Add right click to file tree 2014-06-23 17:25:45 +01:00
James Allen
a83f0fe054 Add in dropdowns to file tree 2014-06-23 12:37:05 +01:00
James Allen
2d6816b013 Highlight name when renaming or creating new file 2014-06-23 11:25:36 +01:00
James Allen
450ffd0564 Wrap http requests in angular 2014-06-23 11:10:18 +01:00
James Allen
a2663c0f32 Get drag and drop moving working 2014-06-23 10:57:31 +01:00
James Allen
84ac77795f Delete files 2014-06-22 20:49:58 +01:00
James Allen
7556af6421 Listen for rename changes from server 2014-06-22 20:21:31 +01:00
James Allen
242a866bce Rename files 2014-06-22 20:08:56 +01:00
James Allen
f1eee96c85 Allow uploading 2014-06-22 17:32:15 +01:00
James Allen
f931df6084 Allow creation of folders 2014-06-22 14:39:38 +01:00
James Allen
f41534ee4d Add in creating of files to editor 2014-06-22 12:10:42 +01:00
James Allen
6d0053e709 Start rebuilding editor 2014-06-21 22:20:37 +01:00
James Allen
0d70777f7f Fix JS errors in loading editor 2014-06-21 11:56:58 +01:00
James Allen
1980ffec09 Wire up delete and unsubscribe in account settings 2014-06-20 15:48:00 +01:00
James Allen
81845dec32 Wire up account settings forms 2014-06-20 11:15:25 +01:00
James Allen
e07aa9165f Queue up http requests so we can fire them in parallel without a problem 2014-06-19 13:03:34 +01:00
James Allen
5513a0b436 Hook up front end download 2014-06-18 16:43:37 +01:00
James Allen
04d3e5cfe1 Allow project search to be cleared 2014-06-18 11:53:18 +01:00
James Allen
9a03411d42 Don't show tags which are empty when loaded 2014-06-18 11:30:56 +01:00
James Allen
5ce319f8d9 Use ng-cloak rather than a loading spinner 2014-06-17 16:43:33 +01:00
James Allen
525581bada Add in test loading spinner 2014-06-17 16:36:08 +01:00
James Allen
dac4f09943 Merge branch 'master' into master-redesign
Conflicts:
	app/views/project/list.jade
2014-06-17 16:21:21 +01:00
James Allen
aa8969c652 Merge and fix external forms 2014-06-17 16:19:40 +01:00
Henry Oswald
92d1d4ca1a remove muted from institution auto complete as some browsers are inserting it to the input value 2014-06-17 14:44:24 +01:00
Henry Oswald
e1c8dc943e added defaults of empty string into user profile, also changed account -> profile in message 2014-06-17 14:36:17 +01:00
James Allen
012371333f Wrap project list code in require.js 2014-06-17 12:43:42 +01:00
Henry Oswald
2d55f080d6 get algolia to pull app id and api key from settings file 2014-06-17 12:25:49 +01:00
James Allen
c56648ab80 Merge branch 'master' into master-redesign
Conflicts:
	app/views/project/list.jade
	public/coffee/list.coffee
	public/stylesheets/less/list.less
	public/stylesheets/less/style.less
2014-06-17 11:54:29 +01:00
Henry Oswald
457fffd3f7 Merge branch 'angular-info' 2014-06-17 11:34:28 +01:00
Henry Oswald
b54e2fc2d2 Merge branch 'angular-info' of https://github.com/sharelatex/web-sharelatex into angular-info 2014-06-17 11:33:56 +01:00
James Allen
2bf25ab450 Style and spelling tweaks 2014-06-17 11:33:37 +01:00
Henry Oswald
d2df4d6523 added little hack so post is sent on institution list when there are two brackets in name which hold domain 2014-06-17 11:27:45 +01:00
Henry Oswald
3350b99ccf removed a couple of annoying console.log logs 2014-06-17 10:26:56 +01:00
Henry Oswald
444e6cbd12 put domain into popup for user info 2014-06-16 18:41:44 +01:00
Henry Oswald
f42b2c2385 cleaning things up 2014-06-16 16:26:34 +01:00
Henry Oswald
f18172258e focus on first element in form when showing 2014-06-16 16:22:45 +01:00
James Allen
608e9476b6 Show confirmation for deleting projects forever 2014-06-16 16:17:28 +01:00
Henry Oswald
7355a912b6 recomend roles and still show form when complete 2014-06-16 16:14:58 +01:00
James Allen
0a334939ce Confirm deletes and leaves 2014-06-16 16:13:09 +01:00
James Allen
3a969876e0 Allow cloning of projects 2014-06-16 15:32:20 +01:00
James Allen
8bb181a465 Don't allow renaming of shared proejcts 2014-06-16 15:12:10 +01:00
James Allen
81ee0f4342 show and restore archived projects 2014-06-16 15:06:58 +01:00
Henry Oswald
a1055b226c uses angular autocomplete modules 2014-06-16 14:49:35 +01:00
James Allen
802aae6148 Show partial folder selection state 2014-06-16 14:45:47 +01:00
James Allen
63525a8bef Use angular boostrap instead of vanilla bootstrap 2014-06-16 12:26:35 +01:00
James Allen
95ee8c772a Fix modal styling 2014-06-16 11:30:54 +01:00
Henry Oswald
09f5a67f9b got autocomplete presented correctly 2014-06-13 17:17:58 +01:00
James Allen
b9944ca2dc Hook up file uploads 2014-06-13 17:11:36 +01:00
James Allen
8b57224267 Allow creation of projects 2014-06-13 16:05:44 +01:00
James Allen
ab5d6f82c0 Allow deleting of projects 2014-06-13 15:24:20 +01:00
James Allen
751572c977 Only show actions buttons when projects are selected 2014-06-13 14:28:16 +01:00
James Allen
db74e89f99 Add folder labels next to the project name 2014-06-13 14:14:56 +01:00
James Allen
290089407d Allow creation of new tags 2014-06-13 13:55:55 +01:00
Henry Oswald
b9afde591b improved the angular stuff a touch 2014-06-12 17:15:54 +01:00
James Allen
4494048cd4 Post tag modifications to server 2014-06-12 16:47:46 +01:00
James Allen
5fbbf6c452 Allow filtering by folder 2014-06-12 16:21:12 +01:00
Henry Oswald
68cc7d85bf working with requirejs 2014-06-12 15:50:00 +01:00
James Allen
6305ac16f4 Work in progress of doing project list with Angular 2014-06-12 15:22:49 +01:00
Henry Oswald
c075716b0f cleaned it up a touch, showed how to handle http errors 2014-06-12 10:23:42 +01:00
Henry Oswald
6dc1e54dc7 basic example using angular done 2014-06-11 17:45:09 +01:00
James Allen
067d343928 Display list of tags 2014-06-11 16:32:56 +01:00
James Allen
1eaba59df0 Use Ember to load project list 2014-06-11 14:52:23 +01:00
James Allen
99705ebb4f Merge branch 'master' into master-redesign 2014-06-11 12:38:59 +01:00
James Allen
aaf87647c1 Null check for resizing diffs that may not have an ace editor 2014-06-11 11:58:19 +01:00
James Allen
54ecab854d Don't try to open deleted docs for editing 2014-06-11 11:53:46 +01:00
James Allen
3ddfa607e1 Add in null array checks 2014-06-11 11:26:45 +01:00
James Allen
45fd924c49 Remove console.log line 2014-06-11 11:17:18 +01:00
James Allen
e91d4d61e9 Make track changes file view read only 2014-06-11 10:46:45 +01:00
Henry Oswald
560288348a moved delete project inside the editor to the http endpoint 2014-06-10 18:28:45 +01:00
Henry Oswald
ddfdc9e3f7 removed timeout for compile on the client side, rely on serverside http request 2014-06-10 18:14:28 +01:00
James Allen
d3221f1cf1 Style login and register forms 2014-06-09 10:19:02 +01:00
James Allen
b6217c401e Merge branch 'master' into master-redesign
Conflicts:
	public/stylesheets/less/trackchanges.less
2014-06-06 15:10:57 +01:00
James Allen
4fbebfbdc6 Tidy up styles 2014-06-06 14:43:45 +01:00
James Allen
5c27ff4430 Don't show diffs of deleted docs (much simpler) 2014-06-06 14:43:45 +01:00
James Allen
02f48be825 Allow docs to be restored 2014-06-06 14:43:45 +01:00
James Allen
1e31024bd7 Show diffs of deleted docs 2014-06-06 14:43:45 +01:00
James Allen
cabaf1ae1a Show deleted documents when viewing history 2014-06-06 14:43:45 +01:00
Henry Oswald
22c467c231 Merge pull request #75 from dfelder/master
compile current file if top level document #42
2014-06-05 16:42:10 +01:00
James Allen
72939e7dd8 Import new navbar design 2014-06-04 17:46:22 +01:00
James Allen
2fb8620ba0 Allow deleting of projects forever 2014-06-04 12:45:04 +01:00
James Allen
015fd6873f Allow projects to be restore after being deleted 2014-06-03 17:35:44 +01:00
Daniel Felder
f03b2df461 compile current file if top level document #42 2014-06-01 16:43:52 +02:00
James Allen
073b52e693 Pass correct path to synctex when not in root folder 2014-05-29 16:41:24 +01:00
James Allen
e1a547c202 Fix multline auto-complete typo 2014-05-27 13:08:01 +01:00
Henry Oswald
a2f564df8b changed image preview to lowercase it so .PNG will preview 2014-05-21 17:44:30 +01:00
Henry Oswald
895bb55677 lowercase file extension when seeing preview 2014-05-21 17:34:57 +01:00
James Allen
8f41c6dcb2 Don't automatically clear the cache 2014-05-21 15:20:25 +01:00
James Allen
063f6c7680 Only auto clear CLSI cache on hard error, otherwise prompt user 2014-05-21 08:04:52 +01:00
James Allen
7fed2155be Differentiate between timeouts, server errors, and LaTeX failures in client 2014-05-19 16:10:52 +01:00
Henry Oswald
af2de3cdeb finished off change email 2014-05-19 11:50:32 +01:00
Henry Oswald
28ae33b100 added login link to reset message 2014-05-16 11:34:28 +01:00
Henry Oswald
9419d3a0e5 hooked up the frount end ui to show the email can not be found,
added client side valdidation on password, removed server side min
length check. Just check that it is not 0 len
2014-05-16 11:26:29 +01:00
Henry Oswald
96d98329f1 token based reset works 2014-05-15 17:58:25 +01:00
Andreas Källberg
db89f8c8db Fixes #63, highlighting file names when renaming up to full stop 2014-05-14 16:40:51 +02:00
Henry Oswald
bf2c60f84d added rename project to list page 2014-04-28 17:47:47 +01:00
James Allen
f931f5f5ce Only show if sidebar is open and meant to be shown 2014-04-09 15:57:55 +01:00
James Allen
81378f43c1 Make a few UI improvements to syncing 2014-04-09 15:24:37 +01:00
James Allen
79cb8270e5 Add in floating buttons for syncing between code and PDF 2014-04-09 12:35:33 +01:00
James Allen
ef7a3788b4 Add highlighting when syncing from code to pdf 2014-04-08 18:21:44 +01:00
James Allen
1444db4fd6 Implement code for syncing from editor to PDF 2014-04-08 17:21:49 +01:00
James Allen
374cf99ef2 Double click on PDF syncs with code 2014-04-08 16:49:21 +01:00
James Allen
da0ed94488 Make inconsistency check more reliable and less likely to trigger a false positive 2014-04-08 10:51:33 +01:00
Henry Oswald
d229269a69 moved rename project to project details handler 2014-04-07 15:37:40 +01:00
James Allen
a12716ab6b Show saving dialog based on whether there are inflight ops, and show a warning when leaving the page if there are 2014-04-07 12:56:09 +01:00
James Allen
6ad8566e24 Check that the ace text matches ShareJS each time 2014-04-07 12:56:09 +01:00
James Allen
e9309532d3 Make greyed out background the default track changes prompt 2014-04-04 10:39:56 +01:00
James Allen
72dbefc5ad Resync after an op is not acknowledged rather than throwing an error 2014-04-02 16:17:09 +01:00
Henry Oswald
b7b307e82b trim project and entiry names/renames 2014-04-02 15:35:05 +01:00
James Allen
0df412d241 Improve granularity and length of client side logs 2014-04-01 16:51:20 +01:00
James Allen
869a4c8c18 Log and report events like sending and receiving updates 2014-03-31 13:30:47 +01:00
James Allen
81cb986f89 Always keep doc_id update to date in track changes 2014-03-31 11:55:21 +01:00
James Allen
095f950258 Don't choke when passed null doc to openDoc 2014-03-31 10:22:18 +01:00
James Allen
2ca70f25f6 Make track changes default with override for old history 2014-03-31 09:47:36 +01:00
James Allen
31f39dada1 Allow multi select of users in group page 2014-03-28 12:07:30 +00:00
James Allen
cc522f5d07 Add in debug pop up 2014-03-27 17:33:07 +00:00
James Allen
767b220fab Allow CLSI cache to be cleared from within the editor 2014-03-27 17:00:41 +00:00
James Allen
544415ce1d Remove trailing } when autocompleting from within a \begin{...} command 2014-03-27 15:51:19 +00:00
James Allen
e1a130a941 Don't slow shrink PDF panel with each reload 2014-03-27 13:19:12 +00:00
James Allen
6c77ee4861 Highlight the changed files in the file list view 2014-03-27 12:45:11 +00:00
Henry Oswald
721eda71f3 show the publish template area to all project owners 2014-03-26 16:01:10 +00:00
James Allen
0255e08e1f Don't show upgrade prompts for non-owners 2014-03-26 13:20:08 +00:00
James Allen
6f2b7e43a6 Add in tooltips to make the radio buttons clearer in the history view 2014-03-25 16:44:30 +00:00
James Allen
0e54c4ae49 Set up history with AB testing for different methods of upgrading 2014-03-25 16:44:30 +00:00
James Allen
dfdfba4b2e Undelegate old events when refreshing history 2014-03-25 16:44:30 +00:00
James Allen
fe99be48ac Add upgrade message to history for free users 2014-03-25 16:44:30 +00:00
James Allen
c273f36bb0 Order errors by severity. error -> warning -> typsetting 2014-03-25 16:44:29 +00:00
Henry Oswald
1e74f9a862 rename dropdown -> dropbox 2014-03-25 13:15:59 +00:00
James Allen
8a4dbf6618 Group changes by day for more concise display 2014-03-24 12:22:54 +00:00
Henry Oswald
f15f358878 increase saving alert message from 1 second to 3 seconds 2014-03-24 10:53:37 +00:00
Henry Oswald
8b706d6934 added some more event tracking in for google analytics 2014-03-21 18:33:53 +00:00
Henry Oswald
af659e7690 Merge branch 'master' of github.com:sharelatex/web-sharelatex 2014-03-21 17:49:25 +00:00
Henry Oswald
4988fc4136 setup second plans page with free trial using google analytics experiements 2014-03-21 17:49:20 +00:00
James Allen
2581af0cda Handle deleted files semi-gracefully 2014-03-21 14:48:26 +00:00
James Allen
5f8ed42006 Show blank diff for files that haven't changed 2014-03-21 14:31:04 +00:00
James Allen
2a3e7ba9f3 Move restore button and logic into diff view 2014-03-21 14:31:04 +00:00
Henry Oswald
63a5f2bf44 Merge branch 'master' of github.com:sharelatex/web-sharelatex 2014-03-21 12:20:58 +00:00
Henry Oswald
2cca6c3775 changed event tracking to work correctly, only certain json attrs are allowed 2014-03-21 12:20:33 +00:00
James Allen
70da673bed Move track changes activation into old history place 2014-03-20 16:45:39 +00:00
James Allen
237f738650 Allow changing between files while in diff view mode 2014-03-20 16:30:52 +00:00
James Allen
b99eaecf82 Load history view using mainAreaManager 2014-03-20 16:30:52 +00:00
James Allen
9fa80ad757 Load diff for selected doc 2014-03-20 16:30:52 +00:00
James Allen
c0686b6592 Load entire project history into change list view 2014-03-20 16:30:52 +00:00
Henry Oswald
69904e2acd Merge branch 'master' of github.com:sharelatex/web-sharelatex 2014-03-20 08:52:17 +00:00
Henry Oswald
7310f94511 fire ga events on renames/deletes 2014-03-20 08:52:04 +00:00
Henry Oswald
4f577b5467 add events around upgrade process 2014-03-20 08:18:15 +00:00
James Allen
7d50c9c7aa Use different color schemes for dark or light editor schemes 2014-03-19 11:23:27 +00:00
James Allen
d5f130ad07 Improve more change messages and make them clickable 2014-03-19 10:53:05 +00:00
James Allen
1398d85626 Improve date format in change list 2014-03-19 10:53:05 +00:00
James Allen
a8ca388146 Allow shift-click to select multiple versions 2014-03-19 10:53:05 +00:00
Henry Oswald
3c9f6e0ce0 Merge branch 'master' of github.com:sharelatex/web-sharelatex 2014-03-18 15:09:50 +00:00
Henry Oswald
069efaba1b dont show publish area if it is an open user 2014-03-18 15:08:09 +00:00
James Allen
9010557a75 Update snippets 2014-03-17 12:50:24 +00:00
James Allen
14bf20e087 Fix broken sharing page when not the owner of a project 2014-03-15 11:56:18 +00:00
James Allen
a99783edc7 Log more information in the client side errors 2014-03-14 17:23:50 +00:00
James Allen
5efd19ffc4 Update the styling and workflow around publishing a template 2014-03-14 14:42:38 +00:00
James Allen
745d112d2b Report client side ShareJs error back to server and log them out 2014-03-14 11:14:33 +00:00
James Allen
6701de796e Resize diff view on editor view port change 2014-03-14 10:20:00 +00:00
James Allen
b3096fc74e Show helpers to make navigating around diffs easier 2014-03-13 17:32:39 +00:00
Henry Oswald
9a86f24bf7 Merge branch 'master' of github.com:sharelatex/web-sharelatex 2014-03-13 17:10:15 +00:00
Henry Oswald
b4c5f6f253 don't show the template area for non owners 2014-03-13 17:10:06 +00:00
James Allen
df706da7e0 Add history entry into context menu for docs 2014-03-13 14:32:30 +00:00
James Allen
81fcafb476 Make track changes a feature flag 2014-03-13 13:58:57 +00:00
James Allen
7aab6c4c0b Add in dropdown and context menu for files 2014-03-13 13:01:04 +00:00
James Allen
05443b85da Automatically show a sensible diff to start 2014-03-12 17:09:11 +00:00
James Allen
e0da6da4c6 Improve hover info in diff 2014-03-12 16:46:20 +00:00
James Allen
be64b510e8 Support the new update format from the track changes api 2014-03-11 18:01:14 +00:00
James Allen
da9fa28612 Remove mention of Dropbox in external update dialog 2014-03-11 12:16:51 +00:00
James Allen
1a9c86417c Add question mark to restore modal 2014-03-11 12:14:52 +00:00
James Allen
afb8bb6a42 Add in restore button to track changes 2014-03-11 12:14:52 +00:00
Henry Oswald
92c68177a6 Merge branch 'master' of github.com:sharelatex/web-sharelatex 2014-03-10 15:08:04 +00:00
Henry Oswald
70fcac19a6 added message of failed login/register into google analytics 2014-03-10 15:07:54 +00:00
James Allen
417d76ab3f Create (hopefully) more intuitive change selector 2014-03-10 14:59:01 +00:00
James Allen
ceca16e507 Remove double quote from end of array snippet 2014-03-10 14:59:01 +00:00
Henry Oswald
eeee980bd2 removed ab testing from main.coffee 2014-03-09 10:14:58 +00:00
Henry Oswald
e7602321e9 Merge branch 'master' of github.com:sharelatex/web-sharelatex 2014-03-08 19:01:21 +00:00
Henry Oswald
f2069c6208 converted all analytics to use new google analytics, removing mixpanel
and heap. Not tracking subscriptions or cancelations yet.
2014-03-08 19:00:26 +00:00
James Allen
adc42f7cf6 Remove logging line 2014-03-07 14:48:38 +00:00
James Allen
9c20d1d604 Fix momentjs in project list view 2014-03-07 14:41:01 +00:00
James Allen
a0b02d85f5 Load changes in batches of 25 2014-03-07 13:31:30 +00:00
James Allen
9851321429 Merge branch 'track_changes_integration' 2014-03-07 13:17:30 +00:00
James Allen
548d7d98a4 Allow history view to be closed 2014-03-07 13:05:59 +00:00
James Allen
e0cd9ba163 Improve the description above each change 2014-03-07 12:54:08 +00:00
James Allen
ebe4e5b1d8 Show consistent colors for different users 2014-03-07 12:00:31 +00:00
James Allen
36faedeeb3 Make the history entries pretty 2014-03-07 11:24:11 +00:00
James Allen
be8035faa8 Include names in view 2014-03-06 18:13:07 +00:00
James Allen
9329213d94 Allow multiple diffs to be selected 2014-03-06 16:32:18 +00:00
James Allen
1a91036bb6 Show nice diffs using ace and markers 2014-03-06 14:08:12 +00:00
Henry Oswald
5fc620dc10 move when template publish status is refreshed to avoid loop 2014-03-06 10:13:24 +00:00
James Allen
bf21305c68 Add in basic list of changes in track changes view 2014-03-05 17:55:47 +00:00
James Allen
8bf12f3286 Wrap editor in wrapper div and remove orchard CSS 2014-03-05 16:55:03 +00:00
Henry Oswald
64257a7b2c testing out new google analytics 2014-03-05 15:45:24 +00:00
James Allen
f781001280 Don't return current prefix in auto-complete list 2014-03-05 11:16:33 +00:00
James Allen
06831e555e Add in some basic snippets 2014-03-05 11:06:12 +00:00
James Allen
d221e336f0 Match auto complete font size to editor font size 2014-03-05 11:06:12 +00:00
James Allen
934f3cbcd8 Use Ace's built in auto-completer 2014-03-05 11:06:12 +00:00
Henry Oswald
149b51ddc6 put published date on template publishing area 2014-03-03 23:04:30 +00:00
Henry Oswald
413ef7440f added a republish button to templates 2014-03-03 22:55:12 +00:00
Henry Oswald
07fe9c36a9 use window.csrftoken for adding user to group subscription 2014-03-03 17:58:26 +00:00
Henry Oswald
a0805f97e0 added bulk removing of users to group admin panel 2014-03-03 17:48:48 +00:00
Henry Oswald
aa0d26d5ab Merge branch 'master' of github.com:sharelatex/web-sharelatex 2014-02-27 17:35:48 +00:00
Henry Oswald
303a0e985b improved the publish button process so it talks to the templates-api and lets the user know what is going on 2014-02-27 17:35:35 +00:00
James Allen
c723fbb789 Remove fold all command which interferes with typing } on Danish keyboards 2014-02-25 10:58:35 +00:00
James Allen
c824c2e7b7 Use siteUrl for share links, not hardcoded www.sharelatex.com 2014-02-22 11:09:10 +00:00
James Allen
e9abd875db Protect against infinite loops with clients send remote changes back to server 2014-02-19 17:16:32 +00:00
James Allen
fd911c278f Move copyright images into brand directory 2014-02-14 11:44:09 +00:00
James Allen
7fb0dadbfd Remove unneeded image files 2014-02-13 14:47:29 +00:00
James Allen
8715690ce9 Intial open source comment 2014-02-12 10:23:40 +00:00