Commit graph

287 commits

Author SHA1 Message Date
Henry Castro
3336af0804 loleaflet: add Column/Row cursor resize 2016-08-04 16:52:00 -04:00
Jan Holesovsky
3b3c8760c2 We are using large icons from the Breeze theme, update the Calc toolbar. 2016-08-04 10:03:16 +02:00
Jan Holesovsky
b7619f93d5 Remove unused images: we don't use small images any more.
It was a bad idea keeping them around, apparently they are confusing people...
2016-08-04 10:03:07 +02:00
Pranav Kant
d85127eda3 loleaflet: These are not needed now as we browserify
... and use them from node_modules/ directly now.
2016-08-03 15:45:01 +05:30
Pranav Kant
a69eea3d58 loleaflet: Modularize all of the CSS; browersify-css
Follow the same approach to bundle everything into a single file
as done for the js files in previous commit.
2016-08-03 15:45:01 +05:30
Pranav Kant
5b6df600a7 loleaflet: Modularize all of the js; use browserify
Don't include each third party script in a separate <script> tag,
rather have one single main.js file require'ing these different
scripts. Then `browserify' on main.js which bundles everything
into a single bundle.js containing all of the dependencies.

Also add these 3rd party scripts such as jquery, jquery-ui,
select2 etc. using npm, rather than manually downloading their
files from the internet. This should ease the process of managing
these front-end dependencies; upgrade process should be very easy
now.
2016-08-03 15:45:01 +05:30
Pranav Kant
1410f34d0f loleaflet: Consistency, start url with /loleaflet 2016-08-03 15:45:01 +05:30
Henry Castro
7f5eed80a0 loleaflet: remove styles toolbar from spreadsheets 2016-07-24 10:55:51 -04:00
Ashod Nakashian
e685f6a306 loleaflet: disable grey-out when debug-tools is open
Change-Id: Id3d2502fc7a38303395e70b710adaeaf7fae92a6
Reviewed-on: https://gerrit.libreoffice.org/27451
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-07-23 02:57:49 +00:00
Henry Castro
fa02df7ad3 loleaflet: avoid Uncaught TypeError: Cannot read property
Uncaught TypeError: Cannot read property 'toLowerCase' of undefined
2016-07-22 20:39:29 -04:00
Henry Castro
d57c5758fd loleaflet: add a menu drop down toolbar item 2016-07-14 22:24:50 -04:00
Henry Castro
ddfd0a3341 loleaflet: add more toolbar items
.uno:SortAscending
.uno:SortDescending
2016-07-14 13:49:35 -04:00
Henry Castro
7fd9d334af loleaflet: cleanup unused statusbar items 2016-07-13 14:26:54 -04:00
Henry Castro
0202479687 loleaflet: l10n of 'Slide %1 of %2' 2016-07-13 10:45:23 -04:00
Henry Castro
3e2d81f37b loleaflet: l10n of '%1 words, %2 characters' 2016-07-13 10:02:59 -04:00
Henry Castro
374c288800 loleaflet: l10n of 'Page %1 of %2' 2016-07-13 09:18:00 -04:00
Henry Castro
e5a6ea3421 loleaflet: l10n of '$1 rows, $2 columns selected' 2016-07-12 18:04:37 -04:00
Henry Castro
111c660d46 loleaflet: l10n of 'Sheet 1% of %2' 2016-07-12 16:54:49 -04:00
Pranav Kant
1265032896 loleaflet: Separate document URL from query params
Change-Id: I9b8381b8c0d92796aadabe0bc63e5a1b144f8b41
2016-07-11 11:24:19 +05:30
Henry Castro
71efcf2b28 loleaflet: l10n of insert modes 2016-07-09 22:10:34 -04:00
Henry Castro
7137c9ef8e loleaflet: remove PageStyleName
It always return "Default"
2016-07-09 20:11:03 -04:00
Henry Castro
c6745cba8e loleaflet: l10n of selection modes 2016-07-09 18:07:55 -04:00
Henry Castro
fdebaf6070 loleaflet: spreadsheet: add number format toolbar items 2016-07-07 14:03:30 -04:00
Henry Castro
4fb0869504 loleaflet: spreadsheet: add toolbaritems
Wrap Text
Merge and Center Cells
2016-07-06 14:38:17 -04:00
Henry Castro
e480aa86d6 loleaflet: spreadsheet: remove toolbar items 2016-07-05 14:03:55 -04:00
Pranav Kant
528707b334 loleaflet: Fire file chooser dialog even if same file is selected
OnInsertFile is triggered on onchange event, but this event is
not triggered if same image is choosen again from file chooser
dialog. Reset the value everytime so that onchange event is
always triggered.

Change-Id: I1efb76122b3a9437622754d28d0c55d4adbf32e8
2016-07-05 18:54:24 +05:30
Henry Castro
5442be5208 loleaflet: add status bar items css loleaflet-font 2016-07-03 11:02:24 -04:00
Henry Castro
1a6b102469 loleaflet: remove status bar item 'Signature'
They always report the same value
2016-07-03 10:49:36 -04:00
Henry Castro
c6af7d4a06 loleaflet: add status bar items for Impress 2016-07-03 10:33:22 -04:00
Henry Castro
dcf9839a0d loleaflet: add status bar items for Writer 2016-07-02 23:58:02 -04:00
Henry Castro
b3ff83251f loleaflet: replace '_' for ' ', to avoid ugly effect 2016-07-02 14:35:51 -04:00
Henry Castro
cc8f9f4c64 loleaflet: add status bar items for Calc 2016-06-30 18:25:57 -04:00
Pranav Kant
277c191eb0 loleaflet: Disable revision history option by default
Hosts are supposed to provide 'revisionhistory' parameter when
calling loleaflet.html

Change-Id: I6c1a89b602a739c0d30b7aeea680b4c577b37cc4
2016-06-29 19:44:31 +05:30
Pranav Kant
b2acd1cfbc Remove invalid placeholder
This is no longer valid since context menus are implemented in
loleaflet already.

Change-Id: Ic2e21a92c5fdd87a2f3c34a3ff16628337184e1d
2016-06-27 16:50:13 +05:30
Pranav Kant
454999fa57 loleaflet: Resurrect loleaflet permission model for readonly mode
Remove direct usage of editlock; instead change loleaflet
permission from view to edit when editlock message is received.
By default, map would be in 'view' mode and only get to 'edit'
when server asks it to switch to.

Use a new event 'doclayerinit' for actions that are directly
dependent on intialization of doclayer.

Change-Id: Iaceb95ad85721ddcd675c75cfeb1504ab2759ad4
2016-06-27 16:50:13 +05:30
Andras Timar
80a81abc46 loleaflet: remove extra dist/ from URL 2016-06-22 23:38:06 +02:00
Pranav Kant
55ead88236 loleaflet: Kill simplemodal library
Its use has been superceded by vex now

Change-Id: I4b032dd6e5de61548b76b56e946ced6fc86734d3
2016-06-22 20:09:35 +05:30
Pranav Kant
a789cff8e8 loleaflet: Migrate about dialog to vex
Change-Id: Id853ec14d817b2f4312dee70a087a4ac526e951b
2016-06-22 20:09:32 +05:30
Pranav Kant
c632cf5716 loleaflet: Migrate keyboard-shortcuts dialog to vex
Change-Id: I82324405ee1205becea00fc1de97c248988ab378
2016-06-22 20:00:23 +05:30
Pranav Kant
e48a36816e loleaflet: Remove Help button from toolbar
... as we have this as 'Keyboard shortcuts' in menubar now.

Change-Id: I01f3735c6b1ac07d8bced2f98fc9dd514a178ce0
2016-06-22 14:43:47 +05:30
Pranav Kant
8bba9da761 Make new version string as a JSON string
... easy to differentiate on client side among various version
info parts, especially for LOKit version information.

Change-Id: I4ba18c60367fb9166462b535bc46953a82a8435d
2016-06-21 22:12:48 +05:30
Pranav Kant
b460769eed loleaflet: 'Keyboard shortcuts' in new 'Help' menubar item
Change-Id: I0a924505970e9ed13ea45ebc85ef14a618646b2d
2016-06-21 19:16:20 +05:30
Pranav Kant
90aee41c70 loleaflet: Dialog to show loolwsd, lokit version information
Change-Id: Ie05f0597d3464b5e7705bd1d1ff4ab5c03af013f
2016-06-21 15:05:11 +05:30
Pranav Kant
7701de1e48 bccu#1894: Don't show any outline for menubar selection
Change-Id: Ifa3095247a0c18c599c2c294a473add8f6d48104
2016-06-20 14:11:52 +05:30
Pranav Kant
8cc367638f bccu#1871: Add url prefix to websocket urls
Normal websocket connections are now :
/lool/ws/filename

Admin websocket is now :
/lool/adminws/

Change-Id: If39382cb852d89ed0394adbd7fe168fe4767a075
Reviewed-on: https://gerrit.libreoffice.org/26029
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2016-06-08 14:06:20 +00:00
Pranav Kant
3ec6c6b662 loleaflet: Reduce z-index of auxiliary toolbar
Otherwise, when the screen becomes inactive, it is the only
widget to shine separately.

Change-Id: Idf22e2cece3fd465ff37e7304f4776dbfdef66a8
2016-06-06 11:50:59 +05:30
Andras Timar
c3fe386dc0 loleaflet: enable l10n of Color picker widget 2016-06-03 12:25:54 +02:00
Pranav Kant
26d5614b89 loleaflet: bccu#1777: bccu#1555: formula bar fixes
* Use new param DontCommit in .uno:EnterString to not trigger
recalculation until enter is pressed.
* On pressing 'ESC', reset the current content
* Range selection is now possible when formula is entered in
* formula bar
* Forward 'enter' key events to `map` from formula bar

Change-Id: I073eca2fa08520faa9f679b1c986e10805da0ad6
2016-06-01 21:24:46 +05:30
Andras Timar
4b72613447 loleaflet: bccu#1649 l10n of Admin Console 2016-05-31 23:31:16 +02:00
Andras Timar
fdc109d002 loleaflet: l10n of loading.html 2016-05-31 16:57:20 +02:00