Commit graph

3271 commits

Author SHA1 Message Date
Pranav Kant
bedb546714 loleaflet: Update npm-shrinkwrap.json with updated module name
s/leaflet/loleaflet/ in 2b7bd99fcd
2016-08-11 15:55:49 +05:30
Pranav Kant
65b83c0409 loleaflet: Minify our js bundle 2016-08-11 15:55:49 +05:30
Pranav Kant
3cab3e0d34 loleaflet: Add uglifyify for minifying js code 2016-08-11 15:55:49 +05:30
Pranav Kant
a08f05e938 loleaflet: Port to new API based build process; remove older ones 2016-08-11 14:55:23 +05:30
Pranav Kant
ebaecafdeb loleaflet: Add debug support to API based build process 2016-08-11 14:46:55 +05:30
Pranav Kant
1156a9534f loleaflet: build: Use API to bundle, instead of commands
This should give more fine-grained control as now we are sure
what version of browserify, or any other tool we are using to bundle
our assets. Installing browserify globally is also not required now.

This will also be helpful when we add more complicated transforms
and other tools to our build process, as otherwise it would keep
complicating our command used currently for the build process.
2016-08-11 14:36:47 +05:30
Pranav Kant
e09da0d764 loleaflet: Superfluous colon 2016-08-11 13:46:11 +05:30
Pranav Kant
16560dcd1f loolwsd: Fix incorrect WOPI content path in logs 2016-08-11 13:39:11 +05:30
Henry Castro
216ff61baf loleaflet: limit vertical/horizontal line movement 2016-08-10 17:05:45 -04:00
Henry Castro
d32f4e824b loleaflet: fix offset while moving vertical/horizontal line 2016-08-10 11:33:20 -04:00
Jan Iversen
ff1b071a8f pot file update, to help automate the pootle connection
Added more explanation in the README.
Corrected template -> templates
2016-08-10 10:36:57 +00:00
Miklos Vajna
3f2165b31a LOOLKit: avoid multiplication at int precision
When the result is already stored as long.

Change-Id: If5ef932c08c212432b5aca2a2300908e521f4ce8
2016-08-10 09:23:32 +02:00
Henry Castro
a0499e4a65 loleaflet: fix vertical center text of row header 2016-08-09 15:50:35 -04:00
Henry Castro
5c75f31305 loleaflet: add Vertical/Horizontal line when dragging Column/Row 2016-08-09 15:15:54 -04:00
Jan Holesovsky
eac4e1ec00 Added commands to create a self-signed certificate / key. 2016-08-09 19:41:18 +02:00
Pranav Kant
bdc4b61ba7 loleaflet: Remove irrelevant inherited files from upstream Leflet 2016-08-09 20:36:03 +05:30
Pranav Kant
9b9e5199e0 loleaflet: Update README 2016-08-09 20:28:10 +05:30
Pranav Kant
2b7bd99fcd loleaflet: Update package.json 2016-08-09 20:23:24 +05:30
Pranav Kant
5f44c55011 loleaflet: npm-sify d3.js
Don't use external CDN for this library, rather 'require()' it
from our local npm modules.
2016-08-09 20:18:59 +05:30
Pranav Kant
6c69b63be5 loleaflet: Browserify admin, more modularization, npm-isation
Use browserify for admin console scripts too.

Modularize needed files such as l10n strings for console.

Use npm for managing bootstrap as dependency of admin console.
2016-08-09 20:18:59 +05:30
Pranav Kant
f75de86c6d loleaflet: Modularize admin console scripts
Let the whole compiled admin bundle export a variable 'Admin' and
attach various classes to this global variable, similar to how we
have in Leaflet having a global L variable and other things
attached to this variable.
2016-08-09 20:18:59 +05:30
Jan Iversen
7839aecac6 Changed Makefile and po directory, to prepare for automatic pootle commit
Changed "make pot" to deliver files in po/template, so the .pot files
are committed as well as the resulting .po files.

Added a README to explain, that styles is not part of translation.
2016-08-09 07:18:09 +00:00
Miklos Vajna
7eaa2bfc87 loolwsd: fix -Werror,-Wparentheses-equality 2016-08-09 09:14:28 +02:00
Pranav Kant
3761e5e9c2 loleaflet: Debug mode bundle.js with source maps 2016-08-08 11:15:10 +05:30
Ashod Nakashian
0c91e33133 loolwsd: logging to file support
Change-Id: Ie18c6d7c3563078becb9d42e81ef3b6a14288e98
Reviewed-on: https://gerrit.libreoffice.org/27976
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:58:08 +00:00
Ashod Nakashian
807b3c2e55 loolstress: support trace file compression
Compression to .gz is supported and is controlled
via the XML configuration.

Change-Id: If26fad2c0b5f3c4ffd93362608644dc917172a41
Reviewed-on: https://gerrit.libreoffice.org/27975
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:57:35 +00:00
Ashod Nakashian
b9b3a41952 loolwsd: compare uncompressed PNG in unittests
Change-Id: I5d8db39a0076bcb83d786b6afff96cd84a1f1360
Reviewed-on: https://gerrit.libreoffice.org/27974
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:56:38 +00:00
Ashod Nakashian
18ab6d28bf loolwsd: refactored png decoding into own function
Change-Id: I8310b3880f2171c26cecbee4cb1780889d38ea31
Reviewed-on: https://gerrit.libreoffice.org/27973
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:55:44 +00:00
Ashod Nakashian
7ae28d5642 loolstress: new option to replay without timing delays
Change-Id: Ic1f6c911f504128b7d1aa5e3ee2354e382b825c5
Reviewed-on: https://gerrit.libreoffice.org/27971
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:55:06 +00:00
Ashod Nakashian
045f0b6388 loleaflet: npm requirement and upgrade instructions added
Change-Id: Id769931cfef8c6c1cc291b12ed399484f6b19f97
Reviewed-on: https://gerrit.libreoffice.org/27972
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:54:06 +00:00
Ashod Nakashian
a3e9fc8139 loolstress: filter trace messages by regex config
Change-Id: I13483cd6614e5753a22408102c9cc310a587db2e
Reviewed-on: https://gerrit.libreoffice.org/27970
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:53:52 +00:00
Ashod Nakashian
f57964bd05 loolstress: outgoing trace recording controlled from config
Change-Id: I5788da96d4c2fecde818c6dde8ebfcd6ae206cec
Reviewed-on: https://gerrit.libreoffice.org/27969
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:53:19 +00:00
Ashod Nakashian
f9ec1bade3 loolstress: time-accurate replay
Change-Id: I1aff521f042c61916ef6ddfc50c2fe06c41b29ee
Reviewed-on: https://gerrit.libreoffice.org/27968
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:52:59 +00:00
Ashod Nakashian
7af51f51c4 loolstress: new Connection manager and event handler
Change-Id: Ifc921f7fcf298457a848da444c2d3830b9755603
Reviewed-on: https://gerrit.libreoffice.org/27967
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:52:35 +00:00
Ashod Nakashian
c304cbc95b loolstress: trace session ID and child pid
Change-Id: Iac6b3dadedfcdec91db21a5e90eb3827705281d4
Reviewed-on: https://gerrit.libreoffice.org/27966
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:51:59 +00:00
Ashod Nakashian
d5aa200471 loolstress: trace events
Change-Id: I1a38ab37dc5d276cdf5336fb04b0ad372804a00d
Reviewed-on: https://gerrit.libreoffice.org/27965
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:51:36 +00:00
Ashod Nakashian
ca9135e7a5 loolstress: add pid to trace file and parse it
Change-Id: I74569d5692291b4f3310b996d1cf49d5c951d0fc
Reviewed-on: https://gerrit.libreoffice.org/27964
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:51:11 +00:00
Ashod Nakashian
a750edd70d loolstress: replay trace file
Change-Id: I076ec4ff398cf22ca6916ad11afc9ecb75421ac1
Reviewed-on: https://gerrit.libreoffice.org/27963
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:50:38 +00:00
Ashod Nakashian
831a917977 loolstress: Parse trace file header and document URI
Change-Id: I659f9ec3d0cb9f1333d930d0b21c5b3afd115d32
Reviewed-on: https://gerrit.libreoffice.org/27962
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:50:18 +00:00
Ashod Nakashian
4f57e43fdc loolstress: load trace file records
Change-Id: Id0f76c1848863f5910d4492b2d37c6b18d1b3871
Reviewed-on: https://gerrit.libreoffice.org/27961
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:49:59 +00:00
Ashod Nakashian
4d7c2e4002 loolstress: parse trace file
Change-Id: I04964744a74d3a025e310d7ec52f5d1f5b6d100d
Reviewed-on: https://gerrit.libreoffice.org/27960
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:49:39 +00:00
Ashod Nakashian
b394ad89d8 loolstress: TraceFileReader class added
Change-Id: I81d508bb794ca56f647d0eb5b9dd27585100fe07
Reviewed-on: https://gerrit.libreoffice.org/27959
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:49:18 +00:00
Ashod Nakashian
d1e66718b5 loolstress: TraceFile -> TraceFileWriter
Change-Id: Icf22189170cfb57f014346c91ba99a9cae5fe18a
Reviewed-on: https://gerrit.libreoffice.org/27958
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:48:54 +00:00
Ashod Nakashian
a7c1a17f98 loolwsd: new LOOLStress utility to stress benchmark LOOL
Change-Id: Ic43f15f9bda4e08feb6df97caeb7cc40a7d24e23
Reviewed-on: https://gerrit.libreoffice.org/27957
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:48:35 +00:00
Ashod Nakashian
e3427aff34 loolwsd: when TDOC is not defined assume blank
Change-Id: Iaf8ee6a8dff8dc4d602e7622a288a43b3459fb92
Reviewed-on: https://gerrit.libreoffice.org/27956
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:48:12 +00:00
Ashod Nakashian
177802154d loolwsd: trace notifications and response messages
Change-Id: I45f69386762d69e2b3960eeb96e591d7c5843b0b
Reviewed-on: https://gerrit.libreoffice.org/27955
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:47:54 +00:00
Ashod Nakashian
026a22abc3 loolwsd: dump incoming commands
Change-Id: I3d77d0c645c0bdd7e9edfbc8d90d5df6cc1b927a
Reviewed-on: https://gerrit.libreoffice.org/27954
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:47:32 +00:00
Ashod Nakashian
8b9b328955 loolwsd: add support for dumping command trace
Change-Id: I4121ce74653d243149be09de46581cbe0aae0438
Reviewed-on: https://gerrit.libreoffice.org/27953
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:47:10 +00:00
Ashod Nakashian
df49c23d23 loolwsd: use getConfigValue
Change-Id: Iccd4ea16424cfb6b8977fc70fc4a39e8b97f0b40
Reviewed-on: https://gerrit.libreoffice.org/27952
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:46:34 +00:00
Ashod Nakashian
5b639c3a2d loolwsd: use log settings from the config XML
Change-Id: I0384d97b5411d3ff537b344e67f166daa65630c1
Reviewed-on: https://gerrit.libreoffice.org/27951
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:46:06 +00:00