Commit graph

396 commits

Author SHA1 Message Date
Henry Castro
8a10a16855 loolwsd: restore interactive testing 2015-09-11 16:31:43 -04:00
Mihai Varga
b278554ba6 loolwsd: update bundled headers 2015-09-10 12:56:32 +03:00
Mihai Varga
d1ecdbc3df loolwsd: parse the commandvalues command and cache the values
The values are chaced in the file named
"cmdValues" + unoCmd + ".txt"
2015-09-09 20:23:49 +03:00
Mihai Varga
aad12a8f2b loolwsd: stop loolwsd service before installing .deb 2015-09-08 16:34:20 +03:00
Mihai Varga
8a371765bc loolwsd: copy /etc/localtime when running systemplate-setup 2015-09-08 13:03:43 +03:00
Mihai Varga
564572e561 loolwsd: also add /etc/host.conf in chroot 2015-09-08 13:03:14 +03:00
Mihai Varga
e17598e866 loolwsd: also copy /etc/nsswitch.conf 2015-09-08 11:31:49 +03:00
Mihai Varga
5396a83c26 loolwsd: copy /etc/hosts when running the server 2015-09-07 15:56:47 +03:00
Mihai Varga
515e6f7fea loolwsd: copy /etc/resolv.conf in the jail
Because sometimes the hostname is not resolved
2015-09-04 18:43:47 +03:00
Andras Timar
289b8646d2 loolwsd: workaround postinstall script failure in docker environment 2015-08-31 12:29:29 +02:00
Henry Castro
0c6c2c8da2 loolwsd: revert update status when switching parts 2015-08-28 01:28:14 -04:00
Henry Castro
b32b407714 loolwsd: add an optional parameter to load url= ...
load part=X url="http" is required to re-establish the connection
2015-08-27 00:18:44 -04:00
Henry Castro
90f790d7ad loolwsd: update status when switching parts 2015-08-27 00:07:11 -04:00
Mihai Varga
1cfd1352ce loolwsd: renamed getStatus/saveStatus to getTextFile/saveTextFile
And added a getStyles method that uses the above methods to cache
document styles
2015-08-19 11:48:49 +03:00
Henry Castro
38c40efbf3 loolwsd: update LibreOfficeKitInit.h
lok: namespace and re-work various types & helper functions.
by Michael Meeks.
2015-08-18 17:31:58 -04:00
Mihai Varga
12ebcd4038 loolwsd: .deb should depend on libreoffice5.0 2015-08-14 11:46:28 +03:00
Tor Lillqvist
baed263003 Check that the LO installation directory exists 2015-08-14 11:31:06 +03:00
Jan Holesovsky
a3cb6fe960 system-template: We need also the content of the symlinks from /etc/fonts. 2015-08-13 17:35:20 +02:00
Mihai Varga
3e0a3d9ed6 loolwsd: use a mutex when moving/removing tiles form the cache 2015-08-12 16:07:44 +03:00
Jan Holesovsky
44c3e01707 Fix typo in error. 2015-08-11 18:39:18 +02:00
Jan Holesovsky
2e6bb94395 More consistent error report. 2015-08-11 18:31:50 +02:00
Henry Castro
7aeca2f92b loolwsd: destroy LOKit when child finished 2015-08-08 08:20:16 -04:00
Henry Castro
41355096dc loolwsd: update loolstat, socket client and ...
prisioner
2015-08-08 08:09:22 -04:00
Henry Castro
54b1e1b612 loolwsd: set thread name to debug socket 2015-08-08 07:55:54 -04:00
Tor Lillqvist
25333f8f7c loolwsd.postinst has superseded the postinst file 2015-08-06 20:38:16 +03:00
Tor Lillqvist
5b5a5489d5 Set up a lool user, group and systemd service on Debian, too 2015-08-06 20:10:04 +03:00
Mihai Varga
d4f818522a 'requestloksession' message that starts a LOK process
Used to predict the user's interaction with the document and to
provide a better response time
2015-08-06 18:54:45 +03:00
Henry Castro
ee928f9af1 loolwsd: create lokit process id logs
Also, when used with --test option, create lokit PID log
so it is attached to the debugger.

gdb loolwsd $(cat /tmp/lokit.pid)
2015-08-05 20:20:05 -04:00
Henry Castro
1c0153d5e0 loolwsd: ensure one child when debugging
when used with --test option:
./loolwsd --test --systemplate=${SYSTEMPLATE} --lotemplate=${MASTER}/instdir
--childroot=${ROOTFORJAILS}

ensure that one child is created and attach to it easily to debug lokit
messages
2015-08-05 20:05:30 -04:00
Henry Castro
0ec12fe11e loolwsd: fix child fork when debugging one child 2015-08-05 18:19:51 -04:00
Jan Holesovsky
2d2fd83859 Document the timestamp= parameter in the protocol.txt. 2015-08-04 20:42:27 +02:00
Jan Holesovsky
527821597f Make the timestamps work also for non-file:// URLs. 2015-08-04 20:39:33 +02:00
Tor Lillqvist
3b9514aa38 Bump major.minor to 1.3 here in master 2015-08-04 20:28:57 +03:00
Tor Lillqvist
13809cb5f3 Add crontab entry to remove old cached tiles
The same entry as Mihai used in the .spec file.
2015-08-04 17:44:14 +03:00
Mihai Varga
47a96e8dee loolwsd: remove cron job when uninstalling the rpm package 2015-08-04 10:09:47 +03:00
Henry Castro
85b0474deb loolwsd: remove time stamp query parameter
The original URI request with query parameters is processed by loKit.
2015-08-03 21:33:47 -04:00
Mihai Varga
eff724bda7 loolwsd: fixed poorly placed cronjob 2015-08-03 22:01:11 +03:00
Mihai Varga
b0282a2a03 Revert "loolwsd: LRU expiry persistent cache"
This reverts commit 74dcec1d3f.
The cronjob replaces this
2015-08-03 21:51:55 +03:00
Mihai Varga
eceb977186 loolwsd: cron job to delete old tiles from rpm packages
place a cronjob file in /etc/cron.d/ which is removed when
the loolwsd rpm packages is uninstalled
2015-08-03 21:50:41 +03:00
Mihai Varga
6812c6aa0b goToPage API
in loleaflet, this is achived by invalidating the cursor and centering
the viewing area around it
2015-08-03 19:07:02 +03:00
Mihai Varga
992f19e6e8 loolwsd: handle parts in Writer
In Writer a part is a page and we only notify the client about the
current page in which the cursor is. Internally (invalidation and
caching) we work with a single part (0)
2015-08-03 17:29:23 +03:00
Mihai Varga
91c98a344e loolwsd: bump version after tarball 2015-08-03 10:14:19 +03:00
Mihai Varga
ac365f6d17 loolwsd: bump version before tarball 2015-08-03 10:13:07 +03:00
Mihai Varga
4ae546d7bd loolwsd: don't move editing tiles to persistent on saveAs 2015-07-29 16:58:43 +03:00
Mihai Varga
a6091f9f6b loolwsd: don't decode the url in the saveAs command 2015-07-29 11:39:35 +03:00
Henry Castro
74dcec1d3f loolwsd: LRU expiry persistent cache
When tile requests from the cache, update time stamp file
so LRU tiles are removed.
2015-07-25 20:12:07 -04:00
Henry Castro
ec094f1601 loolwsd: remove _pendingPreSpawnedChildren.
_pendingPreSpawnedChildren is no longer need it, because
fork() is used.
Also adjusted time sleep to 1 second.
2015-07-24 15:17:46 -04:00
Henry Castro
6dafcc753f loolwsd: process sleep for amount of time ...
specified by MAINTENANCE_INTERVAL
2015-07-24 14:10:24 -04:00
Henry Castro
e107fa662c loolwsd: update loolstat display processes utility 2015-07-24 13:54:35 -04:00
Tor Lillqvist
bbd5e54785 Let's try to have a bit saner dependencies
Surely loolwsd shouldn't depend on dev packages. And libpng12 gets included
automatically.
2015-07-24 14:31:46 +03:00