Paulo Reis
8a3f104c60
Fix some issues with longer project names.
2017-10-09 16:19:02 +01:00
Paulo Reis
407157e3eb
Minor adjustmnents.
2017-10-09 15:27:01 +01:00
Brian Gough
ea89638010
rename autocompile_disabled to autoCompileDisabled
...
for consistency
2017-10-09 15:21:01 +01:00
Brian Gough
15e2deed73
rename isAutoCompile and isBackgroundAutoCompile
...
changed to isAutoCompileOnLoad and isAutoCompileOnChange
2017-10-09 15:18:55 +01:00
Paulo Reis
435a5b6a43
Adjust the body to take header and footer into account with padding.
2017-10-09 10:30:09 +01:00
Paulo Reis
6e6c058d49
Fix the header.
2017-10-09 10:28:21 +01:00
Paulo Reis
4b246501d2
Fix the footer.
2017-10-09 10:28:03 +01:00
Nate Stemen
cfca4b5d6c
modified labels service to include packages aware autocompletion
2017-10-06 17:15:50 +01:00
Paulo Reis
fd215280a8
Some more scroll fixes.
2017-10-06 15:54:54 +01:00
Paulo Reis
9d35ce5fe1
Fix label issues.
2017-10-06 14:26:34 +01:00
Paulo Reis
f405dc49b3
Implement two different scrolling models for OL and SL.
2017-10-06 14:22:06 +01:00
Paulo Reis
e1775128e4
Fixed flexbox based width issues.
2017-10-06 12:18:13 +01:00
Paulo Reis
1c9d5828b1
Even more adjustments to make the SL theme closer to original.
2017-10-06 12:02:20 +01:00
Paulo Reis
045fae7109
Some more adjustments to make the SL theme closer to original.
2017-10-06 10:50:59 +01:00
Paulo Reis
9047e9a365
Make SL theme closer to original.
2017-10-05 18:16:52 +01:00
Paulo Reis
60a76c45c3
Some more footer adjustments.
2017-10-05 16:41:11 +01:00
Paulo Reis
15eb23da54
Overall project list page layout; flex-based, i.e. needs lots of testing
2017-10-05 16:35:53 +01:00
Paulo Reis
3c662f6d05
Basic footer colors.
2017-10-05 16:35:27 +01:00
Paulo Reis
8b98455674
Adjustments to the folders menu.
2017-10-05 15:26:49 +01:00
Nate Stemen
507bb568a3
labels -> metadata
2017-10-05 14:19:30 +01:00
Shane Kilkelly
b8d90a1a99
Show token-access projects on the dashboard
2017-10-05 13:20:06 +01:00
Paulo Reis
166a0605a3
Make form elements consistent with button sizes.
2017-10-05 10:49:56 +01:00
Nate Stemen
e53a24f8f5
starting to generalize from labels to metadata
2017-10-04 17:56:43 +01:00
Shane Kilkelly
6482cd7dd8
Generate tokens on old projects if they're not present
2017-10-04 16:31:24 +01:00
James Allen
70efda68f2
Merge pull request #36 from sharelatex/ja-account-merge
...
Add packages and assets needed for account merging; Connects to overleaf/sharelatex#127
2017-10-04 15:13:10 +01:00
Nate Stemen
64f44ab102
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex-internal into ns-package-completer
2017-10-04 09:53:04 +01:00
Nate Stemen
8b4843cf8b
cleaning up usepackage completion
2017-10-03 17:32:34 +01:00
Alasdair Smith
550e7d75ca
Check if user is part of autocompile rollout when showing setting or running autocompile
2017-10-03 17:19:51 +01:00
Brian Gough
2723537f82
disable autocompile when rate limit is hit
2017-10-03 16:23:49 +01:00
Paulo Jorge Reis
6996f52195
Merge pull request #30 from sharelatex/pr-fix-chrome-61-62-shadow
...
Fix chrome 61 and 62 shadow
2017-10-03 11:18:08 +01:00
Paulo Jorge Reis
05f9e9b2c1
Merge pull request #27 from sharelatex/as-autocompile-onboarding
...
Autocompile onboarding
2017-10-03 11:09:51 +01:00
Alasdair Smith
cab3efd77c
Merge pull request #25 from sharelatex/hof-history-name
...
show user.name in history if available
2017-10-03 10:57:52 +01:00
James Allen
15b73713d2
Add OL + SL image from blog
2017-10-03 10:43:17 +01:00
Nate Stemen
7d5785b98f
adding top 100 packages and package tracking
2017-10-02 18:10:53 +01:00
Paulo Reis
17ea9d9799
Style project list tags.
2017-10-02 17:01:51 +01:00
Shane Kilkelly
11249c070c
Remove commented-out code
2017-10-02 14:50:43 +01:00
Shane Kilkelly
ea7d7c604e
Remove token header from angular $http
2017-10-02 14:44:03 +01:00
Alasdair Smith
a69afae03d
Remove unnecessary arrow elem
2017-10-02 13:49:28 +01:00
Shane Kilkelly
9f24f696a5
Use custom header, send anonToken in payload to joinProject
2017-09-29 16:32:07 +01:00
Shane Kilkelly
34d4d1360f
Anon read-token: add an Authorization header to $http
2017-09-29 15:54:55 +01:00
Shane Kilkelly
a66cb15f48
Use angular $http
service for spellcheck
2017-09-29 14:55:06 +01:00
Shane Kilkelly
f74da0e6cf
Use angular $http
service for references
2017-09-29 14:51:00 +01:00
Alasdair Smith
738acefac7
Style onboarding image with more space & light border
2017-09-29 11:38:56 +01:00
Shane Kilkelly
e04d10d11f
Styling of link-share, and fix read-only link
2017-09-29 10:59:30 +01:00
Alasdair Smith
ba6a0b44a9
Fix incorrect selector
2017-09-29 10:53:06 +01:00
Alasdair Smith
dd7e6f0612
Make class names more consistent & switch to JS targeting through id
2017-09-29 10:49:45 +01:00
Shane Kilkelly
df338ebd6d
Show tokens in share modal
2017-09-29 10:11:23 +01:00
Shane Kilkelly
9810f63245
Render editor for token access, stub out ui changes
2017-09-28 16:06:08 +01:00
Alasdair Smith
8cd1f8c7ac
Simplify logic for showing autocompile onboarding
2017-09-28 14:13:51 +01:00
Paulo Reis
65d38aa7f7
Remove debug line.
2017-09-28 14:09:37 +01:00
Paulo Reis
e41a48de72
Conditionally disable text-shadow on chrome v61 and v62.
2017-09-28 14:01:03 +01:00
Alasdair Smith
e95778c703
Fix event tracking not being injecting
2017-09-28 13:02:16 +01:00
Alasdair Smith
39c8a6a193
Send analytics data when onboarding dismissed
2017-09-28 12:27:29 +01:00
Alasdair Smith
199e85e4a9
Comment
2017-09-28 12:16:02 +01:00
Paulo Reis
e68b166309
Style the navbar.
2017-09-28 12:12:33 +01:00
Paulo Reis
af6b722dfb
Add Overleaf SVG assets.
2017-09-28 12:12:04 +01:00
Alasdair Smith
e78ee69c04
Fix positioning & styling of arrows
2017-09-28 12:03:30 +01:00
Alasdair Smith
2d5a61f5b6
Determine placement of popover based on width of pdf panel
2017-09-28 11:32:38 +01:00
Alasdair Smith
464c7c79d8
Keep track of pdf panel width
2017-09-28 11:31:55 +01:00
Alasdair Smith
fcc2db9ea7
Use width of button instead of hardcoded
2017-09-28 11:13:49 +01:00
Alasdair Smith
7e407621e9
Position onboarding popover after measuring position
2017-09-28 11:13:49 +01:00
Alasdair Smith
3259b871c0
Dismiss autocompile onboarding
2017-09-28 11:13:49 +01:00
Alasdair Smith
9386ddf4a9
Only show autocompile onboarding when first manual compile is run
2017-09-28 11:13:49 +01:00
Alasdair Smith
316cf07225
Add AutoCompileOnboardingController
2017-09-28 11:13:49 +01:00
Alasdair Smith
8d2a451b44
First pass at autocompile onboarding popover
2017-09-28 11:13:49 +01:00
Alasdair Smith
afff8ddf29
Pass (dummy) autocompile onboarding
2017-09-28 11:13:49 +01:00
Brian Gough
13628f82ec
Merge pull request #17 from sharelatex/bg-lock-compiles
...
show error for compile in progress
2017-09-27 13:54:16 +01:00
Hayden Faulds
96a129a860
show user.name in history if available
2017-09-27 10:54:06 +01:00
Paulo Reis
1b6829eed6
Style the project list table.
2017-09-26 13:49:46 +01:00
Brian Gough
0f855689a7
show error for compile in progress
2017-09-26 08:07:35 +01:00
Paulo Reis
f6e236afa6
Link typography.
2017-09-25 17:12:31 +01:00
Paulo Reis
465de8701b
Use a different strategy to achieve rounded buttons (less impact on other elements).
2017-09-25 16:56:22 +01:00
Paulo Reis
08e0865870
Customize dashboard sidebar.
2017-09-25 16:41:09 +01:00
Alasdair Smith
5b3c9f4033
Prevent autocompile if pdf preview is hidden
2017-09-25 15:46:43 +01:00
Alasdair Smith
e31464b47d
Keep track of pdf layout hidden state
2017-09-25 15:46:29 +01:00
Paulo Reis
66654e4a14
Customize buttons; make button borders configurable.
2017-09-25 15:40:44 +01:00
Paulo Reis
e68b367f3f
Common variables; refactor some Bootstrap hard-coded stuff into new variables.
2017-09-25 11:48:42 +01:00
Alasdair Smith
96d13215e3
Be more defensive when checking encoded text
2017-09-22 09:36:50 +01:00
Alasdair Smith
f8d4923547
Wrap in try/catch
2017-09-21 15:41:24 +01:00
Alasdair Smith
42b604dcda
Clean up decoding from websockets
2017-09-21 15:41:24 +01:00
Alasdair Smith
a022f83cce
Fix order of args
2017-09-21 15:22:56 +01:00
Alasdair Smith
e2bb6dcecb
Pass option to encode range
...
To ensure backwards compat with clients not refreshing, pass a flag to enable
encoding. This way, old client won't receive encoded ranges, but also won't
have decoding logic. The flag can then be removed once all clients are up to
date
2017-09-21 14:23:39 +01:00
Alasdair Smith
b33929fa83
DRY up
2017-09-21 13:36:31 +01:00
Alasdair Smith
24f44889a7
First pass at decoding changes & comments in ranges
2017-09-21 13:25:19 +01:00
Alasdair Smith
4007fc682b
Send JSON in autocompile setting event payload
2017-09-19 15:55:00 +01:00
Alasdair Smith
66bed67270
Merge pull request #4 from sharelatex/as-client-auto-compile
...
Client-side auto compile
2017-09-19 15:20:07 +01:00
Alasdair Smith
963a14b33c
Fix incorrectly named var and remove unneccessary semicolon
2017-09-19 14:25:30 +01:00
James Allen
ece7a4cbb7
Merge pull request #601 from sharelatex/ns-raise-safari-regex-count
...
Raising the limit on safari regex count
2017-09-18 11:16:49 +02:00
James Allen
1bafba8992
Merge pull request #586 from sharelatex/ns-add-SL-command-data
...
adding commands that appear in top 100 from SL-CLSI analysis
2017-09-18 11:16:41 +02:00
James Allen
fa13e1051a
Merge pull request #585 from sharelatex/sk-ac-refactor-autocompletemanager
...
Refactor out common code in AutocompleteManager.
2017-09-18 11:16:29 +02:00
Nate Stemen
80c00b13f7
Raising the limit on safari regex count
2017-09-11 11:27:03 +01:00
Brian Gough
6d73c48c36
Merge pull request #596 from sharelatex/bg-suppress-incremental-compile-after-errors
...
suppress incremental compile after errors
2017-09-11 08:15:50 +01:00
Alasdair Smith
38eaf82c65
Ensure that time is monotonic when running autocompile
2017-09-08 11:00:46 +01:00
Alasdair Smith
4a490aafbf
Improve UX of triggering autocompile.
...
If a user is making infrequent edits (i.e. if reading and making small
changes), then waiting 5 seconds for a recompile is bad. Therefore we track
the time since the last recompile and use this to decide whether a recompile
should be run. This reduces the time to recompile, unless the user is typing
for a significant amount of time.
2017-09-08 10:42:54 +01:00
Alasdair Smith
e2523c569e
Filter linting warnings
2017-09-07 17:45:16 +01:00
Brian Gough
c6d2f0f4e1
skip incremental compile after server error
2017-09-07 15:05:42 +01:00
Alasdair Smith
624802c28e
Remove unnecessary parens
2017-09-07 11:30:42 +01:00
Alasdair Smith
b7713439bf
Bring back comparsion erroneously removed
2017-09-07 11:30:20 +01:00
Alasdair Smith
9cde236bc8
Add comment explaining lint errors vs compile log errors
2017-09-07 11:28:36 +01:00
Alasdair Smith
a8cdfb7ecc
Track autocompile setting change
2017-09-07 11:13:38 +01:00
Alasdair Smith
11386eb817
Add option to autocompile, so can be identified in event tracking
2017-09-07 10:20:21 +01:00
Alasdair Smith
8a8d98935b
Remove unnecessary linting check in annotations listener
...
When user starts typing, compile log annotations are replaced with linter ones,
so log errrors can be ignored for this purpose. Because we don't try to
autocompile unless the user types something
2017-09-07 10:04:10 +01:00
Alasdair Smith
0c76b06a97
Increase timeout to 5 seconds
2017-09-07 10:02:48 +01:00
Alasdair Smith
320466a4f7
Catch invalid email address and show specific error message
2017-09-06 13:47:45 +01:00
James Allen
b2257db2c2
Don't get confused by commands in arguments in autocomplete
2017-09-05 19:26:13 +02:00
Alasdair Smith
ca8ba6dabe
Fix incorrect checking of contact name
2017-09-05 17:18:26 +01:00
Alasdair Smith
ce630e4971
Extract timeout constant
2017-09-05 14:57:06 +01:00
Alasdair Smith
a9e94f6a6d
Unsubscribe autocompile listener if disabled
2017-09-05 14:57:06 +01:00
Alasdair Smith
cca7f55322
Add autocompile setting
2017-09-05 14:57:06 +01:00
Alasdair Smith
64f70942d0
Ensure user is in beta program
2017-09-05 14:57:06 +01:00
Alasdair Smith
fc4a260d95
Ensure error is from linting not compile logs
2017-09-05 14:57:06 +01:00
Alasdair Smith
9f1adfd0c0
Replace separate autocompile ctrl with listener in PdfController
2017-09-05 14:57:06 +01:00
Alasdair Smith
53bb4fdde0
Use var in root scope instead of event to track linting error
2017-09-05 14:57:06 +01:00
Alasdair Smith
dab799a81b
First pass at auto compile ctrl
2017-09-05 14:57:06 +01:00
Alasdair Smith
c42b08fcff
Dispatch linting error event when changed
2017-09-05 14:57:06 +01:00
Alasdair Smith
65b2c42fad
Emit event when op is acknowledged
2017-09-05 14:57:06 +01:00
Nate Stemen
54af7fbdcb
adding in a few new commands that appear in SL-CLSI analysis
2017-08-31 10:39:46 +01:00
Alasdair Smith
184c8adb84
Merge pull request #582 from sharelatex/as-pdfjs-cmaps-fix
...
Fix Cmaps path for future versions of PDF.js
2017-08-31 09:36:46 +01:00
Shane Kilkelly
8a612df009
fix use of context helper in onChange
2017-08-31 08:59:38 +01:00
Shane Kilkelly
708afedeb4
Refactor out common code in AutocompleteManager.
...
(first pass)
2017-08-30 14:01:20 +01:00
James Allen
2e005fd39a
Merge pull request #572 from sharelatex/ns-autocomplete
...
Adding default list of commands to autocomplete
2017-08-29 15:43:24 +02:00
Alasdair Smith
285c9587e9
Use injected Cmaps path
2017-08-25 15:48:13 +01:00
Brian Gough
f9d1650c6a
Merge pull request #569 from sharelatex/bg-compile-from-redis
...
compile from redis
2017-08-25 09:09:52 +01:00
Shane Kilkelly
88923a314d
Disallow toggling track-changes via keyboard if not available on project
2017-08-23 15:02:06 +01:00
Nate Stemen
adb26b1b94
forgot meta tag for "thebibiography"
2017-08-18 14:24:44 +01:00
Nate Stemen
fb4182cbb1
Merge branch 'master' into ns-autocomplete
2017-08-18 09:14:06 +01:00
Nate Stemen
42be1164bc
fixing environment duplication in autocomplete issue
2017-08-17 14:30:18 +01:00
Nate Stemen
d1b906db43
renaming and organizing
2017-08-16 17:55:43 +01:00
Nate Stemen
f253b7e8cb
fixing command duplication issue during suggestion
2017-08-16 17:40:01 +01:00
Nate Stemen
6e9b1c602b
fixing spaces vs. tabs issue
2017-08-14 18:02:51 +01:00
Nate Stemen
688f1e9e75
merged staticManager with snippetManager
2017-08-11 09:23:36 +01:00
Brian Gough
e2048e1ed5
use incrementalCompilesEnabled as option name
2017-08-09 16:25:57 +01:00
James Allen
7538c8834f
Merge branch 'master' into ja-per-user-track-changes
2017-08-09 14:05:36 +02:00
Brian Gough
97b129cbe3
enable incremental compilation for beta users
2017-08-09 10:57:24 +01:00
James Allen
f9690f9db0
Add Overleaf header logo
2017-08-08 08:26:26 +02:00
James Allen
b4029359bc
Fix loading indicator
2017-08-08 08:17:16 +02:00
James Allen
4ab5451827
Keep both editor loading logos
2017-08-07 17:04:49 +02:00
Paulo Reis
d9e1254a6d
Update loading screen.
2017-08-07 17:02:55 +02:00
James Allen
5c8442a86f
Allow configureable brand prefix with overleaf styles
2017-08-07 17:01:59 +02:00
James Allen
e5c01df9a8
Merge pull request #544 from sharelatex/ja-update-ace
...
Update Ace with new context tracking linter
2017-08-04 10:46:34 +02:00
James Allen
6c342a6e65
Merge branch 'master' into ja-update-ace
2017-08-04 10:39:53 +02:00
James Allen
4826616411
Update with latex mode bracket matching changes
2017-08-04 10:38:54 +02:00
Nate Stemen
769875c5d5
Adding default autocomplete commands w/ argument options
2017-08-03 16:31:46 +01:00
Shane Kilkelly
05c5b4f9c5
Merge branch 'master' into sk-fully-hide-trackchanges
2017-08-03 15:20:20 +01:00
Shane Kilkelly
9cc461605e
Prevent track-changes hotkey actions when not enabled.
2017-08-03 15:17:28 +01:00
Shane Kilkelly
670d4438dc
If track-changes is not enabled, don't show hotkeys for it.
2017-08-03 15:16:54 +01:00
James Allen
b2e6c028ba
Merge pull request #562 from sharelatex/pr-ignore-deleted-projects-uncategorized
...
Correct count of uncategorized projects
2017-08-03 10:36:20 +02:00
James Allen
ef9b3e06ee
Merge pull request #568 from sharelatex/ja-validate-contact-form
...
Validate and add error status to contact form
2017-08-03 10:35:48 +02:00
James Allen
2f3c1fae86
Merge pull request #564 from sharelatex/sk-autocomplete-graphics
...
Sk autocomplete graphics
2017-08-03 10:35:27 +02:00
James Allen
3d9da02815
Merge pull request #555 from sharelatex/sk-password-policy
...
Enforce stricter password policy.
2017-08-03 10:35:00 +02:00
James Allen
66d18bcbcd
Validate and add error status to contact form
2017-08-02 14:59:03 +02:00
Shane Kilkelly
8a0f58c63d
Use correct character width
2017-08-01 14:28:10 +01:00
Shane Kilkelly
3ffef7fe56
Dynamically adjust the width of autocomplete popup.
2017-08-01 13:40:30 +01:00
Paulo Reis
7b85661035
Re-enable the toggle TC keyboard shortcut.
2017-08-01 11:59:32 +01:00
Paulo Reis
029ab8d2f1
Make sure TC state is applied to all users on load.
2017-08-01 11:30:23 +01:00
Paulo Reis
fbce49f5cd
Merge branch 'master' into ja-per-user-track-changes
2017-08-01 10:56:02 +01:00
Shane Kilkelly
9a85e42ddb
Remove stray file
2017-08-01 09:53:43 +01:00
James Allen
e3bf4c539b
Style tab panes
2017-08-01 09:51:27 +02:00
Shane Kilkelly
f057f788e3
Autocomplete for graphics
2017-07-31 14:51:22 +01:00
Shane Kilkelly
eeabac7698
Get graphics paths from preamble
2017-07-31 11:28:52 +01:00
Shane Kilkelly
a841646559
Add preamble parser
2017-07-31 11:28:21 +01:00
Shane Kilkelly
eaf9ae5b94
Begin work on autocomplete for includegraphics
2017-07-31 09:34:58 +01:00
Paulo Reis
b44d0bfb85
Ignore deleted projects when determining the number of uncategorized projects.
2017-07-28 14:41:33 +01:00
Shane Kilkelly
0f131d940d
Enforce stricter password policy.
...
- Check minimum password lengths
- Set default policy to 6-128 chars
2017-07-24 11:06:47 +01:00
Paulo Reis
759c7d43b6
Add a separator and better handling of line-breaks in settings.
2017-07-21 15:19:15 +01:00
Shane Kilkelly
70e5279ba2
Don't autocomplete for commands like \\
, \[
, \:
, etc
2017-07-14 13:52:18 +01:00
Shane Kilkelly
f66982dd8b
Consistently delete back to last backslash
2017-07-13 10:23:45 +01:00
Shane Kilkelly
75b0e0cf51
Don't offer autocomplete for double-backslash
2017-07-13 10:22:51 +01:00
Shane Kilkelly
952a765235
Inteligently rank exact match highest
2017-07-12 11:33:45 +01:00
Shane Kilkelly
c8a21cdcf5
WIP: sort definite real commands from possible incidentals
2017-07-12 09:25:39 +01:00
Shane Kilkelly
1fb036811a
Temporarily remove up-ranking of exact match
2017-07-11 11:34:31 +01:00
Shane Kilkelly
0b84caa730
Add new auto-pair behaviour to mode-latex_beta
2017-07-10 10:52:18 +01:00
Paulo Reis
a2e583edb8
Remove debug statement.
2017-07-07 10:38:13 +01:00
Paulo Reis
6cfa10d511
Add a per-user TC notice dialog.
2017-07-07 10:38:13 +01:00
Paulo Reis
12ace746fc
Add per-user TC notice assets.
2017-07-07 10:38:13 +01:00
Paulo Reis
8925dc5a78
Revert "Show simpler UI when there is only one user."
...
This reverts commit 48300bd5b2ef01651e64dad3183e65d5d5798955.
2017-07-07 10:38:13 +01:00
Paulo Reis
dae5381af7
Show simpler UI when there is only one user.
2017-07-07 10:38:13 +01:00
Paulo Reis
139c2ab1fd
Consolidate members list.
2017-07-07 10:38:13 +01:00
Paulo Reis
e421b6550a
Filter out read-only users from TC users list.
2017-07-07 10:38:13 +01:00
Paulo Reis
71e0a6935f
Readd feature flag handling.
2017-07-07 10:38:13 +01:00
Paulo Reis
7bf203c77f
Styling.
2017-07-07 10:38:13 +01:00
Paulo Reis
e7dd4874ad
Add collapse state indicator.
2017-07-07 10:38:13 +01:00
Paulo Reis
e40b8500d7
Keep user state persistent on the client.
2017-07-07 10:38:13 +01:00
Paulo Reis
c701711eab
Support a default value when undefined in the review panel toggles.
2017-07-07 10:38:13 +01:00
Paulo Reis
8e6265e3d2
Enable global setting.
2017-07-07 10:38:13 +01:00
Paulo Reis
1ae53a243a
Correctly fetch users from project info.
2017-07-07 10:38:13 +01:00
Paulo Reis
f4bdd5eb2b
Control sync state with server.
2017-07-07 10:38:13 +01:00
Paulo Reis
0ac52e7f19
Disable individual users TC control when TC is on for everyone; add styling for disabled toggles.
2017-07-07 10:38:13 +01:00
Paulo Reis
1fa7338baf
Wire up TC widget to controller methods.
2017-07-07 10:38:13 +01:00
Paulo Reis
dc2085c6e1
Basic widget for toggling TC state.
2017-07-07 10:38:13 +01:00
James Allen
710c89a629
Support per user track changes (proof of concept)
2017-07-07 10:38:13 +01:00
Shane Kilkelly
b799bbc695
Merge branch 'sk-auto-pair-braces' into sk-ac-improvements-integration
2017-07-06 14:56:03 +01:00
Shane Kilkelly
cc8499ba48
update to latest latex mode
2017-07-06 14:55:37 +01:00
Shane Kilkelly
04c94760f5
Merge branch 'sk-auto-pair-braces' into sk-ac-improvements-integration
2017-07-06 14:39:28 +01:00
Shane Kilkelly
330e3dccc3
Merge branch 'sk-ac-rank-exact-match-highest' into sk-ac-improvements-integration
2017-07-06 14:39:08 +01:00
Shane Kilkelly
611f8825d7
Merge branch 'sk-ac-prevent-double-insertion' into sk-ac-improvements-integration
2017-07-06 14:39:00 +01:00
Shane Kilkelly
9ac15c9d47
Merge branch 'sk-ac-more-eager-trigger' into sk-ac-improvements-integration
2017-07-06 14:38:44 +01:00
Shane Kilkelly
98f96d6087
Merge branch 'sk-ac-disable-for-existing-environments' into sk-ac-improvements-integration
2017-07-06 14:38:07 +01:00
Shane Kilkelly
c99109751e
Merge branch 'sk-ac-ignore-comments' into sk-ac-improvements-integration
2017-07-06 14:37:54 +01:00
James Allen
01d709dff5
Remove latex beta mode
2017-07-06 11:59:44 +01:00
James Allen
4276f1544d
Update ace latex worker to include context reporting
2017-07-06 11:56:20 +01:00
Shane Kilkelly
34b2012727
Enable (optional) auto-pairing for latex mode
2017-07-06 11:06:51 +01:00
Shane Kilkelly
68c942582f
Clean up the custom insertMatch function
2017-07-04 08:48:45 +01:00
Shane Kilkelly
08faa64b57
Add comment explaining the custom insertMatch
2017-07-03 15:20:36 +01:00
Shane Kilkelly
96d269e348
Use existential operator to check existence
2017-07-03 15:13:27 +01:00
Shane Kilkelly
415de9e2ec
Experimental handling of completion for existing commands
2017-07-03 15:12:15 +01:00
Shane Kilkelly
127d5ded86
Remove erroneous log
2017-07-03 13:37:25 +01:00
Shane Kilkelly
7ecadb14f6
Add a skeleton of a custom insertMatch function
2017-07-03 13:36:24 +01:00
Paulo Reis
a9b104f674
Relocate qProvider setup.
2017-07-03 11:19:13 +01:00
Paulo Reis
55476f1693
Disable erroring behaviour for unhandled rejections.
2017-07-03 10:42:39 +01:00
Paulo Reis
86e66bbed1
Merge branch 'master' into pr-angular-1.6.x
2017-07-03 09:50:01 +01:00
Shane Kilkelly
bb3c5e7a34
Reverse direction, don't ignore commands in comments
2017-06-30 15:05:21 +01:00
Shane Kilkelly
bd88adb621
Account for mid-line comments
2017-06-30 14:03:34 +01:00
Shane Kilkelly
da286438be
Don't trigger autocomplete when editing existing environment
2017-06-30 11:22:11 +01:00
Shane Kilkelly
c2fcbbeb72
Fix parsing, so it accurately captures command args
2017-06-30 10:55:10 +01:00
Shane Kilkelly
e2bff06aeb
Add comment about ignoring comments
2017-06-30 08:42:03 +01:00
Shane Kilkelly
cfe51089f6
Ignore commands within comments when parsing document
2017-06-29 16:04:52 +01:00
Shane Kilkelly
db80f8ca1c
Don't trigger autocomplete if we're on a comment line.
2017-06-29 14:42:08 +01:00
Shane Kilkelly
c9cda16a5e
Refactor score calculation
2017-06-29 11:13:59 +01:00
Paulo Reis
699ec419aa
Fix bug where announcements were undefined.
2017-06-29 11:04:52 +01:00
Shane Kilkelly
936278b045
Bring score into line with new policy
2017-06-29 10:55:05 +01:00
Shane Kilkelly
cbae1857e7
Allow exact match to be ranked higher than any other result
2017-06-29 10:54:07 +01:00
Shane Kilkelly
3deebc8642
Change the scoring system for autocomplete, scale 0-100
2017-06-29 10:53:52 +01:00
Shane Kilkelly
1490b4a0da
Remove Shift-Space autocomplete trigger, far to easy to misfire
2017-06-29 10:02:49 +01:00
Shane Kilkelly
69796bd835
also trigger autocomplete if last character is backslash
2017-06-28 15:48:21 +01:00
Shane Kilkelly
c9678ad699
Trigger autocomplete with Shift-Space, in addition to existing triggers
2017-06-28 15:24:37 +01:00
Paulo Reis
3bc4beee07
Add Angular source maps and unminified bundle.
2017-06-26 16:13:05 +01:00
Paulo Reis
1bc38b2ea7
Use Angular minified bundle.
2017-06-26 10:07:15 +01:00
Paulo Reis
9ffec6eb16
Correctly access response parameters.
2017-06-26 10:00:47 +01:00
Paulo Reis
33be384206
Avoid implicitly returning from a directive controller constructor function.
2017-06-21 16:00:56 +01:00
Paulo Reis
ddee75e479
Use a getterSetter to manage int values in settings.
2017-06-20 17:08:53 +01:00
Paulo Reis
669c705d32
Also refactor signatures from methods wrapping the HTTP service.
2017-06-20 16:27:05 +01:00
Paulo Reis
3dda383d70
Use promise method signatures, instead of old HTTP service ones.
2017-06-20 16:04:06 +01:00
Paulo Jorge Reis
2dda430691
Merge pull request #522 from sharelatex/bg-hide-textlayer-for-performance
...
set text layer to display:none for faster scroll
2017-06-20 13:58:20 +01:00
Shane Kilkelly
8b7a1bd4d9
Merge branch 'sk-labels-ac-debounce'
2017-06-20 13:53:23 +01:00
Paulo Reis
155f515a50
Use standard promises with the http service.
2017-06-20 11:50:23 +01:00
Paulo Reis
97f3f7c2db
Add latest Angular bundles.
2017-06-20 10:38:56 +01:00
Shane Kilkelly
3d2d7652c6
Simplified and faster blanking
2017-06-20 08:46:47 +01:00
Shane Kilkelly
b4e2dcf7ef
Match prefixes of ref
and cite
up to 16 characters
2017-06-20 08:46:28 +01:00
Shane Kilkelly
a299af12e8
Remove debug helper
2017-06-20 08:46:18 +01:00
Brian Gough
412c823483
remove the red highlighting of the text layer
2017-06-19 14:58:22 +01:00
Shane Kilkelly
85ddff15cb
Move command-matching regex to the class level
2017-06-16 10:20:55 +01:00
Shane Kilkelly
0163ffc4bd
Extend, and clean up the command-matching regex
2017-06-16 10:17:30 +01:00
Shane Kilkelly
1d905bd5ff
Clean up string replacement
2017-06-16 09:49:16 +01:00
Shane Kilkelly
d9aff3c3f4
Blacklist more commands
2017-06-16 09:41:40 +01:00
Shane Kilkelly
a1d2d5b313
WIP: blank out label commands before running spell-check
2017-06-16 09:20:35 +01:00
Paulo Reis
af2cbf5a51
Force return true on a jquery handler; returning falsy values may have unexpected results.
2017-06-15 16:17:21 +01:00
Paulo Reis
fcf0a96933
Use selection.isCollapsed to check for empty selections.
2017-06-15 16:16:30 +01:00
Paulo Reis
b9797dbc42
Make sure clicks on labels dont stop the event propagation to buttons.
2017-06-15 16:14:06 +01:00
Brian Gough
503822deb0
avoid possible exception if selection is undefined
...
defensive programming only
2017-06-15 14:32:00 +01:00