John Lees-Miller
42d1236063
Check for missing project before checking key
2016-06-03 16:11:31 +01:00
John Lees-Miller
1ac07526dc
Reorganise postbacks and files under /api
2016-06-03 16:11:02 +01:00
Marc Egea i Sala
2a87513603
Merge pull request #14 from overleaf/performance-improvements
...
Build RepositoryObjectTreeWalker only once per commit
2016-06-03 15:46:32 +01:00
Marc Egea i Sala
34854b0184
Merge pull request #13 from overleaf/logging-fixes
...
Use logback to split logging streams
2016-06-03 15:46:06 +01:00
Marc Egea i Sala
f4d4ce0da1
Build RepositoryObjectTreeWalker only once per commit
2016-06-03 15:40:48 +01:00
John Lees-Miller
7ed93bc2cc
Log to temp file when running tests
2016-06-03 11:47:25 +01:00
John Lees-Miller
64b49904e4
Use logback so we can use two log streams
...
We want all logs on stdout, for debugging, and warnings and errors
on stderr, for remote monitoring. The SLF4J SimpleLogger can't seem
to do this, but logback does, and we can still use the same SLF4J
interface.
2016-06-03 11:47:25 +01:00
Shane Kilkelly
56c0604b96
upgrade to node 4.2.1
2016-06-03 10:58:53 +01:00
John Lees-Miller
4bd4ef47af
Merge pull request #12 from overleaf/dependency-updates
...
Dependency updates and general housekeeping
2016-06-03 09:35:43 +01:00
Brian Gough
634c774592
make code clearer when compilation is per-user
2016-06-02 16:54:46 +01:00
Brian Gough
55a8e3cffe
extend tests for per-user compiles
2016-06-02 15:48:13 +01:00
Brian Gough
ce1524cd07
remove unnecessary build id in query string
...
this is now in the url
2016-06-02 15:48:13 +01:00
Brian Gough
272625fbcc
add per-user compilation in client
...
enabled only when query string includes isolated=true
2016-06-02 15:48:13 +01:00
Brian Gough
9d7f129b61
add per-user compilation in server
...
when no user is defined, fallback to per-project compilation
2016-06-02 15:48:13 +01:00
Brian Gough
061d4934f1
use url attribute sent back by clsi
2016-06-02 15:46:55 +01:00
Brian Gough
5be1886d43
use path attribute sent back by clsi
2016-06-02 15:43:20 +01:00
Brian Gough
d3395ef763
log user_id when clearing project
2016-06-02 15:32:33 +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
1462e17f0c
put the build id in the output file urls
...
the url attribute will now give the preferred location for accessing
the output file, without the url having to be constructed by the web
client
2016-06-02 15:30:50 +01:00
Brian Gough
bd22a6e02d
put the build id in the output file urls
...
the url attribute will now give the preferred location for accessing
the output file, without the url having to be constructed by the web
client
2016-06-02 15:29:56 +01:00
Henry Oswald
bc59b15bd8
mark grunt at 0.4.1. in package.json
2016-06-02 15:24:10 +01:00
Henry Oswald
1dd4ea176a
Merge branch 'master' into node-4.2
2016-06-02 15:20:57 +01:00
Henry Oswald
734b5613a5
fix package.json
2016-06-02 15:20:18 +01:00
Henry Oswald
8529cb50b6
rolled back underscore and added lodash in
2016-06-02 13:18:07 +01:00
Henry Oswald
14cbf4f1c8
removed priority url from proxy to clsi
2016-06-02 13:11:20 +01:00
Henry Oswald
c284465ba5
added clsiformat checker, wired in
2016-06-02 13:09:32 +01:00
John Lees-Miller
758bc3eb8c
Add missing newline at end of file
2016-06-02 12:59:23 +01:00
John Lees-Miller
9c63ea6c93
Upgrade some testing dependencies
2016-06-02 12:41:24 +01:00
John Lees-Miller
13a75fdb95
Upgrade google http and oauth clients to 1.22.0
2016-06-02 12:26:58 +01:00
John Lees-Miller
c3725e3246
Upgrade async-http-client to 1.9.38
2016-06-02 12:22:14 +01:00
John Lees-Miller
dbaa78928e
Upgrade sqlite-jdbc to 3.8.11.2
2016-06-02 12:13:17 +01:00
John Lees-Miller
bbde2d31d8
Upgrade gson to 2.6.2
2016-06-02 12:13:13 +01:00
John Lees-Miller
ad81e7a2ee
Upgrade joda-time to 2.9.4
2016-06-02 12:01:35 +01:00
John Lees-Miller
1edaf5fe77
Upgrade to jetty 9.3.9
2016-06-02 11:57:04 +01:00
John Lees-Miller
465db49a22
Remove installation scripts
...
We now handle production deployment using some ansible playbooks based
on these scripts, so rather than having slightly different versions in
two places, I think it’s safer to remove them for now.
2016-06-02 10:39:21 +01:00
John Lees-Miller
8ea3ed5dbe
Add IDEA project files
...
Using this .gitignore file to decide what to commit:
https://github.com/github/gitignore/blob/master/Global/JetBrains.gitigno
re
2016-06-02 10:15:14 +01:00
Henry Oswald
afd85f9d90
bump mongojs to 2.4
2016-06-01 17:40:56 +01:00
Brian Gough
b8e31dfc71
fix filename of downloaded pdf files
2016-06-01 16:47:55 +01:00
Henry Oswald
8a5cb86c31
check _checkRecoursesForErrors before compile
2016-06-01 16:46:41 +01:00
Henry Oswald
66ad587c9c
bump underscore to 1.8.3
2016-06-01 16:46:11 +01:00
Shane Kilkelly
a5aab40320
Add the betaProgram
feature to User model.
2016-06-01 16:17:28 +01:00
Henry Oswald
4825a1f557
extract clearup func so it always runs
2016-06-01 14:57:06 +01:00
Henry Oswald
f8e9df9130
each health check is run with different user_id
...
means can do a full clean after tests
2016-06-01 14:52:35 +01:00
Henry Oswald
2b8ca59420
bump mongojs version
2016-06-01 14:38:06 +01:00
Henry Oswald
f81d40d573
add missing err check
2016-06-01 14:34:23 +01:00
Henry Oswald
3cae036c3c
improve logging
2016-06-01 14:21:49 +01:00
Henry Oswald
9f566f7730
added logging and more error checking in health check
2016-06-01 14:10:44 +01:00
Henry Oswald
1437877b5a
spike to check latex for basic errors before compile
...
Aims to solve following problems which are currently not visible to user:
- project is too big, which files are worst offenders?
- when there are duplicate file names so an 'old' version keeps overrighting a new version
- when a file has the same path as a folder which blows up clsi i.e. images/research images/research/1.png
2016-06-01 12:28:54 +01:00
James Allen
e38e883081
Clean up and consolidate RedisManager tests for easy refactoring later
2016-06-01 12:22:47 +01:00