Andras Timar
186b397130
add test/countloolkits.hpp to tarball
2016-05-09 12:25:42 +02:00
Andras Timar
b26c8fc0ab
add test/helpers.hpp to tarball
2016-05-09 12:23:46 +02:00
Jan Holesovsky
7bb1fa2908
'make run' should enable the admin console too.
...
'make run' must _not_ be used for a production environment already anyway due
to the --allowlocalstorage, so allowing the admin console with some trivial
credentials is hopefully OK.
2016-05-09 10:43:37 +02:00
Ashod Nakashian
575e093076
loolwsd: editlock and takeedit tests
...
Change-Id: Ie2458aed1da0624f1769b6b75f134cb0fed0db75
Reviewed-on: https://gerrit.libreoffice.org/24475
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-04-29 01:09:24 +00:00
Tor Lillqvist
7d2a1d9048
I always keep doing 'make cache-clean'
2016-04-22 17:50:25 +03:00
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
Andras Timar
fb7de5df8e
we need key.pem for admin console in http-only case too
2016-04-19 12:11:37 +02:00
Andras Timar
4fd2354bc0
Add missing headers to dist tarball
2016-04-18 10:30:32 +02:00
Tor Lillqvist
16e4ad5fc5
The 'loadtest' programs can surely die
2016-04-18 09:43:39 +03:00
Michael Meeks
6388298a04
Attempt at a --nocaps argument to run with no caps, ie. under valgrind.
2016-04-16 20:47:55 +01:00
Michael Meeks
7376b7475e
Font bits: create symlink in jail at OS instdir path, to point at /lo
...
This ensures that bundled fonts in instdir/share end up resolved to
the same path that they were in when the forkit font config was setup.
It may also help locate other pre-inited resources.
Also copy in ~/.fonts in debug mode - can't hurt.
2016-04-15 14:35:57 +01:00
Michael Meeks
ab6cc4135b
Copy fonts into systemplate from libreoffice install.
2016-04-15 14:23:44 +01:00
Ashod Nakashian
cf85f51850
loolwsd: tabs -> spaces
...
Change-Id: I581346970321446378ff135e0227e06a2092b39f
Reviewed-on: https://gerrit.libreoffice.org/24108
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-04-15 11:53:42 +00:00
Ashod Nakashian
322a3c1afe
loolwsd: logging moved to own files
...
Change-Id: Idf1dd91cf37675e1bea8aeb5d9e8cf6d2ac9a725
Reviewed-on: https://gerrit.libreoffice.org/24099
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-04-15 01:07:13 +00:00
Michael Meeks
d817fc2c69
Simple command-line tool for file format conversion.
2016-04-14 18:58:18 +01:00
Andras Timar
1f7da1f5a2
loolwsd: install and package SSL key and certs if SSL is enabled
2016-04-14 18:47:50 +02:00
Andras Timar
a8601804ac
loolwsd: process loolwsd.xml.in
2016-04-14 15:06:49 +02:00
Andras Timar
ec9aa4a50f
loolwsd: fix SSL certs/key install
2016-04-14 14:50:48 +02:00
Andras Timar
1f560af63a
loolwsd: discovery.xml to datadir
2016-04-14 14:43:31 +02:00
Andras Timar
60c969cd77
add security.h to tarball
2016-04-14 12:35:50 +02:00
Andras Timar
24bc458741
define LOOLWSD_CONFIGDIR and LOOLWSD_DATADIR
2016-04-14 12:34:11 +02:00
Jan Holesovsky
1e58864230
Revert unwanted change of hello.odt, and prevent that from happening again.
2016-04-14 11:40:17 +02:00
Jan Holesovsky
efb67d68fd
The host= parameter for loleaflet.html does not exist any more.
...
Now loolwsd fills that in directly.
Also show http:// or https:// in 'make run' according to the configuration.
2016-04-13 18:42:07 +02:00
Jan Holesovsky
cc3ee1033b
Make the autotools steps reliable.
2016-04-12 09:39:53 +02:00
Tor Lillqvist
255f9304e9
Fix build without --with-lo-path
2016-04-12 09:29:57 +03:00
Michael Meeks
ea1e2493bf
Re-factor tests, move jails & systemplate up a level into loolwsd.
...
Also generate the test scripts with config.status containing absolute
paths to make them easier to run, and enable the older unit tests.
2016-04-11 22:01:49 +01:00
Michael Meeks
b308792801
Add infrastructure to inject test pieces into loolforkit.
2016-04-09 18:17:12 +01:00
Michael Meeks
7d62c74b83
Fix segv on failure to create a storage, and add unit test infra.
2016-04-07 22:21:14 +01:00
Michael Meeks
86ebefce50
Get subdirs build order right for tests.
2016-04-07 22:21:14 +01:00
Michael Meeks
ad13dca8f8
First cut at adding integration and unit test hooks into loolwsd.
...
Add new configure parameter --with-lo-path= which can be used to
auto-populate a system template as required.
2016-04-07 19:38:33 +01:00
Michael Meeks
36d734ab81
Rename loolbroker to loolforkit.
...
Now we have just one broker - the DocumentBroker inside WSD.
2016-04-05 14:45:46 +01:00
Michael Meeks
6ec2e8ca68
Rename loolbroker to loolforkit - and split the child to LOOLKit.
...
Move ChildProcessSession to shared_source and fix the static
ClientPortNumber issue.
2016-04-05 14:45:46 +01:00
Tor Lillqvist
d137653db5
Avoid over-engineering: Insert Capabilities.hpp in the only file where used
2016-04-04 10:05:30 +03:00
Tor Lillqvist
a132e06409
Bin the non-preinit and non-fork code paths
...
Preiniting LibreOfficeKit and forking kit processes (instead of
spawning) has worked fine for a while, and has been the default way
this works.
No 'loolkit' program gets built any more.
2016-04-04 09:07:59 +03:00
Michael Meeks
1b25179b25
Use bind mounting to accelerate jail creation.
...
of the 10k files still linked into the jail; 5700 are from usr/
so bind mount just that directory, also set noatime, ro, and
some other helpful looking options.
Change-Id: I28d2d5cbbdf33fb57ea0f0c0915cb267603ee16d
Reviewed-on: https://gerrit.libreoffice.org/23777
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-04-04 04:03:37 +00:00
Pranav Kant
4ae077200c
loolwsd: Separate AdminModel header and implementation
...
Change-Id: Iddf107aa7985988deba800030e75243a831a7532
2016-03-31 13:00:30 +05:30
Pranav Kant
939388c6e6
loolwsd: Arrange sources/header in makefile alphabetically
...
Change-Id: I0bc70b34a590d84ac9c15f0d9d0000d02cadba74
2016-03-31 12:57:44 +05:30
Pranav Kant
f1ede0c4ba
loolwsd: Split Storage, Auth classes into header/impl files
...
Change-Id: I5d8990db8f8f4aa7a88bbb0cc84b97149cf4f8c0
2016-03-31 12:57:44 +05:30
Ashod Nakashian
b25fe9d88a
loolwsd: moved SocketProcessor to IoUtil and generalized more
...
Change-Id: I527e57d2430e21249cf8cd4867f22fdbbd092b09
Reviewed-on: https://gerrit.libreoffice.org/23637
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-03-30 01:45:20 +00:00
Ashod Nakashian
ce2fabb733
loolwsd: moved IO utilities into IoUtil file
...
Change-Id: I1e8d5562787134cbb490c38b19d83b7514ec9baa
Reviewed-on: https://gerrit.libreoffice.org/23586
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-03-29 14:09:04 +00:00
Jan Holesovsky
22914aacd1
loolwsd: Install the certificates during the build.
2016-03-29 13:29:07 +02:00
Michael Meeks
b499743932
Print what is done for capabilities.
2016-03-29 12:19:18 +01:00
Andras Timar
f94cdbd36c
loolwsd: add FileServer.hpp to dist
2016-03-23 19:46:32 +01:00
Pranav Kant
cfac07e3a1
loolwsd: Split DocumentBroker to its header and impl file
...
Change-Id: I8219300e271892f9f8fdecd8b38d9ea445cb7199
2016-03-23 22:16:35 +05:30
Pranav Kant
844ff4c571
loolwsd: Use automake generated tag rules to create tags file
...
Automake already have rules, make tags and make ctags, for emacs
and vim style tags respectively. We can pass our custom flags to
them using the AM_ macros.
https://www.gnu.org/software/automake/manual/html_node/Tags.html
This commit also adds support to create emacs style tags using
automake's pre-generated tag rules.
Change-Id: I4f6ed997fab6964b3c1f6637e3fd0365f8d4c8b8
Reviewed-on: https://gerrit.libreoffice.org/23442
Reviewed-by: pranavk <pranavk@collabora.com>
Tested-by: pranavk <pranavk@collabora.com>
2016-03-22 18:53:36 +00:00
Andras Timar
638460381e
package and deploy discovery.xml
2016-03-17 15:24:09 +01:00
Andras Timar
213e678193
loolwsd: add DocumentBroker.hpp to dist
2016-03-15 13:25:00 +01:00
Tor Lillqvist
80c6a91d5d
Don't call setcap on loolkit before we have built it
...
On the other hand, loolwsd does not need capabilities any more.
Also update the comment to match reality, and explain in more detail
what is going on.
2016-03-07 13:10:45 +02:00
Pranav Kant
85c6467344
loolwsd: Move Admin class to separate header
...
As a test, add command to fetch documents from AdminModel.
Change-Id: I3cb7097ba7dde049f3b2478fe7b6b6c309da1d92
Reviewed-on: https://gerrit.libreoffice.org/22781
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2016-03-03 18:26:55 +00:00
Pranav Kant
c5aa122fcb
loolwsd: Create notification pipe
...
... and Admin and AdminModel containing all the required data
that we need to expose to Admin panel.
Admin processor will keep listening to any data on this
notification pipe and update AdminModel accordingly.
Change-Id: I0dd6f07ae60158733c34d17f53a35def70600513
Reviewed-on: https://gerrit.libreoffice.org/22780
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-03-03 03:34:47 +00:00