Pranav Kant
d223f2a0e4
loleaflet: Notifications when new user joins, leaves
...
Change-Id: I71b9ffb82fa2a0104df6f2600558b1b094f1195f
2016-08-30 20:39:01 +05:30
Pranav Kant
394054ecbf
loleaflet: Include username in removeview signal
...
Change-Id: I6b9cdf2712d130d09c7bddcbe68042eacfacb8bb
2016-08-30 20:39:01 +05:30
Pranav Kant
aca73d2ac5
loleaflet: Don't use input for userlist; use menu list
...
Change-Id: I29244e3989fa5ca52c701c05996669cd548a0109
2016-08-30 20:39:01 +05:30
Pranav Kant
491876b537
loleaflet: Show cursor name on hover
...
Change-Id: Ibca3a5e80a21c83e27ba47a6fe39f788a261c1e5
2016-08-30 20:38:42 +05:30
Pranav Kant
c4a01564e6
loleaflet: Cursor name timeout increased to 3s
...
Change-Id: I9fb36c90669af91a9da557e43de263a7900d66d9
2016-08-30 20:38:42 +05:30
Andras Timar
56370e60e8
loleaflet: font + l10n for Users dropdown
2016-08-30 11:50:53 +02:00
Pranav Kant
5e4af61658
loleaflet: Use names echoed from loolwsd for cursors
...
Change-Id: Ibcb513889c41aa9ec34903fbe68e3dc28d2d1802
Reviewed-on: https://gerrit.libreoffice.org/28483
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2016-08-30 07:46:00 +00:00
Pranav Kant
3d29df6f99
loleaflet: Show a user list in bottom toolbar
...
Change-Id: I5aa87a6da3c6af9da0138bdfe51fbb707a47ba3e
Reviewed-on: https://gerrit.libreoffice.org/28480
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2016-08-30 07:45:28 +00:00
Pranav Kant
10d4c96b51
remove edit lock from UI
...
Change-Id: Ib437e1576efae45ca717b7eef8e3c535165b0c16
Reviewed-on: https://gerrit.libreoffice.org/28479
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2016-08-30 07:44:58 +00:00
Pranav Kant
7536deab8e
loleaflet: addView and removeView map methods
...
Change-Id: I6ad2013f3378969822ba20e578d5b2b1cc26ec60
Reviewed-on: https://gerrit.libreoffice.org/28478
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2016-08-30 07:44:47 +00:00
Pranav Kant
3d8b73da8b
loleaflet: Infrastructure for user list
...
Change-Id: If06d014174479d3d05397422c000ca47c51c819e
Reviewed-on: https://gerrit.libreoffice.org/28477
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2016-08-30 07:44:35 +00:00
Ashod Nakashian
f3ca27e512
loleaflet: double-click on repair entry to jump to state
...
Change-Id: I19dc530df0e36b83b6e19922a1a32d495324c3a8
Reviewed-on: https://gerrit.libreoffice.org/28443
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-28 22:37:27 +00:00
Henry Castro
f87edc7367
loleaflet: update menu repair
2016-08-28 10:06:00 -04:00
Henry Castro
ab780acd0a
loleaflet: add document repair toolbar item
2016-08-28 09:08:18 -04:00
Henry Castro
fa96352881
loleaflet: add L.Control.DocumentRepair
2016-08-28 08:57:27 -04:00
Ashod Nakashian
78d4c7706d
loleaflet: Repair command and dialog handler
...
Change-Id: I68853b2d4ec269c7f3d275f6bb7c192bd8ea41d7
Reviewed-on: https://gerrit.libreoffice.org/28408
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-26 12:47:44 +00:00
Ashod Nakashian
960e0521bc
Formatting
...
Change-Id: Iad77e0f69cdb186da35cf3b2d1c0e9020df31870
Reviewed-on: https://gerrit.libreoffice.org/28407
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-26 12:46:51 +00:00
Oliver Specht
5902700922
Add footnote and text wrap functions
2016-08-26 10:36:04 +02:00
Pranav Kant
620b322bd2
loleaflet: Give hats the names
...
Put a placeholder for now; replace with real names when we have
them from loolwsd.
2016-08-25 19:17:45 +05:30
Pranav Kant
79aa4d5e06
loleaflet: Hide the hat after 1.5s of inactivity in cursor
2016-08-25 19:17:45 +05:30
Pranav Kant
3ff170a194
loleaflet: Adjust the hat a bit; don't make it change cursor pos
2016-08-25 19:17:45 +05:30
Pranav Kant
73f7e48c90
loleaflet: A hat for colored cursors
2016-08-25 19:17:45 +05:30
Jan Iversen
4af3b8546d
update of pootle strings
...
This is a manual update, as a prelude to the automatic
pootle update.
2016-08-24 11:07:24 +00:00
Andras Timar
ff3c15fd40
loleaflet: expose Wrap and Anchor context menus for images
2016-08-23 15:36:59 +02:00
Ashod Nakashian
169fb52a4b
loleaflet: remove view selection when closed
...
Change-Id: Ia822a00bab13be12e327aee936ed9fb0d3d211b0
Reviewed-on: https://gerrit.libreoffice.org/28303
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 05:45:24 +00:00
Ashod Nakashian
dd4ccbafa8
loleaflet: make admin graph container just wide enough not to trim the labels
...
Change-Id: I5ecc22b9dc9d09a3129c0d948ac51c3fd7e1447d
Reviewed-on: https://gerrit.libreoffice.org/28298
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 05:22:57 +00:00
Henry Castro
23a71ac35b
loleaflet: add L.Control.MetricInput
2016-08-21 16:08:40 -04:00
Pranav Kant
77be7d6e18
loleaflet: Prevent double-decoding utf8; fixes context menu
...
Text messages are already utf8 decoded, so we only need to decode
if its a binary message, not otherwise.
This also fixes context menu invocation on the UI as in some
cases double-decoding of utf8 strings would throw a URI malformed
error. This problem started to appear after we explicitly started
sending context menu payload as text message rather than binary
message in ecd33e1b07
2016-08-21 19:41:33 +05:30
Andras Timar
a68274c1de
loleaflet: spinner l10n
2016-08-19 14:34:30 +02:00
Marco Cecchetti
26fa0651d6
loleaflet: initial support for multiple cursor in Calc
2016-08-18 10:08:26 +02:00
Henry Castro
2757adc3c6
loleaflet: add dblclick row/column to process optimal height/width
2016-08-17 09:15:42 -04:00
Pranav Kant
f41b947960
loleaflet: Disable pointer events on graphic marker boundary
2016-08-16 22:43:48 +05:30
Pranav Kant
9ec2aba359
loleaflet: Disable pointer events on cell cursor
...
otherwise, it would invoke browser's context menu upon
right-clicking on the cell cursor (border of the cell; on black
lines)
2016-08-16 22:41:31 +05:30
Andras Timar
ab1d022598
fix jake lint indentation errors
2016-08-16 10:59:36 +02:00
Pranav Kant
449861fa12
loleaflet: multi-view; better handling of polygons
2016-08-16 13:34:42 +05:30
Pranav Kant
eac8f32eda
loleaflet: Prevent creating Polygon instances unnecessarily
...
L.Polygon can take array of latlng pairs. Lets pass the full
array instead of passing each array element one by one and
creating Polygon instances everytime.
2016-08-16 13:34:41 +05:30
Pranav Kant
1b92b481ee
loleaflet: reference; add missing method to PolyUtil
2016-08-16 13:34:39 +05:30
Pranav Kant
93c114d0f4
Update README
2016-08-16 11:17:00 +05:30
Pranav Kant
e86e7a73f8
loleaflet: performance improvements in build process
...
Minifiying the js code was taking too much time. Minifying is not
really needed on developer's machine, so lets disable it by
default, otherwise it gets annoying during development having to
wait for so many seconds for it to build.
A simple 'make' now means no debug-info and non-minified
bundle.js. To add debug-info(source-maps), do 'make DEBUG=true'.
And to minify, similarly use the MINIFY=true variable with make.
'make dist' forcefully minifies the js code.
2016-08-16 11:11:16 +05:30
Pranav Kant
82e1769fe8
loleaflet: textviewcallback support; colored text selections
2016-08-15 20:33:30 +05:30
Ashod Nakashian
59ed1bd2ff
loleaflet: new command remallviews to remove all views
...
This command is intended to be used when re-activating a
client. It is intended to be sent prior to sending the
list of active views, including the re-activating
client's own view.
A client UI must maintain its own view ID and info
when receiving this command.
Change-Id: Iea58c01fb30af139888e746b5cf9e7ba7e7eeab1
Reviewed-on: https://gerrit.libreoffice.org/28132
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-15 03:15:47 +00:00
Ashod Nakashian
fbcce1b803
loleaflet+loolwsd: new commands addview and remview
...
The new commands help the UI update the cursors and other
visual elements that track views and clients.
Currently, when remview is received loleaflet removes
the associated cursor from the screen.
Change-Id: I03e2f9e3485166adae31de84ae7ac6bd1c85b05d
Reviewed-on: https://gerrit.libreoffice.org/28131
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-15 03:15:01 +00:00
Henry Castro
817cacde84
loleaflet: drag & drop to unhide column/row
2016-08-13 12:16:03 -04:00
Henry Castro
1de001e283
loleaflet: fix small column/row resize
2016-08-12 13:51:25 -04:00
Pranav Kant
461e1d5cb0
loleaflet: Externalize source-maps only if debug=true
...
Otherwise, running exorcist when debug is off gives a broken
bundle.js
2016-08-11 21:38:53 +05:30
Pranav Kant
ef878326b7
loleaflet: Remove hack for viewid=0
...
This is not needed now, as fixed in loolwsd.
2016-08-11 17:34:36 +05:30
Pranav Kant
8a55ab1ee5
loleaflet: Remove 'black' color from list of cursor dark colors
...
Black is reserved for current view's cursor.
2016-08-11 17:33:15 +05:30
Pranav Kant
af36ebeae2
loleaflet: Update README regarding source-maps and .gitignore
2016-08-11 16:39:54 +05:30
Pranav Kant
a28203424d
loleaflet: Separate source map files from the bundle
2016-08-11 16:29:08 +05:30
Pranav Kant
26ff7ce80e
loleaflet: Add exorcist to dependency tree
...
This is required for separating source maps from our bundles.
2016-08-11 16:27:21 +05:30