mserranom
66ce5847a3
decaffeinate: rename individual coffee files to js files
2020-02-19 12:16:15 +01:00
Shane Kilkelly
880ec16827
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
Christopher Hoskin
7a3f1c81bd
Switch to node 10
2019-01-16 15:11:49 +00:00
Christopher Hoskin
fe60edca56
Init metrics at top of app.coffee
2019-01-11 10:19:47 +00:00
Henry Oswald
00cc5f05e5
pull clsi compile size limit into setting and bump to 7mb
2019-01-08 12:56:16 +00:00
Christopher Hoskin
1783d9d74b
Inject routes after app defined
2018-11-29 15:49:12 +00:00
Christopher Hoskin
ae92438cc4
Inject metrics
2018-11-29 14:30:00 +00:00
Henry Oswald
1b3e2678bf
remove debugging get settings function
2018-09-14 10:26:40 +01:00
Henry Oswald
dc225f6aa3
remove some console.logs
2018-07-30 15:11:41 +01:00
Henry Oswald
a767bfe964
remove express header
2018-07-16 15:38:23 +01:00
Henry Oswald
6825285b02
added maint down endpoint
2018-07-05 15:07:07 +01:00
Henry Oswald
2384eb83d9
add load balance http endpoints to shut box down
2018-06-28 16:04:34 +01:00
Henry Oswald
4c96abd6c5
grep works with command
...
updated build scripts
acceptence tests break, files are written as root when user is node
2018-03-29 17:07:22 +01:00
Henry Oswald
551e8d36b4
update build script and add load balancer agent
2018-03-29 12:12:29 +01:00
Henry Oswald
2d03cb3eb1
added debugging and new moving commands
2018-03-16 17:30:11 +00:00
Henry Oswald
fdac655cd4
acceptence tests pass inside docker container (apart from sync)
2018-03-02 17:14:23 +00:00
James Allen
df21b9de53
Provide hosts and siblings container as environment settings and add npm run start script
...
wip acceptence tests run, but don't all pass
wip
removed npm-debug from git
2018-03-02 17:14:18 +00:00
Joe Green
beaa198347
Increase smoke test interval to 30 seconds
...
The smoke tests can sometimes take ~20 seconds to complete, which causes the http POST to time out. This should solve that problem.
2017-11-29 11:01:51 +00:00
Henry Oswald
2aeec8a12f
Revert "change"
...
This reverts commit 104ce81ebdf41d88acd7fb6f2abf99fbc4eb91df.
2017-07-23 22:45:04 +01:00
Henry Oswald
19c4d020b5
change
2017-07-23 22:42:07 +01:00
Shane Kilkelly
a55debb79f
Send a 404 if the project files have gone away when running synctex.
...
This is semantically nicer than the 500 response which used to be
produced in these circumstances.
2017-06-23 14:46:40 +01:00
Henry Oswald
40a2684801
remove tcp code, moved to agent load balancer
2017-02-23 11:09:18 +00:00
Henry Oswald
f9c687d5f8
Update app.coffee
2017-02-20 15:19:04 +00:00
Henry Oswald
a7623bf0d2
if host has 1 cpu (staging) then set availableWorkingCpus to 1
2017-02-20 15:16:52 +00:00
Brian Gough
9b58621fa8
add support for stopping compile
2016-07-14 16:43:52 +01:00
Brian Gough
a6f6392e40
add route to serve files from top level of per user containers
2016-06-15 16:12:19 +01:00
Brian Gough
5367bc22e5
add per-user routes for clearing cache and extend expiry methods
...
this adds separate functionality for clearing the cache (assets and
database) and the project compile directory for a specific user
2016-06-02 15:32:33 +01:00
Brian Gough
df641549c4
add per-user routes and methods
2016-06-02 15:32:31 +01:00
Brian Gough
bd55e18d6b
be ready to serve files from per-user containers
2016-05-20 10:23:07 +01:00
Brian Gough
07401c5a45
avoid clobbering the existing port variable
2016-05-19 16:38:18 +01:00
Brian Gough
8a2665911d
allow direct path to output file /project/project_id/build/build_id/output/*
...
this avoids use of the query string ?build=... and so we can match the
url directly with the nginx location directive
2016-05-13 10:10:48 +01:00
Henry Oswald
e024d3f503
added project status endpoint
...
used for getting the server a project is on
2016-04-20 15:38:05 +01:00
Henry Oswald
67d3ebf4dc
ignore ECONNRESET
2016-04-12 13:32:58 +01:00
Henry Oswald
42d44a7072
use socket.end for tcp checks
2016-04-12 10:49:45 +01:00
Henry Oswald
5832a09140
server load endpoint uses settings for port
2016-04-11 13:47:06 +01:00
Henry Oswald
29e3668b52
return 0 for server which is being hammered
...
socket.destroy when finished
2016-04-08 15:40:02 +01:00
Henry Oswald
02c7a96161
added err handler to socket
2016-04-08 15:25:00 +01:00
Henry Oswald
2864d776f5
work of 1 min load and set server as up
2016-04-08 15:18:22 +01:00
Henry Oswald
260987336d
evaluate on every call
2016-04-08 14:14:05 +01:00
Henry Oswald
ab15c9e320
added example server load tcp server
2016-04-08 13:31:23 +01:00
Brian Gough
2f15adaf47
parameter check on project_id
2016-03-31 12:12:25 +01:00
Brian Gough
80601eaa85
add support for sentry
2016-03-30 14:35:47 +01:00
Shane Kilkelly
3217b1d58f
When serving output files, intelligently determine the appropriate content-type.
...
cherry pick 6fa3fda3ed28239cf3ac9720629f9707663aa197 from datajoy.
2015-09-21 16:59:35 +01:00
Henrique Dias
09032565e2
Merge remote-tracking branch 'upstream/master' into texcount
2015-09-08 09:13:04 -03:00
Brian Gough
b3c030b3ed
add memory logger from metrics-sharelatex
2015-08-14 14:47:42 +01:00
Henrique Dias
59e87a8729
initial version of texcount
2015-06-08 18:35:24 -03:00
Brian Gough
608b1dd657
replace deprecated send(code,body) calls
2015-05-15 16:27:39 +01:00
Henry Oswald
91d0f0f2f8
make startup message consistent
2015-04-30 15:07:48 +01:00
Brian Gough
134058ccc0
add heapdump support for memory profiling
2015-04-09 14:40:02 +01:00
Brian Gough
9ee2706410
add v8 profiler on /profile?time=MS url
2015-03-16 15:02:45 +00:00