Hayden Faulds
feee582368
pass user_id into EditorController.replaceFile
2017-12-04 09:42:09 +00:00
Hayden Faulds
08891c7a7f
pass userId into ProjectEntityHandler.replaceFile
2017-12-04 09:42:09 +00:00
Hayden Faulds
088ce33cbc
version ProjectEntityHandler.copyFileFromExistingProjectWithProject
2017-12-04 09:42:09 +00:00
Hayden Faulds
60ee78704a
return url from FileStoreHandler.copyFile
2017-12-04 09:42:09 +00:00
Hayden Faulds
4ec0d07aae
remove unused ProjectEntityHandler.copyFileFromExistingProject
2017-12-04 09:42:09 +00:00
Hayden Faulds
90e3b71c1c
version replacing files
2017-12-04 09:42:09 +00:00
Hayden Faulds
980e43e478
pass user_id into EditorController.addDoc
2017-12-04 09:42:09 +00:00
Hayden Faulds
e4ca3bc5ad
pass user_id into EditorController.addDocWithoutLock
2017-12-04 09:42:09 +00:00
Hayden Faulds
7d63939f79
pass owner_id to ProjectEntityHandler.addDoc from ProjectDuplicator
2017-12-04 09:42:09 +00:00
Hayden Faulds
300f76bc5c
pass user_id into ProjectEntityHandler.addDoc / addDocWithProject
2017-12-04 09:42:09 +00:00
Hayden Faulds
bfd22899a0
fix DocumentUpdaterHandler.updateProjectStructure
2017-12-04 09:42:09 +00:00
Hayden Faulds
62f88402e8
fix DocumentUpdaterHandler casing
2017-12-04 09:42:09 +00:00
Hayden Faulds
acda4c2295
remove inline requires from ProjectEntityHandler
2017-12-04 09:42:09 +00:00
Hayden Faulds
ef68c6a531
avoid N+1 lookups in DocumentUpdaterHandler
2017-12-04 09:42:09 +00:00
Hayden Faulds
953dba0ede
pass userId into Editorcontroller.addFile / addFileWithoutLock
2017-12-04 09:42:09 +00:00
Hayden Faulds
42a1deaaca
pass userId into ProjectEntityHandler.addFile
2017-12-04 09:42:09 +00:00
Hayden Faulds
c1481d596f
call DocumentUpdaterHandle.updateProjectStructure from ProjectEntityHandler.addDoc and addFile
...
pass in user_id as null
2017-12-04 09:42:09 +00:00
Hayden Faulds
6e84c635cf
return url from FileStoreHandler.uploadFileFromDisk
2017-12-04 09:42:09 +00:00
Hayden Faulds
0178f78249
handle file additions in DocumentUpdaterHandler.updateProjectStructure
2017-12-04 09:42:09 +00:00
Hayden Faulds
28bcf83d87
better error when project creation fails
2017-12-04 09:25:22 +00:00
Hayden Faulds
eacb19fac9
create user in db and use login endpoint instead of register
2017-12-04 09:25:22 +00:00
Hayden Faulds
938d22da3f
get csrf token from /dev/csrf not /register
2017-12-04 09:25:22 +00:00
James Allen
b51ee7ea7e
Point track-changes-web-module back at master
2017-12-04 09:22:47 +00:00
Henry Oswald
aaa908187d
added layout.pug back in
2017-12-02 13:38:23 +00:00
James Allen
a9ca54b98a
Generate docker-compose.yml before any docker-compose command
2017-12-02 13:02:37 +00:00
Henry Oswald
c020e4e6bd
moment and fineuploader are loaded seperately in editor, not packaged up
2017-12-02 12:29:06 +00:00
Alasdair Smith
bf23a09644
Move setting sidebar height to OL only file so var can be moved to specific scope
2017-12-01 17:59:02 +00:00
Alasdair Smith
e7f83c73ae
Extract v1 dash link styles to file so can define OL only vars
2017-12-01 17:53:52 +00:00
Alasdair Smith
d6e50ac940
Extract var to allowed to be overridden
2017-12-01 17:16:37 +00:00
Alasdair Smith
7f622e2e6b
Conditionally show V1 dash link
2017-12-01 17:14:53 +00:00
Alasdair Smith
9a073cdaf0
Add link to V1 dash
2017-12-01 16:58:19 +00:00
James Allen
5e3f192eda
Merge pull request #187 from sharelatex/sk-version-fineuploader
...
Version the fineuploader library
2017-12-01 13:34:31 +00:00
James Allen
381761127e
Replace previous fineuploader path with old version
2017-12-01 13:26:31 +00:00
Shane Kilkelly
3ee6f5d4be
Update fineuploader on project page
2017-12-01 11:27:06 +00:00
Shane Kilkelly
2ea3caf08b
Properly version the fineuploader library
2017-12-01 11:22:41 +00:00
Paulo Reis
aeffe1cea9
Style resizers while dragging.
2017-12-01 11:22:12 +00:00
Alasdair Smith
5b8c9b2f4c
Add aria role to warning
2017-12-01 11:00:13 +00:00
James Allen
e895a495d6
Move make clean step to before compile
2017-12-01 10:49:00 +00:00
James Allen
e9733514af
Fail on failing module acceptance tests
2017-12-01 10:07:09 +00:00
James Allen
65e44d4770
Clean up old docker-shared.yml before running tests
2017-12-01 09:31:22 +00:00
James Allen
fa2a3574db
Look for Makefile, not makefile
2017-12-01 09:01:36 +00:00
James Allen
040546b1d3
Move -q flag to correct place
2017-12-01 08:49:10 +00:00
James Allen
e62ec77161
Merge pull request #180 from sharelatex/ja-quiet-npm
...
Run npm with -q flag for less verbose test output
2017-12-01 08:32:46 +00:00
James Allen
c433ac7e2d
Merge pull request #183 from sharelatex/hof-module-acceptance-files
...
acceptance test changes for module test
2017-12-01 08:32:14 +00:00
Paulo Reis
cd6b51a1f6
Increase v2 resizer hit area.
2017-11-30 17:00:42 +00:00
Paulo Reis
ce3e410250
Configure resizer colors.
2017-11-30 17:00:25 +00:00
Alasdair Smith
7d58427485
Show warnings on project list for some V1 data
2017-11-30 16:59:13 +00:00
Paulo Reis
3a959cccfd
Use custom chat resizer values.
2017-11-30 15:24:48 +00:00
Paulo Reis
826f49b9a4
Add default resizer values to layout directive.
2017-11-30 15:24:39 +00:00
Paulo Reis
024741ac51
Correct chat resizer values.
2017-11-30 15:24:10 +00:00
Alasdair Smith
52ad852814
Add check for OL host to prevent failure on legacy SL
2017-11-30 15:14:47 +00:00
Paulo Reis
e38c0de6b9
Merge branch 'pr-ol-beta-editor-styling' into pr-style-v2-resizers
2017-11-30 15:13:00 +00:00
Paulo Reis
71604ebd5c
Create uiConfig Pug local; render it in the HTML.
2017-11-30 15:12:36 +00:00
Alasdair Smith
a5cdcea9c7
Update modules gitignore to ignore everything except specific modules
2017-11-30 13:32:23 +00:00
Hayden Faulds
e916fc906a
add mkdirp dev dependency
2017-11-30 13:15:39 +00:00
Hayden Faulds
78709d819e
generate test acceptance files volume for modules
2017-11-30 13:15:23 +00:00
James Allen
b2a3e06717
Find / replace mistake
2017-11-30 11:20:25 +00:00
James Allen
870e87ebe1
Run npm with -q flag for less verbose test output
2017-11-30 11:00:28 +00:00
Alasdair Smith
f232899f3f
Show warning symbol on second step
2017-11-30 10:16:15 +00:00
Alasdair Smith
6eae1d59ea
Use asyncForm directive to trigger import
2017-11-30 10:16:15 +00:00
Alasdair Smith
3aaf6559c8
Add image of v2 editor
2017-11-30 10:16:15 +00:00
Alasdair Smith
265e659999
Add multiple steps
2017-11-30 10:16:15 +00:00
Alasdair Smith
958e4cad9b
Fix wrong controller
2017-11-30 10:16:15 +00:00
Alasdair Smith
b68d6411ee
Basic styles for import modal
2017-11-30 10:16:15 +00:00
Alasdair Smith
0e11668a61
Change v1 project link to button which opens import modal
2017-11-30 10:16:15 +00:00
Alasdair Smith
cbba7c38df
Add basic v1 import modal template & controller
2017-11-30 10:16:15 +00:00
James Allen
488e6d7c5d
Merge pull request #158 from sharelatex/ja-dockerise-tests
...
Dockerize unit and acceptance tests using docker-compose
2017-11-30 10:09:07 +00:00
Alasdair Smith
dba0ab003c
Merge pull request #166 from sharelatex/as-autocompile-rollout-20
...
Increase autocompile rollout to 20%
2017-11-30 10:08:55 +00:00
Nate Stemen
c2bb8b9f89
removing calls
2017-11-29 13:30:53 -05:00
Nate Stemen
74ba7402de
Merge branch 'ns-file-completer'
2017-11-29 09:20:09 -05:00
James Allen
bb74f8318a
Support make clean install
usage
2017-11-29 14:16:29 +00:00
James Allen
50b3045548
Tidy up docker-compose and makefile
2017-11-29 13:49:36 +00:00
Shane Kilkelly
c203a8d80a
Merge branch 'sk-use-recurly-hosted-details-page'
2017-11-29 09:45:54 +00:00
Shane Kilkelly
8b5115ff03
Merge branch 'sk-update-fineuploader'
2017-11-29 09:41:14 +00:00
Paulo Reis
448d03a28a
Enable HTML5 mode in Angular, to allow disabling link rewriting.
2017-11-28 15:46:27 +00:00
Nate Stemen
26df9bca05
Merge pull request #136 from sharelatex/ns-autocomplete-bugs
...
fixing popup and code folding issues
2017-11-28 10:28:54 -05:00
Nate Stemen
2a50a18d23
Merge branch 'ns-package-aware-autocomplete'
2017-11-28 10:24:37 -05:00
Nate Stemen
8ef48925c1
Merge pull request #71 from sharelatex/ns-package-completer
...
fixing package completer
2017-11-28 08:56:49 -05:00
Shane Kilkelly
cc9986cefd
Remove the obsolete update-billing-details page
2017-11-28 11:52:14 +00:00
Shane Kilkelly
22c163c60a
Move the recurly-billing-details link up to main subscription page
2017-11-28 11:40:48 +00:00
Paulo Reis
2c0fcb51e0
Unneeded LESS guard.
2017-11-28 11:27:45 +00:00
Alasdair Smith
bbaacb4db4
Increase autocompile rollout to 20%
2017-11-28 10:52:46 +00:00
Paulo Reis
0091d639bf
Use white review icon in OL.
2017-11-28 10:49:04 +00:00
Henry Oswald
7ce56aa3b6
add http catch onto form
2017-11-28 10:13:54 +00:00
Alasdair Smith
d082e8eab2
Merge pull request #165 from sharelatex/ja-move-unit-tests
...
Move test/UnitTests -> unit/test
2017-11-28 09:51:19 +00:00
Alasdair Smith
c5f459a531
Merge pull request #159 from sharelatex/as-show-v1-owner
...
Show v1 project owner's name in project list
2017-11-28 09:51:04 +00:00
Henry Oswald
b16862fa31
add error handling for form
2017-11-27 18:03:42 +00:00
Paulo Reis
b66e28df19
Use a non-breakable space to give height.
2017-11-27 17:12:14 +00:00
Paulo Reis
e94cef12b7
Use ::before to fill empty space in indented filetree items.
2017-11-27 17:11:32 +00:00
James Allen
3e90103d9c
No need to bind to 0.0.0.0 when running in same container
2017-11-27 17:10:58 +00:00
James Allen
054964dd85
Clean out module js on make clean
2017-11-27 17:10:58 +00:00
James Allen
4c504ad8eb
Remove debugging command
2017-11-27 17:10:58 +00:00
James Allen
5e0fc24c1a
Allow modules to specific their own acceptance tests
2017-11-27 17:10:58 +00:00
James Allen
2bc0f666ba
Add some documentation
2017-11-27 17:10:58 +00:00
James Allen
49057a5ab7
Only mount coffee and needed files into Docker so js isn't written back to local system
2017-11-27 17:10:58 +00:00
James Allen
492b37aa6e
Add missing bin/ files
2017-11-27 17:10:58 +00:00
James Allen
7efef12981
Fix Jenkinsfile syntax
2017-11-27 17:10:58 +00:00
James Allen
d9d7c96958
Get module unit tests running inside Docker as well as main tests
2017-11-27 17:10:58 +00:00
James Allen
fbf8cc2d03
Run acceptance tests via docker compose
2017-11-27 17:10:58 +00:00
James Allen
62de9d8946
Move test/UnitTests -> unit/test
2017-11-27 17:10:22 +00:00
Shane Kilkelly
f7c8930b90
Convert html to pug for uploader templates
2017-11-27 13:56:49 +00:00
Henry Oswald
3f2ec422f8
change subject line to put details in subject
2017-11-27 13:52:31 +00:00
Henry Oswald
7eb2f0d917
move generic sales modal to use new support endpoint
2017-11-27 12:49:12 +00:00
Shane Kilkelly
661041a35d
Use template elements for file uploaders, and i18n
2017-11-27 12:06:18 +00:00
Paulo Reis
1177f34125
Adjustments to keep the current SL look and feel.
2017-11-24 16:43:02 +00:00
Paulo Reis
860399d9de
Adjust toolbar paddings; adjust Overleaf menu icon width.
2017-11-24 16:03:30 +00:00
Paulo Reis
926fd69bb5
Use resizer icons in Overleaf, to switch the PDF layout.
2017-11-24 15:53:49 +00:00
Paulo Reis
39602d78ed
Make sure all toolbar icons and buttons are vertically centered.
2017-11-24 15:36:23 +00:00
Paulo Reis
f4f2fa4e19
Use Overleaf logo as the main menu icon.
2017-11-24 15:33:48 +00:00
Henry Oswald
5ef7bad60f
removed groove
2017-11-24 14:58:35 +00:00
Alasdair Smith
099305d909
Show v1 project owner name
2017-11-23 17:10:42 +00:00
Paulo Reis
2464bec280
Style the recompile button; use flexbox for the toolbar.
2017-11-23 16:42:38 +00:00
Shane Kilkelly
c121653dc4
Add error-handling to attempt to get user subscription
2017-11-23 16:22:57 +00:00
Shane Kilkelly
caa65dddc1
Send user to hosted recurly billing-details page.
...
And remove our update-billing-details form, the APIs for which will be
deprecated soon.
2017-11-23 16:16:13 +00:00
Brian Gough
2c3ee253e1
fix unit tests
2017-11-23 15:47:11 +00:00
Brian Gough
bb2d1321d4
Merge pull request #91 from sharelatex/bg-add-project-history-flag
...
route history requests based on project
2017-11-23 15:36:45 +00:00
Paulo Reis
f55ffff960
Refactor toolbar variants as mixins.
2017-11-23 15:21:06 +00:00
Brian Gough
98fe352a8c
use a separate flag for reading from history
...
the overleaf.history object controls writing to the project history
service, we need a separate flag to determine whether to read from it or
from track changes.
2017-11-23 15:14:33 +00:00
James Allen
e35356b4a4
Merge pull request #148 from sharelatex/hof-compile-acceptance-tests
...
Run acceptance tests on CI
2017-11-23 14:47:18 +00:00
Alasdair Smith
c052aa72ad
Fix missing import, fixing broken onboarding popup
2017-11-23 11:18:23 +00:00
Hayden Faulds
19d9aafbbd
use release of SL acceptance-test-runner rather then fork
2017-11-23 10:39:30 +00:00
Hayden Faulds
e54e2c8328
fix acceptance tests
2017-11-23 10:39:30 +00:00
Hayden Faulds
5cdddc7d0e
debugging output if acceptance tests fail on CI
2017-11-23 10:39:21 +00:00
Hayden Faulds
09964cfe95
compile acceptance tests
2017-11-23 10:38:55 +00:00
Shane Kilkelly
10fc89c8cf
Merge pull request #142 from sharelatex/sk-fix-token-indexes
...
use correct partial indexes on project token fields
2017-11-23 10:30:31 +00:00
Alasdair Smith
e1fa196de5
Merge pull request #153 from sharelatex/as-remove-old-onboarding
...
Remove unused onboarding
2017-11-23 10:28:50 +00:00
Alasdair Smith
14d8d7bde3
Merge pull request #151 from sharelatex/as-v1-badge-tooltip
...
Add tooltips for V1 badges
2017-11-23 10:21:37 +00:00
Alasdair Smith
195032b4b4
Remove non-existant import
2017-11-22 17:08:21 +00:00
Alasdair Smith
e61b82c452
Remove unused link sharing rollout, but keep onboarding popup
2017-11-22 17:07:50 +00:00
Shane Kilkelly
57d0bab354
Remove commented out code, and un-used button
2017-11-22 17:00:30 +00:00
Shane Kilkelly
c8cbdfd3cb
Use the configured 'processing' text
2017-11-22 16:50:21 +00:00
Shane Kilkelly
91e2e45029
Remove unused attributes
2017-11-22 16:49:27 +00:00
Alasdair Smith
6f8b0c6e87
Revert "Remove old unused link sharing onboarding"
...
This reverts commit 66a0a7ff8b5b5081d86df333429cb0455221c81a.
2017-11-22 16:46:16 +00:00
Alasdair Smith
dde4428189
Remove unused track changes modal template
2017-11-22 16:26:10 +00:00
Nate Stemen
ac9e27713d
changing allowed file types
2017-11-22 11:25:02 -05:00
Alasdair Smith
c00d9e1b51
Remove unused feature onboarding styles
2017-11-22 16:21:35 +00:00
Alasdair Smith
de3b9d6a49
Remove old unused link sharing onboarding
2017-11-22 16:09:32 +00:00
Shane Kilkelly
fee1fc3d1f
Fix visuals of file uploader
2017-11-22 15:52:02 +00:00
Alasdair Smith
f85880ba38
Remove old unused track changes notice
2017-11-22 15:03:46 +00:00
Alasdair Smith
8f32f0d65f
Remove old unused track changes onboarding
2017-11-22 14:48:22 +00:00
Shane Kilkelly
035e0c1213
Add autoIndex: false
option to mongoose connections.
...
This prevents mongoose from auto-creating missing indexes on boot.
2017-11-22 13:37:57 +00:00
Alasdair Smith
b1c8e7a95a
Improve wording slightly
2017-11-22 12:19:32 +00:00
Paulo Reis
9e109ccaaa
Fix wrong hover color in SL theme.
2017-11-22 12:14:02 +00:00
Paulo Reis
8cf82178e1
Only highlight hovered folder when dragging.
2017-11-22 12:10:33 +00:00
Paulo Reis
ead190bf23
Style drag and drop, also renaming and inputs.
2017-11-22 11:54:57 +00:00
James Allen
fae2d7dbdd
Merge pull request #138 from sharelatex/ja-disable-github
...
Add feature flag for github sync
2017-11-22 11:46:50 +00:00
James Allen
310aa1d49d
Merge branch 'master' into ja-turn-off-registration
2017-11-22 11:45:28 +00:00
James Allen
d3f146499c
Merge pull request #135 from sharelatex/ja-disable-account-settings-for-ol-v2
...
Enable the external auth switches when OL OAuth is in use
2017-11-22 11:44:10 +00:00
Alasdair Smith
0d4059764a
Add tooltips for V1 badges with dummy copy
2017-11-22 11:37:29 +00:00
Alasdair Smith
ba04875ddc
Increase autocompile rollout to 10%
2017-11-22 10:54:46 +00:00
James Allen
5bb06915cc
Rename setting and use Features.hasFeatures
2017-11-22 10:45:31 +00:00
James Allen
dd619f44dd
Add in setting to control whether the site has a homepage
2017-11-22 10:45:31 +00:00
James Allen
7440d8da58
Change to an 'enableGithubSync' setting
2017-11-22 10:44:57 +00:00
Shane Kilkelly
c11ea59dc1
Increase link-sharing rollout to 100%
2017-11-22 09:50:08 +00:00
Brian Gough
69cb93fe64
Merge pull request #139 from sharelatex/bg-fix-spelling-cancel-request
...
fix the cancellation of spelling requests
2017-11-22 09:45:36 +00:00
Brian Gough
dc71a6a0a1
Merge pull request #113 from sharelatex/bg-prevent-editing-in-broken-ace-session
...
put ace in readonly mode when changing session
2017-11-22 09:45:19 +00:00
Nate Stemen
2f03bb6015
adding file completer
2017-11-21 11:26:44 -05:00
Shane Kilkelly
1ddfd948d6
Update the file-upload library
2017-11-21 16:21:58 +00:00
Paulo Reis
8758119e62
Handle multi-selection.
2017-11-21 16:10:07 +00:00
Henry Oswald
b7dca80294
use /dev/csrf for smoke tests
2017-11-21 12:17:53 +00:00
Paulo Reis
1fd29253e6
Handle filetree multiselection.
2017-11-21 11:45:06 +00:00
Paulo Reis
0de57885b1
Make full-width backgrounds, even with indented filetree items.
2017-11-21 11:20:39 +00:00
Henry Oswald
7187f5ed67
use /login for smoke tests not register
...
1) A user needs an OL access token to load the beta - 5001dc48f1/app/coffee/OAuth/OAuthRequest.coffee (L8)
2) If a user has an OL access token they can not use the register endpoint on ShareLaTeX. https://github.com/sharelatex/web-sharelatex-modules/blob/master/public-registration/app/coffee/PublicRegistrationController.coffee#L72
2017-11-21 10:43:24 +00:00
Shane Kilkelly
bda65c0984
use correct partial indexes on project token fields
2017-11-21 10:33:02 +00:00
Alasdair Smith
5bb46a930a
Check presence of overleaf settings
2017-11-20 15:55:00 +00:00
Alasdair Smith
1a8a915116
Merge pull request #77 from sharelatex/ns-autocomplete-insertion-bug
...
fix autocomplete insertion on single backslash; Fixes #55
2017-11-20 15:20:45 +00:00
Alasdair Smith
3c0c670b5f
Merge pull request #78 from sharelatex/ns-capital-letter-autocomplete-bug
...
allow for capital letters in commands; Fixes #56
2017-11-20 15:20:18 +00:00
Alasdair Smith
51ec0ab4c7
Merge pull request #87 from sharelatex/as-fetch-ol-projects
...
Show V1 (OL) projects in project list
2017-11-20 15:04:10 +00:00
Shane Kilkelly
81887dd4f5
wip: upgrade fineuploader
2017-11-20 14:43:13 +00:00
Brian Gough
029e3b1557
fix the cancellation of spelling requests
2017-11-20 12:25:09 +00:00
Paulo Reis
269975560f
Basic filetree skinning, still WIP.
2017-11-20 12:24:00 +00:00
James Allen
4f905af078
Add feature flag for github sync
2017-11-20 11:48:06 +00:00
James Allen
a97c3ba580
Add missed Features.coffee
2017-11-20 11:43:02 +00:00
Alasdair Smith
a63e40f03f
Adjust vertical padding on V1 badge
2017-11-20 11:23:02 +00:00
Alasdair Smith
f3583b1702
Show warning message if V1 connection fails
2017-11-20 11:23:02 +00:00
Alasdair Smith
24ceaffd3a
Rename hook for clarity
2017-11-20 11:23:02 +00:00
Alasdair Smith
119be26989
Remove unnecessary project getter
...
Had bad assumption about whether ol-integration module would be available in
filesystem, now replaced with Module hook
2017-11-20 11:23:02 +00:00
Alasdair Smith
621977c47c
Replace call to V1ProjectGetter with Module hook
2017-11-20 11:23:02 +00:00
Alasdair Smith
3eaf6c5d8e
Stub V1 project getter
2017-11-20 11:23:02 +00:00
Alasdair Smith
47942816ae
Include token based
2017-11-20 11:23:02 +00:00
Alasdair Smith
d9c19ccdc4
Fix V1 tags not showing badge correctly
2017-11-20 11:23:02 +00:00
Alasdair Smith
d5cfd34bb7
Log something useful
2017-11-20 11:23:02 +00:00
Alasdair Smith
c629f27db9
Remove unneeded moment dep
2017-11-20 11:23:02 +00:00
Alasdair Smith
6822a0d838
Add assertions for integration module call
2017-11-20 11:23:02 +00:00
Alasdair Smith
e32406a4c4
Dynamically monkey patch impl to check integration once instead of each request
2017-11-20 11:23:02 +00:00
Alasdair Smith
3bc48a7a05
Switch to date builtin instead of moment
2017-11-20 11:23:02 +00:00
Alasdair Smith
4b2e22c257
Remove duplicate dependency
2017-11-20 11:23:02 +00:00
Alasdair Smith
4b25525e9d
Add aria labels to V1 badges
2017-11-20 11:23:02 +00:00
Alasdair Smith
08fd092f7c
Rename v1 list item template for consistency
2017-11-20 11:23:02 +00:00
Alasdair Smith
56634bdb49
Add assertions for tag properties
2017-11-20 11:23:02 +00:00
Alasdair Smith
9a96f070d5
Add assertions for correctly mapping V1 properties
2017-11-20 11:23:02 +00:00
Alasdair Smith
24166af90e
Add tests for V1ProjectGetter
2017-11-20 11:23:02 +00:00
Alasdair Smith
fff6873e10
Add tests for getting V1 projects
2017-11-20 11:23:02 +00:00
Alasdair Smith
9bf74f29bd
Improve naming
2017-11-20 11:23:02 +00:00
Alasdair Smith
0724482808
Don't use brand prefix setting to mark v1
2017-11-20 11:23:02 +00:00
Alasdair Smith
8df31590a9
Switch V1 naming instead of OL
2017-11-20 11:23:02 +00:00
Alasdair Smith
8735261022
Extract V1 projects fetch to integration module
...
OlProjectGetter now just detects if integration module is loaded and proxies
to integration module. If module not loaded, it just bails
2017-11-20 11:23:02 +00:00
Alasdair Smith
bb8f80c1e4
Tweak v1 badge styles
2017-11-20 11:23:02 +00:00
Alasdair Smith
d43863d438
Add V1 badge to tags from V1
2017-11-20 11:23:02 +00:00
Alasdair Smith
35883b6b27
Extract V1 badge styles to file
2017-11-20 11:23:02 +00:00
Alasdair Smith
ec64d1fab9
Combine tags with v1 tags
2017-11-20 11:23:02 +00:00
Alasdair Smith
020e8ab8c4
Change wording to v1
2017-11-20 11:23:02 +00:00
Alasdair Smith
c1b3cc3a69
Add v1 filter
2017-11-20 11:23:02 +00:00
Alasdair Smith
5ee52408e5
Inject v1 flag into view model
2017-11-20 11:23:02 +00:00
Alasdair Smith
7910f2109f
Switch to V1 wording
2017-11-20 11:23:02 +00:00
Alasdair Smith
37c7a95fde
Hide V1 projects from shared filter
2017-11-20 11:23:02 +00:00
Alasdair Smith
3f422dc48c
Clean up OL view model
2017-11-20 11:23:02 +00:00
Alasdair Smith
dfe17d63ba
Projects removed also treated as archived
2017-11-20 11:23:02 +00:00
Alasdair Smith
20c756ec9a
Switch to v1 wording
2017-11-20 11:23:02 +00:00
Alasdair Smith
3c8dd6c421
Link to OL project
2017-11-20 11:23:02 +00:00
Alasdair Smith
fc6da2e2e4
Parse & display OL project last updated
2017-11-20 11:23:02 +00:00
Alasdair Smith
9eff01fcc5
Explcitly depend on moment
2017-11-20 11:23:02 +00:00
Alasdair Smith
fe90ef047f
Temp OL label
2017-11-20 11:23:02 +00:00
Alasdair Smith
532a26c68f
Extract out project list item to template and add OL-specific template
2017-11-20 11:23:02 +00:00
Alasdair Smith
d072fabb25
Fix non-beta throwing error because it's expecting OL projects
2017-11-20 11:23:02 +00:00
Alasdair Smith
8c66342a04
Pull in OL projects and process for view
2017-11-20 11:23:02 +00:00
Alasdair Smith
fa0559f8d7
Fetch OL projects using OAuth
2017-11-20 11:23:02 +00:00
Alasdair Smith
f6bbf7fe3f
wip
2017-11-20 11:23:02 +00:00
James Allen
745ae8d081
Add in Features module to handle feature flags, and use it to cleanly turn off registration
2017-11-20 10:47:32 +00:00
James Allen
311ebf89c4
Refactor to always use req.externalAuthenticationSystemUsed
2017-11-20 10:10:23 +00:00
Nate Stemen
f00dbf3d56
fixing popup and code folding issues
2017-11-17 16:25:45 -05:00
James Allen
ca0982a909
Enable the external auth switches when OL OAuth in use
2017-11-17 17:16:12 +00:00
Alasdair Smith
154943ba68
Don't check for linting errors if code check is disabled
...
There are a couple of reasons for this:
1. Some linting errors are returned from the server after a compile is run,
replacing client-side linting errors. If code check is disabled this does not
happen, and therefore linting errors persist until the next compile. This makes
it appear as though autocompile is not running
2. It is likely that if code check is disabled, the user is deliberately
ignoring linting errors and therefore the linting check is pointless
2017-11-17 16:38:44 +00:00
Nate Stemen
00e3e8da9f
adding last labels configuration
2017-11-16 14:59:04 -05:00
Nate Stemen
c78a0ae209
removing comment
2017-11-16 14:49:29 -05:00
Nate Stemen
c051316aac
adding deleted file
2017-11-16 14:45:20 -05:00
Alasdair Smith
b6289f03e3
Conditional check
2017-11-16 15:58:32 +00:00
Alasdair Smith
8cafda8419
Merge pull request #129 from sharelatex/as-allow-force-rollout
...
Allow user to force themselves to be part of autocompile rollout
2017-11-16 15:49:28 +00:00
Brian Gough
bd09ef81f2
added comments
2017-11-16 15:41:16 +00:00
Alasdair Smith
b889a8bb4d
Allow user to force themselves to be part of autocompile rollout
2017-11-16 15:38:51 +00:00
Alasdair Smith
38ad023927
Merge pull request #111 from sharelatex/as-autocompile-rollout-5
...
Increase autocompile rollout to 5%
2017-11-16 13:52:42 +00:00
Alasdair Smith
2b88d2bc4e
Change autocompile onboarding image to not imply that it is on
...
We have a theory that the image shown in the autocompile onboarding implies
that it is already switched on. This changes the image to show the switch
as off, hopefully fixing it
2017-11-16 13:35:06 +00:00
Brian Gough
dc6110db8d
put ace in readonly mode when changing session
...
if the session fails to attach successfully (e.g due to an exception in
the changeSession event handler) the editor will be left in a state
where the user will not be able to enter any text. This should at least
cause them to reload the editor.
2017-11-16 11:32:08 +00:00
Alasdair Smith
a5bb76b2be
Increase rollout to 5%
2017-11-16 10:36:35 +00:00
Brian Gough
125a5ec606
temporarily avoid exception in ace event handler
...
full fix will be to use the angular $http cancellation mechanism
2017-11-15 16:28:31 +00:00
Nate Stemen
a78330877b
fixing services call
2017-11-15 10:14:31 -05:00
Shane Kilkelly
2a7e68e37b
Merge pull request #109 from sharelatex/sk-token-access-redirect-fix
...
Set redirect when bouncing away from token route; Fixes overleaf/sharelatex#250
2017-11-15 14:56:42 +00:00
Nate Stemen
428ae3aa53
adding labels service back
2017-11-15 09:27:46 -05:00
Alasdair Smith
b1bae4aaae
Change to 3% rollout
2017-11-15 13:47:05 +00:00
Shane Kilkelly
5df4556e9c
Set redirect when bouncing away from token route
...
This ensures that when the user logs in they will be redirected back
to this token, the page they wanted to access in the first place.
2017-11-15 13:30:40 +00:00
Alasdair Smith
0d566f8c39
Increase autocompile rollout to 5%
2017-11-15 12:01:47 +00:00
Shane Kilkelly
a15cb64418
Increase link-sharing rollout to 40%
2017-11-15 10:25:17 +00:00
Paulo Reis
6913d28abb
Editor header styling.
2017-11-13 12:03:28 +00:00
Shane Kilkelly
a0c7295b36
Merge branch 'master' of github.com:sharelatex/web-sharelatex-internal
2017-11-13 10:45:29 +00:00
Shane Kilkelly
bc87bceb5f
Update the linksharing rollout to 10%
2017-11-13 10:27:27 +00:00
Hayden Faulds
d084b57d5a
Merge pull request #90 from sharelatex/hof-version-renames
...
version entity renames/moves
2017-11-13 10:13:34 +00:00
Shane Kilkelly
aea8e77f8a
Merge branch 'as-fix-rollout-2'
2017-11-13 09:50:46 +00:00
Shane Kilkelly
8ba9073606
Merge branch 'sk-link-sharing-onboarding'
2017-11-13 09:31:44 +00:00
Shane Kilkelly
e63f452807
Merge branch 'sk-smarter-percentage-rollout'
2017-11-13 09:24:11 +00:00
Brian Gough
fe12a341e1
Merge pull request #89 from sharelatex/bg-slow-connection-fix
...
increase allowed op backlog and flush tolerance
2017-11-13 09:22:18 +00:00
Shane Kilkelly
cac39134cd
Remove stray test lines
2017-11-10 16:20:59 +00:00
Shane Kilkelly
600191b2af
Ensure that different features produce different results
2017-11-10 16:19:43 +00:00
Shane Kilkelly
3a4edeaf4c
Add a unit test for _isInPercentageRollout
2017-11-10 16:13:27 +00:00
Shane Kilkelly
00f095da3c
Merge branch 'master' into sk-smarter-percentage-rollout
2017-11-10 16:00:02 +00:00
Shane Kilkelly
032400905d
Fix a silly assignment mistake
2017-11-10 15:59:11 +00:00
Shane Kilkelly
df31748148
Distinguish between separate percentage rollouts
2017-11-10 15:50:17 +00:00
Shane Kilkelly
23814d25ac
Merge pull request #101 from sharelatex/sk-bypass-percentage-rollout
...
Option to bypass percentage rollouts (for on-site deploys)
2017-11-10 15:33:28 +00:00
Shane Kilkelly
0539930906
Use the common _isInPercentageRollout
function for autocompile
2017-11-10 14:16:00 +00:00
Shane Kilkelly
22d1693f38
Add option to bypass percentage-based rollouts
2017-11-10 14:15:43 +00:00
Shane Kilkelly
87e4303aac
Thin out the border around link-sharing onboarding popover arrow
2017-11-10 13:25:59 +00:00
Shane Kilkelly
42c0974671
Place the linksharing popover from the right, not the left.
...
This ensures the popover reflows properly with window resize.
2017-11-10 12:05:12 +00:00
Shane Kilkelly
faf6178fa8
Restrict link-sharing onboarding popup to admins.
...
Only people with admin permission to the Project can see the Share
button and dialog. It doesn't make sense to alert users who can't
interact with the feature anyway.
2017-11-10 11:09:46 +00:00
Shane Kilkelly
666ee0669a
Alter position of link-sharing popover, and better image
2017-11-10 10:24:36 +00:00
Shane Kilkelly
44420b41d6
Remove stray console log
2017-11-09 15:13:58 +00:00
Shane Kilkelly
766c8d6f0f
Add a general 'ide:loaded' event, to init popover
2017-11-09 15:12:55 +00:00
Shane Kilkelly
470ad36218
Add onboarding popup for link-sharing
2017-11-09 14:28:11 +00:00
Hayden Faulds
086a0829e3
use self rather than ProtectEntityHandler
2017-11-08 13:45:11 +00:00
Joe Green
2c4d01ebde
only build master periodically
2017-11-08 13:40:20 +00:00
Hayden Faulds
3ce03a40f9
send both doc update and file updates to doc-updater
2017-11-08 13:11:17 +00:00
Hayden Faulds
06116dc956
version moving entities
2017-11-08 13:11:17 +00:00
Hayden Faulds
607f0125fc
return project from _removeElementFromMongoArray and _putElement
2017-11-08 13:11:17 +00:00
Hayden Faulds
929b9996d3
version doc renames
2017-11-08 13:11:17 +00:00
Hayden Faulds
599f2cb3ae
add DocumentUpdaterHandler.updateProjectStructure
2017-11-08 13:10:48 +00:00
Alasdair Smith
80231b0c1f
1% rollout
2017-11-08 12:42:47 +00:00
Shane Kilkelly
f3d037f7bc
Merge branch 'master' into sk-unlisted-projects
2017-11-08 11:21:19 +00:00
Alasdair Smith
8174a849a1
Reset to new analytics key
2017-11-08 11:01:36 +00:00
Alasdair Smith
76e3f0ab9f
Reduce rollout to 5%
2017-11-08 11:01:20 +00:00
Alasdair Smith
15d3e5eb6e
Fix triggering autocompile in rollout
2017-11-08 10:31:41 +00:00
Paulo Jorge Reis
9d74cd6063
Merge pull request #95 from sharelatex/pr-fix-add-to-tag-dropdown
...
Fix "add to folder" dropdown + folder labels
2017-11-08 10:10:45 +00:00
Shane Kilkelly
82f5bbc5c8
Merge branch 'master' into sk-unlisted-projects
2017-11-07 16:15:45 +00:00
Shane Kilkelly
484cad2ef0
Render anonymous users as '?' in top bar
2017-11-07 14:20:08 +00:00
Shane Kilkelly
9180aaff05
Remove stray space from after help (?) link
2017-11-07 11:39:02 +00:00
Paulo Reis
68336457d8
Avoid using js-prefixed classes for styling.
2017-11-07 10:54:41 +00:00
Paulo Reis
888734655f
Remove commented-out code.
2017-11-07 10:38:18 +00:00
Shane Kilkelly
2b4d516353
When anon is denied access to read-write token, redirect to restricted
2017-11-06 16:46:42 +00:00
Alasdair Smith
e757bd673e
Move vertical align to affect label name & remove
...
Fixes issue with Chrome where label was mis-aligned
2017-11-06 13:52:32 +00:00
Shane Kilkelly
5d0dd6ffc9
Pin the track-changes module to the sk-unlisted-projects
branch
2017-11-06 10:47:24 +00:00
Alasdair Smith
cdbc551e01
Increase autocompile rollout to 60%
2017-11-06 10:22:50 +00:00
Brian Gough
17a180ea8e
route history requests based on project
...
either to track changes or to project history service
2017-11-03 16:44:37 +00:00
Paulo Reis
3593c4b221
Make tag widget non breakable.
2017-11-03 16:20:49 +00:00
Paulo Reis
e26c52967e
Limit tag width a little more.
2017-11-03 16:20:39 +00:00
Paulo Reis
81e831de24
Right-align the projects toolbar; limit tags dropdown width.
2017-11-03 15:53:57 +00:00
Shane Kilkelly
caf6315d4d
Remove old module import
2017-11-03 15:26:38 +00:00
Shane Kilkelly
6dc31eebc5
Fix unit tests for ProjectController
2017-11-03 15:08:21 +00:00
Paulo Reis
71463a2ec2
Limit tag width in the projects list table.
2017-11-03 15:07:04 +00:00
Shane Kilkelly
18b9aef9ae
Disable the Guests switch when tc is active for everyone
2017-11-03 13:20:09 +00:00
Shane Kilkelly
3cafd0ac8f
Refine deactivate logic, only if member via token and not otherwise
2017-11-03 11:46:00 +00:00
Shane Kilkelly
3360688752
Separate cases of setting Guest TC in general, and for this user
2017-11-03 11:11:04 +00:00
Shane Kilkelly
bd8765a75f
Trigger an angular digest after updating vars
2017-11-03 11:10:42 +00:00
Shane Kilkelly
e64e388913
Add console helpers to editor, to turn on token-access-ui
2017-11-02 15:55:10 +00:00
Shane Kilkelly
57ae935155
Set token-access-ui rollout to 0%
2017-11-02 15:54:54 +00:00
Shane Kilkelly
9cd6b4e6ad
Test for when anon write access is disabled
2017-11-02 15:16:04 +00:00
Shane Kilkelly
51ba81e431
Add percentage-based rollout for token-access ui
2017-11-02 11:17:08 +00:00
Shane Kilkelly
1cedfed1e4
Merge branch 'master' into sk-unlisted-projects
2017-11-02 10:10:09 +00:00
Shane Kilkelly
0e869fe4e0
Test the case of anonymous read-write token access being turned on
2017-11-01 16:22:23 +00:00
Brian Gough
15997ea782
increase allowed op backlog and flush tolerance
2017-11-01 14:20:07 +00:00
Shane Kilkelly
fcb04472a1
De-duplicate logic in TokenAccessController
2017-11-01 14:05:29 +00:00
Shane Kilkelly
d8486afe5d
Account for higher-access in the token read-only path too
2017-11-01 14:01:00 +00:00
Shane Kilkelly
9984ab081e
Generalise the higher-access logic for read-write token path
2017-11-01 11:50:04 +00:00
Shane Kilkelly
b36849d262
Remove a dead event
2017-11-01 11:03:07 +00:00
Alasdair Smith
773277e3a0
Merge pull request #88 from sharelatex/as-fix-rollout
...
Fix autocompile rollout
2017-11-01 09:33:50 +00:00
Alasdair Smith
6dc0561fa7
Fix bug where dismissing onboarding would hide autocompile switch
2017-10-31 17:00:41 +00:00
Hayden Faulds
79d9756bea
Merge pull request #81 from sharelatex/hof-init-project-history
...
initialize project history on project creation
2017-10-31 14:47:00 +00:00
Shane Kilkelly
a212fb1a05
Add "[TokenAccess]" context to log lines
2017-10-31 14:27:43 +00:00
Shane Kilkelly
030ffbe231
Add event-tracking to the make-token-based action
2017-10-31 14:23:05 +00:00
Brian Gough
b6129be33d
Merge pull request #85 from sharelatex/bg-upgrade-ioredis
...
upgrade ioredis
2017-10-31 14:19:44 +00:00
Alasdair Smith
248dfdeeb5
Increase autocompile rollout to 40%
2017-10-31 09:18:14 +00:00
Brian Gough
41819db7c5
remove unnecessary redis package
2017-10-30 15:41:32 +00:00
Brian Gough
e474344204
remove unnecessary ioredis package
2017-10-30 15:41:09 +00:00
Brian Gough
ebd28a8353
upgrade ioredis vis redis sharelatex
2017-10-30 15:40:56 +00:00
Shane Kilkelly
cc67b871e9
Make contents of 'make-private' dialog depend on current state
2017-10-30 14:21:54 +00:00
Shane Kilkelly
4130732c14
Only show the TC "Guests" switch if token-acces UI is enabled
2017-10-30 14:13:56 +00:00
Shane Kilkelly
a3e5788b97
Move the __enableTokenAccessUI
state to top level
2017-10-30 13:58:22 +00:00
Shane Kilkelly
5fe5125a5c
Add ability to show/hide the new token-access ui
2017-10-30 13:48:25 +00:00
Shane Kilkelly
14633fe867
Update the link-sharing wiki url
2017-10-30 13:47:48 +00:00
Shane Kilkelly
23d249f092
Add links to learn-wiki article about link sharing
2017-10-30 10:43:27 +00:00
Alasdair Smith
7002f1ba8b
Merge pull request #84 from sharelatex/as-20-pc-rollout
...
Increase autocompile rollout to 20%
2017-10-30 09:51:00 +00:00
Alasdair Smith
b9ad03d20c
Increase autocompile rollout to 20%
2017-10-30 09:44:08 +00:00
Hayden Faulds
4ca73f6b53
allow overleaf.history.id to be blank
2017-10-27 16:52:10 +01:00
Hayden Faulds
19bc145ff4
separate overleaf.id from overleaf.history.id
2017-10-27 15:28:42 +01:00
Shane Kilkelly
c5a90233b4
Add a little 'link' icon beside projects which are link-shared
2017-10-27 15:17:41 +01:00
Shane Kilkelly
239f56ca0e
add unique index to both token fields
2017-10-27 14:58:55 +01:00
Hayden Faulds
20ea9918c9
allow overleafId to be passed in to avoid history initialization
2017-10-27 14:56:16 +01:00
Shane Kilkelly
a57827458d
Fix guest state sync
2017-10-27 14:41:48 +01:00
Shane Kilkelly
83bd78f467
More sensible conversion of byte-buffer to array
2017-10-27 10:38:55 +01:00
Shane Kilkelly
ec94e59388
Fix error-handling in setPublicAccessLevel
2017-10-26 16:39:24 +01:00
Shane Kilkelly
18443b55cb
Refactor token generator, and use crypto for numerics
2017-10-26 16:01:53 +01:00
Paulo Reis
97c5e33f54
Use percent-based sizing for body min-height; add explicit height to the html element.
2017-10-26 15:47:39 +01:00
Shane Kilkelly
d2a17c2745
Add rate-limiting to the token endpoints
2017-10-26 14:11:31 +01:00
Shane Kilkelly
8a2acd7138
Only turn on guest track-changes if available
2017-10-26 13:48:02 +01:00
Shane Kilkelly
623795a50e
Remove commented-out styles
2017-10-26 11:19:01 +01:00
Shane Kilkelly
f9d83c24ef
clean-up commented out code
2017-10-26 11:04:59 +01:00
Shane Kilkelly
62d170e7a0
Move the access-level sync out of the share controller.
...
This means sync will work even for clients which don't show the share
button in the menu bar.
2017-10-26 11:04:00 +01:00
Shane Kilkelly
f9899e8047
Add tooltips to the track-changes switches
2017-10-26 11:03:02 +01:00
Shane Kilkelly
e16c8aa8be
Add unit tests for userIsTokenMember
2017-10-25 16:09:16 +01:00
Shane Kilkelly
5f6e191c5f
Automatically disable guest-track-changes when project made private
2017-10-25 14:48:32 +01:00
Shane Kilkelly
6e8e4e6453
Use ng-href for binding links with angular
2017-10-25 11:48:37 +01:00
Shane Kilkelly
8561b69ee9
Remove tokenMembers sync to clients
2017-10-25 11:29:05 +01:00
Shane Kilkelly
74c231826d
WIP: track changes with token-access
2017-10-25 10:34:18 +01:00
Paulo Reis
5cafee4879
Constrain announcements height.
2017-10-25 10:33:20 +01:00
Paulo Reis
2ef7fd1d0a
Position the notifications lion relatively to the body.
2017-10-25 10:14:47 +01:00
Paulo Reis
cbb79e04ce
Ignore CSS source maps.
2017-10-25 10:13:42 +01:00
Paulo Jorge Reis
0453aa60fe
Merge pull request #66 from sharelatex/pr-ol-beta-theme
...
Overleaf beta theme & dashboard styling
2017-10-25 09:40:02 +01:00
Brian Gough
5999284143
Merge pull request #74 from sharelatex/bg-fix-listen-in-acceptance-tests
...
exit if mock servers fail to start
2017-10-25 09:14:29 +01:00
Alasdair Smith
f8e44471ee
Merge pull request #75 from sharelatex/as-10-pc-rollout
...
Rollout autocompile to 10% of users
2017-10-25 09:05:24 +01:00
Nate Stemen
e8731bc276
allow for capital letters in command name
2017-10-24 16:55:25 +01:00
Nate Stemen
829595777c
change regex to match single backslash and command fragment
2017-10-24 16:35:28 +01:00
Paulo Reis
7c5f6539ae
Remove translations from shrinkwrap.
2017-10-24 16:24:27 +01:00
Paulo Reis
70a56d0474
Merge branch 'master' into pr-ol-beta-theme
2017-10-24 16:19:31 +01:00
Paulo Reis
9b128591b1
Enable sourcemaps on dev and prod environments (both minified and normal).
2017-10-24 16:03:59 +01:00
Hayden Faulds
670b183c8e
initialize project history on creation
2017-10-24 13:07:00 +01:00
Nate Stemen
98909026f5
moving data to backend and fixing tests
2017-10-24 10:59:41 +01:00
Hayden Faulds
c437eb37d5
handle missing settings.apis.project_history
2017-10-24 09:47:14 +01:00
Hayden Faulds
519f041215
Merge pull request #50 from sharelatex/hof-toggle-projec-history
...
toggle project history
2017-10-24 09:13:50 +01:00
Paulo Reis
83a1b2f5a0
Reenable source maps.
2017-10-23 16:58:02 +01:00
Paulo Reis
b834794ba6
Remove more commented-out code.
2017-10-23 16:21:42 +01:00
Paulo Reis
5f5731eca2
Rename content margin top variable to content margin vertical, as it affects both top and bottom.
2017-10-23 16:18:16 +01:00
Paulo Reis
fb121494e6
Remove commented code.
2017-10-23 16:15:30 +01:00
Paulo Reis
632e3228e0
Remove unneeded existence checks.
2017-10-23 16:13:07 +01:00
Paulo Reis
c105048e8d
Make project selection ARIA attributes translatable.
2017-10-23 16:09:43 +01:00
Paulo Reis
ff576c5b9a
Make the text-only title customizable; pick nice colours for the OL version.
2017-10-23 15:56:52 +01:00
Hayden Faulds
299112f6e0
toggle project history using setting
2017-10-23 15:49:10 +01:00
Alasdair Smith
8421f6767a
Rollout to 10% of users
2017-10-23 13:14:20 +01:00
Paulo Reis
624dd26f39
Avoid loading onboarding images on page load.
2017-10-20 16:20:38 +01:00
Brian Gough
dcdcbd8388
exit if mock servers fail to start
2017-10-20 16:00:52 +01:00
Shane Kilkelly
b32088ee6b
Only add token member if they're not also a collaborator
2017-10-20 13:38:52 +01:00
Alasdair Smith
d21137ed73
Clean up color box sizes
2017-10-20 13:27:37 +01:00
Nate Stemen
0ebda89efe
fixing package manager issues
2017-10-20 12:04:10 +01:00
Shane Kilkelly
dc39e447b2
Change findAllUsersProjects
, produce and object rather than lists
2017-10-20 11:49:20 +01:00
Paulo Reis
525defb92d
Add router entry to the new styleguide (WIP).
2017-10-20 10:53:26 +01:00
Paulo Reis
033e3cfcc6
Add styleguide classes.
2017-10-20 10:53:08 +01:00
Alasdair Smith
5b1836c639
Merge pull request #70 from sharelatex/as-add-onboarding-logging
...
Adds some onboarding logging to investigate potential bug
2017-10-20 10:47:15 +01:00
Alasdair Smith
edb2a6c88b
Increase rollout to 5%
2017-10-20 10:23:52 +01:00
Shane Kilkelly
d710d284fe
Merge branch 'sk-unlisted-projects' of github.com:sharelatex/web-sharelatex-internal into sk-unlisted-projects
2017-10-20 10:11:33 +01:00
Shane Kilkelly
0e44b319db
Change anonToken
and such to anonymousAccessToken
2017-10-20 10:10:21 +01:00
John Lees-Miller
30f67008a0
Fix typo
2017-10-20 09:19:18 +01:00
Shane Kilkelly
eab77aba91
Abstract away the token-protection logic
2017-10-19 16:26:01 +01:00
Alasdair Smith
ebaa640c51
Fix log call signature
2017-10-19 16:02:40 +01:00
Alasdair Smith
6fd1d493e3
Also add logging for track changes
2017-10-19 15:47:12 +01:00
Alasdair Smith
4d4dba9677
Adds some onboarding logging to investigate potential bug
2017-10-19 15:31:19 +01:00
Shane Kilkelly
22795981b9
Add tests to check when tokens are never activated
2017-10-19 15:22:44 +01:00
Shane Kilkelly
97706acbac
Fix indentation
2017-10-19 14:54:59 +01:00
Shane Kilkelly
5572a0e873
Merge branch 'sk-unlisted-projects' of github.com:sharelatex/web-sharelatex-internal into sk-unlisted-projects
2017-10-19 14:46:05 +01:00
Shane Kilkelly
d8717a06a2
Fix track-changes with token-access
2017-10-19 14:42:17 +01:00
John Lees-Miller
3383a057a1
Fix typo
...
(The typo came from my comment in Overleaf many years ago.)
2017-10-19 11:47:47 +01:00
Alasdair Smith
4cc517240c
Increase rollout to 3%
2017-10-19 10:54:21 +01:00
Shane Kilkelly
43f1cb7d64
Add unit test for token-based access, particularly anon-read-write
2017-10-18 15:31:03 +01:00
Brian Gough
bf4404b60a
handle null values when saving rootDoc_id
2017-10-18 14:19:45 +01:00
Brian Gough
05ee2a5244
Merge pull request #67 from sharelatex/bg-ignore-git-in-uploads
...
ignore .git directories in uploads
2017-10-18 13:11:46 +01:00
Brian Gough
5d116e8ce9
Merge pull request #65 from sharelatex/bg-fix-main-doc-selection
...
fix main doc selection (connects to overleaf/sharelatex#222 )
2017-10-18 13:11:10 +01:00
Brian Gough
d0f0268783
Merge pull request #57 from sharelatex/bg-handle-undefined-project-name-with-error
...
avoid exception in validateProjectName
2017-10-18 13:10:45 +01:00
Brian Gough
f8662d8aaa
Merge pull request #60 from sharelatex/bg-fix-unzip-permission
...
replace unzip with yauzl (connects to #219 )
2017-10-18 13:10:07 +01:00
Shane Kilkelly
7d2bde85ff
Add a setting to enable anonymous read-and-write link sharing
2017-10-18 13:04:37 +01:00
Paulo Reis
f6ebbc37db
Fix z-index issue in the resolved comments dropdown.
2017-10-18 11:09:55 +01:00
Paulo Reis
cfa0989a03
Remove extra semicolon.
2017-10-18 10:55:32 +01:00
Brian Gough
290361dc72
ignore .gitignore files in uploads too
2017-10-17 16:49:51 +01:00
Brian Gough
277b9c5d50
ignore .git directories in uploads
2017-10-17 16:32:26 +01:00
Brian Gough
6001f14261
log each file unzipped
2017-10-17 16:31:56 +01:00
Brian Gough
76d73951f2
fix bug when unzipping directory
2017-10-17 16:31:35 +01:00
Brian Gough
82b84fd5f4
hide logs when there are validation errors
2017-10-17 15:50:38 +01:00
Brian Gough
bcabec1c5d
added tests
2017-10-17 15:50:29 +01:00
Brian Gough
56cb901b41
filter missing doc_ids from root doc_ids list
2017-10-17 15:49:02 +01:00
Brian Gough
f70ab03bd8
show an error if the main file cannot be found
...
also improve logic for detecting the main file, if there's only one file
it must be the main file.
2017-10-17 15:47:50 +01:00
Alasdair Smith
b0dc84748a
Fix to actual percentage
2017-10-17 15:44:15 +01:00
Paulo Reis
db6ca5d1c3
Reorganize common vars file.
2017-10-17 15:42:37 +01:00
Paulo Reis
cf89c22ca5
Clarify comments.
2017-10-17 15:06:44 +01:00
Paulo Reis
8e74278503
Remove test stuff.
2017-10-17 15:06:19 +01:00
Paulo Reis
79c77188f3
Disable source maps (to be reenabled later on).
2017-10-17 15:04:43 +01:00
Alasdair Smith
6ff3a2de9f
Rollout autocompile to 1% of users and improve readability
2017-10-17 15:04:27 +01:00
Henry Oswald
aff5823a2d
Revert "Complete 'usepackage' with packages"
2017-10-17 13:30:47 +01:00
Paulo Reis
ec4ff90273
IE scrollbar adjustments; use calc to set content min-height (IE fails with flex and min-height).
2017-10-17 12:24:47 +01:00
Shane Kilkelly
9c247d5f59
On project list, only show projects once, with max access
2017-10-17 11:10:31 +01:00
Shane Kilkelly
855fe2e143
If user is project owner, don't add them as a token user
2017-10-16 16:44:20 +01:00
Brian Gough
4c78b5770c
use regex for directory check
2017-10-16 15:17:33 +01:00
Brian Gough
2bb7c6d4c6
remove child_process module from ArchiveManager
2017-10-16 14:21:28 +01:00
Shane Kilkelly
5fb86441f6
Add acceptance tests for private-overleaf-project
...
... when accessed via the read-write token by the owner
2017-10-16 14:15:50 +01:00
Brian Gough
96d08e41a7
update tests
2017-10-16 14:15:38 +01:00
Brian Gough
d6d76f132e
replace unzip with yauzl
2017-10-16 14:15:38 +01:00
Paulo Reis
829f60fec4
Fix scrolling issues in IE11.
2017-10-16 14:08:48 +01:00
Joe Green
67b13d2583
Update Jenkinsfile
2017-10-16 14:07:49 +01:00
Alasdair Smith
60c297eac8
Also prevent rollout to modulo 0 users
2017-10-16 13:40:09 +01:00
Shane Kilkelly
ad999a72b6
If a token-based project not found, check private overleaf project
2017-10-16 13:20:15 +01:00
Alasdair Smith
abb21ac96b
Fix autocompile rollout logic
2017-10-16 12:44:11 +01:00
Alasdair Smith
bd6bc42a9a
Don't Show autocompile on load
2017-10-16 11:42:15 +01:00
Alasdair Smith
5d3371a52c
Merge pull request #38 from sharelatex/as-autocompile-rollout
...
Rollout for auto compile; Connects to #20
2017-10-16 10:48:43 +01:00
Alasdair Smith
625f52c248
Update cutoff date
2017-10-16 10:28:42 +01:00
Alasdair Smith
e02c3bbb09
Remove beta program badge
2017-10-16 10:27:33 +01:00
Alasdair Smith
6c3ceb48df
Allow onboarding to be shown outside of beta program
2017-10-16 10:25:52 +01:00
Nate Stemen
333e411a75
Merge pull request #39 from sharelatex/ns-package-completer
...
Complete 'usepackage' with packages
2017-10-13 17:43:36 +01:00
Nate Stemen
2efb6b69e5
removing comment
2017-10-13 17:42:10 +01:00
Nate Stemen
da07a91229
reformated data files with argument data
2017-10-13 17:24:48 +01:00
Shane Kilkelly
ee29cb45d2
Translations for the new link-sharin (token access) feature
2017-10-13 13:57:11 +01:00
Shane Kilkelly
490ccc6051
Add commentary to token-generator, and move token-alpha to top level
2017-10-13 11:37:38 +01:00
Shane Kilkelly
ac513a1355
Refactor to not pass req
down into Auth modules
2017-10-13 11:20:57 +01:00
Brian Gough
d5fba2cc71
enable incremental compiles for all users
2017-10-13 08:23:16 +01:00
Brian Gough
4ce639db70
Merge pull request #58 from sharelatex/bg-rate-limit-autocompile
...
fix two bugs in auto compile limit logic
2017-10-13 08:18:31 +01:00
Nate Stemen
42412b1bb4
modified labels tests to pass with new metadata
2017-10-12 17:28:11 +01:00
Alasdair Smith
36e1fafb60
Set proportion to 0
2017-10-12 17:10:41 +01:00
James Allen
f0079bb7a4
Merge pull request #41 from sharelatex/ja-transfer-projects
...
Add method to transfer projects from one user_id to another
2017-10-12 16:27:00 +01:00
Brian Gough
fc3ecddd0e
fix two bugs in auto compile limit logic
...
1. the compileGroup is "standard" not default
2. was not excluding normal compiles from metrics
2017-10-12 16:18:14 +01:00
Brian Gough
8cf3288187
avoid exception in validateProjectName
2017-10-12 16:03:12 +01:00
Shane Kilkelly
dcf601fe80
Only show token-based projects if accessLevel is set to token-based
2017-10-12 15:47:29 +01:00
Paulo Reis
ef9651cc88
Style progress bars.
2017-10-12 15:44:06 +01:00
Nate Stemen
f113ba6342
basic package aware autocomplete
2017-10-12 15:33:14 +01:00
Shane Kilkelly
9a7c8c5842
Revert "Remove remaining traces of UserStub"
...
This reverts commit ab6b4c32254a20b940c489b8b5b56237433cc0f6.
2017-10-12 15:08:48 +01:00
Brian Gough
3d2f9f0219
Merge branch 'bg-auto-doc-flush'
2017-10-12 15:01:27 +01:00
Brian Gough
fdffc92de2
fix unit tests
2017-10-12 15:01:11 +01:00
Brian Gough
18370076a2
Merge pull request #45 from sharelatex/bg-auto-doc-flush
...
allow docupdater to flush docs in background (connects to overleaf/sharelatex#190 )
2017-10-12 14:48:16 +01:00
Paulo Reis
f47dac6414
Take potential padding into account when calculating proj list height.
2017-10-12 14:19:31 +01:00
Paulo Reis
c488916c69
Make content section expand at least to all available height.
2017-10-12 12:18:56 +01:00
Paulo Reis
2d5426391d
Avoid generating unneeded scroll.
2017-10-12 11:53:19 +01:00
Shane Kilkelly
16416463c6
Update removeUserFromProject
to account for token-access
2017-10-12 11:49:02 +01:00
Shane Kilkelly
6feedf5520
Use crypto module for token generation
2017-10-12 11:36:45 +01:00
Shane Kilkelly
22c5f41fb6
Add logging for token generation
2017-10-12 11:25:16 +01:00
Shane Kilkelly
fe708fcc04
Generate all missing tokens
2017-10-12 11:19:26 +01:00
Shane Kilkelly
70b1e42e36
Add deprecation comment regarding legacy access-levels
2017-10-12 11:00:39 +01:00
Shane Kilkelly
6e09165452
Refactor auth sources
2017-10-12 10:57:11 +01:00
Brian Gough
45ed090326
Merge pull request #37 from sharelatex/bg-rate-limit-autocompile
...
rate limit autocompile (connects to #18 )
2017-10-12 09:25:59 +01:00
Brian Gough
c913ec69ef
Merge pull request #34 from sharelatex/bg-fix-double-callback-in-resources-check
...
fix double callback in resources check (connects to #18 )
2017-10-12 09:20:05 +01:00
Brian Gough
cf25ff058f
use new endpoint docupdater get_and_flush_if_old
2017-10-11 16:05:28 +01:00
Joe Green
38b3626014
Try email only on master branch ( #47 )
2017-10-11 15:21:21 +01:00
Alasdair Smith
5047213c3c
Change rollout detection to account for changes in proportion preserving rolled out users
2017-10-11 14:47:39 +01:00
Hayden Faulds
f017a94b7e
remove unused HistoryManager
2017-10-11 11:18:20 +01:00
Hayden Faulds
4e0a159db4
Merge pull request #40 from sharelatex/hof-pathname-for-doc-store
...
return pathname from DocumentController.getDoc
2017-10-11 09:52:56 +01:00
Paulo Reis
274be4932a
Adjust padding values.
2017-10-09 17:29:55 +01:00
Brian Gough
5b0d3d1429
simplify rate-limit checking code
2017-10-09 16:31:01 +01:00
Paulo Reis
8a3f104c60
Fix some issues with longer project names.
2017-10-09 16:19:02 +01:00
Paulo Reis
407157e3eb
Minor adjustmnents.
2017-10-09 15:27:01 +01:00
Brian Gough
ea89638010
rename autocompile_disabled to autoCompileDisabled
...
for consistency
2017-10-09 15:21:01 +01:00
Brian Gough
15e2deed73
rename isAutoCompile and isBackgroundAutoCompile
...
changed to isAutoCompileOnLoad and isAutoCompileOnChange
2017-10-09 15:18:55 +01:00
James Allen
24dd89bc38
Adjust wording
2017-10-09 14:23:05 +01:00
James Allen
8c9ad69dfe
Always npm install translations from master
2017-10-09 14:22:04 +01:00
Brian Gough
9eec245358
allow docupdater to flush docs in background
2017-10-09 14:17:28 +01:00
Paulo Reis
500dcc5bc2
Quick accessibility fixes for the dashboard.
2017-10-09 11:59:03 +01:00
Shane Kilkelly
1a4ffe7708
Remove un-necessary call to getProject
from archiveProject
path
2017-10-09 11:30:55 +01:00
Shane Kilkelly
ad68adee9a
Add more commentary on the anonymous path
2017-10-09 11:13:55 +01:00
Shane Kilkelly
e73de3bfd4
Fix whitespace in function signature
2017-10-09 10:57:23 +01:00
Paulo Reis
435a5b6a43
Adjust the body to take header and footer into account with padding.
2017-10-09 10:30:09 +01:00
Paulo Reis
6e6c058d49
Fix the header.
2017-10-09 10:28:21 +01:00
Paulo Reis
4b246501d2
Fix the footer.
2017-10-09 10:28:03 +01:00
Shane Kilkelly
732ce9417b
Don't create tokens on project by default
2017-10-09 10:25:20 +01:00
Nate Stemen
cfca4b5d6c
modified labels service to include packages aware autocompletion
2017-10-06 17:15:50 +01:00
Shane Kilkelly
29a584996f
Flesh out acceptance tests for token access
2017-10-06 16:26:47 +01:00
Shane Kilkelly
d386f79a76
Clean up
2017-10-06 16:10:33 +01:00
Shane Kilkelly
b5bed1837e
Start acceptance tests for token-based access
2017-10-06 15:58:03 +01:00
Shane Kilkelly
91abb6eed6
If project is not tokenBased, don't count members of token arrays
2017-10-06 15:57:22 +01:00
Paulo Reis
fd215280a8
Some more scroll fixes.
2017-10-06 15:54:54 +01:00
Paulo Reis
9d35ce5fe1
Fix label issues.
2017-10-06 14:26:34 +01:00
Paulo Reis
f405dc49b3
Implement two different scrolling models for OL and SL.
2017-10-06 14:22:06 +01:00
Shane Kilkelly
387854db7a
Fix an embarassing mistake, generate tokens dynamically, not once.
2017-10-06 13:24:10 +01:00