Commit graph

1333 commits

Author SHA1 Message Date
Pranav Kant
f5a9e8e33d loleaflet: l10n: Repair Document
Change-Id: I3b320547a25094fbfa2d1538b4fa1e91b2cf41ad
2016-09-19 14:48:27 +05:30
Henry Castro
f1b54a3f57 loleaflet: add border color to L.Popup 2016-09-15 17:21:33 -04:00
Pranav Kant
912281bd20 loleaflet: dos2unix this new file from upstream Leaflet
Change-Id: I87000cc481dc9b8880d80606b16cd4151d572be1
2016-09-15 19:25:10 +05:30
Henry Castro
7cb35bff63 loleaflet: view name bind to popup 2016-09-14 19:30:26 -04:00
Henry Castro
44c3d5dfde loleaflet: add Path.Popup 2016-09-14 19:23:41 -04:00
Pranav Kant
8bd7d83bdc loleaflet: Handle multiview text selections for part documents
Change-Id: I56425cde49b2b3b319204d7172f4ec4080b5bed1
2016-09-15 00:12:17 +05:30
Pranav Kant
4b18ca3772 loleaflet: Remove unused code
Change-Id: Ieb12e03b68eaacb99acb9853d02191c165f5b70c
2016-09-14 20:07:48 +05:30
Henry Castro
f85e6cfad9 loleaflet: simplify iteration view 2016-09-13 17:26:41 -04:00
Henry Castro
663f47b858 loleaflet: update graphic markers
LayerGroup handle internal list
Map handle internal list
TileLayer handle internal list

Reduce internal list
2016-09-13 16:24:35 -04:00
Henry Castro
46a314206b loleaflet: avoid undefined variables when map not loaded 2016-09-08 16:48:56 -04:00
Henry Castro
878fff5ebb loleaflet: fix part not taken into account for cell cursors 2016-09-08 12:11:07 -04:00
Pranav Kant
d2bf039d59 loleaflet: Implement object/image multiple view selections
Change-Id: Ifc2d6f95fa48a947fc043bf48d582ab549fa6172
2016-09-07 21:47:11 +02:00
Henry Castro
a666c01c03 loleaflet: fix part not taken into account for cursors
Also refactor cursor marker
2016-09-07 12:18:14 -04:00
Pranav Kant
de770a32e8 loleaflet: Fix inconsistent user count for views going active
Iterating viewCursor object won't give correct number of live
viewids because inactive views don't receive any viewcursor
messages.

Rather use map._viewInfo object because as of now, we do receive
these 'addview' message for inactive views, so this place should
always remain updated and prevent giving inconsistent view counts
across different clients.

Change-Id: If210049e76b5f2b91371a21863f6019cbccdb9ca
2016-09-02 01:29:58 +05:30
Pranav Kant
53b768de0f loleaflet: Remove troublesome checks
... and fix the incosistency among view count in UI

Change-Id: I6b055b6d145c2de314830731f6341462287b244a
2016-09-01 14:25:54 +05:30
Pranav Kant
d3eda7d198 loleaflet: userlist l10n fix
Change-Id: Id2be29e018f1c23a8d5b61ad3fbaebc36f1222ec
2016-09-01 12:50:06 +05:30
Pranav Kant
04064b2e23 loleaflet: User count in user list
Change-Id: Idde4e1bdf1b33590c3b9a8265e059c01943f4777
2016-09-01 11:25:21 +05:30
Pranav Kant
958c0e3534 loleaflet: Better algorithm for adding/removing users from list
Remove them dynamically, rather than creating a new list
everytime.

Change-Id: I3e1a8c603e092fdd727806154a3715139e4f5b2c
2016-09-01 11:25:21 +05:30
Henry Castro
1370c42afa loleaflet: update extra width/height for optimal column/row 2016-08-31 23:37:18 -04:00
Henry Castro
947f1d3d86 loleaflet: fix extra height for optimal row
Also increase setTimeout to 400 for dblclick auto fit
2016-08-31 15:52:23 -04:00
Jan Holesovsky
c3a3d81365 Breeze icon for the 'Document repair'. 2016-08-31 19:26:23 +02:00
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