Commit graph

17992 commits

Author SHA1 Message Date
Alasdair Smith
0c76b06a97 Increase timeout to 5 seconds 2017-09-07 10:02:48 +01:00
Alasdair Smith
320466a4f7 Catch invalid email address and show specific error message 2017-09-06 13:47:45 +01:00
Shane Kilkelly
575869142c Add grunt install command to install-services 2017-09-06 13:37:34 +01:00
Alasdair Smith
79566a9214 Prevent autocomplete on suggestions that don't match
The behaviour of the ngTagsInput directive is somewhat counter-intuitive -
typing part of a suggested email will appear as though it matches but pressing
enter will not input the suggestion, but the current typed value.

Disabling add on enter will still allow enter to select the selection, but
prevents selection of the partially typed email/name.
2017-09-06 11:39:30 +01:00
Shane Kilkelly
fd71cd3c0a Add call to install-services 2017-09-06 11:16:12 +01:00
Shane Kilkelly
4adf7378e2 Merge pull request #559 from sharelatex/sk-node-6
Update to node6
2017-09-06 10:51:38 +01:00
Shane Kilkelly
4170302d3f Merge pull request #558 from sharelatex/sk-allow-no-nvm
check for nvm presence before using, survive abscence
2017-09-06 10:51:27 +01:00
Shane Kilkelly
93b8a9b13d Fix the doc lines migration.
- The bson module changed at some point, update to new api
2017-09-06 09:56:44 +01:00
Michael Mazour
a3a41640b9 Merge pull request #26 from overleaf/custom-error-page
Simple Error Page to Replace Default
2017-09-06 06:53:57 +01:00
James Allen
b2257db2c2 Don't get confused by commands in arguments in autocomplete 2017-09-05 19:26:13 +02:00
Alasdair Smith
ca8ba6dabe Fix incorrect checking of contact name 2017-09-05 17:18:26 +01:00
Shane Kilkelly
458b0d1256 Update to node6.
- update nvmrc file
- update mongojs dependency (for migrations)
2017-09-05 15:33:32 +01:00
Shane Kilkelly
c63753f9f0 Add warning when NVM is not present 2017-09-05 15:26:40 +01:00
Alasdair Smith
32b849faf7 Use translations 2017-09-05 14:57:06 +01:00
Alasdair Smith
42ae7a6479 Only show auto compile option for beta program users 2017-09-05 14:57:06 +01:00
Alasdair Smith
ce630e4971 Extract timeout constant 2017-09-05 14:57:06 +01:00
Alasdair Smith
a9e94f6a6d Unsubscribe autocompile listener if disabled 2017-09-05 14:57:06 +01:00
Alasdair Smith
cca7f55322 Add autocompile setting 2017-09-05 14:57:06 +01:00
Alasdair Smith
64f70942d0 Ensure user is in beta program 2017-09-05 14:57:06 +01:00
Alasdair Smith
fc4a260d95 Ensure error is from linting not compile logs 2017-09-05 14:57:06 +01:00
Alasdair Smith
9f1adfd0c0 Replace separate autocompile ctrl with listener in PdfController 2017-09-05 14:57:06 +01:00
Alasdair Smith
53bb4fdde0 Use var in root scope instead of event to track linting error 2017-09-05 14:57:06 +01:00
Alasdair Smith
dab799a81b First pass at auto compile ctrl 2017-09-05 14:57:06 +01:00
Alasdair Smith
c42b08fcff Dispatch linting error event when changed 2017-09-05 14:57:06 +01:00
Alasdair Smith
65b2c42fad Emit event when op is acknowledged 2017-09-05 14:57:06 +01:00
hugh-obrien
d9e368ac35 Add a JSON response instead of default error page
Use custom error handler instead of default that leaks server info.

- Use in API context
- Use in default/web context
- Add tests
2017-09-05 13:32:23 +01:00
Brian Gough
3ac0e97a14 avoid error when passing as limit in mongo query
convert request parameter from string to number
2017-09-05 12:33:13 +01:00
Brian Gough
e2368615e2 Merge pull request #589 from sharelatex/bg-check-options-for-incremental-compile
include the options in the project state hash
2017-09-05 11:53:17 +01:00
Brian Gough
a58cc14dcc Merge pull request #592 from sharelatex/bg-fix-ol-style-fingerprint
add ol-style.css to fingerprint list
2017-09-05 11:03:04 +01:00
Brian Gough
2e6c578dd7 add ol-style.css to fingerprint list 2017-09-05 10:54:26 +01:00
James Allen
39320c20b8 Include OL tokens in project schema 2017-09-05 10:50:39 +02:00
Joe Green
404749acaf disableConcurrentBuilds 2017-09-04 16:02:16 +01:00
Shane Kilkelly
2ca8dc903b Suppress verbose output from type command. 2017-09-04 15:57:13 +01:00
Shane Kilkelly
e591df91f5 check for nvm presence before using, survive abscence 2017-09-04 15:40:27 +01:00
Joe Green
144a13462e build.txt 2017-09-04 14:58:13 +01:00
Joe Green
76cae1acf4 build.txt 2017-09-04 14:57:36 +01:00
Joe Green
a483976b35 build.txt 2017-09-04 14:54:54 +01:00
Joe Green
72ef354206 build.txt 2017-09-04 14:54:05 +01:00
Joe Green
7bcbe33ddc added build.txt 2017-09-04 14:51:30 +01:00
Joe Green
bfef9a9d67 added build.txt 2017-09-04 14:49:14 +01:00
Joe Green
c16c6c3bd3 added build.txt 2017-09-04 14:48:47 +01:00
Joe Green
a0e33ae1e8 added build.txt 2017-09-04 14:48:21 +01:00
Joe Green
6518213ca5 added build.txt 2017-09-04 14:47:55 +01:00
Joe Green
93cedd623f added build.txt 2017-09-04 14:46:17 +01:00
Brian Gough
d9557fcbf5 include the options in the project state hash 2017-09-01 16:36:51 +01:00
Shane Kilkelly
7bb4638186 Restore user features to default after acceptance test.
Fixes an issue that could come up when running the tests
several times.
2017-09-01 14:45:54 +01:00
Shane Kilkelly
f7073c4a3c Merge pull request #588 from sharelatex/sk-fix-project-feature-loading
Load user features alongside id and email.
2017-09-01 13:58:34 +01:00
Shane Kilkelly
c170de7a4f Add unit test to cover project features. 2017-09-01 13:28:11 +01:00
Shane Kilkelly
3d0268a486 Add other required properties for project load. 2017-09-01 11:36:23 +01:00
Shane Kilkelly
68f860b28d Load user features alongside id and email.
Fixes a bug where project features were not applied properly,
and instead fell back to the free-account defaults.
2017-09-01 11:16:45 +01:00