Commit graph

247 commits

Author SHA1 Message Date
Andras Timar
74816141cc We do not use tunneled sidebar any more
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If3dc1dae35250c54d62e69396aea7df51873d4cb
2022-04-21 17:05:18 +02:00
Ashod Nakashian
6bc2d70dcb configure: choose the correct sanitizer library when fuzzing
We use -fsanitize=fuzzer-no-link when fuzzing is enabled,
but we fail to consider if other sanitizers are enabled.
It is usually the case that asan and ubsan are enabled
when fuzzing.

The fuzzing check is now done before the sanitizers
and the result is combined.

C++17 check is now improved and so are a few messages.

Change-Id: I44e36d19d77a47c21245b5fe9e690d860f91e84c
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-04-20 07:12:03 -04:00
Henry Castro
c550a206e8 Remove the old vex-based welcome dialog code
... and make Welcome dialog optional for COOL

config: add welome url parameter

Signed-off-by: Henry Castro <hcastro@collabora.com>

config: add feedback url parameter

Signed-off-by: Henry Castro <hcastro@collabora.com>

config: add infobar-url parameter

Signed-off-by: Henry Castro <hcastro@collabora.com>

welcome: fix unhandled exceptions

Signed-off-by: Henry Castro <hcastro@collabora.com>

welcome: preprocess welcome file

added welcome-message.html

Signed-off-by: Henry Castro <hcastro@collabora.com>

welcome: clean up code related to vex welcome

Signed-off-by: Henry Castro <hcastro@collabora.com>

--enable-welcome-message is not necessary, when we specify a welcome URL, then it is enabled, otherwise it's user configurable

Signed-off-by: Andras Timar <andras.timar@collabora.com>

remove the unused welcome config settings

Signed-off-by: Andras Timar <andras.timar@collabora.com>

remove unused define ENABLE_FEEDBACK

Signed-off-by: Andras Timar <andras.timar@collabora.com>

do not install/package fallback welcome dialog, when welcome feature is not configured

Signed-off-by: Andras Timar <andras.timar@collabora.com>

remove welcome-message.html

Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I20aa6220362018b63aaebd114b2b661561823fbb
2022-04-04 10:53:07 +02:00
Andras Timar
9752cd0b80 Bump version to 22.05.0.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib17a8e9a26d73c4f20ce9447bb65c75b50348a58
2022-03-25 17:06:14 +01:00
Andras Timar
0392facc6b Bump packaga version to 21.11.3.3
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I315b7d74bfe09f0820068dc7ca36960d024c492b
2022-03-23 16:42:48 +01:00
Andras Timar
a96c224281 Bump package version to 21.11.3.2
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5cf03151cf77b9f6031e42c61713f4b3acf4e9e8
2022-03-21 21:48:43 +01:00
Michael Meeks
16386b9aaf Re-work welcome configuration.
Change-Id: Ia99eb5b587a849d32d7d4f392c15f84db2423e95
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-03-21 21:34:25 +01:00
Ashod Nakashian
97a6d1cd98 wsd: support experimental features
This adds a new config option to enable/disable
experimental features and behavior. The default
value can be controlled at build time by
--enable-experimental.

Change-Id: Iffcb4c71d9e0933a646251b63033b6dadcd3b809
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-03-17 18:46:46 -04:00
Andras Timar
1722c16322 Bump package version to 21.11.3.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ibc7996de501f8c36c698c6108e8c7d66b42a96e3
2022-03-16 15:48:19 +01:00
Andras Timar
4bd6b39f71 Bump package version to 21.11.3.0
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id6f82770ecc91c17d9e1df3002150f090ad67575
2022-03-15 18:45:10 +01:00
Ashod Nakashian
88e03a47d3 wsd: support new clang versions for fuzzing
Now we choose static-libasan vs static-libsan
at configuration time, dynamically. This
enables supporting post clang-9 releases
which do not have libasan.

In addition, clang warns about the order
and visibility of operator<< for the chrono
types. Those are fixed to.

Change-Id: I17f5fc4b3e34464194ad686542935c9f596366e4
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-03-09 19:24:40 -05:00
Andras Timar
7e724aa5ab Bump package version to 21.11.2.4
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2726ea5155c08eabeeddde4f68b6c4a200210985
2022-03-01 22:49:00 +01:00
Andras Timar
5c0f255a6e Bump package version to 21.11.2.3
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I3d5ddfd48f79146538daf057163fdd801551f412
2022-02-28 16:42:21 +01:00
Rash419
50678c5191 wsd: introduce remote configuration
fetch JSON from remote server and apply new config without restarting coolwsd
- Extended the feature_locked configuration & functionality so that it can be set per wopi host ranges

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Id0e2b4b524a80de88b2b3559dd18c4a95b8163fb
2022-02-25 18:36:06 +03:00
Andras Timar
2c458b1e28 Bump package version to 21.11.2.2
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iaf1b0e6707c383385c2edc298de134fd035c23c7
2022-02-19 23:41:43 +01:00
Andras Timar
86a3d53b7a Bump package version to 21.11.2.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5ab6ef7a5ff1fdf49b57cc475b8f5bdaedf1422a
2022-02-14 22:16:18 +01:00
Pranam Lashkari
7e22a01d4d refactored feature disabling bits
now it is known as feature locking

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I2935edbfe1eb8dcc194641afa2461cf77b2b29d3
2022-02-11 17:00:11 +00:00
Andras Timar
6602c7b407 Bump package version to 21.11.2.0
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I66a6f03fea76c49596dddfef4ad621229ff82858
2022-02-10 10:12:59 +01:00
Pedro Pinto Silva
6d3d2935d7 Rename: outdated loleflet strings
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ibfb5de3dc5d4c5a57f4d50bf0a9bbc45df2ecadb
2022-01-27 16:15:51 +01:00
Andras Timar
93638212b0 Bump package version to 21.11.1.4
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib19d64db430d40a7a17cdce3e14e4ad2c398cde7
2022-01-25 20:37:02 +01:00
Andras Timar
17e60c1ae4 Bump package version to 21.11.1.3 (final?)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I96f3ed44bfeae4fceeb8fce2a37ad781721244e1
2022-01-21 12:25:29 +01:00
Andras Timar
9964c986fe Bump package version to 21.11.1.2 (RC3)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If5fe10f402876ca51cf0ce6fc501904ef58bf9ef
2022-01-21 12:25:29 +01:00
Andras Timar
99dfc090cd Bump package version to 21.11.1.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4c676fdd577e5217acb636be08f993f70ca7808c
2022-01-21 12:25:29 +01:00
Andras Timar
a639106663 Bump version to 21.11.1.0
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I45b68f1efd1a5277e4f879754fe44ded5871f341
2022-01-03 12:19:40 +01:00
Pranam Lashkari
75f37bb1df freemium: added option to make freemium user read only
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I4dadb535e722cbeaacf177b30247899795d048f9
2021-12-20 12:03:51 +01:00
Andras Timar
36f6eab223 Bump version to 21.11.0.6
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I83cec5ecce7b491ab785549e56840d3e1b3623dd
2021-12-16 12:26:28 +01:00
Luboš Luňák
9a54a5d68e actually require C++17
When I did the previous "C++17" commit I removed C++11 and C++14
from the checked list, but I missed the fact that the code checked
for C++17/14/11 and then did nothing with it. So actually do use
the detected required C++ standard.

Signed-off-by: Luboš Luňák <l.lunak@collabora.com>
Change-Id: Ia82d14d11f81456abed7ee2609903afe5366f5e7
2021-12-07 13:42:06 +01:00
Andras Timar
15dc78e4b3 Bump package version to 21.11.0.5
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I0d1256f90d6454a4592d8998f0fb7d455b4acfa2
2021-12-03 14:16:40 +01:00
Andras Timar
08b7734025 Bump package version to 21.11.0.4
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Icf24d2d378f75a7ea588617fa04528ab4d3878ae
2021-12-02 16:17:49 +01:00
Luboš Luňák
35c3f835d2 require C++17
As discussed during today's COOL meeting. Even cp-6.4 now requires
C++17, so this should be always satisfied.

Signed-off-by: Luboš Luňák <l.lunak@collabora.com>
Change-Id: I7b4f96b6de54a747e42069f0fc839393cf3d1bec
2021-11-26 15:17:26 +01:00
Andras Timar
c8104d73ea Bump package version to 21.11.0.3 (RC3)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I84614e898b19bfc4fa68e204a3aafef658b333e9
2021-11-24 22:03:39 +01:00
Ashod Nakashian
de78487758 wsd: test: support logging passing test assertions
By configuring with --enable-logging-test-asserts,
which is enabled by default, passing assertions
in tests will be logged.

Can be disabled with --disable-logging-test-asserts
and enabled for individual translation-units via
    #define LOK_LOG_ASSERTIONS 1

This should help with debugging failures that
happen at some arbitrary point in a test.
Logs should now be more readable, as in most cases
extra logs aren't needed to trace the test progression.
That is, the assertions become self-documenting.

Change-Id: I5498331cac63bfe6ab09566697ca324a064c4dbf
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-11-23 09:31:46 +01:00
Andras Timar
c95afc5fc0 Bump version to 21.11.0.2 (RC2)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5923ded1e1ae35172268fddbaff94966858c036e
2021-11-19 21:29:51 +01:00
Aron Budea
14d28ca8b6 Make Notebookbar the default
Remove all occurrences of USER_INTERFACE_MODE configure
variable.

Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: I398d97fa975a0c52391547d2e791ff17e7effde6
2021-11-19 16:08:44 +00:00
Andras Timar
f07ff8c7e0 rename: remaining lool->cool changes
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib7d4e804bebe52dead8d53b0e0bbaed0f08bf3d0
2021-11-18 14:14:11 +01:00
Henry Castro
cc8a84af60 config: rename 'lool' -> 'cool'
.
Change-Id: I13596547abac424482096a9af13c6785a8e2b897
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-17 09:19:04 +01:00
Henry Castro
c07928bf40 misc: more renames 'lool' -> 'cool'
Change-Id: I2d392eef3dff23f2f8737e57bb977fa060ab8ea5
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-17 09:17:50 +01:00
Andras Timar
6e45fae6c5 rename coolstress to jsstress
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5d0346be60451699502f3723f781bc8488e114f5
2021-11-16 11:16:45 +01:00
Andras Timar
cde4d9322e add compatibility symlink 'loolconfig' for 'coolconfig'
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4715b4469d5f11f63eff4b76651eee549000c1c2
2021-11-15 22:07:53 +01:00
Gleb Popov
b88708aac3 Don't enable SECCOMP by default on !Linux systems.
Signed-off-by: Gleb Popov <6yearold@gmail.com>
Change-Id: Ib971a94d3ff18353cdb2a2024f78875e9ff6d8b5
2021-11-13 17:02:02 +01:00
Andras Timar
a8bb765eaf Bump version to 21.11.0.1 (RC1)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5c2ec902a507e3ffbc8c219f2b4e79bc8e2fedcb
2021-11-11 16:26:06 +01:00
Andras Timar
e1c1946afb more descriptive name of a config setting for debugging: browser_logging
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I175e5256fcae42477cb2c84fc2b4048aca40bed7
2021-11-11 13:26:37 +01:00
Gleb Popov
2716cc7155 Set --disable-setcap as default for !Linux platforms
Signed-off-by: Gleb Popov <6yearold@gmail.com>
Change-Id: I67e211a94870e46b19426c68d599e7048543a8f5
2021-11-11 12:42:09 +01:00
Henry Castro
8a4b111e8f rename var LOLEAFLET_LOGGING to
COOL_LOGGING

Change-Id: I155a829b3ad947e03363e5020aa71a104aaa8c00
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
e68827b168 configure: update file
rename loleaflet -> cool or browser

Change-Id: I6b28620bb6df981e2bdafe6c712f1cbc43cf3a47
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
e0fe47be5f rename loleaflet.html -> cool.html
Change-Id: Iaa28f1269f8192755ec323396ae4ff054529f412
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Miklos Vajna
1190f85d27 configure: extend --enable-fuzzers description
To make it more clear that if you enable this in an existing build tree,
you'll get an outdated loolwsd binary, which is confusing.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: Iaf6e747a9d7ac4262732c3df69bb5012bc7dc352
2021-11-04 11:26:46 +01:00
Andras Timar
65ab76ffee Use version 21.11 for the next CODE/COOL release
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I40ddff0825963454580335f444443d31d395429e
2021-10-22 16:03:52 +02:00
Pranam Lashkari
88601440d0 introduce way to hide/restrict uno commands
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I1225190a67f726832e5b38a7c3f690b51c1385f3
2021-10-21 12:28:13 +03:00
Andras Timar
a894f87f73 Bump package version to 21.06.2.0-1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I6c59902f7065f2ff92ce12abcd9548cc3d64a66f
2021-10-14 16:00:48 +02:00