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
Marc Egea i Sala
65d0d9d511
Merge pull request #11 from overleaf/config-git-for-tests
...
Config git for tests
2016-05-24 15:16:15 +01:00
Marc Egea i Sala
6a57dd2d9b
Improve indentation
2016-05-23 16:16:40 +01:00
Marc Egea i Sala
45254bf34a
Add minimal git config to repos
...
The test don't pass unless a minimal configuration for Git is provided.
With this change, we don't rely on the final user to provide this
configuration.
Every time a repository is cloned on tests we're adding a configuration
only for that repository that's not going to clash with any other
configuration already set.
2016-05-23 15:59:24 +01:00
Winston Li
d582e3e1cf
Remove and replace Util.sout and .serr
2016-04-18 11:03:55 +01:00
Winston Li
a409a15f07
Fix #1384 , possibly #1174 too
2016-04-05 20:39:36 +01:00
Winston Li
bb619bfaf1
Add tests that reproduce #1384 .
2016-04-05 04:17:15 +01:00
Winston Li
08f3497a9e
Improve logging around main operations.
...
PostbackManager.java: check for actual postback promise before waiting.
2016-04-03 12:17:06 +01:00
Winston Li
ab09d044a8
Improve logging for catching #1174 , and fix tests.
2016-04-01 05:23:59 +01:00
Winston Li
a4df78c73d
Improve logging.
...
- Add sanitised Config and test
- Fix issue with file permissions
2016-03-31 06:35:09 +01:00
Winston Li
559b32a22f
Integrate slf4j simple logger and change some messages. Declare some exceptions in tests
2016-03-11 09:46:03 +00:00
Marc Egea i Sala
0669f53fcb
Merge pull request #9 from overleaf/file-too-big-exception
...
Provide sensible error message for LargeObjectException
2016-02-05 08:14:39 +00:00
Marc Egea i Sala
7048032463
Exception to handle files too big to be processed
2016-02-04 10:22:18 +00:00
Marc Egea i Sala
1e845bafc2
Merge pull request #8 from overleaf/custom-error-on-auth-fail
...
Provide custom message on 401 errors
2016-01-20 08:23:22 +00:00
Marc Egea i Sala
b3e140ed40
Provide custom message on 401 errors
2016-01-19 10:44:03 +00:00
Winston Li
850cbcf0c6
Merge bug fixes with oauth2 skipping
2016-01-04 04:34:26 +00:00
Winston Li
53d3033b5c
Implement auth skipping on non-protected projects
2016-01-04 04:14:50 +00:00
Winston Li
a9a74890d2
Delete stuff that should be gitignored
2016-01-04 02:53:40 +00:00
Marc Egea i Sala
00cadba2b0
Merge pull request #7 from overleaf/fix-error-log-folder
...
Fix error log folder
2015-12-07 10:16:02 +00:00
Marc Egea i Sala
866f7dedee
Fix error log folder
...
Error log is stored under /var/log/err.log. This PR fixes it and stores the log under /var/log/wlgb/err.log
2015-11-30 11:06:00 +00:00
Marc Egea i Sala
dfb4835cc1
Merge pull request #6 from overleaf/version-update
...
Update local version after processing snapshots
2015-11-30 11:00:41 +00:00
Marc Egea i Sala
0390f80aaa
Merge pull request #5 from overleaf/file-not-in-the-current-commit
...
Try to download file if it's not in the git tree
2015-11-24 13:22:46 +00:00
John Lees-Miller
318e11deeb
mock the persistent store with jmock
2015-11-24 12:06:43 +00:00
John Lees-Miller
e2574ab163
fix whitespace
2015-11-24 12:06:05 +00:00
John Lees-Miller
62749a0dab
update to IDEA 15
2015-11-24 12:05:54 +00:00
John Lees-Miller
624c3e6af1
update to junit 4.12 to get jmock working
...
Also moved junit to the test scope.
2015-11-24 12:05:24 +00:00
Marc Egea i Sala
937d9c82b4
Update local version after processing snapshots
2015-11-23 16:24:22 +00:00
Marc Egea i Sala
6a25132f0c
InteliJ IDEA project library files
2015-11-23 12:30:46 +00:00
Marc Egea i Sala
229ed1c09d
Try to download file if it's not in the git tree
2015-11-23 09:36:24 +00:00
Marc Egea i Sala
dcaf2d0fa6
Merge pull request #4 from overleaf/handle-401
...
Handle 401 errors as ptorected projects
2015-11-19 10:52:53 +00:00
Marc Egea i Sala
18bb534f96
Handle 401 errors as ptorected projects
2015-11-19 10:40:07 +00:00
Winston Li
0156aa8c51
Update README.md
2015-10-25 13:58:40 +00:00
Winston Li
1872eba223
Implementation of OAuth2
2015-10-25 13:44:38 +00:00
Winston Li
c3db415ce7
Implement config changes and tests
2015-10-25 11:19:02 +00:00
John Lees-Miller
946c1d56be
Merge pull request #3 from overleaf/error_handling
...
Error handling
2015-10-05 10:30:19 +01:00
John Lees-Miller
fcd9877a00
Merge pull request #2 from overleaf/anonymous-versions
...
Support for anonymous saved versions
2015-10-05 10:29:07 +01:00
Marc Egea i Sala
6ae47e8821
Bugfix: using statusElement and not codeElement again
2015-10-02 15:22:55 +01:00
Marc Egea i Sala
3970fb146c
Handle response errors through Util.getCodeFromResponse
...
Centralizing the exceptions to provide more details on fail.
2015-09-30 10:45:58 +01:00
Marc Egea i Sala
8648f8bde7
Use WLUser to provide default name and email
2015-09-29 11:36:10 +01:00
Marc Egea i Sala
61a5c5870c
Support for anonymous saved versions
...
This fixes a case when de API sends a version without user. There was a
bug allowing to create anonymous versions in the application and we
have to support the old data.
The problem here is that SnapshotInfo classes are inflated from json
via Gson. This method does not call any constructor and, since the json
does not include the ‘user’ key, the bridge crashes because we’re not
expecting null users.
I’m not happy with this fix, but is the minimum solution that does not
affect anything else.
2015-09-25 16:15:37 +01:00
John Lees-Miller
3635257cac
Merge pull request #1 from overleaf/catching-null-pointer-exceptions
...
Loggin API response in order to figure out the use case for errors
2015-09-24 13:45:01 +01:00
Marc Egea i Sala
78c92e62b6
Loggin API response in order to figure out the use case for errors
2015-09-24 12:33:51 +01:00
Winston Li
70c963c38f
Fix issue with pulling 2 new identical binary files with known name
2015-08-05 19:41:27 +01:00
Winston Li
4fbd6eaabe
Fix issue with cloning multiple identical files and add test
2015-08-04 21:14:13 +01:00
Winston Li
34c2d7f613
Add test for f385cffd
2015-08-04 20:32:41 +01:00
Winston Li
f2701568f6
Fix issue with pulling a file identical to an existing file
2015-08-04 20:06:06 +01:00
Winston Li
98007ae64c
Merge pull request #11 from overleaf/fix-delete-directory-apart-from-npe
...
avoid NPE if project directory does not exist; fixes #10
2015-05-15 12:34:44 +01:00
John Lees-Miller
3ac0b0c2de
avoid NPE if project directory does not exist; fixes #10
2015-04-26 21:00:28 -04:00