Paulo Reis
399a9ed604
Create bookmarkable tabs directive.
2018-10-17 09:31:48 -05:00
Alasdair Smith
baf8b599d7
Handle hash-bang urls used sometimes in v1
2018-10-17 09:31:48 -05:00
Jessica Lawshe
8e99142537
Add main CMS controller
...
Main is in index now, and blog controller moved to separate file
2018-10-17 09:31:48 -05:00
Jessica Lawshe
bec50892de
Linkable tabs
2018-10-17 09:31:48 -05:00
Simon Detheridge
6ad16c9406
Merge pull request #1028 from sharelatex/spd-no-github-for-new-users
...
retry: Don't add old v1 features for new accounts
2018-10-17 14:51:46 +01:00
Brian Gough
ad6b3a625a
use generateUniquename to create names with timestamps
2018-10-16 14:43:40 +01:00
Hugh O'Brien
3b766bf523
Merge pull request #1015 from sharelatex/pr-create-projects-with-brand-variation-id
...
Create projects with brand variation id
2018-10-16 11:17:09 +01:00
Hugh O'Brien
876663f94b
Merge pull request #1006 from sharelatex/hb-v2-affiliations-callback
...
Add affiliations on university domain confirmation
2018-10-16 11:17:01 +01:00
Simon Detheridge
0f54bc2c52
Add additional tests for V1SubscriptionManager
...
One call was not returning the v1Id correctly. These tests check for that case. Also added some more generic tests for the v1 API call.
bug: overleaf/sharelatex#1014
2018-10-16 10:15:42 +01:00
Simon Detheridge
6fc6c44605
Don't add old v1 features for new accounts
...
Introduces the notion of v1 'grandfathered features', specifically Gihub and Mendeley integration. This allows us to create new v1 accounts for new users without them automatically getting the new features.
Requires a settings change in `settings.web.sl.coffee` to disable these features by default for v1 accounts.
bug: overleaf/sharelatex#1014
2018-10-16 09:45:16 +01:00
Simon Detheridge
ec9c38df57
Revert "Don't add old v1 features for new accounts"
2018-10-15 17:46:48 +01:00
Simon Detheridge
85f097343f
Merge pull request #1022 from sharelatex/spd-no-github-for-new-users
...
Don't add old v1 features for new accounts
2018-10-15 15:28:34 +01:00
Timothée Alby
c41fb5c9f4
Merge pull request #942 from sharelatex/pr-dismiss-email-confirmation
...
Email confirmation notification UI fixes
2018-10-15 14:49:06 +02:00
Tim Alby
6f63cd7ca0
add notification to confirm unconfirmed emails
2018-10-15 14:47:16 +02:00
Tim Alby
e646c5c42a
refactor to use config file
2018-10-15 14:46:38 +02:00
Brian Gough
a640397052
make project names unique for zip uploads and template imports
2018-10-15 09:33:39 +01:00
Brian Gough
59cf0aa3cb
fix bug in call to findAllUsersProjects
2018-10-15 09:33:39 +01:00
Simon Detheridge
48995d2d44
Don't add old v1 features for new accounts
...
Introduces the notion of v1 'grandfathered features', specifically Gihub and Mendeley integration. This allows us to create new v1 accounts for new users without them automatically getting the new features.
Requires a settings change in `settings.web.sl.coffee` to disable these features by default for v1 accounts.
bug: overleaf/sharelatex#1014
2018-10-12 17:45:57 +01:00
Jessica Lawshe
1256d29af9
Merge pull request #1020 from sharelatex/jel-wiki-tables
...
Add class for table without borders
2018-10-12 08:55:51 -05:00
Alasdair Smith
f35ffc861f
Merge pull request #1014 from sharelatex/ns-allow-capital-letters-in-ref-commands
...
allow capital letters in ref commands e.g. \Cref
2018-10-12 10:08:18 +01:00
Alasdair Smith
8fc04e8c6c
Merge pull request #1021 from sharelatex/as-addsearch
...
Port AddSearch styles from v1
2018-10-12 10:08:08 +01:00
Alasdair Smith
518ae83e48
Override search result title to use sans-serif
2018-10-12 09:53:22 +01:00
Alasdair Smith
0f9b65be23
Fix spaces -> tabs in copy/pasted code
2018-10-12 09:52:51 +01:00
Hugh O'Brien
b825f0b267
Merge branch 'master' into hb-v2-affiliations-callback
2018-10-11 17:14:35 +01:00
Alasdair Smith
85912595e8
Port addsearch styles from v1
2018-10-11 12:13:51 +01:00
Timothée Alby
89590d5199
Merge pull request #1003 from sharelatex/cmg-split-screen-button
...
Switch between pdf and editor with full-screen button
2018-10-11 10:54:53 +01:00
Tim Alby
16db3a0806
gracefully handle subscriptions without currency
2018-10-11 10:38:48 +01:00
Alasdair Smith
e91ab3bf83
Merge pull request #1017 from sharelatex/as-fix-autocompile-loop
...
Prevent autocompile loop
2018-10-11 10:30:39 +01:00
Alasdair Smith
96d7d83b90
Add guard against autocompile being disabled
2018-10-11 09:30:21 +01:00
Jessica Lawshe
a5eb6d0311
Add class for table without borders
2018-10-10 16:21:02 -05:00
Simon Detheridge
e7506489d1
Fix missing string in modals.pug
...
Add escape to execute translate() server-side when handling error message for invalid filenames in project on copy.
Signed-off-by: Simon Detheridge <s@sd.ai>
2018-10-10 15:06:37 +01:00
Alasdair Smith
9dd965da3c
Prevent autocompile loop
...
If an autocompile hits a rate limit, it would get into a bad state where
it would continuely loop making compile requests. This is because the
compile response resolving would disable auto compile (because the rate
limit was hit) but also trigger calculation of uncompiled changes, which
would not check if autocompile was disabled. The fix is to just check if
autocompile is disabled.
2018-10-10 15:04:18 +01:00
Paulo Reis
b0802380ae
Update tests
2018-10-10 14:09:47 +01:00
Paulo Reis
901fb0fc1e
Unit test brand variation id.
2018-10-10 14:09:47 +01:00
Paulo Reis
29787c42c5
Read brand variation id from v1-crafted links; set brand variation id for projects created from v1 templates.
2018-10-10 14:09:47 +01:00
Paulo Reis
a380feab98
Add brand variation id to the Project model.
2018-10-10 14:09:47 +01:00
Simon Detheridge
ea2782ff22
Merge pull request #1005 from sharelatex/spd-no-more-asterisks
...
Sanitize paths in all relevant ProjectEntityHandler methods
2018-10-10 10:44:13 +01:00
Alasdair Smith
250edf4670
Merge pull request #1010 from sharelatex/as-fix-no-sl
...
Switch dev env to use v2 port instead of SL
2018-10-10 10:11:16 +01:00
Nate Stemen
3548f61615
allow capital letters in ref commands e.g. \Cref
2018-10-09 14:58:02 -04:00
Simon Detheridge
32149e652f
Handle 'invalid element name' error in project list ui
...
When invalid filenames are found during project-copy, the somewhat obscure (and non-localised) 'invalid element name' error is returned. Add a special case to handle this particular error and display something more descriptive to the user.
Added a modal error handler for when this error is generated by clicking the 'copy' icon in the project list, instead of using the 'more' dropdown which opens a modal copy dialog
bug: overleaf/sharelatex#908
Signed-off-by: Simon Detheridge <s@sd.ai>
2018-10-09 17:23:43 +01:00
Ersun Warncke
8719eff1d7
update error message
2018-10-09 11:44:59 -04:00
Ersun Warncke
7652e80800
add account merge error
2018-10-09 09:47:03 -04:00
Timothée Alby
914546d7d6
Merge pull request #983 from sharelatex/ta-user-ties
...
Add Group Managers Management Page
2018-10-09 14:00:59 +01:00
Brian Gough
4efc118b9c
Merge pull request #1009 from sharelatex/bg-update-metrics-to-1.8.0
...
update to metrics v1.8.0 for metrics.globalGauge
2018-10-09 12:15:30 +01:00
Tim Alby
48e5c6b523
add UserMembership logic
2018-10-09 12:09:11 +01:00
Brian Gough
8c3b5acdd0
update to metrics v1.8.0 for metrics.globalGauge
2018-10-09 11:46:19 +01:00
Alasdair Smith
98d35b4e50
Use settings instead of hard-coding ports
2018-10-09 11:23:21 +01:00
Brian Gough
a68bde819d
Merge pull request #1004 from sharelatex/ta-test-mock-fix
...
Fix Test Mock
2018-10-09 10:35:50 +01:00
Chrystal Griffiths
7ae39a0f84
Revert to ng-show
2018-10-09 10:30:24 +01:00
Chrystal Griffiths
849c5253c7
Avoid duplicating code
2018-10-08 17:50:10 +01:00
Jessica Lawshe
8f8765a412
Merge pull request #1008 from sharelatex/ta-fix-help-link
...
fix link to link sharing help page
2018-10-08 16:09:31 +01:00
Tim Alby
cf47fc0b1c
fix link to link sharing help page
2018-10-08 16:07:11 +01:00
Simon Detheridge
56dcbefb5b
Check for safe paths in all ProjectEntityHandler methods
...
Some import mechanisms (for example, Github project import) call methods such as 'upsert*' directly, bypassing existing filename checks.
Added checks to all methods in ProjectEntityHandler that can create or rename a file.
bug: overleaf/sharelatex#908
Signed-off-by: Simon Detheridge <s@sd.ai>
2018-10-08 15:31:04 +01:00
Jessica Lawshe
d9c98aa45e
Add default Twitter and OG images
2018-10-08 15:18:18 +01:00
Simon Detheridge
e66210d2af
Add method to sanitize full paths
...
For convenience, add a method to SafePath to break a path into components and verify the status of each one.
bug: overleaf/sharelatex#908
Signed-off-by: Simon Detheridge <s@sd.ai>
2018-10-08 14:48:17 +01:00
Simon Detheridge
50993f59c0
Merge pull request #926 from sharelatex/dcl-i850
...
Display password change form in Account Settings
2018-10-08 13:59:04 +01:00
Simon Detheridge
9c189303c1
Merge pull request #1002 from sharelatex/spd-email-cta-links
...
Add additional CTA link to emails
2018-10-08 13:56:21 +01:00
Simon Detheridge
af9c9517f3
Merge pull request #999 from sharelatex/as-validate-password-length
...
Validate password length
2018-10-08 13:55:25 +01:00
hugh-obrien
f6307f9086
store reversedHostname property and update test accordingly
2018-10-08 13:37:12 +01:00
hugh-obrien
3919acad46
store reversed hostname and review fixes for v2 university domain confirmation
2018-10-08 12:08:29 +01:00
Jessica Lawshe
b78f362c53
Merge pull request #1000 from sharelatex/jel-meta-img-src
...
Handle image_src in metadata layout
2018-10-08 11:44:10 +01:00
Jessica Lawshe
97cf4886ee
Merge pull request #994 from sharelatex/jel-templates-clickable-margins
...
Styling to increase margins for clickable items on templates pages
2018-10-08 11:43:54 +01:00
Jessica Lawshe
f04212c96f
Merge pull request #995 from sharelatex/ta-remove-confirmed-field
...
remove unused confirmed field from user model
2018-10-08 11:43:42 +01:00
Alasdair Smith
e129172553
Fix ordering of boolean check to be more readable
2018-10-08 11:25:24 +01:00
Jessica Lawshe
8ef7f6c26d
Adjust margins to separate clickable items on templates
2018-10-08 11:09:06 +01:00
Alasdair Smith
f26f30e677
Fix spaces instead of tabs
2018-10-08 10:44:26 +01:00
Alasdair Smith
04572f61bb
Fix copy/paste error
2018-10-08 10:44:26 +01:00
Alasdair Smith
e37a54e254
Make error message match other styles
2018-10-08 10:44:26 +01:00
Alasdair Smith
8777b0f5f8
Style error message after moving it above inputs
2018-10-08 10:44:26 +01:00
Alasdair Smith
af499e4539
Style error message on register form
2018-10-08 10:44:26 +01:00
Alasdair Smith
2edca417b1
Reduce padding
2018-10-08 10:44:25 +01:00
Alasdair Smith
1ef947b1fe
Fix tests after refactoring register validation
2018-10-08 10:44:25 +01:00
Alasdair Smith
676557a051
Refactor to validate in AuthenticationManager
2018-10-08 10:44:25 +01:00
Alasdair Smith
44c86b3769
Refactor to use password strength options
2018-10-08 10:44:25 +01:00
Alasdair Smith
1fe8aebf5b
Add error handling for 400 responses
2018-10-08 10:44:25 +01:00
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'Brien
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
hugh-obrien
65ecdf84f4
cleanup and tests for v2 affiliations confirmation
2018-10-07 16:40:26 +01:00
hugh-obrien
af3cc01496
Lookup users by email hostname using new field
2018-10-06 17:22:39 +01:00
hugh-obrien
026f7eebcd
Setting up hostname field and institution domain confirmation endpoint
2018-10-06 15:57:25 +01:00
Tim Alby
c00a0a435d
remove console.log in tests
2018-10-05 16:24:28 +01:00
Tim Alby
7b4b75b51a
fix incorrect or missing test mocks
2018-10-05 16:24:05 +01:00
Simon Detheridge
286f25529a
Remove secondary CTA link from account merge confirmation email
...
bug: sharelatex/web-sharelatex-internal#987
Signed-off-by: Simon Detheridge <s@sd.ai>
2018-10-05 13:19:05 +01:00
Simon Detheridge
d316a76106
Revert "add plain text link to email address confirmation emails"
...
This reverts commit 48cd7e604dcc5f3b7ae8eb699f14b44bc073f107.
2018-10-05 13:16:42 +01:00
Simon Detheridge
a2ef0e1ae5
Add additional CTA link to emails
...
Some mail clients don't show the CTA button correctly, or at all. Add an additional, smaller link to the bottom of the email for people who can't see the button.
bug: sharelatex/web-sharelatex-internal#987
Signed-off-by: Simon Detheridge <s@sd.ai>
2018-10-05 12:04:00 +01:00
Chrystal Griffiths
d51549c4f0
Use ng-if to switch between pdf and editor
2018-10-05 11:19:20 +01:00
Jessica Lawshe
6692d06e5f
Handle image_src in metadata layout
...
The CMS is already using `image`, which is an object based on data from the API.
2018-10-05 11:06:21 +01:00
Shane Kilkelly
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
70b56d0362
Fix up acceptance tests
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
Chrystal Maria Griffiths
6b8eb0ac23
Merge pull request #996 from sharelatex/jel-meta-img
...
Update default meta images
2018-10-04 15:01:19 +01:00
Chrystal Maria Griffiths
e932eb074b
Merge pull request #992 from sharelatex/as-fix-mathjax
...
Fix mathjax incorrectly loading config
2018-10-04 15:01:05 +01:00
Chrystal Griffiths
13843f82a0
Use settings appName
2018-10-04 09:57:51 +01:00
Jessica Lawshe
bbe847c16d
Update default meta images
...
Favicons are not picked up by social sites.
2018-10-03 17:34:40 +01:00
Tim Alby
5ff66187a0
remove unused confirmed field from user model
2018-10-03 16:01:30 +01:00
Ersun Warncke
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 Alby
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 Alby
c74c782cee
Merge pull request #961 from sharelatex/ta-account-sync-affiliations
...
Add getInstitutionsPlan Function
2018-10-03 14:19:56 +01:00
Alasdair Smith
fb8ed890f9
Correctly load Safe mathjax extention using provided config
2018-10-03 11:52:33 +01:00
Brian Gough
ecdd00ecb9
Merge pull request #980 from sharelatex/jel-viewport-metatag
...
Add viewport metatag
2018-10-03 10:10:22 +01:00
Brian Gough
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
Douglas Lovell
4a846e4d87
Merge branch 'master' into dcl-i850
2018-10-02 16:04:39 +01:00
Alasdair Smith
10571b09f3
Merge pull request #979 from sharelatex/jel-content-links
...
Content pages link colors
2018-10-02 14:07:10 +01:00
Alasdair Smith
f90dd1b49a
Merge pull request #986 from sharelatex/as-sign-in-from-v2-post
...
Remove POST /docs custom handler, now handled by redirects
2018-10-02 14:06:57 +01:00
Brian Gough
4621234220
clean up broken project on error in ProjectDuplicator
2018-10-02 12:14:22 +01:00
Jessica Lawshe
96b4f7edb3
Use viewport metatag on SL pw reset
2018-09-28 15:22:24 -05:00
Jessica Lawshe
40bc5564b6
Use viewport metatag on SL login
2018-09-28 15:14:05 -05:00
Jessica Lawshe
297f61da04
Add viewport metatag
2018-09-28 14:16:32 -05:00
Alasdair Smith
062f26dda3
Remove POST /docs custom handler, now handled by redirects
...
Implementing a system for signing into v1 via v2 using POSTs so the
unauthenticated route is no longer necessary
2018-09-28 14:11:38 +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 Gough
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
Alasdair Smith
45bd46bc01
Merge pull request #977 from sharelatex/as-encode-auth-with-v1-query-strings
...
Encode redirects which will auth with v1 first
2018-09-28 09:45:54 +01:00
Jessica Lawshe
0ff6ef0748
Ensure Wiki search link color property set on hover
2018-09-27 11:52:38 -05:00
Jessica Lawshe
23c9c719af
Update hover color for tabs
2018-09-27 11:52:30 -05:00
Jessica Lawshe
69421cb7b7
Add hover color for content page links
2018-09-27 11:52:09 -05: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
Alasdair Smith
4f2c91a59a
Add new redirect option to auth with v1, which will urlencode the query string
...
This is necessary for the GET /docs endpoint, which can be used to send
urls as part of query parameters. If these are not encoded before
redirecting, they can become corrupted.
2018-09-27 12:19:16 +01:00
James Allen
0cb563816d
Don't enable legacy blog in v2
2018-09-27 10:56:14 +01:00
Jessica Lawshe
aaac1fabfd
Set width for iframes on blog posts
2018-09-26 12:45:50 -05:00
Alasdair Smith
c2ecccfa02
Use correct setting
2018-09-26 17:35:55 +01:00
Alasdair Smith
f2fa83a218
Fix /teams redirect using wrong setting
2018-09-26 17:04:40 +01:00
Alasdair Smith
9c0a888d11
Add custom redirect for /docs
...
We want to redirect POST and GET to different locations, but this is
unsupported by RedirectManager. Therefore we redirect GETs with
RedirectManager and POSTs with this custom route.
2018-09-26 17:04:40 +01:00
James Allen
8ebfd7882d
Add logos for homepage
2018-09-26 10:34:50 +01:00
Jessica Lawshe
208ed3cec8
Merge pull request #967 from sharelatex/jel-content-pages-styling
...
Content pages styling
2018-09-25 13:42:06 -05:00
Ersun Warncke
a23f0a3d15
fix test failure from merge
2018-09-25 08:54:01 -04:00
Ersun Warncke
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
Paulo Reis
b8baf1a6f4
Hide front chat widget via code.
2018-09-25 10:30:13 +01:00
James Allen
1d657e1700
Merge pull request #968 from sharelatex/ja-show-register-button
...
Show register button on OL v2
2018-09-25 10:25:38 +01:00
James Allen
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
da16e8d01f
Add acceptance test for unimported read only token
2018-09-25 09:43:39 +01:00
Alasdair Smith
ca895ae1b1
Redirect to v1 via sign in link
2018-09-25 09:37:22 +01:00
Brian Gough
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
a524f99fbf
Merge pull request #957 from sharelatex/hb-force-v1-image-templates
...
Force gallery items to use legacy OL v1 texlive image
2018-09-25 09:27:54 +01:00
Brian Gough
fee9358a45
Merge pull request #939 from sharelatex/bg-temporarily-disable-chktex
...
temporarily disable syntax checking
2018-09-25 09:27:33 +01:00
Brian Gough
0d4143205d
strip quotes from mainFile
2018-09-25 09:05:49 +01:00
James Allen
19b97e953f
Show register button on OL v2
2018-09-25 08:29:34 +01:00
Ersun Warncke
f89e85231a
check access for doc on read only token
2018-09-24 18:03:28 -04:00
Jessica Lawshe
670129049f
Fix text wrapping on quotes
2018-09-24 16:12:13 -05:00
Jessica Lawshe
7fddf58916
Green tab links
2018-09-24 16:05:28 -05:00
Jessica Lawshe
d6126719bc
Alternate <hr> color for content pages
2018-09-24 15:59:44 -05:00
Jessica Lawshe
dc9e317f8f
Merge pull request #962 from sharelatex/jel-tab-lists
...
Tab header styling
2018-09-24 14:23:25 -05:00
Jessica Lawshe
16d1c13566
Merge pull request #956 from sharelatex/jel-margins
...
Margins on content pages
2018-09-24 14:23:10 -05: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
Jessica Lawshe
530a3b0d44
Tab header styling
...
li styling was being applied to nested lists in the tab, but this was only meant for the tab headers list
2018-09-24 10:22:22 -05:00
Brian Gough
418bc10a18
allow getting doc paths by project id
2018-09-24 16:04:23 +01:00
Brian Gough
5954e45016
add missing require
2018-09-24 15:44:09 +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
Douglas Lovell
bfb369fab0
Merge branch 'master' into dcl-i850
...
Conflicts repaired:
app/views/user/settings.pug
modified: app/coffee/Features/Authentication/AuthenticationController.coffee
modified: app/coffee/Features/Editor/EditorHttpController.coffee
modified: app/coffee/Features/Email/EmailBuilder.coffee
modified: app/coffee/Features/Errors/Errors.coffee
modified: app/coffee/Features/Exports/ExportsController.coffee
modified: app/coffee/Features/Exports/ExportsHandler.coffee
modified: app/coffee/Features/Notifications/NotificationsBuilder.coffee
modified: app/coffee/Features/Notifications/NotificationsHandler.coffee
modified: app/coffee/Features/Project/ProjectController.coffee
modified: app/coffee/Features/StaticPages/HomeController.coffee
modified: app/coffee/Features/Subscription/planFeatures.coffee
modified: app/coffee/Features/TokenAccess/TokenAccessController.coffee
modified: app/coffee/Features/TokenAccess/TokenAccessHandler.coffee
modified: app/coffee/Features/User/UserGetter.coffee
modified: app/coffee/infrastructure/RedirectManager.coffee
modified: app/coffee/infrastructure/Server.coffee
modified: app/coffee/models/User.coffee
modified: app/coffee/router.coffee
modified: app/views/_mixins/links.pug
modified: app/views/general/500.pug
modified: app/views/layout/navbar.pug
modified: app/views/project/editor/header.pug
modified: app/views/project/editor/share.pug
modified: app/views/project/list.pug
modified: app/views/project/list/modals.pug
modified: app/views/project/list/notifications.pug
modified: app/views/project/list/side-bar.pug
modified: app/views/project/list/v1-item.pug
modified: app/views/subscriptions/_modal_group_inquiry.pug
modified: app/views/subscriptions/dashboard.pug
modified: app/views/user/settings.pug
modified: config/settings.defaults.coffee
modified: npm-shrinkwrap.json
modified: package.json
new file: public/apple-touch-icon.png
new file: public/atlassian-domain-verification.html
modified: public/coffee/ide/editor/directives/aceEditor.coffee
modified: public/coffee/ide/editor/directives/aceEditor/cursor-position/CursorPositionManager.coffee
modified: public/coffee/ide/share/controllers/ShareController.coffee
modified: public/coffee/main.coffee
deleted: public/coffee/main/account-merge-checker.coffee
modified: public/coffee/main/contact-us.coffee
modified: public/coffee/main/project-list/left-hand-menu-promo-controller.coffee
new file: public/google4f15e48c48709a75.html
new file: public/googleef256f97939bd9b7.html
new file: public/img/advocates/friend.jpeg
new file: public/img/grid.png
new file: public/img/homepage.png
new file: public/img/homepage@2x.png
new file: public/img/other-brands/logo_google.svg
new file: public/img/other-brands/logo_google_alt.svg
new file: public/img/other-brands/logo_ieee.svg
new file: public/img/other-brands/logo_orcid.svg
new file: public/img/other-brands/logo_orcid_alt.svg
new file: public/img/other-brands/logo_sharelatex.svg
new file: public/img/other-brands/logo_twitter.svg
new file: public/img/overleaf-partner/overleaf-greygreen-410.png
new file: public/img/overleaf-partner/overleaf-white-410.png
new file: public/static/brochures/Overleaf-Information-v8.pdf
new file: public/static/brochures/Overleaf-Institutional-Solutions-v1.pdf
new file: public/static/brochures/Overleaf-Tri-Fold-leaflet.pdf
new file: public/static/brochures/Overleaf-request-for-service.pdf
new file: public/static/brochures/Overleaf_Institutional.pdf
new file: public/static/campus-challenge/campus-challenge-2016-flyer.pdf
new file: public/static/campus-challenge/campus-challenge-2016-poster.pdf
new file: public/static/campus-challenge/campus-challenge-2017-flyer.pdf
new file: public/static/campus-challenge/campus-challenge-2017-poster.pdf
new file: public/static/latex/learn/free-online-introduction-to-latex-part-1.pdf
new file: public/static/latex/learn/free-online-introduction-to-latex-part-2.pdf
new file: public/static/latex/learn/free-online-introduction-to-latex-part-3.pdf
new file: public/static/partners/caltech-library.gif
new file: public/static/partners/stanford-building.jpg
modified: public/stylesheets/_ol_style_includes.less
modified: public/stylesheets/app/blog-posts.less
modified: public/stylesheets/app/cms-page.less
new file: public/stylesheets/app/content_page.less
modified: public/stylesheets/app/editor/share.less
modified: public/stylesheets/app/editor/toolbar.less
modified: public/stylesheets/app/features.less
modified: public/stylesheets/app/homepage.less
new file: public/stylesheets/app/login-register.less
modified: public/stylesheets/app/plans.less
modified: public/stylesheets/app/portals.less
modified: public/stylesheets/app/templates-v2.less
modified: public/stylesheets/app/wiki.less
modified: public/stylesheets/components/alerts.less
modified: public/stylesheets/components/buttons.less
modified: public/stylesheets/components/icons.less
new file: public/stylesheets/components/images.less
new file: public/stylesheets/components/tabs.less
modified: public/stylesheets/core/_common-variables.less
modified: public/stylesheets/core/ol-variables.less
modified: public/stylesheets/ol-style.less
modified: test/acceptance/coffee/ExportsTests.coffee
new file: test/acceptance/coffee/RedirectUrlsTests.coffee
modified: test/acceptance/coffee/TokenAccessTests.coffee
modified: test/acceptance/coffee/helpers/User.coffee
modified: test/acceptance/config/settings.test.coffee
modified: test/unit/coffee/Authentication/AuthenticationControllerTests.coffee
modified: test/unit/coffee/Editor/EditorHttpControllerTests.coffee
modified: test/unit/coffee/Exports/ExportsControllerTests.coffee
modified: test/unit/coffee/Exports/ExportsHandlerTests.coffee
new file: test/unit/coffee/Notifications/NotificationsBuilderTests.coffee
modified: test/unit/coffee/Project/ProjectControllerTests.coffee
modified: test/unit/coffee/TokenAccess/TokenAccessControllerTests.coffee
modified: test/unit/coffee/User/UserGetterTests.coffee
deleted: test/unit/coffee/infrastructure/RedirectManagerTests.coffee
2018-09-24 09:11:48 -03: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
Paulo Reis
1bf09e3928
Adjust checkbox padding.
2018-09-24 10:38:18 +01:00
Paulo Reis
6c3c51c44e
Use less padding in the login and register forms.
2018-09-24 10:24:12 +01:00
Paulo Reis
69771257ff
Adapt styles to get a nicer responsive behaviour.
2018-09-24 08:34:50 +01:00
Shane Kilkelly
7d5bd74c43
Enable legacy login for tests
2018-09-24 08:34:50 +01:00
Jessica Lawshe
1e4e22c472
Add margin to register button
2018-09-24 08:34:50 +01:00
Paulo Reis
be9045c7ed
Add styles for homepage too; add alternative versions of the register buttons.
2018-09-24 08:34:50 +01:00
Paulo Reis
70e99d4001
Add styles for the newsletter checkbox.
2018-09-24 08:34:50 +01:00
Paulo Reis
b008d163e7
Add login and register styles.
2018-09-24 08:34:50 +01:00
Paulo Reis
062bf0cd87
Add brand assets for login and register.
2018-09-24 08:34:50 +01:00
Jessica Lawshe
b8fb750c16
Bottom margin for tab nav only on portals
2018-09-21 17:11:47 -05:00
Jessica Lawshe
7fc0ab36b3
CMS pages margin
2018-09-21 17:09:08 -05:00
Jessica Lawshe
b85fd183a1
Merge pull request #955 from sharelatex/jel-tabs-active
...
Keep border on hover for active tab
2018-09-21 13:38:33 -05:00
Jessica Lawshe
55fb33c2c1
Merge pull request #948 from sharelatex/jel-content-pages-link-color
...
Content pages link color
2018-09-21 13:38:18 -05:00
Jessica Lawshe
e1dd35e759
Keep border on hover for active tab
2018-09-21 12:26:49 -05:00
James Allen
9e827be3ed
Merge pull request #951 from sharelatex/as-copy-v1-assets
...
Copy assets from v1
2018-09-21 17:41:55 +01:00
James Allen
ea9f788fc1
Merge pull request #954 from sharelatex/cmg-better-buttons
...
Improve gallery detail
2018-09-21 17:41:43 +01:00
Chrystal Griffiths
e3b47047ab
Buttons on left
2018-09-21 16:28:04 +01:00
Alasdair Smith
c1195cadcf
Add renamed apple-touch-icon for v1 url interop
2018-09-21 15:49:04 +01:00
Alasdair Smith
b6c794f627
Ensure brand prefixed favicon is used
2018-09-21 15:44:36 +01:00
Alasdair Smith
5481ceefdd
Copy static assets from v1
2018-09-21 14:59:47 +01:00
Alasdair Smith
1c1d5065a2
Move to publi/img dir
2018-09-21 14:59:25 +01:00
Alasdair Smith
11fd4f9a66
Copy overleaf partner files
2018-09-21 14:17:39 +01:00
Alasdair Smith
a2ed46a394
Add atlassian & google verification files
2018-09-21 14:01:26 +01:00
Alasdair Smith
945894e89e
Reset showNavItem bool if fails check
2018-09-21 12:53:57 +01:00
James Allen
91ee445277
Merge pull request #936 from sharelatex/cmg-gallery-styling
...
Extra v2 gallery styling
2018-09-21 11:06:25 +01:00
Chrystal Griffiths
af0d67d379
Change styles to accommodate masonry changes
2018-09-21 10:50:46 +01:00
James Allen
772ac42005
Fix messed up rebase
2018-09-21 10:42:20 +01:00
Alasdair Smith
3462b8042e
Add /chrome redirect to match v1 behaviour
2018-09-21 10:35:43 +01:00
James Allen
c0dee4508e
Merge pull request #949 from sharelatex/jel-blog-style-tag-figure
...
Blog tag and <figure> styling
2018-09-21 10:34:00 +01:00
Alasdair Smith
4b9038ed50
Don't let caption titles overflow
2018-09-21 10:19:40 +01:00
Chrystal Griffiths
5f665252d5
Add margin-bottom to tags
2018-09-21 10:16:03 +01:00
James Allen
2d9cadb487
Merge pull request #935 from sharelatex/as-teams-redirect
...
Add route to handle /teams similar to v1
2018-09-21 08:37:10 +01:00
James Allen
4d00227924
Merge pull request #945 from sharelatex/sk-disable-public-registration
...
Add the enableLegacyRegistration option to acceptance test settings
2018-09-21 08:37:02 +01:00
Jessica Lawshe
51ed62851c
Style <figures> on blog
...
Mimic v1 styling
2018-09-20 19:50:31 -05:00
Jessica Lawshe
87b047e368
Add padding-bottom to blog tags
2018-09-20 19:36:14 -05:00
Jessica Lawshe
987451aba9
Content pages link color
2018-09-20 17:30:50 -05:00
Jessica Lawshe
bfcb91e60f
Hide content page links in nav when on dash
2018-09-20 11:16:18 -05:00
Alasdair Smith
6f794c32e1
Fix tab link hover styles applying to all children
2018-09-20 15:41:41 +01:00
Alasdair Smith
bc1a8953a1
Remove fixed heights, moving to masonry layout
2018-09-20 15:41:41 +01:00
Jessica Lawshe
89c381086b
Remove fixed height and add masonry-based layout
2018-09-20 15:41:41 +01:00
Chrystal Griffiths
6cbab69444
Remove style covered by autoprefixer
2018-09-20 15:41:41 +01:00
Alasdair Smith
ed7c5f32b0
Move styles on element to class
2018-09-20 15:41:41 +01:00
Alasdair Smith
630f15e8ea
Fix flex links not overflowing correctly and refactor
2018-09-20 15:41:41 +01:00
Chrystal Griffiths
6576d95e27
Don't stretch images
2018-09-20 15:41:41 +01:00
Chrystal Griffiths
82cd857e83
Set fixed height for portal titles
2018-09-20 15:41:41 +01:00
Shane Kilkelly
eff7b4d59e
Add the enableLegacyRegistration option to acceptance test settings
2018-09-20 15:34:14 +01:00
Jessica Lawshe
488886c1d2
Merge pull request #929 from sharelatex/jel-homepage
...
Add Homepage
2018-09-20 09:01:13 -05:00
Jessica Lawshe
d2af2fb630
Merge pull request #927 from sharelatex/jel-plans-updates
...
Plans page updates
2018-09-20 09:00:58 -05:00
Jessica Lawshe
50e53a57a3
Add advocate image
2018-09-20 08:57:07 -05:00
Jessica Lawshe
c408b14bc5
Homepage images
2018-09-20 08:57:07 -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
Jessica Lawshe
4640756fb8
Add .btn-xl styling
2018-09-20 08:57:06 -05:00
Jessica Lawshe
f60f48e396
Add .alert-alt styling
2018-09-20 08:57:06 -05:00
Ersun Warncke
256e374af0
update shrinkwrap
2018-09-19 12:13:14 -04:00
Ersun Warncke
48eb49a763
add sso passport modules
2018-09-19 10:20:27 -04:00
Brian Gough
5c69b6d12c
temporarily disable syntax checking
2018-09-19 14:30:30 +01:00
Shane Kilkelly
7781181ab9
Merge pull request #941 from sharelatex/sk-fix-removed-js-module
...
This module has been removed. Remove from the main frontend bundle too
2018-09-19 14:11:23 +01:00
Shane Kilkelly
eb128e6d1b
This module has been removed. Remove from the main frontend bundle too
2018-09-19 14:01:06 +01:00
Hugh O'Brien
8805447bb9
Revert "Add notification to confirm unconfirmed emails"
2018-09-19 12:28:39 +01:00
Douglas Lovell
98be2c2bf5
Update wording and endpoint for change password form
2018-09-19 07:58:04 -03:00
Hugh O'Brien
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
Hugh O'Brien
78ad6e7e5c
Merge pull request #915 from sharelatex/hb-affiliation-cta
...
Replace profile completion CTA with affiliations CTA
2018-09-19 11:32:55 +01:00
Hugh O'Brien
18e706c4b2
Merge pull request #917 from sharelatex/hb-confirm-email-notification
...
Add notification to confirm unconfirmed emails
2018-09-19 11:32:44 +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
Shane Kilkelly
c95d925d56
When regenerating session, don't copy the __tmp
key
2018-09-19 09:28:59 +01:00
Shane Kilkelly
c9e3418049
Working overleaf-side of account-merge
2018-09-19 09:28:59 +01:00
Shane Kilkelly
fcfcbdb4c5
Remove dead code
2018-09-19 09:28:59 +01:00
Shane Kilkelly
fc0a4298f1
Move scripts related to account-merge checker to relevant modules
2018-09-19 09:28:59 +01:00
Shane Kilkelly
d0be98e89c
Move the account-merge-finish page to the integration module
2018-09-19 09:28:59 +01:00
Shane Kilkelly
677b3c759d
Remove old controller
2018-09-19 09:28:59 +01:00
Shane Kilkelly
843f1c6b35
Move AccountMergeEmailController to integration module
2018-09-19 09:28:59 +01:00
Shane Kilkelly
54a5c563fb
Address feedback
2018-09-19 09:28:59 +01:00
Shane Kilkelly
b0e4b12714
Finish off the copy of the account-merge-finish page
2018-09-19 09:28:59 +01:00
Shane Kilkelly
5e17dfd1cb
Also add the final email to the array of emails on the account
2018-09-19 09:28:59 +01:00
Shane Kilkelly
efb6018246
Add a rate-limit to the email-confirm endpoint
2018-09-19 09:28:59 +01:00
Shane Kilkelly
6cfe68db26
Roughly working account-merge-by-email callback endpoint
2018-09-19 09:28:59 +01:00
Shane Kilkelly
958c7a19b6
Add a skeleton of a callback endpoint for merging accounts via email
2018-09-19 09:28:59 +01:00
Shane Kilkelly
ba221a1135
WIP: add email-based account merge flow to ShareLaTeX
2018-09-19 09:28:59 +01:00
Alasdair Smith
bdcc25805e
Add route to handle /teams similar to v1
2018-09-18 17:14:37 +01:00
Brian Gough
02854274a7
2018-09-18 14:09:05 +01:00
Douglas Lovell
4abbc5d569
Password change form conditioned on installation
2018-09-18 09:10:33 -03:00
hugh-obrien
277225d8de
use existing left sidebar controller for affiliation cta
2018-09-18 13:06:26 +01:00
Timothée Alby
b16cffe587
Merge pull request #932 from sharelatex/as-redirect-query-string
...
Support passing through query params in redirects
2018-09-18 12:35:21 +01:00
Timothée Alby
b6925647ef
Merge pull request #922 from sharelatex/ta-forbid-null-query
...
Prevent Calls to UserGetter.getUser with Null Query
2018-09-18 12:24:19 +01:00
Timothée Alby
7981d867e8
Merge pull request #924 from sharelatex/ta-sign-in-v1
...
Change Links to v1 to Sign User In
2018-09-18 12:24:08 +01:00
Alasdair Smith
7e358ab318
Support passing through query params
2018-09-18 11:34:04 +01:00
hugh-obrien
2d40c3d21a
Use existing notification styling
2018-09-18 11:01:10 +01:00
hugh-obrien
f76ff55b6f
email alert styling
2018-09-18 10:54:20 +01:00
hugh-obrien
e343c04423
add notification to confirm unconfirmed emails
2018-09-18 10:54:20 +01:00
hugh-obrien
39f580d6ba
fixing broken exports test
2018-09-18 10:13:33 +01:00
hugh-obrien
6f00d1f45a
send required export fields for s1 submission
2018-09-18 10:05:35 +01:00
Jessica Lawshe
203c005f26
Merge pull request #928 from sharelatex/jel-content-updates
...
Link mixin paths and universities list styling
2018-09-17 13:16:52 -05:00
Jessica Lawshe
6fc7468b02
Thousands of templates
2018-09-17 10:47:57 -05:00
Jessica Lawshe
4f5c12e9ac
More specific group contact controller name and email subject
...
This form is only used on the group contact modal.
2018-09-17 10:47:57 -05:00
Jessica Lawshe
08a9534f8c
Vertically align universities list items
2018-09-17 10:45:59 -05:00
Jessica Lawshe
66bfbce45f
Correct link mixin paths
2018-09-17 09:46:34 -05:00
James Allen
15103ac894
Support the same URL with multiple methods in redirects
2018-09-17 15:38:58 +01:00
James Allen
83a1039b7e
Add acceptance tests for RedirectManager
2018-09-17 15:38:58 +01:00
James Allen
40f08d1592
Add additional functionality to RedirectManager
2018-09-17 15:38:45 +01:00
Chrystal Maria Griffiths
784984dd78
Merge pull request #923 from sharelatex/cmg-share-modal
...
Show share button for collaborators
2018-09-17 15:19:44 +01:00
Alasdair Smith
42cef8e393
Merge pull request #920 from sharelatex/mm-gallery-exports
...
Add gallery fields to export controller and handler
2018-09-17 09:42:26 +01:00
Alasdair Smith
e1e7091f30
Merge pull request #905 from sharelatex/as-project-intelligent-redirect
...
Intelligently redirect to v1 if no v2 project found
2018-09-17 09:40:52 +01:00
Douglas Lovell
7d10e64840
Alter endpoint for account settings, change password form submission.
2018-09-14 16:19:02 -03:00
Jessica Lawshe
c8b803681e
Set max-width for <video> on CMS pages
2018-09-14 10:48:56 -05:00
Jessica Lawshe
bcd465a35d
Allow <video> and <source> in sanitized HTML
2018-09-14 10:36:46 -05:00
Tim Alby
09c92c0b69
don't encode /
2018-09-14 16:09:24 +01:00
Tim Alby
2e4d3d7aab
change links to v1 to sign user in first
2018-09-14 14:26:16 +01:00
Tim Alby
41b92d4647
prevent calls to UserGetter.getUser with null query
2018-09-14 12:46:00 +01:00
Chrystal Griffiths
6334066d2d
Merge branch 'master' into cmg-share-modal
2018-09-14 12:09:10 +01:00
Chrystal Griffiths
915bd18058
Read-only collaborators table
2018-09-14 11:47:18 +01:00
Michael Mazour
79dc415064
Slightly refactor exports controller body handling
...
1. Move all body parsing together
2. Remove `firstName && lastName` condition, which duplicates one present in the Handler.
2018-09-14 11:02:51 +01:00
Michael Mazour
10fcdd6daf
Add optional gallery fields to export request
...
Support the optional (well, gallery-only) fields `title`, `description`, `author`, `license`, and `show_source` in export requests.
2018-09-14 11:02:51 +01:00
Chrystal Griffiths
3b43cf9075
Slight copy change
2018-09-13 17:57:11 +01:00
Tim Alby
0051e59309
remove unused call to UserGetter.getUser
2018-09-13 17:39:30 +01:00
Chrystal Griffiths
b51fc01bde
Remove temporary solution
2018-09-13 17:17:18 +01:00
James Allen
ef11161ddb
Revert "Record and show last modified by user for projects"
2018-09-13 14:00:30 +01:00
hugh-obrien
26defd0833
reword CTA
2018-09-13 13:54:43 +01:00
hugh-obrien
8697edc149
replace profile completion CTA with affiliationa adding CTA
2018-09-13 12:34:18 +01:00
Michael Mazour
1f976a0e04
Improve ExportsController unit tests
...
Test the params the handler's called with.
2018-09-13 12:24:03 +01:00
Chrystal Griffiths
57ac858004
Style the notice
2018-09-13 12:19:44 +01:00
Alasdair Smith
f37040e4a4
Only redirect if has overleaf setting
2018-09-13 12:09:19 +01:00
Alasdair Smith
8a969d1c25
Redirect directly from controller instead of via handler
2018-09-13 12:09:19 +01:00
Alasdair Smith
0c658127ef
Add tests for ProjectNotTokenAccessError
2018-09-13 12:09:19 +01:00
Alasdair Smith
893e2dd235
Add test for location of redirect to v1
2018-09-13 12:09:19 +01:00
Alasdair Smith
9d600afdf8
Fix failing tests for token access
...
If project was changed from token access to private, then we want to
404 on v2 (not redirect to v1). So the logic was changed to check if the
project exists and if it does then a 404 is returned. If it does not
then it redirects to v1.
2018-09-13 12:09:19 +01:00
Alasdair Smith
cf8ae7c28c
Add test for redirecting to v1 if project unimported
2018-09-13 12:09:19 +01:00
Alasdair Smith
24495f3340
Also redirect not found read tokens to v1
2018-09-13 12:09:19 +01:00
Alasdair Smith
e0ce988d32
Intelligently redirect to v1 if no v2 project found for token
2018-09-13 12:09:19 +01:00
James Allen
5dbebc0693
Translate 'by'
2018-09-13 10:38:52 +01:00
James Allen
ab871b9ba7
Fix tabs vs spaces
2018-09-13 10:38:52 +01:00
James Allen
dd4b85b809
Combine v1 and v2 projects into item.pug
2018-09-13 10:38:52 +01:00
James Allen
225d30ffd2
Add missed lines from rebase
2018-09-13 10:38:52 +01:00
James Allen
c072961183
Update project-list list to a table and show last updated user
2018-09-13 10:38:52 +01:00
James Allen
ab10336110
Record last update time and user from project-history
2018-09-13 10:38:52 +01:00
Hugh O'Brien
24c479e984
Merge pull request #885 from sharelatex/hb-ip-matcher-notifications
...
IP matcher affiliation CTA notifications
2018-09-13 08:59:25 +01:00
Jessica Lawshe
75a6b8f32b
Move custom tab styling to file
...
Custom tab styling was nested within a portal class. This styling is also needed on the CMS pages.
2018-09-12 16:34:38 -05:00
Brian Gough
6d54e843e8
fix typo in Errors, only two underscores in __proto__
2018-09-12 10:45:50 +01:00
Jessica Lawshe
f7e4750df6
Merge pull request #903 from sharelatex/as-cursor-position-change-editor
...
Store cursor & line position when switching editor
2018-09-11 10:44:24 -05:00
Jessica Lawshe
66e288864b
Wiki and CMS images height and width
2018-09-11 07:46:38 -05:00
Douglas Lovell
0ecda4e093
Display password change from in Account Settings
2018-09-10 14:53:33 -03:00
Ersun Warncke
7d3e17651f
set options and method for request, pass cookies and form body
2018-09-10 06:10:36 -04:00
Ersun Warncke
dd056e36ae
add overleaf method
2018-09-10 06:10:36 -04:00
Alasdair Smith
b6a4bb74f8
Store cursor & line position when switching editor
...
When tearing down the source editor, we need to store the updated cursor
position, so that the position can be moved to when opening the rich
text editor.
2018-09-10 11:02:08 +01:00
hugh-obrien
1e04a09ec6
remove unnecessary error returns and ip fetching
2018-09-07 18:15:32 +01:00
Chrystal Griffiths
46eadfada4
Conditionally show sharing bits
2018-09-07 17:23:03 +01:00
Shane Kilkelly
eba14ee7d6
Merge pull request #874 from sharelatex/dcl-olsl760b
...
Stylesheet for publish modal
2018-09-07 10:27:11 +01:00
Chrystal Griffiths
0d283f103a
Move remaining new styles to v2-templates
2018-09-06 15:21:19 +01:00
Chrystal Griffiths
f3c47320cf
Tidy up
2018-09-06 15:21:19 +01:00
Chrystal Griffiths
6c7301fb09
Templates detail page
2018-09-06 15:20:03 +01:00
Chrystal Maria Griffiths
59ae0efad7
Templates index page
2018-09-06 15:20:03 +01:00
Jessica Lawshe
aa2f6ad0dd
Merge pull request #880 from sharelatex/jel-v2-launch-plans
...
Launch v2 Plans Page
2018-09-06 08:51:05 -05:00
Shane Kilkelly
3d369b725c
Add another confirmation checkbox to account-delete.
...
This confirms the user understands they will lose both their OL v2 and SL
accounts, and their projects.
2018-09-06 11:35:28 +01:00
hugh-obrien
8ef90a0dcb
move call for creating ip matched notifcation to project controller
2018-09-05 15:40:59 +01:00
Jessica Lawshe
c3c2e524f5
Add quotes
2018-09-05 08:14:32 -05:00
Jessica Lawshe
40a412b6b9
Remove plans message about v2 beta
2018-09-05 08:14:05 -05:00
Jessica Lawshe
65b2715e62
Remove unused layout for v2 plans
2018-09-05 08:14:05 -05:00
Jessica Lawshe
a4956294c1
Remove plans redirect
2018-09-05 08:14:05 -05:00
Shane Kilkelly
f0d17c1db7
Merge pull request #894 from sharelatex/as-fix-homepage-cta
...
Fix height issue on homepage for smaller screens
2018-09-05 11:47:02 +01:00
Tim Alby
9ec60a128a
add userHasSubscriptionOrIsGroupMember alias
2018-09-05 11:37:37 +01:00
hugh-obrien
5605e1c5c3
update copy for ip match notifications
2018-09-05 11:22:26 +01:00
hugh-obrien
23e6292fd7
updating tests for ip matcher logic
2018-09-05 11:22:26 +01:00
hugh-obrien
f20d27986b
create ip match notifications without forcing replacement
2018-09-05 11:22:26 +01:00
hugh-obrien
d950e14b3f
use new routes and params from v1 ip matcher endpoint
2018-09-05 11:22:26 +01:00
hugh-obrien
bf2ea4e7b3
test against ip matcher for notification on login if different from previous ip
2018-09-05 11:22:26 +01:00
hugh-obrien
de83df2703
adding tests for ip matching notifications
2018-09-05 11:22:25 +01:00
hugh-obrien
38faa5c25e
correctly create and display ip matched affiliations
2018-09-05 11:22:25 +01:00
hugh-obrien
fa23ea75b8
Call university ip matcher api when checking notifications
2018-09-05 11:22:25 +01:00
James Allen
24f60bf791
Don't include the license name twice in invite emails
2018-09-05 11:05:38 +01:00
Alasdair Smith
455e682fac
Fix height issue on small screens
2018-09-05 11:00:30 +01:00
Shane Kilkelly
d432b6799f
Merge pull request #888 from sharelatex/ta-v1-subscription-check-fix
...
Don't Regard v1 Teams as Paid Subscriptions
2018-09-05 10:22:46 +01:00
Shane Kilkelly
81c845850e
Merge pull request #889 from sharelatex/sk-update-account-delete-wording-v1
...
Account-delete, clarify what happens to v1 account and projects
2018-09-05 10:22:32 +01:00
Christopher Hoskin
c3e64b12cf
Remove 'beta' from v2 welcome text
2018-09-04 15:11:27 +01:00
Shane Kilkelly
680654f7e7
Account-delete, clarify what happens to v1 account and projects
2018-09-04 13:31:22 +01:00
Douglas Lovell
15a54d8228
Style for label alignment on text area
2018-09-04 08:53:29 -03:00
Douglas Lovell
fa7f8ebfed
Styling tweaks to Gallery publish dialog
2018-09-04 07:22:58 -03:00
Ersun Warncke
e4e6a0fa1b
add new tag methods
2018-09-03 10:40:28 -04:00
Tim Alby
3324796086
don't regard v1 teams as paid subscriptions
...
- use `userHasV1Subscription` instead of `userHasV1SubscriptionOrTeam` in `LimitationsManager.userHasSubscriptionOrIsGroupMember `
- remove `userHasV1SubscriptionOrTeam`
- rename `LimitationsManager.userHasSubscriptionOrIsGroupMember` to `LimitationsManager.hasPaidSubscription`
- rename some variables for clarity
2018-09-03 15:09:57 +01:00
James Allen
5025b54c9c
Merge pull request #887 from sharelatex/as-logout-of-v1
...
Extract logout to function, so different redirect can be called
2018-09-03 14:04:22 +01:00
Alasdair Smith
53bd2cfd33
Add error handling on logout
2018-09-03 11:46:36 +01:00
Alasdair Smith
6569e34873
Extract logout to function, so different redirect can be called
2018-09-03 11:01:14 +01:00
Douglas Lovell
1965967361
Use less vertical space in gallery publish modal
2018-09-03 06:51:15 -03:00
Shane Kilkelly
7be716e889
Merge pull request #879 from sharelatex/sk-handle-user-account-delete
...
Sk handle user account delete
2018-09-03 10:41:49 +01:00
Shane Kilkelly
bafcf24cc9
Add missing column class to the change-password panel
2018-09-03 10:21:45 +01:00
Shane Kilkelly
1776482159
Update wording of the change-password instruction
2018-09-03 10:21:45 +01:00
Shane Kilkelly
0300ffbdc6
Bonus, add a link to the v1 settings page to change password
2018-09-03 10:21:45 +01:00
Shane Kilkelly
27a2e06d7b
Revert "Move the new logic to the externalAuthenticationSystemUsed
function"
...
This reverts commit 34009fbf59cc6597b08e9262ea274ce266baa8fe.
2018-09-03 10:21:45 +01:00
Shane Kilkelly
40a500648c
Move the new logic to the externalAuthenticationSystemUsed
function
2018-09-03 10:21:45 +01:00
Shane Kilkelly
be6720d805
Add a janky warning that this action will delete the account on v1 also.
2018-09-03 10:21:45 +01:00
Shane Kilkelly
9141f678b1
Show the account delete option on v2
2018-09-03 10:21:45 +01:00
Paulo Reis
07f884df70
Fix spell-checker menu going offscreen.
2018-09-03 09:42:37 +01:00
Paulo Reis
60cbc989e2
Add delete as an inline table action (only when viewing archived projects).
2018-09-02 15:14:45 +01:00
Paulo Reis
af4094a88c
Use CSS hashed paths when hot-swapping themes.
2018-09-02 14:44:15 +01:00
Paulo Reis
fbf98d89f2
Improve the collapsing behaviour of 'change' entries in track-changes.
2018-09-01 15:36:02 +01:00
Douglas Lovell
91e653dafc
Limit width and margin publish model form controls to the enclosing box
2018-08-31 18:36:53 -03:00
Douglas Lovell
c570daf03b
Remove unneeded include from ol-style
2018-08-31 18:36:19 -03:00
Douglas Lovell
1e31f5dc1c
Move new publish-model styles into existing style file
2018-08-31 15:35:24 -03:00
Douglas Lovell
92548be044
Use hyphen for underscore in publish-modal style
2018-08-31 14:16:43 -03:00
Douglas Lovell
404e768d24
Merge branch 'master' into dcl-olsl760b
2018-08-31 14:04:00 -03:00
Douglas Lovell
2b9e978379
Repair syntax and additional publish-modal style
2018-08-31 13:59:47 -03:00
Douglas Lovell
135d7e75a5
Merge branch 'master' into dcl-olsl760b
2018-08-31 13:24:22 -03:00
Paulo Reis
4ff7410391
Disable the review button when history is open.
2018-08-31 17:10:15 +01:00
Paulo Reis
b8f14873d2
Style buttons inside alerts (previously had the same colours for backgrounds).
2018-08-31 16:29:49 +01:00
Paulo Reis
f88a3815c6
Add loading spinner when cloning a project.
2018-08-31 16:14:20 +01:00
Paulo Reis
8ad9db3f02
Forcefully set trackchanges textareas background to white.
2018-08-31 15:45:33 +01:00
Paulo Reis
0c390d91a0
Avoid z-index issues with track-changes comments and the editor splitter.
2018-08-31 15:44:07 +01:00
Paulo Reis
7e5094f53d
Avoid z-index issues with the new project dropdown.
2018-08-31 15:37:22 +01:00
Paulo Reis
fc7b5bdd63
* Share button shown to all users, with a tooltip for non-admin; remove its id.
2018-08-31 15:33:56 +01:00
Timothée Alby
855840d89a
Merge pull request #883 from sharelatex/ta-domain-licence-join-fix
...
Fix id Accessor in Domain Licence Join Page
2018-08-31 13:15:23 +02:00
Timothée Alby
012d341df6
Merge pull request #881 from sharelatex/ho-change-email-fire-forget
...
change email: catch invalid emails and don't pass the error back on invalid requests
2018-08-31 13:15:16 +02:00
Timothée Alby
59b137e303
Merge pull request #877 from sharelatex/pr-fill-university-model-as-you-type
...
Update university, role and department value as the user types.
2018-08-31 13:15:01 +02:00
Henry Oswald
245ad2a2a8
call changeEmail before the callback in setDefaultEmailAddress
2018-08-31 11:49:45 +01:00
Tim Alby
195ae49052
fix id accessor in domain licence join page
2018-08-31 11:41:28 +01:00
Henry Oswald
bab334aa44
fire and forget changeEmail in setDefaultEmailAddress
...
prevents blocking/erroring the change email workflow
2018-08-31 11:16:28 +01:00
Henry Oswald
038b18a209
change email: catch invalid emails and don't pass the error back on invalid requests
2018-08-31 11:06:55 +01:00
Jessica Lawshe
dff29637b7
Move quotes to partial
2018-08-30 09:52:55 -05:00
Jessica Lawshe
bac90c0976
Move v2 plans redirect to router
2018-08-30 09:52:55 -05:00
Jessica Lawshe
ec710d0b1e
Add switch button styling
2018-08-30 09:52:55 -05:00
Jessica Lawshe
a87b5a629a
v2 plans style overrides and capitalize "Best Value"
2018-08-30 09:52:55 -05:00
Jessica Lawshe
eb8e279ac7
Add border styling
2018-08-30 09:52:55 -05:00
Jessica Lawshe
7d249f513b
Remove Positive SSL badge for v2
2018-08-30 09:52:55 -05:00
Jessica Lawshe
3a2c9a3830
Plans features table styling for v2
2018-08-30 09:52:55 -05:00
Jessica Lawshe
c1d37a712c
Update translations to use appName
2018-08-30 09:52:55 -05:00
Jessica Lawshe
bc89d8fb11
Add .nav-pills styling for v2
2018-08-30 09:52:55 -05:00
Jessica Lawshe
a2a98e0be1
Add @brand-secondary color
2018-08-30 09:52:55 -05:00
Jessica Lawshe
c920dc37d2
Update button classes for v2
...
Use `.btn-default` instead of `.btn-info`
2018-08-30 09:52:55 -05:00
Jessica Lawshe
26f2ff3d6f
Unlink instapages for v2 FAQ and add group contact modal
...
group contact link: v2 opens contact portal and SL opens instapage
2018-08-30 09:52:50 -05:00
Jessica Lawshe
fe9709e5c7
Move style from winning test variant to main class
...
`.more-details` contained style for the winning variant. Move these CSS declarations to main class of page, `.plans`.
Also alphabetize CSS classes.
Remove .more-details and extra .container from layout
CSS statements for .more-details were moved to .plans
2018-08-30 09:36:35 -05:00
James Allen
52381c8fb7
Merge pull request #851 from sharelatex/jel-remove-a-b-test
...
Remove Plans and Pricing A/B Test
2018-08-30 15:19:56 +01:00
Douglas Lovell
229626a368
Merge branch 'master' into dcl-olsl760b
2018-08-30 08:04:40 -03:00
Paulo Jorge Reis
cf075b0c42
Merge pull request #878 from sharelatex/ja-hide-bonus-in-v2
...
Don't suggest bonus page to v2 users
2018-08-30 11:29:41 +01:00
Paulo Jorge Reis
8b64f46807
Merge pull request #861 from sharelatex/ho-mailchimp-change-email
...
catch newsletter email change error if user already exists on mailing list
2018-08-30 11:29:01 +01:00
Paulo Jorge Reis
10981f0b4e
Merge pull request #860 from sharelatex/ta-front-end-email-regex
...
Change Email Regex in Affiliations Front-End
2018-08-30 11:28:38 +01:00
Paulo Jorge Reis
85ce1d1a11
Merge pull request #867 from sharelatex/pr-fix-togglers-with-v2-history
...
Set a unique name attribute for the toggle switch directive.
2018-08-30 11:26:32 +01:00
Paulo Jorge Reis
4be364cd93
Merge pull request #864 from sharelatex/pr-history-restore-placeholder
...
Add a placeholder "restore" button, showing a tooltip.
2018-08-30 11:25:25 +01:00
Paulo Jorge Reis
cb4d4145a1
Merge pull request #855 from sharelatex/pr-v2-light-theme
...
v2 light theme
2018-08-30 11:24:52 +01:00
Paulo Jorge Reis
8b9397f80c
Merge pull request #863 from sharelatex/as-update-v1-import-modal
...
Update project import modal to be more friendly near the launch
2018-08-30 11:24:44 +01:00
James Allen
b86ac31c63
Don't suggest bonus page to v2 users
2018-08-30 10:56:31 +01:00
Alasdair Smith
bc1f10a710
Merge pull request #868 from sharelatex/ho-mongo-health-checks
...
added a /health_check/mongo endpoint
2018-08-30 09:52:20 +01:00
Jessica Lawshe
3a2400b212
Merge pull request #841 from sharelatex/ns-remove-wufoo-log-links
...
remove wufoo latex error response logging
2018-08-29 12:24:22 -05:00
Jessica Lawshe
ad55842c0a
Merge pull request #847 from sharelatex/ns-bye-typeform
...
move typeform survey to google forms
2018-08-29 12:24:12 -05:00
Jessica Lawshe
cf8376f213
Merge pull request #840 from sharelatex/jel-blog-style
...
Blog style
2018-08-29 12:24:04 -05:00
Jessica Lawshe
a5d84ecc0a
Merge pull request #842 from sharelatex/jel-portals-user-affiliation
...
Add dashboard link mixin
2018-08-29 12:23:50 -05:00
Jessica Lawshe
1230750961
Merge pull request #865 from sharelatex/jel-sanitize-html
...
Add default sanitize HTML options
2018-08-29 12:23:32 -05:00
Douglas Lovell
f38c637f31
Stylesheet for publish modal
2018-08-29 13:56:16 -03:00
Paulo Reis
79f1e7b0ee
Update ui-select value as the user types.
2018-08-29 17:31:47 +01:00
Ersun Warncke
9feb8ef39f
Revert "Merge pull request #843 from sharelatex/ew-collabratec"
...
This reverts commit 223beab491d2f8dcf4c7285267fda355cfce3f05, reversing
changes made to a726537c4372641bfca0eb37fc130ca3a932d433.
2018-08-29 12:00:53 -04:00
Ersun Warncke
afc22dc5c2
Revert "Merge pull request #790 from sharelatex/ew-add-cookie-and-form-to-proxy"
...
This reverts commit ebefc2f28c6e88bbfa632f2b22cb8b99b75e95ec, reversing
changes made to 223beab491d2f8dcf4c7285267fda355cfce3f05.
2018-08-29 12:00:20 -04:00
Ersun Warncke
e7eefc0474
Merge pull request #790 from sharelatex/ew-add-cookie-and-form-to-proxy
...
set options and method for request, pass cookies and form body
2018-08-29 10:17:21 -04:00
Ersun Warncke
c1859f3e80
Merge pull request #843 from sharelatex/ew-collabratec
2018-08-29 10:17:02 -04:00
Henry Oswald
360618a7d3
added a /health_check/mongo endpoint
2018-08-29 11:24:01 +01:00
Alasdair Smith
4174b8edee
Update image and adjust size
2018-08-29 10:50:07 +01:00
Alasdair Smith
3dc437d932
More copy updates
2018-08-29 10:50:07 +01:00
Alasdair Smith
ff275e3425
Replace image and improve copy
2018-08-29 10:50:07 +01:00
Alasdair Smith
2e0d6ab305
Remove 2 step modal and make copy more friendly
2018-08-29 10:50:07 +01:00
James Allen
6a04800f70
Merge pull request #810 from sharelatex/ja-v2-templates
...
Split out feature flags into publish and view templates
2018-08-29 10:27:23 +01:00
Paulo Reis
82aa7c30a6
Make sure each pair of radio buttons gets a unique name attribute in the toggle switch directive.
2018-08-29 10:20:40 +01:00
Shane Kilkelly
1848befcb7
Merge branch 'sk-flush-when-refreshing-linked-file'
2018-08-29 09:27:05 +01:00
Shane Kilkelly
6ee2a83885
Merge pull request #856 from sharelatex/ns-use-regex-test
...
Use regex test instead of string match
2018-08-29 09:21:40 +01:00
Shane Kilkelly
b8ff6ae9a2
Merge pull request #862 from sharelatex/ta-increase-space
...
Increase Spacing Between Buttons
2018-08-29 09:21:31 +01:00
Shane Kilkelly
2c782fee67
Merge pull request #858 from sharelatex/sk-update-v2-migration-banner
...
Update the color and wording of the warning message shown on SL
2018-08-29 09:21:19 +01:00
Shane Kilkelly
6157db1964
Merge pull request #835 from sharelatex/sk-sanitize-system-messages
...
Sanitize display of system messages.
2018-08-29 09:21:07 +01:00
Shane Kilkelly
33a4882bd3
Update the color and wording of the warning message shown on SL
2018-08-29 09:08:44 +01:00
Jessica Lawshe
98f98483ef
Add default sanitize options
2018-08-28 17:23:55 -05:00
Paulo Reis
0df5c61c44
Add a placeholder restore button, showing a tooltip.
2018-08-28 21:35:35 +01:00
Jessica Lawshe
70b19b2584
Remove unused plans style
2018-08-28 12:42:09 -05:00
Jessica Lawshe
e1fbef6910
Move style from winning test variant to main class
...
`.more-details` contained style for the winning variant. Move these CSS declarations to main class of page, `.plans`.
Also alphabetize CSS classes.
Remove .more-details and extra .container from layout
CSS statements for .more-details were moved to .plans
2018-08-28 12:42:09 -05:00
Jessica Lawshe
ae85bfafef
Move FAQ to partial
2018-08-28 12:42:09 -05:00
Jessica Lawshe
e5c3d72e1a
Move winning variant layout to main layout
2018-08-28 12:42:09 -05:00
Jessica Lawshe
8889f2aed2
Remove Plans and Pricing A/B Test
...
Remove all layouts, analytics events, and scope related to the A/B test.
The group modal from the default layout of the A/B test should be maintained though for v2.
2018-08-28 12:42:09 -05:00
Paulo Reis
f3a4c7f2ed
Remove debug line.
2018-08-28 17:08:46 +01:00
Tim Alby
204423696d
increase spacing between buttons
2018-08-28 17:34:49 +02:00
Paulo Reis
32ff66b0dd
Add two more font-size options to the editor.
2018-08-28 14:52:25 +01:00
Tim Alby
5821ac7e54
change email regex used in affiliations front-end
...
Make it consistent with back-end regex
2018-08-28 15:37:20 +02:00
Henry Oswald
425017930a
catch newsletter email change error if user already exists on mailing list
2018-08-28 14:26:51 +01:00
Paulo Reis
76fcee721e
Update unit tests.
2018-08-28 14:24:05 +01:00
Paulo Reis
90b353298d
Switch themes at runtime.
2018-08-28 14:12:00 +01:00
Timothée Alby
107e8ce633
Merge pull request #859 from sharelatex/ho-mailchimp-change-email
...
always set status_if_new
2018-08-28 14:44:59 +02:00
Henry Oswald
60b3e6777f
always set status_if_new
2018-08-28 13:34:53 +01:00
Timothée Alby
c2ef2326b9
Merge pull request #857 from sharelatex/ho-mailchimp-change-email
...
add error handling for changing email in newsletter of user who has not subscribed
2018-08-28 14:03:44 +02:00
Timothée Alby
8057f4e74d
Merge pull request #849 from sharelatex/pr-fix-add-new-university
...
Correctly invoke the function to add unknown universities.
2018-08-28 14:03:35 +02:00
Timothée Alby
946726c898
Merge pull request #853 from sharelatex/ta-institution-features-fix
...
Check Institution Confirmation Status
2018-08-28 14:03:22 +02:00
Timothée Alby
c696ec2688
Merge pull request #854 from sharelatex/ta-affiliations-ui-improvements
...
Affiliations UI Improvements
2018-08-28 14:03:08 +02:00
Henry Oswald
32749267b8
improve logging on change email in newsletter
2018-08-28 12:46:49 +01:00
Henry Oswald
423bc9312d
only set status and merge fields if required
...
Not strictly nessaserry but it is a bit safer
also improve error reporting for change email
2018-08-28 12:32:20 +01:00
Alasdair Smith
f5e34630f8
Merge pull request #806 from sharelatex/as-deprecated-sl-homepage
...
Update homepage to deprecate SL
2018-08-28 11:02:03 +01:00
Henry Oswald
75521a4c86
add error handling for changing email in newsletter of user who has not subscribed
2018-08-28 10:47:33 +01:00
Paulo Reis
307a98851d
Nest the overall theme property under ace.
2018-08-28 10:10:16 +01:00
Nate Stemen
465b9aefc5
use match in one case and remove and operator
2018-08-27 16:48:44 -04:00
Nate Stemen
4d991aa176
Merge branch 'master' into ns-use-regex-test
2018-08-27 14:26:51 -04:00
Nate Stemen
ebea8a8633
use regex test instead of match when only bool needed
2018-08-27 14:25:01 -04:00
Paulo Reis
64c29787c0
Add i18n; update the review icon image.
2018-08-27 15:57:51 +01:00
Paulo Reis
efc926ffc5
Load theme as a user setting; allow the user to change it; update tests.
2018-08-27 15:25:00 +01:00
Tim Alby
ef37902dfc
check institution confirmation status
2018-08-27 15:45:31 +02:00
Paulo Reis
2fbcaebac7
More adjustments; style the dashboard.
2018-08-27 12:39:53 +01:00
Tim Alby
e19882455a
improve affiliation endorsement button
...
- design as button instead of link
- disable unless role and department are set
2018-08-27 11:32:48 +02:00
Tim Alby
7863561bff
display university licence in affiliations UI
2018-08-27 11:26:13 +02:00
Paulo Reis
4f6f459bfe
Remove debug code.
2018-08-24 15:35:52 +01:00
Paulo Reis
920c24cacb
Correctly invoke the function to add unknown universities.
2018-08-24 15:29:48 +01:00
Nate Stemen
c034b0654b
Merge branch 'master' into ns-remove-wufoo-log-links
2018-08-24 09:18:48 -04:00
Paulo Reis
2491bee38e
Merge branch 'master' into pr-v2-light-theme
2018-08-24 12:11:16 +01:00
Paulo Reis
e88b840da7
Update gitignore with the light theme generated CSS file.
2018-08-24 12:07:14 +01:00
Paulo Reis
d527249833
Style the editor.
2018-08-24 12:06:56 +01:00
Paulo Reis
7c95de29cd
Avoid breaking the page if isnt set.
2018-08-24 12:06:26 +01:00
Paulo Reis
128c825bbf
Create flag for light theme.
2018-08-24 12:05:37 +01:00
Alasdair Smith
1fb0471327
Don't default to having OL account in account checker
2018-08-24 10:57:03 +01:00
Alasdair Smith
59910320fe
Basic controller for account merge checker
2018-08-24 10:57:03 +01:00
Alasdair Smith
066d7293eb
Add margin above card on mobile view
2018-08-24 10:39:30 +01:00
Alasdair Smith
17ab35ab37
Increase margin between CTA and message
2018-08-24 10:23:47 +01:00
Alasdair Smith
f6cae39dcb
Adjust styling for updated copy
2018-08-24 10:23:47 +01:00
Alasdair Smith
6547c40c34
Style CTAs in new container and remove hr
2018-08-24 10:23:47 +01:00
Alasdair Smith
882ea46277
Add divider between deprecated text and features
2018-08-24 10:23:47 +01:00
Alasdair Smith
f60d565d2e
Updated styles for rearranged homepage
2018-08-24 10:23:47 +01:00
Alasdair Smith
0b507a541d
First pass at redoing the homepage for deprecating SL
2018-08-24 10:23:47 +01:00
Nate Stemen
c646c3e1ec
rename selector for learn more footer
2018-08-23 13:02:42 -04:00
Nate Stemen
6d00f38a71
move typeform survey to google forms
2018-08-23 12:34:13 -04:00
Nate Stemen
80c74ce07b
add back learn more link
2018-08-23 11:42:00 -04:00
Hugh O'Brien
29253c5a93
Merge branch 'master' into hb-fetch-licences-graph
2018-08-23 16:11:43 +01:00
hugh-obrien
bd721d52f4
review fixes and moving licences endpoint to module
2018-08-23 14:39:48 +01:00
Tim Alby
753fb02c05
always return an array when getting affiliations
2018-08-23 15:15:53 +02:00
Paulo Jorge Reis
d838f8778a
Merge pull request #832 from sharelatex/pr-change-free-history-limits
...
Change history limits for free users
2018-08-23 14:02:08 +01:00
Jessica Lawshe
787f0fe239
Add dashboard link mixin
2018-08-22 16:35:06 -05:00
Nate Stemen
6d3b7cbe7b
remove wufoo latex log responses
2018-08-22 15:45:08 -04:00
Jessica Lawshe
68deee1073
More specific CSS selection and style <pre>
...
More specific CSS selection r educes margin on other list items
Better distinguish <pre> content on blog
2018-08-22 13:13:16 -05:00
Ersun Warncke
8f21ab7f10
add overleaf method
2018-08-22 13:44:40 -04:00
hugh-obrien
8d72fc78fc
send licences graph request to v1 for data instead of analytics
2018-08-22 18:31:29 +01:00
Henry Oswald
cfaa8444db
null check path when building a pdf download url
...
if there is an error just the domain is currently returned, empty string
is better for us
2018-08-22 16:45:59 +01:00
Henry Oswald
ab1848d0ae
Add a trusted filter for iframe downloads ( #836 )
...
* add trusted helper to iframe downloads
2018-08-22 14:47:15 +01:00
Paulo Reis
a15706ce24
Merge branch 'master' into pr-v2-light-theme
2018-08-22 11:19:01 +01:00
Shane Kilkelly
7f7b10aa09
Sanitize display of system messages.
...
When showing system-messages, use default Angular sanitizer, also,
on the admin panel itself, show the verbatim text of the message.
This solves a mild Stored-XSS vulnerability whereby a user could
put `<script>` tags in a message. We don't want that, but we do want
to be able to use basic html tags.
2018-08-22 10:15:50 +01:00
Hugh O'Brien
eeadd1e9bb
Merge pull request #797 from sharelatex/hb-inform-v1-affiliation-confirms
...
Tell v1 confirmation status of affiliation emails
2018-08-22 08:34:33 +01:00
Jessica Lawshe
484d7acbc8
Merge pull request #817 from sharelatex/jel-mixins
...
Add a mixin for FAQ search and move links mixin file
2018-08-21 11:44:30 -05:00
Jessica Lawshe
b145ca5d5c
Merge pull request #791 from sharelatex/jel-pagination
...
Add pagination mixin and color variables
2018-08-21 11:44:15 -05:00
Paulo Reis
54e0a7cfd2
Merge branch 'master' into pr-change-free-history-limits
2018-08-21 11:23:28 +01:00
Henry Oswald
473063cf3d
set rclient.expire for server ttl even when there is no server id
2018-08-21 10:36:18 +01:00
Alasdair Smith
d99a42e678
Merge pull request #824 from sharelatex/as-redirect-sl-login-to-v2-login
...
Allow for redirection of unlinked SL account to /user/login_to_ol_v2
2018-08-21 10:13:52 +01:00
Henry Oswald
7a253e56ef
Download all log files from compiles.sharelatex.env ( #833 )
...
* add a couple of missing buildPdfDownloadUrl
* only download pdfs from compile server when streaming
* use compiles.env for resonse files
* update config to use clsi_lb
2018-08-21 09:24:48 +01:00
Paulo Reis
4dee3fd5e1
Update frontend unit tests.
2018-08-20 17:02:55 +01:00
Jessica Lawshe
09efced352
Add pagination mixin and color variables
2018-08-20 09:25:33 -05:00
Paulo Jorge Reis
53a9a174a2
Merge pull request #821 from sharelatex/as-account-deletion-note
...
Add message about deleting SL account affecting v2 account
2018-08-20 13:58:50 +01:00
Paulo Jorge Reis
4becf62fad
Merge pull request #827 from sharelatex/pr-fix-account-deletion
...
Explicitly set the user default email for account deletion
2018-08-20 13:49:30 +01:00
Paulo Jorge Reis
96ad0f4aaf
Merge pull request #823 from sharelatex/pr-fix-review-icon-image
...
Fix review icon for Overleaf.
2018-08-20 13:49:10 +01:00
Shane Kilkelly
034586b296
Flush source project to mongo before linked-file create/refresh
2018-08-20 12:19:59 +01:00
Paulo Reis
042c959d3a
Move default email checking logic into the data service.
2018-08-20 12:15:15 +01:00
Paulo Reis
47c51257bb
Explicitly set the user default email for the delete account modal controller.
2018-08-20 11:51:12 +01:00
Jessica Lawshe
45cc278acb
Add FAQ search mixin
2018-08-17 16:31:06 -05:00
Jessica Lawshe
f8b85cb848
Move link mixins to mixins folder
2018-08-17 16:12:24 -05:00
Timothée Alby
9d3e649710
Merge pull request #825 from sharelatex/ta-skip-affiliation-on-create
...
Skip Affiliation on Create
2018-08-17 17:50:17 +02:00
Tim Alby
8d6505b518
log institutions API errors
2018-08-17 17:48:00 +02:00
Tim Alby
f5513f36ca
add param to skip affiliation creation on user create
2018-08-17 17:48:00 +02:00
Jessica Lawshe
5b5ece37a5
Handle sixpack timeouts and include variant in metabase segmentation
...
Render default when sixpack timesout
Only convert when variant exists
Use Angular cookies module to add variant cookie, which is used on the new subscription page.
2018-08-17 10:29:45 -05:00
Paulo Reis
5974afc2e3
Make sure that at least the last update (i.e. the current state) is shown to free users (even if it happened more than 24 hours ago), to allow labelling.
2018-08-17 16:17:53 +01:00
Paulo Reis
96aa418b94
Show upgrade prompts when the free history limit is hit.
2018-08-17 16:04:31 +01:00
Paulo Reis
fc424aee9e
Adapt styles to avoid layout breaking/showing options that do not make sense when no history entries are loaded.
2018-08-17 15:31:59 +01:00
Paulo Reis
27823d3e06
Show history entries for the last 24 hours for free users.
2018-08-17 15:31:15 +01:00
Jessica Lawshe
356e31caec
Set variant when sixpack request successful
2018-08-17 09:07:34 -05:00
Alasdair Smith
9bc3fa2df0
Pass req to preDoPassportLogin module hook
2018-08-17 12:04:05 +01:00
Alasdair Smith
b9e63421a8
Merge pull request #814 from sharelatex/as-fix-delete-modal-copy
...
Fix delete wording on archive modal
2018-08-16 16:33:30 +01:00
Alasdair Smith
38689dbb1d
Merge pull request #802 from sharelatex/as-sl-redirect
...
Add feature flag for redirecting SL to v2
2018-08-16 16:32:55 +01:00
Paulo Reis
dfc25a093b
Fix review icon for Overleaf.
2018-08-16 16:28:02 +01:00
Paulo Jorge Reis
48655afb8b
Merge pull request #822 from sharelatex/ho-clsi-googlebackend
...
download log files using buildPdfDownloadUrl
2018-08-16 15:06:31 +01:00
Henry Oswald
c33192b852
download log files using buildPdfDownloadUrl
2018-08-16 14:25:08 +01:00
Alasdair Smith
3b31125a62
Add message about deleting account affecting v2
...
Only show on SL and if the user has linked accounts
2018-08-16 14:11:43 +01:00
hugh-obrien
96ffeef73d
send fixed confirmed date to v1 for affiliations
2018-08-16 13:50:34 +01:00
hugh-obrien
55597b9279
inform v1 when confirming affiliation emails
2018-08-16 13:50:34 +01:00
Paulo Reis
713a39171a
Fix history frontend tests.
2018-08-16 13:44:48 +01:00
Paulo Reis
02701a996d
Merge branch 'master' into pr-history-labels-part-2
2018-08-16 11:56:36 +01:00
Paulo Reis
652be9efe6
Slightly adapt the markup for the generic history error.
2018-08-16 11:41:19 +01:00
Henry Oswald
5ed95694da
Merge pull request #801 from sharelatex/ho-mailchimp
...
Add non checked checkbox for newsletter subscription on signup and use mailchimp as newsletter provider.
2018-08-16 11:40:39 +01:00
Paulo Reis
23bb866988
Show an error message when history fails to load updates.
2018-08-16 11:26:34 +01:00
Henry Oswald
1e1f26b350
Merge pull request #818 from sharelatex/ho-backendgroup-config
...
configure backend group name via config files
2018-08-16 10:37:14 +01:00
Henry Oswald
af6e7758d3
configure backend group name via config files
2018-08-15 15:26:22 +01:00
Alasdair Smith
985344c0d7
Use redirect setting instead of re-using setting that coincidentally would be flipped on the same day
2018-08-15 15:22:06 +01:00
Alasdair Smith
fc0b9df14c
Add feature flag for redirecting SL to v2
2018-08-15 15:22:05 +01:00
Jessica Lawshe
2c9977d26e
Add analytics to link mixins
2018-08-14 12:06:28 -05:00
Jessica Lawshe
cf532b93d8
Merge pull request #784 from sharelatex/jel-portals
...
Add styling and mixins for portals
2018-08-14 12:00:36 -05:00
Timothée Alby
5e488dcab7
Merge pull request #813 from sharelatex/ta-enable-affiliations-ui
...
Enable Affiliations UI
2018-08-14 16:40:35 +02:00
Paulo Reis
6b31268bfa
Scroll to selected history update when coming back from the labels view.
2018-08-14 15:27:07 +01:00
Brian Gough
791d395655
Merge pull request #812 from sharelatex/bg-allow-changing-texlive-image
...
allow changing texlive image (connects to overleaf/sharelatex#756 )
2018-08-14 15:00:08 +01:00