Shane Kilkelly
9ee39ae930
Wrap the generic repository-missing message correctly
...
Now appears to the client as:
```
fatal: remote error: no git access
This Overleaf project currently has no git access, either because
the project does not exist, or because git access is not enabled
for the project.
```
2018-12-13 12:37:42 +00:00
Shane Kilkelly
abcaf8242e
Include message along with error description lines
2018-12-13 12:37:21 +00:00
Shane Kilkelly
a766482a00
Remove stray import
2018-12-13 12:37:09 +00:00
Shane Kilkelly
bf7be6071d
Handle GitUserException, with multiple lines of output
2018-12-13 11:41:07 +00:00
Shane Kilkelly
2f18feb136
Keep the default constructor for MissingRepositoryException
2018-12-13 11:40:08 +00:00
Shane Kilkelly
27e1152095
Fix wording of the generic-error when a repository is missing
2018-12-13 10:34:09 +00:00
Shane Kilkelly
a72146aa8d
Better report to user on push timeout
2018-12-12 10:38:26 +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
Shane Kilkelly
3f85dc80f4
When user clone/pull/etc a project which doesn't exist, print a nice message
...
The old behaviour was to just show an equivalent of a 500 error.
This way, we catch the 404 from the API, and print an appropriate message
to the user.
2018-12-11 12:35:21 +00:00
Christopher Hoskin
7c577eb6eb
Use metrics which labels host in timing
2018-12-11 12:11:53 +00:00
Shane Kilkelly
c435eccc43
Change push timeout to three minutes
2018-12-11 09:24:09 +00:00
Nate Stemen
93a9030686
forgot to add files before committing
2018-12-10 22:59:31 -05:00
Nate Stemen
912781f23f
update packages
2018-12-10 22:59:03 -05:00
Nate Stemen
c86e81e1f4
add eslint packages
2018-12-10 22:48:12 -05:00
Nate Stemen
7a579ed62a
make script executable
2018-12-10 22:19:45 -05:00
Nate Stemen
159442ce41
update build scripts with v1.1.10
2018-12-10 22:17:48 -05: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
Shane Kilkelly
002d862389
Merge pull request #45 from overleaf/sk-migrate-repos-v1-v2
...
Migrate repos from v1 to v2
2018-12-06 10:30:07 +00:00
Shane Kilkelly
d22d5829bb
Remove redundant try/catch around directory copy operation
2018-12-06 09:45:07 +00:00
Brian Gough
32e9d6c279
Merge pull request #38 from sharelatex/bg-fix-dockerfile-apt-get
...
avoid problems with caching of apt-get operations
2018-12-06 09:43:57 +00:00
Brian Gough
ce0cd2bb20
Merge pull request #12 from sharelatex/bg-fix-dockerfile-apt-get
...
avoid problems with caching of apt-get operations
2018-12-06 09:43:51 +00:00
Shane Kilkelly
67d365e661
Remove commas because grammer
2018-12-06 09:40:09 +00:00
Brian Gough
ea9c3e4519
avoid problems with caching of apt-get operations
2018-12-06 08:24:40 +00:00
Brian Gough
28271655e1
avoid problems with caching of apt-get operations
2018-12-06 08:19:39 +00:00
Shane Kilkelly
6b8101d278
Init the new repo from existing repository, avoid creating files then deleting
2018-12-05 16:54:58 +00:00
Henry Oswald
25e1ad7491
remove redis.realtime
...
real time pushes data into the document updater redis instance
2018-12-05 16:17:41 +00:00
Henry Oswald
bbd88e75eb
fix broken tests
2018-12-05 15:41:12 +00:00
Henry Oswald
7a7f1aed91
remove console.log
2018-12-05 15:39:27 +00:00
Henry Oswald
d4e8bc1d4b
remove metrics.set as we don't support it atm
2018-12-05 15:29:23 +00:00
Henry Oswald
9437cf8b02
explicity split redis config values
2018-12-05 15:16:55 +00:00
Shane Kilkelly
8cb715014c
More concise handling of optional migratedFromId in test
2018-12-05 15:00:00 +00:00
Shane Kilkelly
709cb0887c
Remove old constructor without the migratedFromId param
2018-12-05 14:59:41 +00:00
Shane Kilkelly
925ebc2133
Check project state inside the lock
2018-12-05 14:58:51 +00:00
Henry Oswald
5ad7482385
update config to take explicit redis configs
2018-12-05 14:43:45 +00:00
Henry Oswald
cdf605e171
inject metrics root and bump lib to 2.0.8
2018-12-05 14:01:15 +00:00
Henry Oswald
25275212af
bump metrics to 2.0.7
2018-12-05 12:36:32 +00:00
Henry Oswald
5f046ed329
install metrics route and bump metrics version
2018-12-05 12:35:46 +00:00
Henry Oswald
5d927d30b6
update build scripts to 1.1.10
2018-12-05 10:53:11 +00:00
Shane Kilkelly
439d55d805
Update wording of the change-your-remote message shown to user
2018-12-05 10:42:58 +00:00
Henry Oswald
78b779a338
try different metrics
2018-12-04 16:21:20 +00:00
Henry Oswald
258617fbd4
bump metrics
2018-12-04 15:58:42 +00:00
Henry Oswald
fa3dd21d0c
Merge branch 'master' into ho-docker
2018-12-04 15:22:03 +00:00
Henry Oswald
b834049eeb
improve delay ms logging
2018-12-04 14:49:34 +00:00
Henry Oswald
05611de15e
use FORCE_DRAIN_MS_DELAY
2018-12-04 14:31:07 +00:00
Henry Oswald
2418e5db57
use delayExitUntilDrained
2018-12-04 14:22:06 +00:00