Pranav Kant
3c077539a2
loleaflet: When no permission specified, switch to old 'edit'
...
After the introduction of editlock, old styled loleaflet's view
and edit permissions have become obsolete. By default, when
opening a new document, the user is in that old styled 'view'
mode unless specified in the url by permission=
Lets change the behavior and make document to be in 'edit' mode
by default unless specified.
Change-Id: Iebf0d8512ddc8f7ff549c12dbb366643ca207345
2016-05-24 17:16:52 +05:30
Andras Timar
ec6e626952
loleaflet: define l10n _() function earlier
2016-05-24 00:17:44 +02:00
Andras Timar
55c77c6deb
loleaflet: enable l10n of two error messages
2016-05-23 22:32:56 +02:00
Pranav Kant
2c3964be1d
loleaflet: Setup infrastructure for top menubar
...
Change-Id: Ib48c2b3219b74da15bc2898044ad9b3c01f8a203
2016-05-23 13:27:48 +05:30
Andras Timar
bd6ee3a8b6
loleaflet: initial l10n support of context menus
2016-05-20 18:13:44 +02:00
Pranav Kant
58c1714ee8
loleaflet: Setup context menu
...
But use a whitelist to not show items/uno commands that
correspond to opening a dialog. Whitelist is limited as of now,
but can be extended easily to include more commands to the
context menu as required.
Change-Id: I3ff8cf722d395aa643d512c98db41ebeee0a95d1
2016-05-16 14:37:51 +05:30
Pranav Kant
787bdc276f
bccu#1758: Move presentation control below slide sorter
...
Change-Id: I0f1046f55f4bdc8af209138a51e74e1b637a5a34
2016-04-29 21:51:08 +05:30
Jan Holesovsky
97342a2817
bccu#1653: Make the .html's, .css's and .js's versioned.
...
It is still possible to access them directly via loleaflet/dist/<something>,
but such use can lead to unexpected behaviour due to various caching in the
browsers etc.
2016-04-20 12:58:10 +02:00
Jan Holesovsky
aa158331fc
Move css stuff from loleaflet.htms to the appropriate .css files.
2016-04-19 10:23:06 +02:00
Jan Holesovsky
b09b6eab89
Only the access_token (and _ttl) is supposed to be passed via the form post.
2016-04-13 18:32:00 +02:00
Andras Timar
07b68b37a9
loleaflet: put everything we use to dist/ and package only dist/
2016-04-13 16:55:46 +02:00
Andras Timar
3f0d5a7521
loleaflet: allow HTTP-only mode for testing/trial
2016-04-08 13:16:49 +02:00
Henry Castro
b6aeee816c
loleaflet: restore default example title
2016-04-07 17:35:00 -04:00
Henry Castro
dd96c6a4de
loolwsd: handle a POST request in loleaflet
2016-04-07 17:20:45 -04:00
Pranav Kant
2220c9d0d0
loleaflet: Rename filename -> title
...
Change-Id: Ic65b8e819979e35d684807371c76abca55bd5928
Reviewed-on: https://gerrit.libreoffice.org/23734
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2016-04-01 17:22:16 +00:00
Pranav Kant
fcc48022fa
Allow leaflet to be served from loolwsd
...
Change-Id: I0179f07d83e9d640ab82ad2a866ef493fdf9e655
Reviewed-on: https://gerrit.libreoffice.org/23721
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2016-04-01 13:31:53 +00:00
Jan Holesovsky
9b54337568
loleaflet: Warn when somebody tries to use ws: for the websocket.
2016-03-29 14:47:09 +02:00
Andras Timar
abe330d390
loleaflet: ws:// -> wss://
2016-03-23 22:02:50 +01:00
Pranav Kant
7f371958ae
SSL everywhere
...
Use same port (9989) for all client connections. This includes
admin panel, static file serving and normal client websocket
connections.
Change-Id: Idcfd7dd8925523c36e884717c41a3b6a827f6ff3
2016-03-22 00:05:29 +05:30
Henry Castro
dc129d00cc
loleaflet: add WOPISrc parameter
2016-03-16 08:58:07 -04:00
Ashod Nakashian
83880c454f
loleaflet: removed unnecessary token parameter sent to WSD
...
Change-Id: Ibdef21665fcbf65c95870c8711321f63f7098596
Reviewed-on: https://gerrit.libreoffice.org/23050
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-03-09 02:32:19 +00:00
Jan Holesovsky
70a60dbadc
loleaflet: Move the contextMenu to dist/.
2016-03-01 10:44:20 +01:00
Jan Holesovsky
0b2bf15ddd
loleaflet: Move the scrollbar to dist/.
2016-03-01 10:44:20 +01:00
Faruk Uzun
02f6f0d6fa
loleaflet: bccu#1456 fix spreadsheet tabs
...
Adds a custom navigation for spreadsheet-tabs
Change-Id: I57d9ef1ff9466c18c9edca849519bbe2af5826ab
Reviewed-on: https://gerrit.libreoffice.org/22610
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2016-02-23 15:56:44 +00:00
Andras Timar
6c761c297e
loleaflet: use absolute URL
2016-02-17 10:38:43 +01:00
Pranav Kant
816a43efb6
loleaflet: Added style translations
...
Translation of styles for writer, impress and calc
in all languages taken from LibreOffice translation submodule.
Change-Id: Id533463f63523cade53435d66ff85a90fc15736b
Reviewed-on: https://gerrit.libreoffice.org/22353
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2016-02-17 08:32:14 +00:00
Pranav Kant
78dfb5f3eb
loleaflet: Allow adding/removing/renaming spreadsheets
...
This uses context menus using a jquery plugin:
Project: https://github.com/swisnl/jQuery-contextMenu
License: MIT
Change-Id: Ibab544555ace25e4f7816392eb048349f0c4c1e1
Reviewed-on: https://gerrit.libreoffice.org/22279
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2016-02-15 08:07:51 +00:00
Andras Timar
40251a92eb
New loleaflet toolbar
2016-02-08 18:32:01 +01:00