Jan Holesovsky
95bc0d4ebb
loleaflet: Fire 'hyperlinkclicked' when the user clicks hyperlink in the doc.
2016-01-14 22:32:18 +01:00
Miklos Vajna
20488cce86
loleaflet: document border shadow config option
2016-01-08 11:52:33 +01:00
Jan Holesovsky
558e08af58
loleaflet: Introduce a 'webserver' option for the http access to loolwsd.
...
When proxying, the websocket may be hidden behind another URL, so this allows
an explicit setting.
2016-01-07 12:36:16 +01:00
Ozcan Esen
e78d65c199
loleaflet: add presentation controls
...
Change-Id: Ied2c8d0700d95ad628ad9634b1736839c90bd313
2015-12-22 14:58:18 +02:00
Mihai Varga
f789928419
loleaflet: specify the toolbar container + don't add empty controls
2015-12-16 19:57:55 +02:00
Mihai Varga
84347b2b2e
loleaflet: remove edit/readOnly map init options, add permission
...
And permission can be 'view', 'edit' or 'readonly'
2015-12-16 18:47:12 +02:00
Mihai Varga
d9d201e74e
loleaflet: individual css files for our additions to leaflet
2015-12-15 15:41:15 +02:00
Mihai Varga
35a505d35e
loleaflet: allow specifing the document container as a map option
2015-12-11 14:47:46 +02:00
Mihai Varga
7f36d5be8a
loleaflet: refactor the row column header
...
Now it works as a detachable control
2015-12-11 14:47:46 +02:00
Mihai Varga
3b2ee2c0ac
don't initialize the tabs control in calc layer
2015-12-11 14:47:45 +02:00
Miklos Vajna
084e470257
loleaflet: send rendering options on load
2015-11-18 18:13:02 +01:00
Mihai Varga
c1efc7c012
Formula bar for calc
2015-11-12 16:55:56 +02:00
Henry Castro
a01d56ed11
loleaflet: move control tabs creation
...
Create control tabs if and only if spreadsheet document.
2015-11-08 13:22:58 -04:00
Mihai Varga
f03459611a
loleaflet: file insert control
2015-10-22 18:40:43 +03:00
Mihai Varga
602e535bb2
loleaflet: fixed the slides preview
2015-10-13 13:41:08 +03:00
Mihai Varga
aeed62cd6b
loleaflet: have a 2 layer toolbar
2015-10-13 13:27:45 +03:00
Mihai Varga
87fae7f854
loleaflet: fonts control
2015-09-10 11:26:47 +03:00
Mihai Varga
abe296c0b9
loleaflet: buttons for enabiling editing / selection mode
...
Use those instead of the checkboxes to save some space in the toolbar
2015-09-09 19:36:11 +03:00
Mihai Varga
bb3f3c758a
loleaflet: moved the socket init/communication to core/Socket.js
...
The socket is now available through the L.Socket object which now also
handles the initial connection and reconnection to the server.
The document (tile layer) is now added automatically in the map
initialization.
2015-09-01 17:53:44 +03:00
Mihai Varga
e46766de19
loleaflet: styles control
2015-08-19 11:48:49 +03:00
Mihai Varga
dc56c97c9e
loleaflet: separate parts preview and tabs from the next/prev buttons
2015-08-17 10:41:01 +03:00
Mihai Varga
1379326bcf
loleaflet: on error fire 'error' events
...
Those events are now handled by a removable control
2015-08-06 17:41:56 +03:00
Mihai Varga
35a1ac1d86
loleaflet: rename the global map variable to avoid referencing it
...
To avoid mistakes like writing 'map.fire' instead of 'this._map.fire'
2015-08-06 16:53:43 +03:00
Jan Holesovsky
527821597f
Make the timestamps work also for non-file:// URLs.
2015-08-04 20:39:33 +02:00
Mihai Varga
52baf44298
loleaflet: only send the timestamp when provided
2015-08-04 13:37:18 +03:00
Mihai Varga
f3d5b7c09c
loleaflet: UI tweaks
2015-07-29 17:02:32 +03:00
Mihai Varga
53f51a8650
loleaflet: dynamically create the parts preview and tabs divs
2015-07-24 18:13:58 +03:00
Mihai Varga
9b097f376d
loleaflet: add the scrollbars as a control to be easily removed
2015-07-24 16:04:38 +03:00
Mihai Varga
75155481ac
loleaflet: dynamically create the clipboard div
2015-07-23 17:17:56 +03:00
Mihai Varga
c335bda364
loleaflet: use vex dialog alert
2015-07-16 12:51:07 +03:00
Mihai Varga
6a68d35502
loleaflet: added vex dialog release 2.3.2
...
Github page: https://github.com/HubSpot/vex
MIT license: https://github.com/HubSpot/vex/blob/master/LICENSE
2015-07-16 12:51:07 +03:00
Mihai Varga
70ff917752
loleaflet: spreadsheet tabs html/css
2015-07-15 15:11:39 +03:00
Mihai Varga
9eedcb9dbe
loleaflet: tiles preview container
2015-07-14 18:52:38 +03:00
Mihai Varga
16e3d615fd
loleaflet: preview container
2015-07-14 11:06:45 +03:00
Mihai Varga
0d41a804eb
loleaflet: enabled mouse selection in viewing mode
...
Mouse selection is enabled by by calling
map.enableSelection() which disables dragging and selection
can be disabled to re-enable dragging by calling
map.disableSelection()
The above only work for 'view' and 'readonly' mode
2015-07-13 15:53:02 +03:00
Mihai Varga
c881fd2f8f
loleaflet: manually add controls in the html file
2015-07-10 18:01:19 +03:00
Mihai Varga
9eea9a63c7
loleaflet: exposed the setPermission API: map.setPermission(perm)
...
Where perm can be: edit, view or readonly
This also replaces the editMode and readOnly flags
2015-07-10 12:28:56 +03:00
Mihai Varga
da568fc097
loleaflet: fixed short document panning in view mode
2015-07-09 15:09:25 +03:00
Mihai Varga
4e03f31276
loleaflet: start in readOnly mode option
2015-07-09 14:50:21 +03:00
Mihai Varga
fca2f030fe
Just mention that this will be the future toolbar
2015-06-30 15:05:32 +03:00
Mihai Varga
5ccda335ef
Start in edit mode by specifying it in the URL
...
http://.../host=host_address&file_path=file_path&edit=true
2015-06-29 16:43:47 +03:00
Mihai Varga
4b996b644d
Copy event handler
...
I implemented the solution found here
http://stackoverflow.com/questions/17527870/how-does-trello-access-the-users-clipboard#answer-17528590
which basically creates an invisible text area, sets focus to it,
selects the text, enables firing the oncopy then focus is restored to
the document.
2015-06-24 13:32:56 +03:00
Mihai Varga
22232e070f
Dragging will be handled in the js code
2015-05-26 20:56:27 +03:00
Mihai Varga
531cccc026
Mouse handlers
...
It works for: click, dblclick and dragging
2015-05-20 16:54:40 +03:00
Mihai Varga
fe40e3d592
Less space between the toolbar and the document
2015-05-15 13:07:05 +03:00
Mihai Varga
5e4225c860
In fact, it is better not to prefix the url
2015-05-13 12:05:13 +03:00
Mihai Varga
04d2b531a1
Check if file:// is added in the url
2015-05-13 12:01:10 +03:00
Mihai Varga
0a7e20e851
Encode spaces in the URL
2015-05-13 11:54:12 +03:00
Mihai Varga
c622852514
Removed the Draw plugin interface
...
We don't actually need this plugin because the server
dictates how the selection will work.
Will remove the whole plugin when I'm sure this won't have other
applications
2015-05-08 11:44:37 +03:00
Mihai Varga
15a889db91
Search bar implemented as a leaflet Control
...
It is not ready yet, buttons' functionality and the search
functionality is to be added
2015-05-06 12:39:03 +03:00