Henry Oswald
c004d299c1
add refreshExpiryTimeout function
...
on clsi all data lives inside of / dir
dynamically reduce size of EXPIRY_TIMEOUT if disk starts to get full
2020-05-18 15:17:19 +01:00
Henry Oswald
4bd567b78d
Merge branch 'master' into bg-support-other-runtimes
...
port coffee changes to js
2020-04-23 13:59:05 +01:00
Jakob Ackermann
44f30d6c2e
Merge pull request #159 from overleaf/jpa-fix-docker-modem-error-scheme
...
[misc] keep up with the error signature of dockerode/docker-modem
2020-04-03 14:04:06 +02:00
Jakob Ackermann
638d2f30d3
[misc] add a metric for failing downloads
2020-04-03 12:35:40 +02:00
Jakob Ackermann
4a26ec975f
[misc] keep up with the error signature of dockerode/docker-modem
...
https://github.com/apocas/docker-modem/blob/v2.1.1/lib/modem.js#L296
2020-03-27 10:39:45 +01:00
mserranom
6f837f1a74
updated sequelize
2020-03-16 16:31:02 +01:00
mserranom
ffb33ddb40
removed mkdirp dependency and replaced with fs.mkdir
2020-03-12 10:22:08 +01:00
mserranom
ee12573b06
added container monitor cleanup to fix hanging tests
2020-02-20 17:24:28 +01:00
mserranom
cffbd4e9ef
prettier: convert app/js decaffeinated files to Prettier format
2020-02-19 12:14:37 +01:00
mserranom
4576ef54fb
decaffeinate: rename app/coffee dir to app/js
2020-02-19 12:14:34 +01:00
decaffeinate
c056ca6968
decaffeinate: Run post-processing cleanups on CommandRunner.coffee and 25 other files
2020-02-19 12:14:28 +01:00
decaffeinate
4655768fd2
decaffeinate: Convert CommandRunner.coffee and 25 other files to JS
2020-02-19 12:14:14 +01:00
decaffeinate
37794788ce
decaffeinate: Rename CommandRunner.coffee and 25 other files from .coffee to .js
2020-02-19 12:14:01 +01:00
mserranom
be28b9f6f9
removed unneeded default function arg preventing from decaffeination
2020-02-19 12:06:09 +01:00
Brian Gough
ec628a4e59
support other runtimes
2020-02-10 16:10:18 +00:00
Eric Mc Sween
7894269b8d
Show output files in subfolders
...
This fixes a tiny regexp bug that prevents output files in subfolders
from being shown in the "Other logs & files" panel.
We also downgrade the corresponding log because it's very noisy and does
not indicate a problem.
2019-11-07 08:27:24 -05:00
Eric Mc Sween
775306aa63
Send output files on timeout
...
The unconventional use of callbacks to return both an error and data
after compilation created a subtle bug where the output files were
dropped by the LockManager in case of an error such as a timeout.
This prevented the frontend to show error logs when a timeout occurs,
creating confusion among users.
We now attach the output files to the error so that they reach the
controller and are sent back to the web service.
2019-10-22 16:31:37 -04:00
Tailing Yuan
481a49a587
fix CompileManager and LocalCommandRunner
2019-10-04 23:02:03 +08:00
Shane Kilkelly
4f6ef61626
Increase the hard-timeout to 10 minutes.
...
In practice most projects will still be limited to five minutes,
but this allows us to bump up the limit for some projects,
especially legacy v1 projects that have been imported to v2
2019-06-06 16:39:16 +01:00
Michael Mazour
663ec88718
Add flags option to request JSON
...
Adds a `flags` parameter to the request JSON, appearing under the `compile.options` key (alongside such stalwarts as `compiler`, `timeout`, etc.).
This is primarily to support `-file-line-error` as an option, but could have other uses as well.
`flags` should be an array of strings, or absent. If supplied, the listed arguments are added to the base latexmk command.
2019-05-14 16:24:34 +01:00
Henry Oswald
31153c479c
change console.log for logger.log
2019-03-22 20:42:26 +00:00
Brian Gough
d20856f799
use explicit json content-type to avoid security issues with text/html
2019-02-12 16:54:59 +00:00
Christopher Hoskin
a194d7ad05
Fix broken spacing
2019-01-16 15:12:23 +00:00
Henry Oswald
49f3b7d54f
have failed compiles warn rather than be an error
2018-11-23 15:10:35 +00:00
Brian Gough
1481b4fe50
fix exception when content undefined in TikzManager
2018-10-15 10:01:52 +01:00
Brian Gough
3aad472a83
improve log message
2018-10-12 10:49:54 +01:00
Brian Gough
49ddcee0c6
use TikzManager to create main file for pstool package
2018-10-10 16:13:20 +01:00
Brian Gough
9ce7bfa8ab
extend caching for tikz, minted and markdown files
2018-10-04 16:56:48 +01:00
Brian Gough
90436933da
Merge pull request #96 from sharelatex/bg-cache-eps-to-pdf-converted-files
...
cache pdf files generated by epstopdf
2018-09-11 13:31:26 +01:00
Henry Oswald
b07b7a84be
fix unit tests
2018-09-11 10:21:37 +01:00
Henry Oswald
58b4de905c
Merge branch 'master' into ho-dockerise
2018-09-11 10:02:24 +01:00
Henry Oswald
5f9fb85613
bump wordcount timeouts, taken from 82b996b145
2018-09-11 09:55:10 +01:00
Henry Oswald
d3bb863d0a
improve synctex logging
2018-09-11 09:51:20 +01:00
Brian Gough
00ebc87230
cache pdf files generated by epstopdf
2018-09-11 09:44:22 +01:00
Henry Oswald
6299832a13
don't error on a bad synctex call
2018-08-23 11:32:50 +01:00
Henry Oswald
607bb74ffa
reduce log level
2018-08-23 11:16:28 +01:00
Henry Oswald
b4107b7391
fse.ensureDir when running synctex and wordcount
2018-08-23 08:34:18 +01:00
Henry Oswald
5074442702
fix unit tests
2018-08-23 00:21:05 +01:00
Henry Oswald
7b773474d9
improve error reporting
2018-08-23 00:00:43 +01:00
Henry Oswald
e4d28addf9
change sync to async for lockfile debugging
2018-08-22 22:17:02 +01:00
Henry Oswald
171ad0329d
fix sql query checking last access time
2018-08-22 18:21:15 +01:00
Henry Oswald
0f179a7c7c
add log on exited error code
2018-08-21 12:02:12 +01:00
Henry Oswald
1990f20dc0
improve error reporting
2018-08-20 10:12:32 +01:00
Henry Oswald
988f177f79
added loads of debugging
2018-08-19 11:38:27 +01:00
Henry Oswald
95b2e8caae
comment out erroring log for moment
2018-08-01 14:32:17 +01:00
Henry Oswald
3890cdec37
null check host options
2018-08-01 14:10:22 +01:00
Henry Oswald
3e3468d9e9
reduce logging
2018-08-01 13:59:09 +01:00
Henry Oswald
9ef9a3b780
make Settings.parallelSqlQueryLimit a config setting
2018-07-31 14:38:24 +01:00
Henry Oswald
ee518c1755
fix expired projects command
2018-07-30 17:37:30 +01:00
Henry Oswald
3a9206f1e7
fix missing cb’s
2018-07-30 17:01:59 +01:00