Pranav Kant
c7d268b4a4
loleaflet: '/' or backspace launches browser-specific actions
...
Make the canvas contentEditable which prevents such actions from being
invoked. Other alternative would be to add a dummy text field but this
seems to do the work as well.
Change-Id: I8d39f06b02959459e0beeebad2eefcd8e9e00d9d
2017-12-26 17:27:23 +05:30
Andras Timar
8850fbda3a
Add translations for ' of records found' in Calc status bar
...
Change-Id: I75184f43d5135851757f622410c99cc9dad34c11
Reviewed-on: https://gerrit.libreoffice.org/46934
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2017-12-22 22:44:48 +01:00
Aditya Dewan
f86bc2814e
close user list pop up on checkbox click
...
Change-Id: Ied483b0bb484e93a665ed1197f3e48c3fc6e6020
Reviewed-on: https://gerrit.libreoffice.org/46196
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-12-21 16:50:05 +01:00
Pranav Kant
b4038eb442
Make eslint more strict, and fix all the problems reported
...
The new checks should help keep the codebase a bit cleaner from now.
Change-Id: Ib1d77af00e234b8eeb34b09beffc24b95c2eeafc
2017-12-19 18:36:26 +05:30
Pranav Kant
0dbca24c8b
lokdialog: Kill JS special character dialog; use the tunneled one
...
Change-Id: I4f86b3d8a1a05a522eeadaac69d14965106c47d0
Reviewed-on: https://gerrit.libreoffice.org/46466
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
(cherry picked from commit 30bae27622d3b6a2aa7af2e13f5da50a89f9e91e)
2017-12-19 17:35:15 +05:30
Henry Castro
595f28c067
loleaflet: .uno:DocumentRepair state is reported by LOKit
...
Change-Id: I457c607055bfde8ec68c81cf3b9b2f5a80a4b345
Reviewed-on: https://gerrit.libreoffice.org/39376
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2017-12-07 19:15:00 +01:00
Marco Cecchetti
550de38648
calc: outline and groups handling
...
Change-Id: Ie7dcb9a742344e6b0a8813faebc589167a457261
Reviewed-on: https://gerrit.libreoffice.org/45360
Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Tested-by: Marco Cecchetti <mrcekets@gmail.com>
2017-11-29 12:42:53 +01:00
Pranav Kant
91d6755781
Bringing it to the top of the world
...
I don't have much idea how the vex overlay's z-index is 1111. We don't
set it anywhere. Anyhow, the dialog still needs to be lower than vex.
Hence, the 1105.
Change-Id: Idbd9beeb84d626a80580a7f7ca75f73edb89f06b
2017-11-28 22:18:21 +05:30
Henry Castro
dd2e4df683
loleaflet: fix text selectable in version dialog
...
Change-Id: Ia1f8aa5fc1a03d0ee39e663a7bbd865ba301b38c
2017-11-23 20:53:08 -04:00
Henry Castro
9ef99e9270
loleaflet: clean up logs that no longer need it
...
Change-Id: I26d47b1fc73748a3e7e0e824b1596da43e57555c
2017-11-21 18:03:32 -04:00
Henry Castro
6a2c370f9a
loleaflet: fix when the status bar items are refreshed
...
The w2ui toolbar refreshes the html type of its data,
not the element generated
Change-Id: I9b53ac0b98195961accce8be554c7bbfff19c644
2017-11-16 22:29:39 -04:00
Jan Holesovsky
2153c8af9b
Save As: Don't save the document several times.
...
Also don't perform the save as when the document name hasn't changed.
Change-Id: I4fb7e0abd73996e90107b301a09b8703b66e80f9
Reviewed-on: https://gerrit.libreoffice.org/44504
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2017-11-10 11:08:53 +01:00
Jan Holesovsky
513ffe36c1
Save As: UI for changing the document name.
...
Change-Id: I23aba95ff0f8d867b021ba3cf0a6bc5eb4754f9d
Reviewed-on: https://gerrit.libreoffice.org/44282
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2017-11-10 11:08:53 +01:00
Pranav Kant
377faf3971
loleaflet: Disable selecting <body> element
...
Change-Id: I13a6fc949a9b419a0669a8c8fe608f9564991eb9
2017-11-10 12:25:04 +05:30
Pranav Kant
3dd644b1bc
lokdialog: Let floating window pop out of the dialog container
...
Change-Id: If339cdff39137e68a1fb61bb49830f4734485001
2017-11-09 14:44:49 +05:30
Pranav Kant
2b8c4ee3bb
lokdialog: Remove padding around dialog canvas completely
...
Change-Id: Ie6d65ca23936f081c5e2b37fff6f5d90d9fcd06e
2017-11-09 09:49:17 +05:30
Pranav Kant
83cb6270da
lokdialog: Strip unnecessary padding from dialog container
...
No idea yet why there still is a thin padding strip at the bottom of the
dialog.
Change-Id: Ia1347bafbf647385c1771f7af3e755cbf44dd666
Reviewed-on: https://gerrit.libreoffice.org/44517
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-11-09 04:24:13 +01:00
Marco Cecchetti
7f9cdb2e52
loleflet: calc: canvas styles for headers are fetched from css file
...
Change-Id: I0423c353d22736aa2edaf45d55112af001d46692
Reviewed-on: https://gerrit.libreoffice.org/44049
Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Tested-by: Marco Cecchetti <mrcekets@gmail.com>
2017-10-30 10:42:11 +01:00
Pranav Kant
374d6a197d
lokdialog: pass the dialog id in dialog command
...
Change-Id: Ia0e76b1dc93483340361777cf21f23127bac91e1
2017-10-25 00:38:08 -07:00
Pranav Kant
e74a4e2487
lokdialog: wrap the lok dialog image in dialog container
...
The two test dialogs, Spelling dialog and word count dialog
appear on the screen when invoked from the menubar.
Interaction with dialogs is WIP.
Mouse/key events and floating window still needs to be worked upon.
Change-Id: I2d439465c7536d0b453c8ade503ec181a96c90d2
2017-10-25 00:38:01 -07:00
Henry Castro
18867cc98f
loleaflet: enable Calc spell checking
...
Change-Id: I9293335e1da7a3ad35d6ed03caf8289e2f26d066
2017-10-21 13:42:35 -04:00
Pranav Kant
cf3076a260
[API CHANGE]: loleaflet: postmessage: s/rev-history/UI_FileVersions/
...
And keep the compatibility with older clients by adding 'Deprecated'
flag to the messages in PostMessage API. The clients must ignore such
messages marked with deprecated flag and should wait for the standard
non-deprecated post message.
Change-Id: Id203c44db5986303c574e66602d8f98b4c04ba50
Reviewed-on: https://gerrit.libreoffice.org/43093
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-10-16 19:50:09 +02:00
Henry Castro
b57a4e9171
loleaflet: enable Impress spell checking
...
Change-Id: Ie4ae3f683bc55f7ca67b01e65dafea9746784b5a
2017-10-13 20:59:19 -04:00
Henry Castro
30fd4d2f11
loleaflet: fix statusbar items when refreshed
...
when the statusbar is refreshed the items are restored to according to
html property
Change-Id: I79f77c5ab4932c10d10dd9780cbd6e6a9b132a38
2017-10-04 09:45:59 -04:00
Andras Timar
cb2de58108
loleaflet: enable l10n of language names
...
Change-Id: Idd8b1b0bb081d718cf8d36c60ce6e293bd818fc6
Reviewed-on: https://gerrit.libreoffice.org/43130
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2017-10-04 13:33:26 +02:00
Aron Budea
dfa9b44e93
Status bar function: first make it work properly
...
The way the parameter was interpreted changed with this
core commit: 7bc97db5b972f27693161beb9182f8a5850f5551
For now let's make single function work again.
Change-Id: I6e8ebb4cc7a272c53aa3e44066df7a62ab89d8ab
Reviewed-on: https://gerrit.libreoffice.org/43110
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2017-10-04 12:12:13 +02:00
Henry Castro
9677b1eae0
loleaflet: change position of the language status bar item
...
Change-Id: If5f7ad59e3ef4694313c086ad473af0cc377ea9c
2017-10-03 19:57:00 -04:00
Michael Meeks
1c164427ba
Pre-select search text if present on a new ctrl-f.
...
Change-Id: Idec7c3e3a419bb26f951872932c8c2c7de69b68f
2017-10-02 20:58:41 +01:00
Henry Castro
e02ca0603a
loleaflet: add language status bar item
...
Change-Id: I6615373a27b1a32561f3c5fba2f9c7765dbf9bef
2017-10-01 10:53:36 -04:00
Henry Castro
0d870d444c
loleaflet: fix background color of the top level menu items
...
Change-Id: I548c700a16664e8acfc6010c1be549e6176f2383
2017-09-19 21:46:09 -04:00
Henry Castro
9c3393fc44
loleaflet: fix background color of the menu item in disabled state
...
Change-Id: Idbe08dcd1fd1bb885f77478e3ad314be392a140d
2017-09-13 12:37:10 -04:00
YiiChang Yen
488c2e98f3
loleaflet: Sortting font-select list localelly
...
Change-Id: I6ebe7a30e0d47776986aa67b44de7b2bc1d25fca
Reviewed-on: https://gerrit.libreoffice.org/41873
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2017-09-08 11:22:17 +02:00
Marco Cecchetti
5112f33d09
Disable slideshow feature when DisableExport property is set.
...
Change-Id: I424da9abf2bba737c2985c6dcbb2ab9dbee4770c
Reviewed-on: https://gerrit.libreoffice.org/42081
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2017-09-07 22:07:46 +02:00
Henry Castro
01dd761750
loleaflet: log when w2ui toolbar is not created
...
Change-Id: I9f8f50b628028f9f5541aa97f8c2f0ff2e72924d
2017-09-04 19:26:12 -04:00
Henry Castro
b53bcf23ae
loleaflet: disable toolbar buttons before the document is loaded
...
Change-Id: Ia6679414f8eab54366a48b1c431ce9384d2dc8ca
2017-09-04 16:52:30 -04:00
Pranav Kant
29db4b447f
admin protocol: 'total_mem' -> 'mem_consumed'
...
total_mem can be confused with total system memory or total memory
availabe to loolwsd process. Change the API to say what it actually
returns.
Change-Id: I55c246b8a1d0c5c52767520150e55616266a6d4f
2017-08-29 12:12:13 +05:30
Aditya Dewan
c61db390c9
Ruler now compatible with comments and zoom
...
Change-Id: Ic5e99eb3a280ce5f5f4621b20d0e44250ea30621
Reviewed-on: https://gerrit.libreoffice.org/41562
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-08-28 10:46:26 +02:00
Aditya Dewan
6494821d27
add numbers on ruler
...
Change-Id: Iff90ddedf3c808cda3bad0a397b456cb8c9e607d
Reviewed-on: https://gerrit.libreoffice.org/41336
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-08-28 10:46:17 +02:00
Aditya Dewan
94ee746edc
Add tooltip on ruler to track change
...
Change-Id: I6d982dadbee18e2ce492b80f429b65e20b3905f8
Reviewed-on: https://gerrit.libreoffice.org/41352
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-08-28 10:45:55 +02:00
Aditya Dewan
8ef4d33e15
Adding ruler to loleaflet
...
Change-Id: I585850a7111eb5ab70bc5b51a508eb29317b92ca
Reviewed-on: https://gerrit.libreoffice.org/40461
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-08-28 10:45:33 +02:00
Aditya Dewan
0cf9c8791f
tdf#107278 Beautification of graphs
...
- better looking axis
- smooth transition for axis and data path
Change-Id: I419a1e9a0691fc4b6a396a970a438431aa724d9c
Reviewed-on: https://gerrit.libreoffice.org/41313
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-08-21 12:07:37 +02:00
Jan Holesovsky
f8ca17278f
access_header: Pass the access_header around + unit test.
...
Change-Id: I5d6d93e289d8faceda59deae128e8124a0193d95
Reviewed-on: https://gerrit.libreoffice.org/41243
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2017-08-17 13:41:07 +02:00
Pranav Kant
341c07b64f
loleaflet: Explicitly mention z-index to please MS Edge 40
...
This is not required in any other browser, but Edge 40 requires it
otherwise the popup window upon clicking the combo box goes behind the
main #map element.
Change-Id: Ie95263f08c8af27b16a56ba2c3c7a9faa308400a
2017-08-04 17:44:57 +05:30
Jan Holesovsky
206a070554
Align the close button with the 'more' toolbar button.
...
Change-Id: Id7997da325adb6df89155605d6978b6da39890f4
2017-07-28 18:13:53 +02:00
Pranav Kant
b1194dfa3c
Bin unused localized string
...
Change-Id: Ia8d7dc8e8084320ede4b3a43346c978cfeeb5555
2017-07-10 13:14:01 +05:30
Aditya Dewan
3a43f69116
tdf#108341 automatic editor switch and follow added
...
Change-Id: I5129256a0633916a3ca2cb05ccba39a5f4a5d398
Reviewed-on: https://gerrit.libreoffice.org/39299
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-07-06 09:46:49 +02:00
Aditya Dewan
49032d1dab
tdf#108341 Follow any user from the userlist
...
Change-Id: Iab6d386f0c0b294dcd5adc9bf654de88a3804933
Reviewed-on: https://gerrit.libreoffice.org/39247
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-07-06 09:42:27 +02:00
Aditya Dewan
bc7fa9a812
admin: convert document list to drop down
...
Change-Id: I23635599b008fb0bfa694b4e73cb8f18f49c8ab7
Reviewed-on: https://gerrit.libreoffice.org/39170
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-07-06 09:18:09 +02:00
Pranav Kant
1e6c345715
loleaflet: Detach closebutton from toolbar
...
This is so because we require this also when document is opened in
readonly mode and we don't have any toolbar in the readonly mode.
Change-Id: I085d1640f52843e01370d528d6eea656b743d908
2017-06-22 19:48:24 +05:30
Aditya Dewan
50ea3a50b5
fix js lint error
...
Change-Id: I42183dc8865a6936de26e18459ab985e2f9bba1f
Reviewed-on: https://gerrit.libreoffice.org/39046
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-06-21 13:21:01 +02:00