James Allen
89d5605874
Add script that refreshes all v1 users' features in v2
2018-06-22 15:33:02 +01:00
Nate Stemen
ab159a5169
Merge remote-tracking branch 'origin' into ns-dropdown-on-completion
2018-06-22 10:25:18 -04:00
Nate Stemen
e9f8cceabb
fix syntax error
2018-06-22 10:23:33 -04:00
James Allen
c004cdb200
Remove hardcoded ShareLaTeX reference in upgrade blurb
2018-06-22 14:24:41 +01:00
James Allen
9194e25742
Set font colour at entire side bar level
2018-06-22 14:23:43 +01:00
James Allen
0edd2b5fe7
Fix check for hasSubscription
2018-06-22 14:10:20 +01:00
Shane Kilkelly
d76c6c2c22
Merge pull request #682 from sharelatex/sk-copy-linked-file-data-on-clone
...
Copy linkedFileData when cloning a project
2018-06-22 13:22:45 +01:00
Shane Kilkelly
a8222f2e31
Fix tests after sync with master
2018-06-22 13:20:13 +01:00
Shane Kilkelly
096d3f28a1
Move the handleError
function into the LinkedFilesController
2018-06-22 13:09:18 +01:00
Shane Kilkelly
ebe828aa62
Refactor, and remove the source_project_display_name
prop from linkedFileData
2018-06-22 13:09:18 +01:00
Shane Kilkelly
dfb4898be5
Move getFileById
to the LinkedFilesHandler
module
2018-06-22 13:09:18 +01:00
Shane Kilkelly
c8012f2968
Cleaner import of errors
2018-06-22 13:09:18 +01:00
Shane Kilkelly
6058f3ef9b
Refactor the LinkedFiles/Agent system, and track build_id for output files
2018-06-22 13:09:18 +01:00
Shane Kilkelly
d93eb448e3
Move Clsi logic to ClsiManager
2018-06-22 13:09:18 +01:00
Shane Kilkelly
54cdbd738c
If selecting 'output.pdf', set the filename to project-name.pdf
2018-06-22 13:09:18 +01:00
Shane Kilkelly
67dcbff450
Remove linked-files items from the left-menu test controls
2018-06-22 13:09:18 +01:00
Shane Kilkelly
708e809df6
Use errors from ProjectFileAgent
2018-06-22 13:09:18 +01:00
Shane Kilkelly
2ade78783b
Add acceptance test for refreshing output file from v1 project
2018-06-22 13:09:18 +01:00
Shane Kilkelly
a313184c71
Handle linked-output-files from v1 imports
2018-06-22 13:09:18 +01:00
Shane Kilkelly
28257462ae
Acceptance tests for project-output-file
2018-06-22 13:09:18 +01:00
Shane Kilkelly
48a4f6c4c4
Fix error handling for failing to get output file
2018-06-22 13:08:13 +01:00
Shane Kilkelly
2cfc2b4738
Only show output files which are images or pdfs
2018-06-22 13:08:13 +01:00
Shane Kilkelly
7fc99a38f8
Better styling on the output-files toggle
2018-06-22 13:08:13 +01:00
Shane Kilkelly
6672a20c2b
Enable switching between source and output files
2018-06-22 13:08:13 +01:00
Shane Kilkelly
64ec90f34f
Move the isOutputFilesMode flag onto the scope
2018-06-22 13:08:13 +01:00
James Allen
5717496685
Create unified new file modal with linked files
2018-06-22 13:08:13 +01:00
Shane Kilkelly
2da1d57948
Clean up logging
2018-06-22 13:08:13 +01:00
Shane Kilkelly
87474ce060
Remove commentary
2018-06-22 13:08:13 +01:00
Shane Kilkelly
d4beba24b6
Backend for project output file agent
2018-06-22 13:08:13 +01:00
Shane Kilkelly
e916d96792
WIP: basic backend for project-output-file agent
2018-06-22 13:08:13 +01:00
Shane Kilkelly
ead245721b
Mostly working selection of output files from another project
2018-06-22 13:08:13 +01:00
Shane Kilkelly
60ca298db3
WIP
2018-06-22 13:08:13 +01:00
Paulo Reis
9bc70d479c
Use university-provided list of departments when available.
2018-06-22 11:24:14 +01:00
Shane Kilkelly
fadbd72837
Add unit test for copying project with linked files
2018-06-22 10:52:49 +01:00
Shane Kilkelly
5abb745e05
Copy linkedFileData when cloning a project
2018-06-22 10:00:39 +01:00
Alberto Fernández-Capel
d36dbfda07
Merge pull request #665 from sharelatex/afc-import-team-invites
...
Add method to import invites
2018-06-22 09:55:19 +01:00
Paulo Reis
62ab9dbb98
Rearrange layout to have the new affiliation form within the affiliations table.
2018-06-21 17:18:01 +01:00
Paulo Reis
b16ebc1843
Read user email from the URL in DELETE requests.
2018-06-21 17:16:42 +01:00
Timothée Alby
caee25d85d
Revert "Replace OldAssetsProxy"
2018-06-21 15:52:20 +02:00
Timothée Alby
c30cdf955b
Merge pull request #666 from sharelatex/ta-smart-proxy
...
Replace OldAssetsProxy
2018-06-21 14:35:16 +02:00
James Allen
de45c08585
Restrict token look ups by id to not conflict with other tests
2018-06-21 11:00:25 +01:00
James Allen
c07ce3bd89
Merge pull request #675 from sharelatex/ja-fail-on-acceptance-tests
...
Bail out with exit code on acceptance test failure
2018-06-21 10:28:41 +01:00
James Allen
46fbf0c641
Merge pull request #672 from sharelatex/ja-refactor-email-templating
...
Refactor email templating
2018-06-21 10:28:26 +01:00
James Allen
4608a59e3d
Store OneTimeTokens in mongo rather than redis
2018-06-21 10:22:08 +01:00
James Allen
0dcbc5facb
Send out confirmation emails on register and record confirmedAt date
2018-06-21 10:21:15 +01:00
James Allen
74ca0c4220
Refactor email template system
2018-06-21 10:19:12 +01:00
Paulo Reis
147d74d92a
Integrate e-mails table with backend.
2018-06-20 14:22:06 +01:00
Henry Oswald
4cb78a5797
move start time inside each clsi request as they are run in series now
2018-06-20 14:15:42 +01:00
Henry Oswald
5a7b8f4887
fix broken test for compile controller
2018-06-20 13:44:07 +01:00
Paulo Reis
917776aede
Change the UI to gradually show needed fields for affiliations.
2018-06-20 11:37:55 +01:00
Paulo Reis
f3806faeb2
Make git ignore compiled Coffeescript Angular components.
2018-06-20 11:37:34 +01:00
Alasdair Smith
6c1994e25b
Stub errors in tests to cache
2018-06-20 11:19:23 +01:00
Henry Oswald
e60157094b
improve logging for 2 compile backends
2018-06-20 11:07:34 +01:00
Tim Alby
bbed5fca9a
simplify proxy
2018-06-20 10:58:19 +02:00
Paulo Reis
c0241df15c
Rewrite service and controller code to send the correct payload according to use case (no uni; known uni; new uni).
2018-06-19 17:10:55 +01:00
Paulo Reis
82f359e735
Support more input configuration attributes in the input suggestions component.
2018-06-19 17:10:02 +01:00
Alasdair Smith
8de9e9fae4
Use error type instead of error message to check v1 connection error
2018-06-19 16:25:56 +01:00
Alasdair Smith
82a8e37071
Handle V1 connection refused when getting v1 subscription
2018-06-19 16:25:31 +01:00
Alasdair Smith
8492373a14
Add V1ConnectionError
2018-06-19 16:24:27 +01:00
Henry Oswald
b5581c4d40
Merge branch 'master' into ho-clsi-double-backend
2018-06-19 14:55:18 +01:00
Jessica Lawshe
ad50db858e
Merge pull request #664 from sharelatex/jel-pricing-plans-event
...
Plans and Pricing Google Analytics events
2018-06-19 08:48:12 -05:00
Henry Oswald
ab0f258c03
don't make request to google cloud clsi if there is no url
2018-06-19 14:22:34 +01:00
James Allen
99728d8f18
Bail out with exit code on acceptance test failure
2018-06-19 13:56:34 +01:00
Michael Mazour
0246631443
Add public API endpoints to reach CLSIs
...
- `/api/clsi/compile/:submission_id`
- `/api/clsi/compile/:submission_id/build/:build_id/output/:file`
Also per review:
- DRY up ClsiManager.sendRequestOnce and ClsiManager.sendExternalRequest
- Include submission_id in a log message
- Don't include timeout in limits when getting file
2018-06-19 12:04:02 +01:00
James Allen
0c86a7dc9b
Revert "Simplify package metadata check"
2018-06-19 08:43:27 +01:00
James Allen
b5e976f8a7
Merge pull request #663 from sharelatex/as-simplify-metadata-check
...
Simplify package metadata check
2018-06-19 08:38:03 +01:00
James Allen
a3e92a8867
Merge pull request #658 from sharelatex/ja-enable-subscriptions
...
Add message explaining Collaborator subscription to v1 users
2018-06-19 08:37:50 +01:00
Nate Stemen
e7038f0a57
remove trailing } for all commands rather than relying on Helpers module
2018-06-18 15:08:25 -04:00
Tim Alby
3d272ca297
replace OldAssetProxy
2018-06-18 18:37:58 +02:00
Nate Stemen
9f309e22a7
refactor AutoCompleteManager
2018-06-18 12:26:45 -04:00
Alberto Fernández Capel
81c102b501
Add method to import invites
2018-06-18 14:48:27 +01:00
Alasdair Smith
f9c074a31e
Simplify check for when we are editing lines with metadata commands
2018-06-18 10:52:27 +01:00
Jessica Lawshe
fe225fbbd3
Include event label when features table viewed
2018-06-15 16:29:42 -05:00
Jessica Lawshe
3de1721aa2
Send event to Google Analytics when variant selected
2018-06-15 16:11:45 -05:00
Nate Stemen
b1c0552214
add ref command to snippets
2018-06-15 16:59:35 -04:00
Nate Stemen
4b1bc291cb
misspelled variable completionAfterCursor
2018-06-15 10:31:51 -04:00
Nate Stemen
b8787e6e68
modify dropdown to trigger on command completion if possible
2018-06-15 08:56:03 -04:00
Paulo Reis
3ddb8d0bef
Add affiliations UI.
2018-06-15 11:33:47 +01:00
Paulo Reis
5ada231d15
Add basic affiliations styles, data services and controller.
2018-06-15 11:33:47 +01:00
Paulo Reis
a8cb126c4b
Add UI Select (enhanced select boxes) components.
2018-06-15 11:33:47 +01:00
Paulo Reis
1df8c044ee
Add component for auto-completing inputs.
2018-06-15 11:33:47 +01:00
Henry Oswald
5f8985811d
mvp to send requests to 2 backends
2018-06-14 17:41:30 +01:00
Timothée Alby
55112dc7dc
Merge pull request #648 from sharelatex/hb-export-status
...
Export status endpoint
2018-06-14 13:59:11 +02:00
Timothée Alby
984d81f5b8
Merge pull request #649 from sharelatex/ta-emails-endpoints
...
Add Emails Endpoints
2018-06-14 13:59:00 +02:00
Timothée Alby
3374aa6c9d
Merge pull request #660 from sharelatex/ja-no-legacy-nodemon
...
Don't use the legacy watch option in nodemon
2018-06-14 13:58:38 +02:00
James Allen
dc3fea74f9
Don't use the legacy watch option in nodemon
2018-06-14 10:41:18 +01:00
James Allen
32e14527c6
Make links readable in v2 alerts
2018-06-14 10:31:06 +01:00
James Allen
eda031023c
Update subscription thank you page to remove ShareLaTeX references
2018-06-14 10:15:20 +01:00
hugh-obrien
0321780eba
adding tests for exports status checker
2018-06-14 09:44:05 +01:00
hugh-obrien
fb9ca430de
export status endpoint
2018-06-14 09:44:05 +01:00
James Allen
45fbcfecb3
Merge pull request #659 from sharelatex/ja-fix-subscription-dash
...
Add null check to subscription dash
2018-06-14 09:11:45 +01:00
James Allen
c60b74a2b1
Merge pull request #652 from sharelatex/ja-fix-front-end-test
...
Fix frontend HistoryV2ManagerTests
2018-06-14 09:11:32 +01:00
James Allen
e162ff6256
Merge pull request #654 from sharelatex/ja-explain-error-on-crash
...
Explain error if web crashes in acceptance tests
2018-06-14 09:09:26 +01:00
James Allen
1e7601d647
Add null check to subscription dash
2018-06-14 09:03:14 +01:00
James Allen
e5bd7ce551
Add message explaining Collaborator subscription to v1 users
2018-06-13 17:22:34 +01:00
James Allen
82c6d9b293
Merge pull request #629 from sharelatex/ja-display-subscriptions
...
Link subscriptions to v1
2018-06-13 13:55:57 +01:00
Henry Oswald
b24b110037
Merge pull request #647 from sharelatex/ho-clsi-domain
...
PDF download takes optional domain paramater
2018-06-13 11:30:17 +01:00
Henry Oswald
406bf1f5fc
Don't set pdfDownloadDomain by default
2018-06-13 11:23:33 +01:00
James Allen
76d10e6402
Improve error message readability
2018-06-13 10:40:36 +01:00
Henry Oswald
02110064f7
Merge branch 'master' into ho-clsi-domain
2018-06-13 10:32:51 +01:00
James Allen
f57290382d
Explain error if web crashes in acceptance tests
2018-06-13 10:11:38 +01:00
Shane Kilkelly
3baf0836bc
Support project-linked-files originating from imported v1 projects
2018-06-13 10:02:54 +01:00
Jessica Lawshe
baa321fa1a
Merge pull request #628 from sharelatex/ns-only-one-doc-env
...
only suggest one document environment per project
2018-06-12 08:44:14 -05:00
James Allen
b00a79ff1c
Redirect to v1 plans page from v2
2018-06-12 13:52:47 +01:00
James Allen
a417dc8ff4
v1Subscription -> v1Subscriptions
2018-06-12 13:52:47 +01:00
James Allen
6e2ec2f982
Update remaining unit tests
2018-06-12 13:52:47 +01:00
James Allen
28f51cd4b4
Update SubscriptionController unit tests
2018-06-12 13:52:47 +01:00
James Allen
606419476f
Update LimitationsManager unit tests
2018-06-12 13:52:47 +01:00
James Allen
034e50760e
Add flag that can disable plans page
2018-06-12 13:52:47 +01:00
James Allen
ce60e6941c
Check with v1 before allowing a new subscription
2018-06-12 13:52:47 +01:00
James Allen
9d84263463
Fetch subscription details from v1 and display to user
2018-06-12 13:52:46 +01:00
James Allen
1d7accabdd
Update group notification for new group invite URL
2018-06-12 09:54:54 +01:00
James Allen
f7532e5854
Merge pull request #619 from sharelatex/afc-email-tokens
...
Use emails with tokens for team invites
2018-06-12 08:30:23 +01:00
James Allen
d4efdb3ede
Fix frontend HistoryV2ManagerTests
2018-06-11 15:47:23 +01:00
James Allen
dbd6ea30e9
Improve robustness of email validation
2018-06-11 15:22:42 +01:00
James Allen
ed5bc70350
Tweak front-end layout
2018-06-11 14:20:46 +01:00
James Allen
155102df64
Use Error classes, and ensure invited_emails is cleared on new invite
2018-06-11 14:20:35 +01:00
James Allen
b716f59442
Remove deprecated removeEmailInviteFromGroup
2018-06-11 14:19:47 +01:00
Tim Alby
97c145433e
use EmailHelper.parseEmail on registration
...
Also changed EmailHelper to use the regexp already used in
UserRegistrationHandler rather than the `mimelib` package as it is
deprecated.
2018-06-11 12:31:18 +02:00
Tim Alby
e614ed9248
add emails endpoints
2018-06-11 10:35:23 +02:00
Henry Oswald
75c9489c06
PDF Downloads work, not tested on large pdf's yet
2018-06-08 17:17:00 +01:00
Tim Alby
5438a565b9
use multiple emails when relevant
2018-06-08 17:53:45 +02:00
Tim Alby
31827ae6b5
add emails attribute on user creation
2018-06-08 17:53:45 +02:00
Jessica Lawshe
07aedaa92b
Merge pull request #645 from sharelatex/jel-add-cms
...
Existence check for data from CMS
2018-06-08 10:14:23 -05:00
Jessica Lawshe
43da34098e
Existence check
2018-06-08 10:07:44 -05:00
Jessica Lawshe
ba5b3bb06a
Merge pull request #581 from sharelatex/jel-add-cms
...
Add CMS
2018-06-08 07:18:03 -05:00
Jessica Lawshe
d57660aeb5
Merge pull request #632 from sharelatex/jel-plans-pricing-fix
...
Plans and Pricing fixes
2018-06-08 07:17:28 -05:00
Alberto Fernández Capel
59688efb56
Merge remote-tracking branch 'origin/master' into afc-email-tokens
2018-06-08 12:21:17 +01:00
Alberto Fernández-Capel
e7e429a963
Merge pull request #605 from sharelatex/afc-update-user-references
...
Add method to update user references
2018-06-08 11:29:25 +01:00
Alberto Fernández Capel
57775e60b1
Merge remote-tracking branch 'origin/master' into afc-update-user-references
2018-06-08 11:28:58 +01:00
Alberto Fernández-Capel
10da4fc5f7
Merge pull request #585 from sharelatex/afc-team-overleaf-id
...
Add overleaf id to the Subscription (team) schema
2018-06-08 11:27:15 +01:00
Alasdair Smith
c53ff0fa84
Merge pull request #618 from sharelatex/as-toolbar-btns
...
Rich text toolbar styles
2018-06-08 10:09:27 +01:00
Alberto Fernández Capel
c45b4463bb
Fix unit test
2018-06-08 10:05:26 +01:00
Alberto Fernández Capel
5159f6f33d
Check the subscription is in a group plan before adding new members
2018-06-08 09:58:51 +01:00
Timothée Alby
7cdcd725fd
Revert "Use Multiple Emails"
2018-06-07 18:44:59 +02:00
Alberto Fernández Capel
c4250e601e
Minor copy change Registered -> Accepted invite
2018-06-07 16:53:19 +01:00
Alberto Fernández Capel
85f4a31585
Proper coffee syntax
2018-06-07 16:49:17 +01:00
Jessica Lawshe
6c92238f37
Fix analytics event label for when shouldABTestPlans: false
2018-06-07 10:30:21 -05:00
Jessica Lawshe
484ee9ad61
Should not AB test when signed up before 2018-06-06
2018-06-07 10:30:21 -05:00
Alberto Fernández Capel
a3bb99d755
Honour invited_emails for the team being
...
We'll remove them soon, but we want to keep them for a while so
recent invites can join their teams.
2018-06-07 16:22:38 +01:00
Alberto Fernández Capel
670f24ef6f
Simplify method name
2018-06-07 16:12:02 +01:00
Alberto Fernández Capel
30b935befd
Prevent double rendering error
2018-06-07 16:12:02 +01:00
Alberto Fernández Capel
d1b1e6c299
Do not include the Licence ending in domain invites
...
So the message reads like "University of Notre Dame has invited
you to join a team on Overleaf" instead of ""University of Notre
Dame licence..."
2018-06-07 16:12:02 +01:00
Alberto Fernández Capel
88d12b43ac
Make CTA message match regular message
2018-06-07 16:12:02 +01:00
Alberto Fernández Capel
5e70825c94
Rename view variable to invite
...
Makes the meaning more explicit
2018-06-07 16:12:02 +01:00
Hugh O'Brien
6f5c777163
Merge pull request #622 from sharelatex/hb-take-emis-names-as-input
...
Take user entered first and last names for EMIS
2018-06-07 15:52:33 +01:00
Timothée Alby
0516a7ed79
Merge pull request #630 from sharelatex/ta-multi-emails-script
...
Script to Backfill Secondary Emails
2018-06-07 15:40:55 +02:00
Timothée Alby
f422b7242d
Merge pull request #603 from sharelatex/ta-use-multi-emails
...
Use Multiple Emails
2018-06-07 15:40:43 +02:00
Alasdair Smith
c4c9441995
Adjust caret down
2018-06-07 14:13:19 +01:00
Alasdair Smith
ad13eccfa7
Flatten rules for readability
2018-06-07 14:13:19 +01:00