Граф коммитов

42 Коммитов

Автор SHA1 Сообщение Дата
Arthur Schiwon 359f031c08
do not require occ to be executable
fixes seemingly broken -x check after going to Ubuntu 22.04

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-03 13:31:30 +02:00
Arthur Schiwon 2db0b165ac
fix: specifically call python3
- with the next UCS minor release, python(2) is being removed
- this patch was provided by Univention 🙇

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-13 22:09:16 +02:00
Arthur Schiwon 9c5bb86d41
adjust user_saml configuration
with user_saml 5.0 configuration is not possible via config:app:set
anymore

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-05-12 16:13:21 +02:00
Thorsten Roßner 2fa350d802 Register extended attributes using the attribute file
Signed-off-by: Thorsten Roßner <rossner@univention.de>
2021-09-17 10:56:36 +02:00
Nico Gulden 6dcbcd8d59 Remove online office fallback from join script
The join script installed the collabora binary to the Nextcloud Docker
container, when no online office app like Collabora or ONLYOFFICE was
detected on the system.

The respective pieces of code have been removed from the join script.

When the fallback was installed, it broke automatic configurations when
the Collabora app was installed afterwards via the App Center.
The wopi_url for Collabora was not changed, because it already had a
valid value. Therefore, Nextcloud still used the Collabora binary
installed inside the Nextcloud container, instead of the separate app in
Univention App Center.

For the administrator this is very confusing and time consuming in
support cases.

Signed-off-by: Nico Gulden <gulden@univention.de>
2021-02-17 09:53:32 +01:00
Arthur Schiwon 632c210ba6
switch hub fallback to collabora
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-09-10 13:56:10 +02:00
blizzz 0cf9274b5b
Merge pull request #127 from ngulden/ngulden/add-onlyoffice-ds-ie
Add autodetection for ONLYOFFICE Document Server integration edition
2020-08-26 12:38:45 +02:00
Nico Gulden 4037b724d7 Fix app id for ONLYOFFICE integration edition
Signed-off-by: Nico Gulden <gulden@univention.de>
2020-08-14 09:34:19 +02:00
Nico Gulden 379f5cc4c8 Add autodetection for ONLYOFFICE Document Server integration edition
For the ONLYOFFICE Document Server Integration Edition the autodetection
needs to work accordingly and activate the ONLYOFFICE plugin in
Nextcloud.

Signed-off-by: Nico Gulden <gulden@univention.de>
2020-08-14 09:34:19 +02:00
Arthur Schiwon 1f55f8956b
fix detection of member-of LDAP overlay
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-03 21:59:18 +02:00
Arthur Schiwon cd04ad63fc
fix ovrerwrite serviceprovider user setting on install
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-03-24 14:27:25 +01:00
Arthur Schiwon 316a5b4cca
avoid error message on talk install (known) and timeout
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-02-13 23:17:53 +01:00
Arthur Schiwon 5d083d3b15
ensure an office suite is provided if neither OO nor Collabora are found
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-02-13 14:02:18 +01:00
Arthur Schiwon 76abf3411c
fix certification issue on update
- the joinscript does not run each update
- ship the config directly in the container
- make the cert available through preinst
- put the cert on the right spot and call update-ca-certificates in setup

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-01-16 12:01:29 +01:00
Arthur Schiwon cd435871f6
fix setting TLS_CACERT in ldap.conf
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-01-07 14:19:29 +01:00
Arthur Schiwon 046781cd09
fix SAML logout config
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-08-21 15:30:29 +02:00
Arthur Schiwon a237a8283d
configure SAML with NC 16 (new installs only), solves #91
* add Nextcloud SP provider on UCS
* configure SAML backend
* whitelist UCS users

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-08-20 17:48:34 +02:00
Arthur Schiwon 9a9b726c09
configure TLS, closes #73
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-07-15 18:49:56 +02:00
Arthur Schiwon be361ec207
incorporate changes from UCS to join script
* bumping version
* ensuring commit/state

as provided by Dir
2019-04-03 13:32:29 +02:00
Arthur Schiwon f0354c13bd
make getarg known (from Univention) 2019-02-14 10:14:25 +01:00
Arthur Schiwon 9020925dd0
improve error reporting 2019-02-13 23:49:10 +01:00
Arthur Schiwon c91efc7047
set LDAP credentials on update (if necessary)
essentially needed to make an installation possible after an uninstall
while the old data and config is in place
2018-11-27 13:03:11 +01:00
Arthur Schiwon 1c61f74fbd
move config data to permanent subfolder 2018-11-23 22:54:34 +01:00
va1entin df78e314dc Use LDAP base as group base by default 2018-11-16 17:37:35 +01:00
Nico Gulden 17a7e48912 Fix automatic setting for ONLYOFFICE document server URL
The ONLYOFFICE document server URL was not set automatically in the
Nextcloud join script. The error was:

rpc error: code = 2 desc = oci runtime error: exec failed:
container_linux.go:247: starting container process caused "exec:
\"occ\": executable file not found in $PATH"

This is fixed now.
2018-10-18 09:25:56 +02:00
Nico Gulden d2e2adf748 Fix broken appliance detection
Fixes #67
2018-09-28 12:27:50 +02:00
blizzz ff199d9797
Merge pull request #66 from va1entin/master
Add example for quotas to custom attribute's longDescription
2018-09-27 10:49:31 +02:00
Valentin Heidelberger 75323a0d7a Add example for quotas to custom attribute's longDescription 2018-09-26 17:56:40 +02:00
Nico Gulden 93f9ad003b Drop explicit disabling of online office apps
When the apps are installed in Nextcloud in the docker image, they are
disabled by default. There is no need to disable them. Running the inst
script upon update could disable the online office apps unintentionally.
This is avoided now.
2018-09-05 23:54:49 +02:00
Nico Gulden eebc727046 Change order for exit code check 2018-09-03 15:58:05 +02:00
Nico Gulden d7b2b6d6dc Add auto detection for online offices
When either Collabora Online, Collabora CODE or ONLYOFFICE are installed
on a UCS system when Nextcloud is going to be installed, the respective
apps in Nextcloud are activated. If no URL to the services are
configured, they are set to the given system.

If no online office is installed, the join script will deactivate the
respective app in Nextcloud.
2018-08-28 16:39:56 +02:00
Nico Gulden 599ace92ec Add other appliances to appliance detection 2018-08-21 12:02:51 +02:00
Arthur Schiwon 251449d653
promoting the LDAP Administrator to Nextcloud admin may fail, fixes #53
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-06-04 16:09:42 +02:00
Arthur Schiwon 9769985995
use mail as LDAP mail attribute instead of mailPrimaryAddress
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-04-20 13:17:24 +02:00
Arthur Schiwon 85d445d633
outdated comment 2018-03-13 23:05:57 +01:00
Arthur Schiwon 9a6373d0b0
don't create param when NC_ADDITIONAL_CURL_ARGS is empty
results in a malformed URL
2018-02-21 17:00:14 +01:00
Arthur Schiwon d8023cb5af
import UCS CA
kudos to A. Mikheev (OnlyOffice)
2018-02-21 15:30:48 +01:00
Arthur Schiwon 626d889809
support customized admin name
credits to F. Botner (Univention)
2018-02-21 13:48:03 +01:00
blizzz 4d74217a5e
use broad base for users
as we continue to get complaints that some operators are confused that no users are available, because "cn=users" does not fit their structure
2018-01-24 13:19:53 +01:00
Arthur Schiwon 74917b1d7b
wrap curl calls and allow debug output
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2017-12-05 18:04:04 +01:00
Arthur Schiwon 2fd02763eb
run curl without cert check when setting up on appliance due to unknown,
preliminary cert
2017-09-12 14:10:42 +02:00
Arthur Schiwon c008832130
introduce make push-files 2017-07-18 12:27:41 +02:00