James Allen
9721dffbb6
Add missing state reset to error handler
2018-01-31 09:41:58 +00:00
Brian Gough
1c6dc66ed1
prevent double calls to rename
2018-01-29 16:45:59 +00:00
Brian Gough
6ed181d52c
fix check for name in filetree move
2018-01-29 15:27:52 +00:00
Brian Gough
63fa024d98
client-side duplicate check for move/rename/create
2018-01-29 15:24:51 +00:00
Alberto Fernández Capel
839ea496f1
Track clicks anywhere on the window as activity when the editor is open
2018-01-25 16:32:00 +00:00
Alberto Fernández Capel
a68489a604
Track session activvity if the user scrolls the editor
2018-01-25 16:10:47 +00:00
Alberto Fernández Capel
7d0d18ea5e
Use the cursor:editor:update event to track user activity
...
It is strictly a superset of the change event we were using
before: if there's a change, there will be always a cursor
update, but there can be cursor updates (like when the user
presses the arrow keys) that don't change the document.
This is coherent with what we do to track user activity at
dfb9943521/public/coffee/ide/connection/ConnectionManager.coffee (L49-L50)
2018-01-24 17:20:30 +00:00
Alberto Fernández Capel
e42d1f9b13
Change heartbeat backoff logic
...
Send first two heartbeats at 0 and 30 secs, then increase the backoff
interval 1min per call until a maximun of 5min.
2018-01-24 16:05:53 +00:00
Alberto Fernández Capel
dd2e9d7431
Remove unused var
2018-01-24 15:37:16 +00:00
Alberto Fernández Capel
f0777f996c
Space editing sessions heartbeats with an increasing backoff
...
We send the first heartbeat as soon as the session start.
The next ones are sent (if there's any activity)
when the editing session is about 30 and 60 seconds.
Then at 2min, 3min, 4min, 5min and later on every 5min.
The backoff is not reset, so if due to inactivity the
session expires in the server the backoff will still be
the same.
2018-01-24 15:22:41 +00:00
Brian Gough
feb02dacd4
only update client filetree on success
2018-01-24 10:07:42 +00:00
James Allen
28deb4e107
Merge pull request #292 from sharelatex/ja-v1-ownership
...
Fallback to project creator when there is no owner
2018-01-24 09:50:20 +00:00
Alberto Fernández Capel
8a1523cc03
Read project id from the global window var
2018-01-23 15:58:59 +00:00
James Allen
a558d05ac6
Only show import modal for owned projects
2018-01-23 15:12:00 +00:00
Nate Stemen
ea5063d7ea
dont return needsClosingBrace from Helpers
2018-01-23 09:35:24 -05:00
Nate Stemen
91302cfb16
move end bracket logic to helpers and remove unecessary unpacking
2018-01-23 09:35:24 -05:00
Nate Stemen
30eca714eb
fix random things with snippets
2018-01-23 09:35:24 -05:00
Nate Stemen
d2adc753aa
use helpers to see if there is '}' already
2018-01-23 09:35:24 -05:00
James Allen
d7706f642b
Show the creator as the owner if no owner present
2018-01-23 13:47:48 +00:00
James Allen
ce9a1fec87
Revert "Go back to allowing v1 projects to be imported"
2018-01-23 11:49:33 +00:00
James Allen
2fb4059633
Merge pull request #258 from sharelatex/ja-allow-v1-imports
...
Go back to allowing v1 projects to be imported
2018-01-23 10:30:23 +00:00
Alberto Fernández Capel
b3b05d1af3
Disable the trailing throttle event in the editing session heartbeat
...
Throttle sends an event as soon as the function is called. Then
we wait X minutes, but we only want to send another event if
there's any activity *after* those X minutes.
2018-01-23 10:29:11 +00:00
Alberto Fernández Capel
0bef5531bb
Rename editSession -> editingSession
2018-01-23 10:29:11 +00:00
Alberto Fernández Capel
868e32c1bc
Send edit sessions heartbeat to the analytics service
2018-01-22 15:10:52 +00:00
Alberto Fernández Capel
1a1ccc9f46
Remove trailing whitespace
2018-01-22 15:00:56 +00:00
Alasdair Smith
06e2f0df1c
Remove unused styles for auto compile & link sharing onboarding
2018-01-17 16:04:10 +00:00
Alasdair Smith
4d29c4d769
Remove unused link sharing onboarding now at 100%
2018-01-17 15:18:40 +00:00
Alasdair Smith
45de9bb5dc
Remove unused autocompile rollout logic now that at 100%
2018-01-17 15:17:55 +00:00
James Allen
c466025df4
Go back to allowing v1 projects to be imported
2018-01-16 09:40:58 +00:00
Alasdair Smith
4a0628d801
Remove unnecessary test script
2018-01-15 16:23:10 +00:00
Alasdair Smith
984ecae200
Rename directory to es to align with coffee dir
2018-01-15 16:23:10 +00:00
Alasdair Smith
4642d55b7b
Add basic example script
2018-01-15 16:23:10 +00:00
James Allen
6d04eeaa03
Merge pull request #256 from sharelatex/ja-display-v2-history-users
...
Inject v2 user details into project-history updates and diffs
2018-01-15 14:21:14 +00:00
James Allen
662122bb1c
CI and local dev environment improvements
...
The need for this became very noticeable due to the slowness of filesystem access in docker-in-mac, with a full compile taking over a minute for me in docker. Using make to introduce incremental compile makes this near instantaneous outside of docker (if only a few files have changed), and quick enough inside docker.
With incremental compile via make, it compiles quickly enough that re-compiling and restarting the web service automatically when backend files change is quick enough now. This is how the service is run via docker-compose in https://github.com/sharelatex/sharelatex-dev-environment , so it shouldn't be necessary to manually restart the container each time a coffee file changes.
At the moment Jenkins pull web modules in via the GitSCM plugin, but I believe this is creating a dependency in Jenkins, where any commits to any of the modules causes all of the web branches to rebuild. By doing it via our own scripts we can hopefully avoid this. It also creates a build process which is reproducible locally.
**Note that at the moment in this PR all modules pull from `ja-dockerize-dev` branches, but these should be merged first, and this PR updated to point to the master branches before merging**. This is necessary for other changes to build process/docker-compose workflow.
As well as a Makefile for web, there is now a `Makefile.module`. This is copied into each module directory by the top-level Makefile, and is written in a way to be flexible and support unit tests, acceptance tests, front-end js for the ide and main, and the modules `app/coffee` directory, while allowing modules to have some of these missing (not all modules have e.g. acceptance tests, or front-end JS). This will allows us to refine the build process in future, without needing to update the Makefile in each module repo separately (I found this to be a painful part of this development).
This makes web compatible with the docker-compose workflow at https://github.com/sharelatex/sharelatex-dev-environment , where each service is running in its own docker container, with networking managed by docker.
Previously the Makefile was set up to run unit tests in docker with `make unit_tests`. This now just runs them natively. In the CI, they are run in docker anyway (all steps in Jenkins are), and locally, they run fine natively with `npm run test:unit`, or can be run in docker via https://github.com/sharelatex/sharelatex-dev-environment with `bin/run web_sl npm run test:unit`.
Previously we did a lot of juggling with only mounting source files (coffee, less, etc) into the docker container for acceptance tests. This was to avoid creating root owned files if the whole directory was mounted. Now instead the whole web directory is mounted read-only, with the compilation step done outside of the container before running the tests.
This allows the host and container to share the `node_modules` folder as well, which avoids needing to `npm install` twice on the CI box, and should speed up the build by a few minutes.
On macOS, this would cause a problem with compiled modules if you tried to use the same `node_modules` to run the app natively. However, if running via docker-compose in https://github.com/sharelatex/sharelatex-dev-environment , this is no longer a problem.
2018-01-15 09:36:41 +00:00
James Allen
17a5dfa5a5
Inject v2 user details into project-history updates and diffs
2018-01-11 11:32:16 +00:00
James Allen
0cf875bd0a
Merge pull request #170 from sharelatex/pr-fix-link-rewriting
...
Enable HTML5 mode in Angular, to allow disabling link rewriting.
2018-01-11 08:42:29 +00:00
James Allen
79055d0e8d
Merge pull request #243 from sharelatex/ja-dont-show-binary-diffs
...
Show apology message instead of raw binary files
2018-01-11 08:42:13 +00:00
James Allen
c6b6b95dec
Remove some unused files
2018-01-09 14:19:23 +00:00
Nate Stemen
c43aa54bee
Merge branch 'ns-fix-package-command-meta'
2018-01-08 08:53:42 -05:00
Nate Stemen
7af615ff6c
Merge branch 'ns-no-duplicate-packages'
2018-01-08 08:53:07 -05:00
Nate Stemen
cf4d6c1165
Merge branch 'master' into ns-no-duplicate-packages
2018-01-05 11:46:44 -05:00
James Allen
692182c784
Show apology message instead of raw binary files
2018-01-04 10:53:49 +00:00
James Allen
f0d7658bdd
Don't show import dialog for projects, just link to v1 editor
2018-01-03 16:46:26 +00:00
Paulo Reis
b73a56f70c
Take header height into account in the main page masthead; avoid margin collapsing.
2018-01-03 12:12:45 +00:00
James Allen
7918232757
Merge pull request #240 from sharelatex/pr-v2-styling-fixes
...
v2 styling fixes
2018-01-03 11:30:39 +00:00
James Allen
2dcc17ad09
Merge pull request #235 from sharelatex/ja-show-deleted-files-in-v2-history
...
Handle deleted and renamed files better in v2 history UI; Fixes #226
2018-01-03 11:29:59 +00:00
Nate Stemen
d2ee03d9b9
make commandNames object for fast lookups
2017-12-21 15:51:50 -05:00
Paulo Reis
399ebc473f
Center global alerts in v2.
2017-12-21 13:38:40 +00:00
Paulo Reis
baa57c56aa
Improve dropdown spacing in v2.
2017-12-21 13:34:11 +00:00
Paulo Reis
f5751c34a9
Make inline tags look nicer with v2 typography.
2017-12-21 12:57:33 +00:00
Alasdair Smith
1be9e29f35
Switch from button to link to fit better
2017-12-21 11:10:23 +00:00
Paulo Reis
d5502fd502
Make layout work nicely without navbar (content BG now expands to the top).
2017-12-21 11:03:27 +00:00
Alasdair Smith
fb23b30c45
Merge branch 'master' into as-update-v2-copy
2017-12-21 10:57:16 +00:00
James Allen
940b22ef95
Remove debug line
2017-12-20 16:42:09 +00:00
James Allen
d0fee7e76c
Show a file tree of changed paths, so we can work with renamed and deleted files
2017-12-20 16:22:32 +00:00
Paulo Reis
d22a9acc76
Highlight project name a little, style renaming widget in v2.
2017-12-20 15:56:32 +00:00
Paulo Reis
cf30cfd923
Create new style for links inside alerts; apply it to the reconnection alert.
2017-12-20 15:39:50 +00:00
Henry Oswald
ec41f984e6
Merge branch 'ho-remove-groove'
2017-12-20 13:37:15 +00:00
Paulo Reis
8d1736af59
Fix forgotten conflict.
2017-12-20 09:51:32 +00:00
Paulo Reis
0a0c6c6c0c
Merge branch 'master' into pr-style-v2-chatpane
2017-12-20 09:50:49 +00:00
Paulo Jorge Reis
c8741daeb2
Merge pull request #204 from sharelatex/pr-style-v2-pdf
...
Style v2 PDF viewer, alerts and logs
2017-12-20 09:17:21 +00:00
James Allen
1d89a535a1
Merge pull request #208 from sharelatex/ja-front-end-history
...
Add in web front end that supports v2 history; Fixes #168
2017-12-19 15:00:34 +00:00
James Allen
b4a5e5a041
Tidy up HistoryV2Manager
2017-12-19 13:58:47 +00:00
James Allen
d84580f12d
Label actions with text rather than icons
2017-12-19 13:58:47 +00:00
James Allen
8a3fadbfc1
Style the edit/add/rename options
2017-12-19 13:58:47 +00:00
James Allen
50b12e88a2
Add HistoryV2Manager alongside existing HistoryManager
2017-12-19 13:58:47 +00:00
James Allen
8ea779af58
Add some front end tests for HistoryManager
2017-12-19 13:58:47 +00:00
James Allen
4691a6e85c
Get diffs showing in client
2017-12-19 13:58:47 +00:00
James Allen
a1615e6d84
Prototype of requesting history information by doc path, while tracking renames
2017-12-19 13:58:47 +00:00
Brian Gough
388a052647
Merge pull request #213 from sharelatex/bg-allow-autocompile-without-code-check
...
allow autocompile without code check
2017-12-19 13:46:12 +00:00
Nate Stemen
685595ed0a
remove comment
2017-12-19 08:44:19 -05:00
Shane Kilkelly
529d35936d
Merge pull request #203 from sharelatex/sk-prevent-archived-deletion
...
Prevent user from trying to delete archived project they don't own
2017-12-19 13:36:26 +00:00
Paulo Reis
547c0cb79f
Use new theme red shade as the danger red; tone down compile log alerts.
2017-12-19 13:10:12 +00:00
Paulo Reis
88d669cbb5
Remove debugging statements.
2017-12-19 10:52:17 +00:00
Paulo Reis
91d479378b
Apply padding and font-weight changes.
2017-12-19 10:51:49 +00:00
Paulo Reis
709a4bf4fb
Adjust padding values.
2017-12-19 10:50:33 +00:00
Alasdair Smith
f3342f327d
Merge pull request #202 from sharelatex/as-v2-upgrade-redirect
...
Use V1 trial page on V2 instead of legacy SL
2017-12-19 10:07:08 +00:00
Alasdair Smith
8453a7a910
Increase width slightly
2017-12-18 17:26:24 +00:00
Paulo Reis
4e02033c82
Use Lato as the sans-serif font for v2.
2017-12-18 16:19:10 +00:00
Alasdair Smith
72ca08ae2d
Reduce margin under list
2017-12-15 16:11:31 +00:00
Nate Stemen
7d5c661b4e
make command names local array
2017-12-15 11:10:44 -05:00
Alasdair Smith
61900cc1ea
Restyle step 2 for side-by-side layout
2017-12-15 16:01:00 +00:00
Alasdair Smith
75a34024bc
Restyle step 1 for side-by-side layout
2017-12-15 13:48:53 +00:00
Alasdair Smith
a6cd210ef6
Update v1 dash pane with new copy & restyle to fit correctly
2017-12-15 12:02:11 +00:00
Alasdair Smith
da2c0b3fea
Switch redirectToOLFreeTrialUrl to calculate trial url
...
Sending unnecessary query params to OL seems like a footgun, so switch to
compromise that is more explicit but doesn't send unnecessary query params
2017-12-14 17:09:11 +00:00
Alasdair Smith
7322522323
Use freeTrialBaseUrl instead of potentially fragile v1BaseUrl
2017-12-14 17:05:12 +00:00
Brian Gough
8d91cd2748
allow autocompile without code check
2017-12-14 16:19:43 +00:00
Shane Kilkelly
b6d6ac8304
Ignore select-all events for disabled check-boxes
2017-12-14 16:18:01 +00:00
Paulo Reis
d89aa0ca02
Remove commented out code.
2017-12-14 11:52:41 +00:00
Paulo Reis
df5254d603
Remove LESS vars from other branch.
2017-12-14 11:29:41 +00:00
Paulo Reis
d5c000d761
Use correct SL color for the chat textarea.
2017-12-14 11:26:13 +00:00
Paulo Reis
907654747b
Style the chat input box.
2017-12-14 11:25:50 +00:00
Henry Oswald
cbf656518f
remove versioned files from fingerprinting
2017-12-14 11:24:47 +00:00
Paulo Reis
36c79979bd
More color adjustments.
2017-12-14 11:24:06 +00:00
Paulo Reis
c03ce6fdf7
Configure chat messages colors per brand.
2017-12-14 11:24:05 +00:00
Paulo Reis
ca68f01a9d
Build chat message styles on the controller side (allowing for extra parameters).
2017-12-14 11:23:22 +00:00
Paulo Reis
9deddcf2a8
Disable dark theme handling for v2, for now.
2017-12-14 11:23:22 +00:00
Paulo Reis
c5e2560b43
Basic colors for chat.
2017-12-14 11:22:57 +00:00
Henry Oswald
490c56c692
libs -> libraries
...
don't use hash in non minjs version
2017-12-13 17:15:44 +00:00
Alasdair Smith
b7a43d95e0
Remove unused method, now handled by FreeTrialModalController
2017-12-13 15:55:32 +00:00
Alasdair Smith
e7992e65e4
Merge branch 'master' into as-v2-upgrade-redirect
2017-12-13 14:45:51 +00:00
Alasdair Smith
4c81cd874f
Remove unnecessary method - handled by FreeTrialModalController
2017-12-13 11:09:46 +00:00
Nate Stemen
618f04ea7a
allow package manager to have access to metadata
2017-12-12 15:14:24 -05:00
Nate Stemen
68b57f8d95
check current commands against package commands
2017-12-12 14:33:11 -05:00
Shane Kilkelly
603252f3b4
Prevent user from trying to delete archived project they don't own
...
This change disables the select-project checkbox if the user
is on the 'archived' project pane and they don't own the project.
The request to delete would fail anyway, but this prevents UI confusion
2017-12-12 16:23:24 +00:00
Paulo Reis
d8153f9fdb
Merge branch 'master' into pr-style-v2-pdf
2017-12-12 14:19:22 +00:00
Alasdair Smith
4126e9bd31
Merge branch 'master' into as-v1-dash-link
2017-12-12 09:55:48 +00:00
Alasdair Smith
f5c914ed6c
When upgrading track changes on V2, redirect to V1 trial page
2017-12-11 18:03:09 +00:00
Paulo Reis
edfc259c53
Fix missing border on SL.
2017-12-11 16:55:50 +00:00
Paulo Reis
59e675797e
Merge branch 'master' into pr-style-v2-resizers
2017-12-11 15:55:50 +00:00
Paulo Reis
ab46e3930a
Configure toggler cursors for v2.
2017-12-11 15:41:07 +00:00
Paulo Reis
0652fc62a0
Configure resizer cursors for v2.
2017-12-11 15:33:00 +00:00
James Allen
de484e1a08
Remove unused reference to e
2017-12-11 13:31:16 +00:00
James Allen
f465a962d4
Put recaptcha css in a base location
2017-12-11 13:01:21 +00:00
James Allen
53dc8cddfc
Refactor captcha into middleware and angular service
2017-12-11 12:58:55 +00:00
James Allen
69499847e4
Refactor front end code into validateCaptcha service
2017-12-11 12:32:43 +00:00
James Allen
83086e4a79
Add recaptch to share endpoint
2017-12-11 11:57:59 +00:00
Paulo Reis
97129b5dda
Make the togglers more obvious when panes are closed.
2017-12-08 15:29:05 +00:00
Paulo Reis
9575e80291
Pseudo elements in togglers where causing artifacts in v2; only allow those in SL.
2017-12-08 10:31:31 +00:00
Paulo Reis
5bea196b8f
Style logs, log hints and alerts in general.
2017-12-07 16:35:39 +00:00
Nate Stemen
d224e09b5e
Merge pull request #192 from sharelatex/ns-remove-labels
...
removing labels service
2017-12-07 09:38:00 -05:00
Paulo Reis
1a6e831b9e
Basic PDF viewer colors for v2.
2017-12-07 14:14:42 +00:00
Paulo Reis
09dcbcf3b7
Fix missing variables.
2017-12-07 10:35:43 +00:00
Paulo Reis
7c5a7880b0
Merge branch 'master' into pr-style-v2-resizers
2017-12-06 15:49:18 +00:00
Alasdair Smith
48cd048e5c
Merge branch 'master' into as-v1-dash-link
2017-12-06 15:12:29 +00:00
Paulo Jorge Reis
a5f99ccce3
Merge pull request #167 from sharelatex/pr-ol-beta-editor-styling
...
V2 editor styling
2017-12-06 11:22:28 +00:00
Paulo Reis
2ccf0750f2
Run SVGs through SVGOMG.
2017-12-06 11:21:02 +00:00
Nate Stemen
9bf5d1e14c
removing labels service
2017-12-05 13:57:36 -05:00
Paulo Reis
a88538c3fd
Make the back to projects button closer to current SL.
2017-12-05 10:20:25 +00:00
Paulo Reis
aab43f5916
Smaller line-height in the file tree.
2017-12-05 10:07:45 +00:00
Alasdair Smith
6a185a838d
Increase height & margin
2017-12-04 17:20:53 +00:00
Paulo Reis
7498ead1f5
Make sure SL synctex controls remain the same.
2017-12-04 15:58:40 +00:00
Paulo Reis
963ad4fece
Style resizer togglers.
2017-12-04 15:48:23 +00:00
Paulo Reis
0bad7d8549
Adjustments to synctex controls.
2017-12-04 15:12:13 +00:00
Paulo Reis
9fda8e62fa
Merge branch 'pr-style-v2-resizers' of github.com:sharelatex/web-sharelatex-internal into pr-style-v2-resizers
2017-12-04 13:48:52 +00:00
Paulo Reis
fd852004fe
Refactor synctex controls z-index handling.
2017-12-04 12:25:40 +00:00
James Allen
0b0fd576eb
Merge branch 'master' into as-v1-dash-link
2017-12-04 10:02:42 +00:00
James Allen
0602fed6e5
Merge branch 'master' into as-import-v1
2017-12-04 10:02:21 +00:00
James Allen
158b0d56cf
Merge branch 'master' into pr-style-v2-resizers
2017-12-04 10:01:45 +00:00
James Allen
f21870aac2
Merge branch 'master' into pr-ol-beta-editor-styling
2017-12-04 10:01:27 +00:00
James Allen
849861073d
Merge branch 'master' into pr-fix-link-rewriting
2017-12-04 10:01:08 +00:00
Henry Oswald
c020e4e6bd
moment and fineuploader are loaded seperately in editor, not packaged up
2017-12-02 12:29:06 +00:00
Alasdair Smith
bf23a09644
Move setting sidebar height to OL only file so var can be moved to specific scope
2017-12-01 17:59:02 +00:00
Alasdair Smith
e7f83c73ae
Extract v1 dash link styles to file so can define OL only vars
2017-12-01 17:53:52 +00:00
Alasdair Smith
d6e50ac940
Extract var to allowed to be overridden
2017-12-01 17:16:37 +00:00
Alasdair Smith
9a073cdaf0
Add link to V1 dash
2017-12-01 16:58:19 +00:00
James Allen
381761127e
Replace previous fineuploader path with old version
2017-12-01 13:26:31 +00:00
Shane Kilkelly
2ea3caf08b
Properly version the fineuploader library
2017-12-01 11:22:41 +00:00
Paulo Reis
aeffe1cea9
Style resizers while dragging.
2017-12-01 11:22:12 +00:00
Paulo Reis
cd6b51a1f6
Increase v2 resizer hit area.
2017-11-30 17:00:42 +00:00
Paulo Reis
ce3e410250
Configure resizer colors.
2017-11-30 17:00:25 +00:00
Paulo Reis
3a959cccfd
Use custom chat resizer values.
2017-11-30 15:24:48 +00:00
Paulo Reis
826f49b9a4
Add default resizer values to layout directive.
2017-11-30 15:24:39 +00:00
Paulo Reis
e38c0de6b9
Merge branch 'pr-ol-beta-editor-styling' into pr-style-v2-resizers
2017-11-30 15:13:00 +00:00
Alasdair Smith
f232899f3f
Show warning symbol on second step
2017-11-30 10:16:15 +00:00
Alasdair Smith
6eae1d59ea
Use asyncForm directive to trigger import
2017-11-30 10:16:15 +00:00
Alasdair Smith
3aaf6559c8
Add image of v2 editor
2017-11-30 10:16:15 +00:00
Alasdair Smith
265e659999
Add multiple steps
2017-11-30 10:16:15 +00:00
Alasdair Smith
958e4cad9b
Fix wrong controller
2017-11-30 10:16:15 +00:00
Alasdair Smith
b68d6411ee
Basic styles for import modal
2017-11-30 10:16:15 +00:00
Alasdair Smith
0e11668a61
Change v1 project link to button which opens import modal
2017-11-30 10:16:15 +00:00
Alasdair Smith
cbba7c38df
Add basic v1 import modal template & controller
2017-11-30 10:16:15 +00:00
Nate Stemen
c2bb8b9f89
removing calls
2017-11-29 13:30:53 -05:00
Nate Stemen
74ba7402de
Merge branch 'ns-file-completer'
2017-11-29 09:20:09 -05:00
Shane Kilkelly
8b5115ff03
Merge branch 'sk-update-fineuploader'
2017-11-29 09:41:14 +00:00
Paulo Reis
448d03a28a
Enable HTML5 mode in Angular, to allow disabling link rewriting.
2017-11-28 15:46:27 +00:00
Nate Stemen
26df9bca05
Merge pull request #136 from sharelatex/ns-autocomplete-bugs
...
fixing popup and code folding issues
2017-11-28 10:28:54 -05:00
Nate Stemen
2a50a18d23
Merge branch 'ns-package-aware-autocomplete'
2017-11-28 10:24:37 -05:00
Nate Stemen
8ef48925c1
Merge pull request #71 from sharelatex/ns-package-completer
...
fixing package completer
2017-11-28 08:56:49 -05:00
Paulo Reis
2c0fcb51e0
Unneeded LESS guard.
2017-11-28 11:27:45 +00:00
Paulo Reis
0091d639bf
Use white review icon in OL.
2017-11-28 10:49:04 +00:00
Henry Oswald
7ce56aa3b6
add http catch onto form
2017-11-28 10:13:54 +00:00
Henry Oswald
b16862fa31
add error handling for form
2017-11-27 18:03:42 +00:00
Paulo Reis
b66e28df19
Use a non-breakable space to give height.
2017-11-27 17:12:14 +00:00
Paulo Reis
e94cef12b7
Use ::before to fill empty space in indented filetree items.
2017-11-27 17:11:32 +00:00
Henry Oswald
3f2ec422f8
change subject line to put details in subject
2017-11-27 13:52:31 +00:00
Henry Oswald
7eb2f0d917
move generic sales modal to use new support endpoint
2017-11-27 12:49:12 +00:00
Shane Kilkelly
661041a35d
Use template elements for file uploaders, and i18n
2017-11-27 12:06:18 +00:00
Paulo Reis
1177f34125
Adjustments to keep the current SL look and feel.
2017-11-24 16:43:02 +00:00
Paulo Reis
860399d9de
Adjust toolbar paddings; adjust Overleaf menu icon width.
2017-11-24 16:03:30 +00:00
Paulo Reis
926fd69bb5
Use resizer icons in Overleaf, to switch the PDF layout.
2017-11-24 15:53:49 +00:00
Paulo Reis
39602d78ed
Make sure all toolbar icons and buttons are vertically centered.
2017-11-24 15:36:23 +00:00
Paulo Reis
f4f2fa4e19
Use Overleaf logo as the main menu icon.
2017-11-24 15:33:48 +00:00
Henry Oswald
5ef7bad60f
removed groove
2017-11-24 14:58:35 +00:00
Paulo Reis
2464bec280
Style the recompile button; use flexbox for the toolbar.
2017-11-23 16:42:38 +00:00
Paulo Reis
f55ffff960
Refactor toolbar variants as mixins.
2017-11-23 15:21:06 +00:00
Alasdair Smith
c052aa72ad
Fix missing import, fixing broken onboarding popup
2017-11-23 11:18:23 +00:00
Alasdair Smith
195032b4b4
Remove non-existant import
2017-11-22 17:08:21 +00:00
Alasdair Smith
e61b82c452
Remove unused link sharing rollout, but keep onboarding popup
2017-11-22 17:07:50 +00:00
Shane Kilkelly
57d0bab354
Remove commented out code, and un-used button
2017-11-22 17:00:30 +00:00
Shane Kilkelly
c8cbdfd3cb
Use the configured 'processing' text
2017-11-22 16:50:21 +00:00
Alasdair Smith
6f8b0c6e87
Revert "Remove old unused link sharing onboarding"
...
This reverts commit 66a0a7ff8b5b5081d86df333429cb0455221c81a.
2017-11-22 16:46:16 +00:00
Nate Stemen
ac9e27713d
changing allowed file types
2017-11-22 11:25:02 -05:00
Alasdair Smith
c00d9e1b51
Remove unused feature onboarding styles
2017-11-22 16:21:35 +00:00
Alasdair Smith
de3b9d6a49
Remove old unused link sharing onboarding
2017-11-22 16:09:32 +00:00
Shane Kilkelly
fee1fc3d1f
Fix visuals of file uploader
2017-11-22 15:52:02 +00:00
Alasdair Smith
f85880ba38
Remove old unused track changes notice
2017-11-22 15:03:46 +00:00
Alasdair Smith
8f32f0d65f
Remove old unused track changes onboarding
2017-11-22 14:48:22 +00:00
Paulo Reis
9e109ccaaa
Fix wrong hover color in SL theme.
2017-11-22 12:14:02 +00:00
Paulo Reis
8cf82178e1
Only highlight hovered folder when dragging.
2017-11-22 12:10:33 +00:00
Paulo Reis
ead190bf23
Style drag and drop, also renaming and inputs.
2017-11-22 11:54:57 +00:00
Brian Gough
69cb93fe64
Merge pull request #139 from sharelatex/bg-fix-spelling-cancel-request
...
fix the cancellation of spelling requests
2017-11-22 09:45:36 +00:00
Brian Gough
dc71a6a0a1
Merge pull request #113 from sharelatex/bg-prevent-editing-in-broken-ace-session
...
put ace in readonly mode when changing session
2017-11-22 09:45:19 +00:00
Nate Stemen
2f03bb6015
adding file completer
2017-11-21 11:26:44 -05:00
Shane Kilkelly
1ddfd948d6
Update the file-upload library
2017-11-21 16:21:58 +00:00
Paulo Reis
8758119e62
Handle multi-selection.
2017-11-21 16:10:07 +00:00
Paulo Reis
1fd29253e6
Handle filetree multiselection.
2017-11-21 11:45:06 +00:00
Paulo Reis
0de57885b1
Make full-width backgrounds, even with indented filetree items.
2017-11-21 11:20:39 +00:00
Alasdair Smith
1a8a915116
Merge pull request #77 from sharelatex/ns-autocomplete-insertion-bug
...
fix autocomplete insertion on single backslash; Fixes #55
2017-11-20 15:20:45 +00:00
Alasdair Smith
3c0c670b5f
Merge pull request #78 from sharelatex/ns-capital-letter-autocomplete-bug
...
allow for capital letters in commands; Fixes #56
2017-11-20 15:20:18 +00:00
Alasdair Smith
51ec0ab4c7
Merge pull request #87 from sharelatex/as-fetch-ol-projects
...
Show V1 (OL) projects in project list
2017-11-20 15:04:10 +00:00
Shane Kilkelly
81887dd4f5
wip: upgrade fineuploader
2017-11-20 14:43:13 +00:00
Brian Gough
029e3b1557
fix the cancellation of spelling requests
2017-11-20 12:25:09 +00:00
Paulo Reis
269975560f
Basic filetree skinning, still WIP.
2017-11-20 12:24:00 +00:00
Alasdair Smith
a63e40f03f
Adjust vertical padding on V1 badge
2017-11-20 11:23:02 +00:00
Alasdair Smith
bb8f80c1e4
Tweak v1 badge styles
2017-11-20 11:23:02 +00:00
Alasdair Smith
35883b6b27
Extract V1 badge styles to file
2017-11-20 11:23:02 +00:00
Alasdair Smith
c1b3cc3a69
Add v1 filter
2017-11-20 11:23:02 +00:00
Alasdair Smith
7910f2109f
Switch to V1 wording
2017-11-20 11:23:02 +00:00
Alasdair Smith
37c7a95fde
Hide V1 projects from shared filter
2017-11-20 11:23:02 +00:00
Alasdair Smith
20c756ec9a
Switch to v1 wording
2017-11-20 11:23:02 +00:00
Alasdair Smith
fe90ef047f
Temp OL label
2017-11-20 11:23:02 +00:00
Nate Stemen
f00dbf3d56
fixing popup and code folding issues
2017-11-17 16:25:45 -05:00
Alasdair Smith
154943ba68
Don't check for linting errors if code check is disabled
...
There are a couple of reasons for this:
1. Some linting errors are returned from the server after a compile is run,
replacing client-side linting errors. If code check is disabled this does not
happen, and therefore linting errors persist until the next compile. This makes
it appear as though autocompile is not running
2. It is likely that if code check is disabled, the user is deliberately
ignoring linting errors and therefore the linting check is pointless
2017-11-17 16:38:44 +00:00
Nate Stemen
00e3e8da9f
adding last labels configuration
2017-11-16 14:59:04 -05:00
Nate Stemen
c78a0ae209
removing comment
2017-11-16 14:49:29 -05:00
Nate Stemen
c051316aac
adding deleted file
2017-11-16 14:45:20 -05:00
Brian Gough
bd09ef81f2
added comments
2017-11-16 15:41:16 +00:00
Alasdair Smith
2b88d2bc4e
Change autocompile onboarding image to not imply that it is on
...
We have a theory that the image shown in the autocompile onboarding implies
that it is already switched on. This changes the image to show the switch
as off, hopefully fixing it
2017-11-16 13:35:06 +00:00
Brian Gough
dc6110db8d
put ace in readonly mode when changing session
...
if the session fails to attach successfully (e.g due to an exception in
the changeSession event handler) the editor will be left in a state
where the user will not be able to enter any text. This should at least
cause them to reload the editor.
2017-11-16 11:32:08 +00:00
Brian Gough
125a5ec606
temporarily avoid exception in ace event handler
...
full fix will be to use the angular $http cancellation mechanism
2017-11-15 16:28:31 +00:00
Nate Stemen
a78330877b
fixing services call
2017-11-15 10:14:31 -05:00
Nate Stemen
428ae3aa53
adding labels service back
2017-11-15 09:27:46 -05:00
Paulo Reis
6913d28abb
Editor header styling.
2017-11-13 12:03:28 +00:00
Shane Kilkelly
aea8e77f8a
Merge branch 'as-fix-rollout-2'
2017-11-13 09:50:46 +00:00
Shane Kilkelly
8ba9073606
Merge branch 'sk-link-sharing-onboarding'
2017-11-13 09:31:44 +00:00
Brian Gough
fe12a341e1
Merge pull request #89 from sharelatex/bg-slow-connection-fix
...
increase allowed op backlog and flush tolerance
2017-11-13 09:22:18 +00:00
Shane Kilkelly
87e4303aac
Thin out the border around link-sharing onboarding popover arrow
2017-11-10 13:25:59 +00:00
Shane Kilkelly
42c0974671
Place the linksharing popover from the right, not the left.
...
This ensures the popover reflows properly with window resize.
2017-11-10 12:05:12 +00:00
Shane Kilkelly
666ee0669a
Alter position of link-sharing popover, and better image
2017-11-10 10:24:36 +00:00
Shane Kilkelly
44420b41d6
Remove stray console log
2017-11-09 15:13:58 +00:00
Shane Kilkelly
766c8d6f0f
Add a general 'ide:loaded' event, to init popover
2017-11-09 15:12:55 +00:00
Shane Kilkelly
470ad36218
Add onboarding popup for link-sharing
2017-11-09 14:28:11 +00:00
Shane Kilkelly
f3d037f7bc
Merge branch 'master' into sk-unlisted-projects
2017-11-08 11:21:19 +00:00
Alasdair Smith
8174a849a1
Reset to new analytics key
2017-11-08 11:01:36 +00:00
Alasdair Smith
15d3e5eb6e
Fix triggering autocompile in rollout
2017-11-08 10:31:41 +00:00
Shane Kilkelly
484cad2ef0
Render anonymous users as '?' in top bar
2017-11-07 14:20:08 +00:00
Paulo Reis
68336457d8
Avoid using js-prefixed classes for styling.
2017-11-07 10:54:41 +00:00
Paulo Reis
888734655f
Remove commented-out code.
2017-11-07 10:38:18 +00:00
Alasdair Smith
e757bd673e
Move vertical align to affect label name & remove
...
Fixes issue with Chrome where label was mis-aligned
2017-11-06 13:52:32 +00:00
Paulo Reis
3593c4b221
Make tag widget non breakable.
2017-11-03 16:20:49 +00:00
Paulo Reis
e26c52967e
Limit tag width a little more.
2017-11-03 16:20:39 +00:00
Paulo Reis
81e831de24
Right-align the projects toolbar; limit tags dropdown width.
2017-11-03 15:53:57 +00:00
Paulo Reis
71463a2ec2
Limit tag width in the projects list table.
2017-11-03 15:07:04 +00:00
Shane Kilkelly
3cafd0ac8f
Refine deactivate logic, only if member via token and not otherwise
2017-11-03 11:46:00 +00:00
Shane Kilkelly
3360688752
Separate cases of setting Guest TC in general, and for this user
2017-11-03 11:11:04 +00:00
Shane Kilkelly
bd8765a75f
Trigger an angular digest after updating vars
2017-11-03 11:10:42 +00:00
Shane Kilkelly
e64e388913
Add console helpers to editor, to turn on token-access-ui
2017-11-02 15:55:10 +00:00
Shane Kilkelly
1cedfed1e4
Merge branch 'master' into sk-unlisted-projects
2017-11-02 10:10:09 +00:00
Brian Gough
15997ea782
increase allowed op backlog and flush tolerance
2017-11-01 14:20:07 +00:00
Shane Kilkelly
030ffbe231
Add event-tracking to the make-token-based action
2017-10-31 14:23:05 +00:00
Shane Kilkelly
a3e5788b97
Move the __enableTokenAccessUI
state to top level
2017-10-30 13:58:22 +00:00
Shane Kilkelly
5fe5125a5c
Add ability to show/hide the new token-access ui
2017-10-30 13:48:25 +00:00
Shane Kilkelly
c5a90233b4
Add a little 'link' icon beside projects which are link-shared
2017-10-27 15:17:41 +01:00
Shane Kilkelly
a57827458d
Fix guest state sync
2017-10-27 14:41:48 +01:00
Paulo Reis
97c5e33f54
Use percent-based sizing for body min-height; add explicit height to the html element.
2017-10-26 15:47:39 +01:00
Shane Kilkelly
8a2acd7138
Only turn on guest track-changes if available
2017-10-26 13:48:02 +01:00
Shane Kilkelly
623795a50e
Remove commented-out styles
2017-10-26 11:19:01 +01:00
Shane Kilkelly
f9d83c24ef
clean-up commented out code
2017-10-26 11:04:59 +01:00
Shane Kilkelly
62d170e7a0
Move the access-level sync out of the share controller.
...
This means sync will work even for clients which don't show the share
button in the menu bar.
2017-10-26 11:04:00 +01:00
Shane Kilkelly
5f6e191c5f
Automatically disable guest-track-changes when project made private
2017-10-25 14:48:32 +01:00
Shane Kilkelly
8561b69ee9
Remove tokenMembers sync to clients
2017-10-25 11:29:05 +01:00
Shane Kilkelly
74c231826d
WIP: track changes with token-access
2017-10-25 10:34:18 +01:00
Paulo Reis
5cafee4879
Constrain announcements height.
2017-10-25 10:33:20 +01:00
Paulo Reis
2ef7fd1d0a
Position the notifications lion relatively to the body.
2017-10-25 10:14:47 +01:00
Nate Stemen
e8731bc276
allow for capital letters in command name
2017-10-24 16:55:25 +01:00
Nate Stemen
829595777c
change regex to match single backslash and command fragment
2017-10-24 16:35:28 +01:00
Paulo Reis
70a56d0474
Merge branch 'master' into pr-ol-beta-theme
2017-10-24 16:19:31 +01:00
Nate Stemen
98909026f5
moving data to backend and fixing tests
2017-10-24 10:59:41 +01:00
Paulo Reis
b834794ba6
Remove more commented-out code.
2017-10-23 16:21:42 +01:00
Paulo Reis
5f5731eca2
Rename content margin top variable to content margin vertical, as it affects both top and bottom.
2017-10-23 16:18:16 +01:00
Paulo Reis
fb121494e6
Remove commented code.
2017-10-23 16:15:30 +01:00
Paulo Reis
632e3228e0
Remove unneeded existence checks.
2017-10-23 16:13:07 +01:00
Paulo Reis
ff576c5b9a
Make the text-only title customizable; pick nice colours for the OL version.
2017-10-23 15:56:52 +01:00
Shane Kilkelly
b32088ee6b
Only add token member if they're not also a collaborator
2017-10-20 13:38:52 +01:00
Alasdair Smith
d21137ed73
Clean up color box sizes
2017-10-20 13:27:37 +01:00
Nate Stemen
0ebda89efe
fixing package manager issues
2017-10-20 12:04:10 +01:00
Paulo Reis
033e3cfcc6
Add styleguide classes.
2017-10-20 10:53:08 +01:00
Shane Kilkelly
0e44b319db
Change anonToken
and such to anonymousAccessToken
2017-10-20 10:10:21 +01:00
Shane Kilkelly
d8717a06a2
Fix track-changes with token-access
2017-10-19 14:42:17 +01:00
Brian Gough
bf4404b60a
handle null values when saving rootDoc_id
2017-10-18 14:19:45 +01:00
Brian Gough
5d116e8ce9
Merge pull request #65 from sharelatex/bg-fix-main-doc-selection
...
fix main doc selection (connects to overleaf/sharelatex#222 )
2017-10-18 13:11:10 +01:00
Paulo Reis
f6ebbc37db
Fix z-index issue in the resolved comments dropdown.
2017-10-18 11:09:55 +01:00
Paulo Reis
cfa0989a03
Remove extra semicolon.
2017-10-18 10:55:32 +01:00
Brian Gough
82b84fd5f4
hide logs when there are validation errors
2017-10-17 15:50:38 +01:00
Paulo Reis
db6ca5d1c3
Reorganize common vars file.
2017-10-17 15:42:37 +01:00
Paulo Reis
cf89c22ca5
Clarify comments.
2017-10-17 15:06:44 +01:00
Paulo Reis
8e74278503
Remove test stuff.
2017-10-17 15:06:19 +01:00
Henry Oswald
aff5823a2d
Revert "Complete 'usepackage' with packages"
2017-10-17 13:30:47 +01:00
Paulo Reis
ec4ff90273
IE scrollbar adjustments; use calc to set content min-height (IE fails with flex and min-height).
2017-10-17 12:24:47 +01:00
Paulo Reis
829f60fec4
Fix scrolling issues in IE11.
2017-10-16 14:08:48 +01:00
Alasdair Smith
bd6bc42a9a
Don't Show autocompile on load
2017-10-16 11:42:15 +01:00
Alasdair Smith
5d3371a52c
Merge pull request #38 from sharelatex/as-autocompile-rollout
...
Rollout for auto compile; Connects to #20
2017-10-16 10:48:43 +01:00
Alasdair Smith
6c3ceb48df
Allow onboarding to be shown outside of beta program
2017-10-16 10:25:52 +01:00
Nate Stemen
333e411a75
Merge pull request #39 from sharelatex/ns-package-completer
...
Complete 'usepackage' with packages
2017-10-13 17:43:36 +01:00
Nate Stemen
2efb6b69e5
removing comment
2017-10-13 17:42:10 +01:00
Nate Stemen
da07a91229
reformated data files with argument data
2017-10-13 17:24:48 +01:00
Brian Gough
d5fba2cc71
enable incremental compiles for all users
2017-10-13 08:23:16 +01:00
Paulo Reis
ef9651cc88
Style progress bars.
2017-10-12 15:44:06 +01:00
Nate Stemen
f113ba6342
basic package aware autocomplete
2017-10-12 15:33:14 +01:00
Paulo Reis
f47dac6414
Take potential padding into account when calculating proj list height.
2017-10-12 14:19:31 +01:00
Paulo Reis
c488916c69
Make content section expand at least to all available height.
2017-10-12 12:18:56 +01:00
Paulo Reis
2d5426391d
Avoid generating unneeded scroll.
2017-10-12 11:53:19 +01:00
Shane Kilkelly
6e09165452
Refactor auth sources
2017-10-12 10:57:11 +01:00
Brian Gough
45ed090326
Merge pull request #37 from sharelatex/bg-rate-limit-autocompile
...
rate limit autocompile (connects to #18 )
2017-10-12 09:25:59 +01:00
Paulo Reis
274be4932a
Adjust padding values.
2017-10-09 17:29:55 +01:00
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