Jessica Lawshe
b9a63fe216
Merge pull request #768 from sharelatex/jel-mathjax-wiki
...
Add MathJax to wiki pages and max-width for images
2018-07-17 09:37:28 -05:00
Jessica Lawshe
fa2f703c44
Define CMS module controller
2018-07-17 09:36:21 -05:00
Jessica Lawshe
6c9403df0f
Merge pull request #758 from sharelatex/jel-mathjax-delimiter
...
Optional $ MathJax delimiter
2018-07-17 09:32:43 -05:00
Jessica Lawshe
64a257dae2
Merge pull request #708 from sharelatex/jel-mathjax
...
MathJax - library path, directive, and use `Safe` extension
2018-07-17 09:32:06 -05:00
Jessica Lawshe
83b3904fca
Set max-width on Wiki images
...
Fixes images expanding outside of parent container
2018-07-17 09:10:03 -05:00
Jessica Lawshe
ddca090cd7
Add Wiki controller with MathJax directive
2018-07-17 09:09:07 -05:00
Alasdair Smith
ea2a229050
Add line padding to indented padding
...
Fixes bug where itemize and enumerate envs weren't correctly indented
2018-07-16 11:28:53 +01:00
Alberto Fernández-Capel
f08b64eeac
Merge pull request #757 from sharelatex/as-rt-styling
...
Rich text styling
2018-07-16 10:10:49 +01:00
James Allen
b150a7b4ae
Merge pull request #735 from sharelatex/pr-affiliations-ui-adjustments
...
Affiliations UI, second round
2018-07-16 10:08:47 +01:00
Jessica Lawshe
120acf4918
Optional $ MathJax delimiter
2018-07-13 15:02:52 -05:00
Alasdair Smith
5013d13587
Reduce box-shadow slightly to look better with horizontal padding
2018-07-13 16:30:42 +01:00
Alasdair Smith
304eac3024
Deemphasise line numbers in rich text
2018-07-13 15:57:43 +01:00
Alasdair Smith
4d611ca399
Add horizontal padding to RT lines
...
This is to emulate a manusript better
2018-07-13 15:57:18 +01:00
Alasdair Smith
f95fb38056
Switch to serif font for rich text
...
Makes rich text ressemble a manuscript more closely
2018-07-13 15:13:22 +01:00
James Allen
a238c74440
Remove inline style
2018-07-13 11:19:49 +01:00
Alasdair Smith
5eb2410f5d
Add event to trigger syncToPdf so can be triggered by key bind
2018-07-13 09:18:28 +01:00
James Allen
d7e0b8c369
Show unconfirmed email status in UI and add link to resend confirmation
2018-07-12 17:13:26 +01:00
Paulo Reis
67e2f6f942
Better handling of affiliation change submission.
2018-07-12 16:37:09 +01:00
Paulo Reis
59008b4a51
Show university custom departments when changing affiliations; fix Features typo.
2018-07-12 16:37:09 +01:00
Paulo Reis
a759828ece
Update feature flag for affiliations; use it in the router; minor style adjustments.
2018-07-12 16:37:09 +01:00
Paulo Reis
c817094a2d
Add i18n keys; minor style adjustments.
2018-07-12 16:37:09 +01:00
Paulo Reis
4d1b6c6ba8
Add error handling.
2018-07-12 16:37:09 +01:00
Paulo Reis
c630c5d952
Preemptively remove front-end data when removing user emails.
2018-07-12 16:37:09 +01:00
Paulo Reis
19b57571bf
Basic affiliation change implementation.
2018-07-12 16:37:08 +01:00
Paulo Reis
a64910d409
Make sure to specify which email to set as default.
2018-07-12 16:37:08 +01:00
Paulo Reis
1514e5e071
Isolate affiliations form in a component.
2018-07-12 16:37:08 +01:00
Paulo Reis
3517db8348
SL styling adjustments.
2018-07-12 16:37:08 +01:00
Alasdair Smith
2100633ea1
Merge pull request #748 from sharelatex/as-rt-review-panel-warning
...
Show warning in review panel when using rich text mode
2018-07-12 11:30:29 +01:00
Alasdair Smith
d33c7f0149
Use string key to initialise editor mode instead of boolean
2018-07-12 10:55:27 +01:00
Alasdair Smith
25b995d3b8
Initialise editor mode from localStorage
2018-07-12 10:55:27 +01:00
Alasdair Smith
3806d2bda7
Add right margin to toolbar if review panel open
...
This fixes bug where the toolbar would be measured incorrectly if the
review panel was open
2018-07-11 15:15:23 +01:00
Alasdair Smith
b1a47ddae4
Improve copy
2018-07-11 15:15:22 +01:00
Alasdair Smith
b4dd047371
Fix unnecessary right marging being applied to review panel when rich text is open
2018-07-11 15:15:22 +01:00
Alasdair Smith
538aba323a
Add first pass at unsupported message and style
2018-07-11 15:15:22 +01:00
Alasdair Smith
00c089448e
Add review panel unsupported message
2018-07-11 15:15:22 +01:00
Alasdair Smith
9d81cf20f9
Add new unsupported class to control visibility while rich text is open
2018-07-11 15:15:22 +01:00
Timothée Alby
05bc4cc9e9
Merge pull request #729 from sharelatex/as-cursor-position
...
Abstract cursor position tracking so that it is not bound to Ace
2018-07-11 10:21:42 +02:00
Alasdair Smith
5806101bd0
Trigger events instead of calling cursor manager
...
This improves readability and prevents race conditions in compat
between Ace/CM
2018-07-10 16:05:01 +01:00
Alasdair Smith
da77c06774
Refactor saving cursor position to not use Ace event
...
This is will help with triggering CM correctly
2018-07-10 16:05:01 +01:00
Alasdair Smith
ba9fa9a0be
Store first visible line instead of scrollTop
...
scrollTop is affected by changing viewport size and switching between
Ace and CM
2018-07-10 16:05:01 +01:00
Alasdair Smith
6c7e942470
Unbind unload listener when destroying editor
2018-07-10 16:05:01 +01:00
Alasdair Smith
e5ad2a8724
Abstract Ace-specific code to adapter
2018-07-10 16:05:01 +01:00
Alasdair Smith
2dc509f43d
Fix memory leak setting up spell check
...
Switching docs would set up event listeners on Ace without tearing down
any old listeners, which could lead to a memory leak. This tears down
old listeners when detaching from the "old" doc
2018-07-10 12:25:13 +01:00
Hayden Faulds
158cb58e29
Merge pull request #734 from sharelatex/sk-handle-403-linked-files
...
When refreshing or creating linked files, exempt from 403-error-catcher
2018-07-06 15:09:28 +01:00
Shane Kilkelly
b6880550d5
When refreshing or creating linked files, exempt from 403-error-catcher
2018-07-06 11:29:21 +01:00
James Allen
dad4bad9eb
Merge pull request #700 from sharelatex/ew-fix-undefined-last-name
...
fix undefined last name
2018-07-06 11:06:12 +01:00
Hugh O'Brien
3a33fef42c
Merge pull request #722 from sharelatex/hb-publish-layout-updates
...
Add border-radius to overbox on submit modal
2018-07-05 12:12:15 +01:00
Alasdair Smith
b2abcfc3f2
Extract debounced load to service, so can be injected
2018-07-04 15:14:29 +01:00
Alasdair Smith
1f9c1ca6c6
Extracts envs to separate file so they can be exported to rich text
2018-07-04 15:14:29 +01:00
Alasdair Smith
33742d447d
Move top hundred snippets to snippets directory
...
Allows for more snippets in future. Also makes file name consistent
2018-07-04 15:14:29 +01:00