Commit graph

3776 commits

Author SHA1 Message Date
Simon Detheridge
c18ca779ba Merge pull request #1073 from sharelatex/spd-bonus-page-ui
Add links and update UI for Bonus page

GitOrigin-RevId: e993d4b7dc59f5ea145892e9cddb87f2193ae013
2018-10-30 10:16:20 +00:00
Douglas Lovell
b1bda995a6 Merge branch 'deploy-20181029a'
GitOrigin-RevId: c51d4da706319564bd31514370fe13413655b6cf
2018-10-29 15:01:41 +00:00
Timothée Alby
fd8b7fbb6c Merge pull request #1068 from sharelatex/jel-link-to-tab
Fix .link-to-tab when link within a tab

GitOrigin-RevId: b2d5482771caef5abc4afa4d270f64598f72f0d7
2018-10-25 15:25:29 +00:00
Alasdair Smith
f442fd65e3 Merge pull request #1043 from sharelatex/as-increase-heading-line-height
Increase line-height of headings

GitOrigin-RevId: 57d1c87f4c480fb6de0a1ca24f7e80edfe748a68
2018-10-25 12:51:28 +00:00
Alasdair Smith
39a7c80b07 Merge pull request #1066 from sharelatex/as-add-templates-nav
Fix navbar collapsing too late at small screen sizes

GitOrigin-RevId: 8bfe1dbe89cf8721bc72b0a632533776873459b7
2018-10-25 12:51:23 +00:00
Jessica Lawshe
24a2cafc33 Merge pull request #1038 from sharelatex/jel-style-improvements
Content pages style improvements

GitOrigin-RevId: 6cb212deba561ebfa6349bdfcf16e309679be275
2018-10-19 14:12:35 +00:00
Jessica Lawshe
7a03fbeb06 Merge pull request #1018 from sharelatex/jel-track-changes-info-page
Styling for track changes info page and add existence checks for metadata

GitOrigin-RevId: 86a6b178e8107c75ef5b877acc1aaa3d8d1ebd80
2018-10-19 14:12:30 +00:00
Paulo Reis
a957593b62 Avoid adding custom toggler attributes when the feature flag is false. 2018-10-19 10:34:07 +01:00
Paulo Reis
4232732646 Avoid using Angular eval for user-provided strings in the layout directive. 2018-10-19 10:00:52 +01:00
Jessica Lawshe
a1fa48b3ed Merge pull request #1033 from sharelatex/jel-portal-default-bg
Add default portal background
2018-10-18 10:31:07 -05:00
Jessica Lawshe
88f3fce26e Add default portal background 2018-10-17 17:00:50 -05:00
Jessica Lawshe
1362da710b Watch for hash change for tabs 2018-10-17 09:31:48 -05:00
Jessica Lawshe
97fdf72346 If hash not empty and remove unused file 2018-10-17 09:31:48 -05:00
Paulo Reis
1424ae686a Add scrollIntoView behaviour. 2018-10-17 09:31:48 -05:00
Paulo Reis
399a9ed604 Create bookmarkable tabs directive. 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
Tim Alby
6f63cd7ca0 add notification to confirm unconfirmed emails 2018-10-15 14:47:16 +02: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
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
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
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
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
Tim Alby
48e5c6b523 add UserMembership logic 2018-10-09 12:09:11 +01:00
Chrystal Griffiths
849c5253c7 Avoid duplicating code 2018-10-08 17:50:10 +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
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
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
1fe8aebf5b Add error handling for 400 responses 2018-10-08 10:44:25 +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
Alasdair Smith
fb8ed890f9 Correctly load Safe mathjax extention using provided config 2018-10-03 11:52:33 +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
Jessica Lawshe
aaac1fabfd Set width for iframes on blog posts 2018-09-26 12:45:50 -05: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
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
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
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
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
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
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
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
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
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
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
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
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
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
fc0a4298f1 Move scripts related to account-merge checker to relevant modules 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
ba221a1135 WIP: add email-based account merge flow to ShareLaTeX 2018-09-19 09:28:59 +01:00
hugh-obrien
277225d8de use existing left sidebar controller for affiliation cta 2018-09-18 13:06:26 +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
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
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
Jessica Lawshe
c8b803681e Set max-width for <video> on CMS pages 2018-09-14 10:48:56 -05:00
Chrystal Griffiths
6334066d2d Merge branch 'master' into cmg-share-modal 2018-09-14 12:09:10 +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
Chrystal Griffiths
57ac858004 Style the notice 2018-09-13 12:19:44 +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
c072961183 Update project-list list to a table and show last updated user 2018-09-13 10:38:52 +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
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
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
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
Jessica Lawshe
c3c2e524f5 Add quotes 2018-09-05 08:14:32 -05:00
Alasdair Smith
455e682fac Fix height issue on small screens 2018-09-05 11:00:30 +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
Douglas Lovell
1965967361 Use less vertical space in gallery publish modal 2018-09-03 06:51:15 -03: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
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