Commit Graph
2247 Commits
Author SHA1 Message Date
Alasdair Smith bf60fe7f6c Add error handling for InvalidError 2018-10-08 10:44:25 +01:00
Alasdair Smith e99165b475 Validate password length when registering 2018-10-08 10:44:25 +01:00
Hugh O'BrienandGitHub cc962c3e6f Merge pull request #978 from sharelatex/hb-use-exports-for-pdf-from-publish-modal
Generic Zip or Pdf Exports endpoint
2018-10-08 10:13:18 +01:00
Shane KilkellyandGitHub 4c2a90966a Merge pull request #918 from sharelatex/sk-enable-sudo-mode-in-v2
Enable sudo-mode for v2
2018-10-05 10:05:24 +01:00
Simon Detheridge 2b8ce379f8 Lookup correct compiler when importing v1 templates
bug: overleaf/sharelatex#981
Signed-off-by: Simon Detheridge <s@sd.ai>
2018-10-04 16:42:03 +01:00
Shane Kilkelly 2c47da553b Add an error log if activating sudo-mode on login fails 2018-10-04 15:05:40 +01:00
Shane Kilkelly 778abaff6e Remove stray log 2018-10-04 15:05:40 +01:00
Shane Kilkelly 2ef23194df WIP: trying to get acceptance tests to pass 2018-10-04 15:05:40 +01:00
Shane Kilkelly f9ed367148 Move the auth mechanism for sudo-mode into SudoModeHandler 2018-10-04 15:05:40 +01:00
Shane Kilkelly 254d74899b WIP: enable sudo-mode for v2 2018-10-04 15:05:40 +01:00
Ersun WarnckeandGitHub 752658f773 Merge pull request #990 from sharelatex/ew-use-v1-doc-info-api
Use v1 Doc Info API for Token Access
2018-10-03 09:22:41 -04:00
Timothée AlbyandGitHub e3cfa36b56 Merge pull request #984 from sharelatex/ta-email-cta-link
add plain text link to email address confirmation emails
2018-10-03 14:20:05 +01:00
Timothée AlbyandGitHub c74c782cee Merge pull request #961 from sharelatex/ta-account-sync-affiliations
Add getInstitutionsPlan Function
2018-10-03 14:19:56 +01:00
Brian GoughandGitHub 2b738907aa Merge pull request #989 from sharelatex/bg-clean-up-broken-project-on-error
clean up broken project on error in ProjectDuplicator
2018-10-03 10:04:30 +01:00
Ersun Warncke 642b45d0d6 use v1 doc info api 2018-10-02 11:16:46 -04:00
Brian Gough 4621234220 clean up broken project on error in ProjectDuplicator 2018-10-02 12:14:22 +01:00
Tim Alby 4e9737bf71 add plain text link to email address confirmation emails 2018-09-28 13:36:31 +01:00
Alasdair Smith 1330c8da73 Also check if v1 project exported if not found for read-only tokens 2018-09-28 11:47:14 +01:00
Alasdair Smith 435fe11115 Check if v1 project was exported if not found
This prevents a redirect loop for projects which were exported but then
deleted on v2. v2 would not find the project, redirect to v1, which
would find that it was exported and redirect back to v2.
2018-09-28 11:47:14 +01:00
Brian GoughandGitHub 6d5908f2f4 Merge pull request #893 from sharelatex/ja-fix-duplicate-text-in-email
Don't include the license name twice in invite emails
2018-09-28 11:15:40 +01:00
Brian Gough 1f6abd4e69 fix invalid project names when opening templates 2018-09-28 10:38:25 +01:00
Brian Gough 8f8694ad94 iterate over owned projects in a more robust way 2018-09-28 09:48:15 +01:00
Brian Gough 6b80d3563d add support for creating unique project names 2018-09-28 09:48:15 +01:00
hugh-obrien 52859cdfaa make the zip fetching endpoint for exports generic to either zips or pdfs 2018-09-27 16:11:11 +01:00
Ersun WarnckeandGitHub 7b90fcb186 Merge pull request #969 from sharelatex/ew-check-doc-token-access
check access for doc on read only token
2018-09-25 08:35:56 -04:00
Ersun Warncke eeed857dd9 change api path 2018-09-25 06:45:27 -04:00
Ersun Warncke f0c0834b0f only do v1 access check when api config present 2018-09-25 05:42:04 -04:00
James AllenandGitHub e2f90ba01a Merge pull request #966 from sharelatex/as-no-project-token-based
Redirect logged out users to v1 if project is not found from token based url
2018-09-25 10:25:30 +01:00
Alasdair Smith 298ee2dbb4 Fix v1 return to path 2018-09-25 10:06:24 +01:00
Alasdair Smith ca895ae1b1 Redirect to v1 via sign in link 2018-09-25 09:37:22 +01:00
Brian GoughandGitHub 89ba3912c0 Merge pull request #964 from sharelatex/csh-issue-963-MultipleProjectDownloads
Replace ShareLaTeX with Overleaf in name of multiple project download file
2018-09-25 09:33:53 +01:00
Brian Gough 5947294016 Merge branch 'bg-support-main-file-for-templates' 2018-09-25 09:32:14 +01:00
Brian Gough 0d4143205d strip quotes from mainFile 2018-09-25 09:05:49 +01:00
Ersun Warncke f89e85231a check access for doc on read only token 2018-09-24 18:03:28 -04:00
Alasdair Smith d6350c963e Remove projectExists flag from higher access check
Now that find project by read and read/write token methods check whether
the project exists, it is not neccessary to check whether the project
exists in the higher access check. Therefore it has been removed
2018-09-24 19:00:10 +01:00
Alasdair Smith 99dec02266 If no project found for read/write token, redirect to v1 2018-09-24 19:00:10 +01:00
Alasdair Smith 237810509a If no project found for read token, redirect to v1 2018-09-24 19:00:10 +01:00
Christopher Hoskin 5c35cc9593 Replace ShareLaTeX with Overleaf in name of multiple project download file (Closes: #963) 2018-09-24 16:33:54 +01:00
Brian Gough 418bc10a18 allow getting doc paths by project id 2018-09-24 16:04:23 +01:00
Brian Gough 586e3814fe add missing require 2018-09-24 15:27:16 +01:00
Brian Gough 2692090f3f support a mainFile parameter for templates 2018-09-24 15:27:16 +01:00
Tim Alby 51c5228288 add getInstitutionsPlan function 2018-09-24 13:16:31 +01:00
hugh-obrien 5f4a36ca26 remove debug line 2018-09-24 10:49:01 +01:00
hugh-obrien c0b32f031e force gallery items to use legacy OL v1 texlive image 2018-09-24 10:49:01 +01:00
Jessica LawsheandGitHub 488886c1d2 Merge pull request #929 from sharelatex/jel-homepage
Add Homepage
2018-09-20 09:01:13 -05:00
Jessica LawsheandGitHub d2af2fb630 Merge pull request #927 from sharelatex/jel-plans-updates
Plans page updates
2018-09-20 09:00:58 -05:00
Jessica Lawshe d023150b0f Add v2 homepage
Specific homepage filenames and redirect to login when not found

Move variables to shared file

Move circle image styling to shared file

Leaving float on plans page because of some layout differences
2018-09-20 08:57:07 -05:00
Hugh O'BrienandGitHub b377b89447 Merge pull request #933 from sharelatex/bg-avoid-exception-for-no-emails
fix exception when user has no emails field
2018-09-19 11:33:03 +01:00
Shane Kilkelly e1c3689aec Update the email-merge email template 2018-09-19 09:28:59 +01:00
Shane Kilkelly 2ec7747b60 Add a help link to the account-merge email in case of error 2018-09-19 09:28:59 +01:00