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
76697599ae
Use the _ide version of browserIsSafari
2016-04-11 14:45:26 +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
Shane Kilkelly
059d3432c2
Allow citations like -parencite[page 6]{
to work.
2016-03-30 11:28:56 +01: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
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
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
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
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
Shane Kilkelly
3ba5808074
Merge branch 'master' into sk-biber-errors
2016-03-11 13:54:06 +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
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
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
2d954baa62
match cite commands like footcite
too.
2016-02-22 12:04:15 +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
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
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
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