Commit graph

267 commits

Author SHA1 Message Date
Shane Kilkelly
641608c6be Merge pull request #43 from overleaf/sk-update-node-10
Update to node 10, and move to package-lock.json
2019-11-06 11:33:10 +00:00
Nate Stemen
bfa4cc0023 bump build script to 1.1.24 2019-10-25 12:59:47 -04:00
Nate Stemen
bec7e7c0e1 replace private link with public one 2019-10-25 12:59:28 -04:00
Shane Kilkelly
67735bb2db Update to node 10, and move to package-lock.json
In this case, the npm-shrinkwrap file was using the old v0 format,
and npm needed to effectively re-write the entire file.
2019-09-27 16:22:15 +01:00
Simon Detheridge
03b8a1901d Account for ranges in large json payloads and add line-count limit 2019-08-06 09:50:04 +01:00
Simon Detheridge
e1868e2b54 Log request on error 2019-07-31 15:07:28 +01:00
Simon Detheridge
a9d8e938ca Merge pull request #39 from overleaf/sk-dep-upgrades-2019-06
update logger and metrics
2019-07-08 14:03:58 +01:00
Simon Detheridge
5261e1b0be Add endpoint to completely purge a document 2019-07-02 15:02:37 +01:00
Shane Kilkelly
a9b35dde00 update logger and metrics 2019-06-19 09:37:54 +01:00
Timothée Alby
3de8e93815 update Git URL in Jenkinsfile 2019-05-07 18:39:09 +02:00
Timothée Alby
0ee7a81a02 Update README.md 2019-05-07 16:25:59 +01:00
Henry Oswald
cfd6225b1c bulk upgrade to 1.1.12, moved to npm rather than git 2019-01-31 15:48:17 +00:00
Christopher Hoskin
5b70587765 Add **/*.map to .gitignore 2019-01-09 10:32:59 +00:00
Christopher Hoskin
27709709f3 Remove grunt 2019-01-09 10:31:42 +00:00
Christopher Hoskin
6760dd6ce0 Shrinkwrap 2019-01-09 10:29:24 +00:00
Christopher Hoskin
93443c737f Add note on running acceptance tests to README 2019-01-09 10:24:25 +00:00
Christopher Hoskin
b563b1b003 Bump logger to v1.5.9 and settings to v1.1.0 2019-01-09 08:50:53 +00:00
Christopher Hoskin
d1854c1897 Adapt for metrics v2 2019-01-09 08:49:32 +00:00
Christopher Hoskin
5dc2df2a70 Merge branch 'master' into csh-ho-docker-issue-1338-bulk-upgrade 2019-01-09 08:41:10 +00:00
Henry Oswald
06babdf789 remove inline maps 2018-12-11 14:49:29 +00:00
Henry Oswald
7358f91ea9 inline source maps, remove grunt, clean dev deps 2018-12-11 14:43:39 +00:00
Henry Oswald
b68d7d46a2 update coffeescript 2018-12-11 14:36:35 +00:00
Henry Oswald
36a0216f44 trying source context 2018-12-11 14:26:06 +00:00
Henry Oswald
3a963c1832 bump metrics 2018-12-11 14:17:38 +00:00
Henry Oswald
bd7a764b7e bump metrics 2018-12-10 22:04:16 +00:00
Henry Oswald
b8f3fbd1cf bump build script 2018-12-10 21:42:14 +00:00
Henry Oswald
30368dd8b9 try new mongo metrics 2018-11-27 12:07:40 +00:00
Henry Oswald
04cfb8fa0e use labels metrics 2018-11-26 09:47:05 +00:00
Henry Oswald
53654b3eaf bump metrics 2018-11-23 15:42:29 +00:00
Henry Oswald
4ea9328099 bump metrics 2018-11-20 17:17:29 +00:00
Henry Oswald
459d07dd69 bump metrics 2018-11-20 16:29:02 +00:00
Henry Oswald
56047f884c bump metrics 2018-11-20 16:14:14 +00:00
Henry Oswald
ff29557fb4 bump metrics version 2018-11-20 16:06:36 +00:00
Henry Oswald
f321341227 bump metrics to work with promethious 2018-11-20 14:58:19 +00:00
Henry Oswald
7e3c6ddb3f also delete doc ops 2018-10-19 12:10:33 +01:00
Henry Oswald
2ccc4d8d3f also delete doc ops 2018-10-19 11:54:19 +01:00
Henry Oswald
2828df74e5 hard delete a doc on health check 2018-10-18 18:06:05 +01:00
Henry Oswald
a756b1a967 hard delete a doc on health check 2018-10-03 14:57:01 +01:00
Henry Oswald
14073a6544 remove debug line 2018-09-28 13:31:49 +01:00
Henry Oswald
68a950a20c add debug line 2018-09-28 13:20:03 +01:00
Henry Oswald
7a90d49f42 add HEALTH_CHECK_PROJECT_ID 2018-09-28 12:39:11 +01:00
Henry Oswald
afc0058b87 update buildscripts to 1.1.9 2018-09-28 12:13:53 +01:00
Henry Oswald
94603f9855 use overleaf-ops project 2018-09-28 12:02:20 +01:00
Henry Oswald
ed4e2775c2 Merge branch 'ho-docker' of github.com:sharelatex/docstore-sharelatex into ho-docker 2018-09-28 11:59:39 +01:00
Henry Oswald
73171b80cf change mongo connection string temporaraly 2018-09-28 11:50:19 +01:00
Brian Gough
3d1e6fb28a increase body parser limit to 64kb
the 16kb limit is not enough when the doc has too many escape characters
2018-08-06 12:00:40 +01:00
Christopher Hoskin
e396b6b79e Update to Build Script 1.1.4 (draft 2) 2018-05-29 15:30:45 +01:00
Christopher Hoskin
ff9e67c87d Update to Build Script 1.1.4 (draft) 2018-05-29 13:59:19 +01:00
Henry Oswald
c334c224bf pass missing env var 2018-05-23 12:35:22 +01:00
Henry Oswald
bff7f96d70 standarise env vars 2018-05-23 12:32:37 +01:00
Henry Oswald
833bf67622 rewrite jenkins acceptence line 2018-05-23 12:29:16 +01:00
Henry Oswald
ddae704f88 log settings 2018-05-23 12:20:37 +01:00
Henry Oswald
984b5a0ca4 pass env vars all the way through (mvp) 2018-05-23 12:17:46 +01:00
Henry Oswald
a8f40a4fda remove env block 2018-05-23 11:45:50 +01:00
Henry Oswald
352a8d3f19 try withCredentials 2018-05-23 11:43:54 +01:00
Henry Oswald
37ef1ba816 add empty env block 2018-05-23 11:35:30 +01:00
Henry Oswald
c1947c5cbd dockerise app, 1.1.3 build scripts 2018-05-23 11:27:31 +01:00
Shane Kilkelly
cdfc6b6131 Merge pull request #30 from sharelatex/sk-upgrade-node-8
Upgrade NodeJS to version 6
2018-04-26 10:53:07 +01:00
Shane Kilkelly
0433692aec remove package-lock file 2018-04-26 10:34:05 +01:00
Shane Kilkelly
f0495d8ec6 Change to Node 6 2018-04-26 10:24:59 +01:00
Alberto Fernández-Capel
71256b58d2 Merge pull request #31 from sharelatex/afc-fix-travisci-build
Do not specify the node version in .travis.yml
2018-04-23 10:51:34 +01:00
Alberto Fernández Capel
6757f70daa Do not specify the node version in .travis.yml
So travis picks it from .nvmrc
2018-04-19 14:08:41 +01:00
Shane Kilkelly
dd7386bb54 Upgrade NodeJS to version 8 2018-04-16 14:44:59 +01:00
James Allen
f06bd26572 Add coffee script dependency 2017-12-29 10:35:40 +00:00
James Allen
a4cc02dbc3 Provide hosts as environment settings and add npm run start script 2017-12-29 08:12:31 +00:00
Joe Green
c864cd24bf Update Jenkinsfile 2017-10-16 14:09:54 +01:00
Joe Green
80eb7a8eda alert only on master 2017-10-12 17:07:29 +01:00
James Allen
d86a964081 Remove another verbose log object 2017-09-20 09:52:28 +02:00
James Allen
05a1939547 Don't log out doc lines and ranges 2017-09-20 09:42:08 +02:00
Joe Green
a0e33ae1e8 added build.txt 2017-09-04 14:48:21 +01:00
Shane Kilkelly
65697cb2f6 Upgrade sinonjs, and fix unit tests.
- use `sinon.match.has` for error matching
- restore previous use of `calledWith`
2017-08-22 15:20:43 +01:00
Shane Kilkelly
1f3b0a3713 Upgrade mongojs dependency to version 2.4.0
- Upgrade in package.json
- Use new connection syntax
- Fix unit tests, issues with object equality
2017-08-22 08:26:30 +01:00
Joe Green
172060c066 Use correct env vars 2017-08-14 15:44:40 +01:00
Joe Green
26ab98f04a run acceptance tests 2017-08-14 15:34:34 +01:00
Joe Green
ca42638ab3 Create Jenkinsfile 2017-08-11 11:09:41 +01:00
Brian Gough
abe90cad10 Revert "Merge pull request #23 from sharelatex/bg-optimise-get-all-docs"
This reverts commit c1337cf23f37bd9ba48419accf1f54c00390e0ea, reversing
changes made to fbb2fa15bf4239db006db742f906554d61a0eac4.
2017-06-30 14:54:11 +01:00
Brian Gough
a2ac37ac99 comments about optimistic loading 2017-06-28 10:06:50 +01:00
Brian Gough
b9b0596d83 optimistically load all docs 2017-06-27 16:58:20 +01:00
James Allen
e10d09d040 Merge pull request #22 from sharelatex/ja-archive-ranges
Archive ranges as well as doc lines
2017-05-17 12:02:42 +01:00
Shane Kilkelly
6a6fdc13a5 Merge branch 'sk-upgrade-metrics' 2017-04-04 09:34:45 +01:00
James Allen
7a64f040f1 Test and fix _mongoDocToS3Doc 2017-04-03 16:04:54 +01:00
James Allen
bf187f30ec Add tests for _s3DocToMongo 2017-04-03 15:50:33 +01:00
Shane Kilkelly
b14039715f Stub out logger in tests 2017-03-31 11:25:23 +01:00
Shane Kilkelly
f7bc400f22 upgrade to most recent metrics 2017-03-31 11:18:31 +01:00
James Allen
f94e33a3a9 Merge branch 'master' into ja-archive-ranges
Conflicts:
	app/coffee/DocArchiveManager.coffee
	test/acceptance/coffee/ArchiveDocsTests.coffee
2017-03-30 17:19:42 +01:00
James Allen
a9ab7b739d Archive ranges as well as doc lines 2017-03-30 17:13:43 +01:00
Shane Kilkelly
ce01b39967 Update metrics version to 1.7.0 2017-03-21 13:48:21 +00:00
Shane Kilkelly
bc37c844ea update to new metrics api 2017-03-17 15:27:36 +00:00
Shane Kilkelly
e879f9c742 Upgrade metrics 2017-03-16 16:46:58 +00:00
Henry Oswald
c0e23df82b break getDoc into multiple helpers, stop passing filters though from other calls 2017-03-15 22:09:56 +00:00
Henry Oswald
ffd1aa0ca4 just get doc_id for quick check to see if it exists 2017-03-10 11:45:03 +00:00
Henry Oswald
7adc67d13a add missing error handler 2017-03-10 10:37:11 +00:00
Henry Oswald
c2b96c7e1e Merge pull request #17 from sharelatex/ho-always-check-s3
Always get inS3 when getting doc
2017-03-10 10:36:59 +00:00
Henry Oswald
f067c039fe always search for inS3 when getting a doc 2017-03-09 18:51:54 +00:00
Henry Oswald
d6146b2970 got failing acceptence test 2017-03-09 18:18:50 +00:00
Henry Oswald
8bd0df3530 also log out lines in error message 2017-03-09 17:36:28 +00:00
Henry Oswald
dbfe5ac712 error if doc lines are not array when unarchiving 2017-03-09 17:34:33 +00:00
Shane Kilkelly
d09a4cb275 Lengthen sleep for acceptance tests 2017-03-06 15:11:04 +00:00
Shane Kilkelly
929ffbd83a Don't npm rebuild inside container 2017-02-20 10:07:30 +00:00
James Allen
315a1d5e80 Add ranges into health check 2017-01-31 10:23:51 +01:00