summaryrefslogtreecommitdiffstats
path: root/pykolab/setup
Commit message (Collapse)AuthorAgeFilesLines
* [Python 3] relative imports fixes (dynamic imports) Part 2Christoph Erhardt2022-05-081-4/+4
| | | | | | | | | | Summary: some more dynamic imports of relative path's found and dotted Reviewers: #pykolab_developers, sicherha Reviewed By: #pykolab_developers, sicherha Differential Revision: https://git.kolab.org/D3484
* [Python 3] Implicit relative imports fixesChristoph Erhardt2022-03-1312-12/+12
| | | | | | | | | | Reviewers: #pykolab, #pykolab_developers, sicherha Reviewed By: #pykolab_developers, sicherha Subscribers: sicherha Differential Revision: https://git.kolab.org/D3391
* [Python 3]basestring to six string_typesChristoph Erhardt2022-03-131-1/+2
| | | | | | | | | | | | | | | | | Summary: Using for compatibility from six import string_types and "string_types" for "basestring" as it is still used in pykolab/utils.py Reviewers: #pykolab, #pykolab_developers, sicherha Reviewed By: #pykolab_developers, sicherha Subscribers: sicherha Differential Revision: https://git.kolab.org/D3403
* [Python3] changed module namesChristoph Erhardt2022-03-132-3/+12
| | | | | | | | | | | | | | | | | Summary: ConfigParser -> configparser urlparse -> urllib.parse Test Plan: todo: test with python2 Reviewers: #pykolab, #pykolab_developers, sicherha Reviewed By: #pykolab_developers, sicherha Subscribers: ghane, sicherha Differential Revision: https://git.kolab.org/D3355
* [Python 3] Get rid of .has_key()Christoph Erhardt2022-01-102-9/+9
| | | | | | | | | | | | Summary: `dict.has_key(key)` was dropped in Python 3.0. Use `key in dict` instead. Reviewers: machniak, mollekopf Reviewed By: mollekopf Differential Revision: https://git.kolab.org/D3241
* [Python 3] Remove unnecessary occurrences of .keys()Christoph Erhardt2022-01-103-7/+7
| | | | | | | | | | | | | | | | Summary: The following cases are covered: * for key in dict * if key in dict * len(dict) This will make life easier for futurize. Reviewers: machniak, mollekopf Reviewed By: mollekopf Differential Revision: https://git.kolab.org/D3235
* [Python 3] Use new exception syntaxChristoph Erhardt2022-01-101-2/+2
| | | | | | | | | | | | Summary: The new syntax was introduced in Python 2.6; the old syntax was deprecated in Python 3.0. Reviewers: machniak, mollekopf Reviewed By: mollekopf Differential Revision: https://git.kolab.org/D3232
* [Python 3] Use print() as function instead of statementChristoph Erhardt2022-01-106-47/+56
| | | | | | | | | | | | | | | Summary: print() has been a function since Python 2.6; the old behaviour was dropped in Python 3.0. To use the named file argument in Python 2, we need to import print_function from the __future__ module. Reviewers: machniak, mollekopf Reviewed By: mollekopf Differential Revision: https://git.kolab.org/D3229
* [Python 3] Use 0o prefix for octal numbersChristoph Erhardt2022-01-104-4/+4
| | | | | | | | | | | | | | Summary: The new 0o prefix was introduced in Python 2.6; the old 0 prefix was deprecated in Python 3.0. Reviewers: machniak, mollekopf Reviewed By: mollekopf Subscribers: mollekopf Differential Revision: https://git.kolab.org/D3226
* chmod: set correct umask as octalDaniel Hoffend2020-02-232-2/+2
| | | | | | | | | | | | | | Summary: Fixes T5686 Reviewers: sicherha Reviewed By: sicherha Subscribers: sicherha Maniphest Tasks: T5686 Differential Revision: https://git.kolab.org/D877
* removed owncloud.inc.php from setup want_filesDaniel Hoffend2019-11-261-1/+0
| | | | | | | | | | | | Summary: removed owncloud.inc.php from setup want_files[] Reviewers: #pykolab_developers, vanmeeuwen Reviewed By: #pykolab_developers, vanmeeuwen Subscribers: vanmeeuwen Differential Revision: https://git.kolab.org/D859
* setup: add support my unix_socket authenticated mysql serverDaniel Hoffend2019-11-263-9/+85
| | | | | | | | | | | | | | | | | Summary: This patch adds support support for unix_socket based authentication against mariadb servers. Unix_socket support was also edit to the setup dial when calling `setup-kolab (roundcube|syncrotron|mysql)` Test Plan: Use `--mysqlserver=unix_socket` or `--mysqlserver=existing --mysqlrootpw=unix_socket`. Reviewers: #pykolab_developers, vanmeeuwen Reviewed By: #pykolab_developers, vanmeeuwen Subscribers: vanmeeuwen Differential Revision: https://git.kolab.org/D865
* /var/spool/cyrus/ -> /var/spool/cyrus/mail/Jeroen van Meeuwen (Kolab Systems)2019-10-081-2/+2
|
* Fix configuration compability with stock Debian cyrus imapdJeroen van Meeuwen (Kolab Systems)2019-10-081-0/+14
|
* Add --mysqlhostJeroen van Meeuwen (Kolab Systems)2019-09-253-49/+72
|
* Allow specifying the root password in addition to using an existing mysql serverJeroen van Meeuwen (Kolab Systems)2019-09-241-13/+24
|
* Work around out-dated augeas on XenialJeroen van Meeuwen (Kolab Systems)2019-07-291-41/+62
|
* Fix settting up new MySQL servers with root passwords rather than auth sockets.Jeroen van Meeuwen (Kolab Systems)2019-07-291-60/+137
|
* Enable dirsrv.targetJeroen van Meeuwen (Kolab Systems)2019-06-181-0/+2
|
* Set default skin to 'kolab'Jeroen van Meeuwen (Kolab Systems)2019-06-141-1/+3
|
* Fix restarting apache2 service on Debian 9 (Bifrost#T163148)Aleksander Machniak2019-05-291-0/+3
| | | | ... also in setup_roundcube
* Make sure main.cf exists before executing postmapAleksander Machniak2019-05-281-7/+7
|
* Fix Postfix TLS setup on Debian 9 (Bifrost#T163064)Aleksander Machniak2019-05-281-0/+3
|
* Fix restarting apache2 service on Debian 9 (Bifrost#T163148)Aleksander Machniak2019-05-281-0/+3
|
* Fix unicode in roundcube config templatesJeroen van Meeuwen (Kolab Systems)2019-05-211-114/+142
|
* Fix enabling dirsrv service on Ubuntu (Bifrost#T200782)Aleksander Machniak2019-05-071-2/+2
| | | | Use the same `systemctl command dirsrv@host` syntax on all platforms with systemctl.
* Allow setup-ds-admin in /usr/sbinJeroen van Meeuwen (Kolab Systems)2019-03-221-2/+2
| | | | Resolves T4548
* Add php 7.0 and 7.2 support for timezone setupJeroen van Meeuwen (Kolab Systems)2018-12-301-0/+7
|
* For some reason, Ubuntu 18.04 installs the amavis service as a sysvinit serviceJeroen van Meeuwen (Kolab Systems)2018-12-301-0/+3
|
* I'm outta breath.Jeroen van Meeuwen (Kolab Systems)2016-11-181-0/+3
|
* Sigh, Debian, deep sigh.Jeroen van Meeuwen (Kolab Systems)2016-11-181-0/+8
|
* Sigh, Debian. :/Jeroen van Meeuwen (Kolab Systems)2016-11-182-0/+8
|
* subprocess call for freshclam needs to use collection for the parametersTimotheus Pokorra2016-10-051-2/+2
| | | | | | | | | | | | | | Summary: fix compiler error: TypeError: bufsize must be an integer Reviewers: #pykolab_developers, vanmeeuwen Reviewed By: #pykolab_developers, vanmeeuwen Subscribers: #pykolab_developers Tags: #pykolab Differential Revision: https://git.kolab.org/D238
* Add configuring freshclamJeroen van Meeuwen (Kolab Systems)2016-09-301-0/+22
|
* The defaults need to be more strictJeroen van Meeuwen (Kolab Systems)2016-09-091-2/+2
|
* Resolve T1454Jeroen van Meeuwen (Kolab Systems)2016-08-261-4/+14
|
* Eliminate get_entry_attribute() in setup_ldapAleksander Machniak2016-06-291-15/+5
| | | | | | | | | | | | | | Summary: This is redundant and can cause useless ldap re-connection. Small CS fixes Warning: This wasn't tested. Reviewers: #pykolab_developers, vanmeeuwen Reviewed By: #pykolab_developers, vanmeeuwen Differential Revision: https://git.kolab.org/D182
* Use the correct credentials to bind withJeroen van Meeuwen (Kolab Systems)2016-06-091-1/+1
|
* remove stray line that would reset the schema_files list, and try to install ↵Timotheus Pokorra2016-03-091-1/+0
| | | | | | | | | | only the chwala mysql files. fixes https://issues.kolab.org/show_bug.cgi?id=5355 error: table roundcube.system does not exist Reviewers: #pykolab_developers, vanmeeuwen Reviewed By: #pykolab_developers, vanmeeuwen Differential Revision: https://git.kolab.org/D97
* Fix the systemd unit file for clamd@.service if neededJeroen van Meeuwen (Kolab Systems)2016-02-231-0/+14
| | | | | | | | | | | | | | | | | Summary: Resolves T997 Test Plan: # Install a Kolab server on CentOS 7 # Set up Kolab # Expect a running instance of the clamd@amavisd service Reviewers: #pykolab_developers, vanmeeuwen Reviewed By: #pykolab_developers, vanmeeuwen Maniphest Tasks: T997 Differential Revision: https://git.kolab.org/D86
* Check the current status of SELinux, and the configuration for the next ↵Jeroen van Meeuwen (Kolab Systems)2016-02-231-0/+31
| | | | | | | | | | | | | | | | | | | | system cycle Summary: Resolves T992 Test Plan: # Install Kolab on CentOS 7 # Configure SELinux to enforce the targeted policy # Run setup-kolab # Expect an error Reviewers: #pykolab_developers, vanmeeuwen Reviewed By: #pykolab_developers, vanmeeuwen Maniphest Tasks: T992 Differential Revision: https://git.kolab.org/D85
* Attempt to load the #chwala database schema files as well (Ref. T967)Jeroen van Meeuwen (Kolab Systems)2016-02-071-0/+17
|
* setup_roundcube: mysql.initial.sql might live in ↵Aeneas Jaißle2016-02-041-1/+2
| | | | | | | | | | | | /usr/share/doc/[*/]roundcubemail Reviewers: #pykolab_developers, pokorra Reviewed By: #pykolab_developers, pokorra Subscribers: pokorra, ajaissle Differential Revision: https://git.kolab.org/D75
* Swap default IMAP interface from Cyrus IMAP to GuamJeroen van Meeuwen (Kolab Systems)2016-01-191-0/+64
|
* Add routines to set up manticoreJeroen van Meeuwen (Kolab Systems)2016-01-181-0/+101
|
* Upstream submission of some universal openSUSE patchesAeneas Jaißle2015-12-085-41/+66
| | | | | | | | | | | | | | | | | | | | | Summary: * setup_mta: fix for not writing to amavisd.conf * setup_roundcube: skins reside in rcpath/skins * setup_mysql: mysql.service in openSUSE * setup_mta: amavis.service and clamd.service in openSUSE * setup_imap: cyrus.service in openSUSE * setup_roundcube: apache2.service also in openSUSE * setup_syncroton: apache2.service also in openSUSE * setup_roundcube: add "www" group Fixes T849 Reviewers: #pykolab_developers, vanmeeuwen Reviewed By: #pykolab_developers, vanmeeuwen Maniphest Tasks: T849 Differential Revision: https://git.kolab.org/D70
* Debian Jessie: setup kolab: mysql service is called mysql, not ↵Timotheus Pokorra2015-08-241-0/+3
| | | | mysqld.service (#5161)
* setup roundcube on Debian: fix the search for the webserver groupTimotheus Pokorra2015-08-211-1/+1
|
* setup-kolab failed because module grp was not available.Timotheus Pokorra2015-08-081-0/+1
| | | | | error: UnboundLocalError: local variable 'webserver_gid' referenced before assignment exception was thrown: global name 'grp' is not defined
* chown files in /etc/roundcubemail/ that are not owned by the httpd process userJeroen van Meeuwen (Kolab Systems)2015-08-051-0/+24
|