summaryrefslogtreecommitdiffstats
path: root/pykolab
Commit message (Collapse)AuthorAgeFilesLines
* Ignore changes to objects with an nstombstone objectclass (Bifrost #T252995)Jeroen van Meeuwen (Kolab Systems)2019-11-181-0/+11
|
* T5641: Support CUTYPE=ROOM and CUTYPE=UNKNOWNAleksander Machniak2019-11-081-0/+2
|
* More linting and compatibilityJeroen van Meeuwen (Kolab Systems)2019-10-256-323/+293
|
* More linting and syntax issues resolvedJeroen van Meeuwen (Kolab Systems)2019-10-257-400/+455
|
* Make sure that config functions do take and honor the default value passed alongJeroen van Meeuwen (Kolab Systems)2019-10-253-17/+18
|
* Introduce a configurable timeout for simple search and authentication requests.Jeroen van Meeuwen (Kolab Systems)2019-10-253-1060/+1243
| | | | | Fix linting issues Increase Python3 compatibility
* /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
|
* Ensure a missing setting isn't treated as a stringJeroen van Meeuwen (Kolab Systems)2019-08-263-18/+31
|
* More logging in Wallace and --max-tasks per process option for wallacedLiutauras Adomaitis2019-08-161-3/+22
| | | | | | | | | | | | Summary: Given that part of https://git.kolab.org/D761 changes are obsolete after commit baeee0049f06430801a2d9940f875747e51be7f5 I still want to have some changes find their way in master. Test Plan: None Reviewers: vanmeeuwen Subscribers: petersen, machniak, vanmeeuwen Differential Revision: https://git.kolab.org/D791
* Prevent event conflict check jumping into infinite loopJeroen van Meeuwen (Kolab Systems)2019-08-161-46/+111
| | | | | | | | | | | | | | Summary: Assuming that if current and next event occurence start time is the same then it is the same occurence. It is better to ensure that get_next_occurence() returns None in such cases, but there must be a backstop from jumping into infinite loop too. Test Plan: None Reviewers: vanmeeuwen Subscribers: petersen, machniak, vanmeeuwen Differential Revision: https://git.kolab.org/D785
* 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 resolving referralsJeroen van Meeuwen (Kolab Systems)2019-06-131-1/+1
|
* Merge branch 'master' of ssh://git.kolab.org/diffusion/P/pykolabAleksander Machniak2019-05-292-5/+8
|\
| * Let auth cache expire by not updating existing entriesJeroen van Meeuwen (Kolab Systems)2019-05-291-2/+0
| |
| * Let kolab sync also use the configured result_attributeJeroen van Meeuwen (Kolab Systems)2019-05-291-3/+8
| |
* | 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-212-118/+159
|
* 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.
* Be more forgiving on dummy entries in DTSTAMP,LAST-MODIFIED and CREATED ↵Aleksander Machniak2019-04-122-21/+9
| | | | | | | | (Bifrost#T123747) Instead of throwing an error when parsing iTip data that contains e.g. 00000000T000000, which will converted to datetime.time object by icalendar lib, convert them to datetime.date (1970-01-01 or "utc now").
* Changes required for pykolab to work with ADLiutauras Adomaitis2019-04-034-27/+61
| | | | | | | | | | | | | | Summary: These changes basically are to remove referrals from the ldapsearch results. The change is cache sqlite DB schema is required to allow objectGUID AD attribute to work as unique attribute to track LDAP objects. Reviewers: vanmeeuwen, machniak, mollekopf Reviewed By: machniak Subscribers: #pykolab_developers Tags: #pykolab Differential Revision: https://git.kolab.org/D720
* Allow setup-ds-admin in /usr/sbinJeroen van Meeuwen (Kolab Systems)2019-03-221-2/+2
| | | | Resolves T4548
* Add aliases for add-user-subscription ('aus', 'subscribe')Jeroen van Meeuwen (Kolab Systems)2018-12-313-3/+13
| | | | | Add alias for list-user-subscriptions ('lus') Add aliases for remove-user-subscription ('rus', 'unsubscribe')
* Add alias lmm for command list-mailbox-metadataJeroen van Meeuwen (Kolab Systems)2018-12-311-1/+1
|
* Add --server option for mailbox-cleanupJeroen van Meeuwen (Kolab Systems)2018-12-311-6/+21
|
* 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
|
* Fix 'undelete-mailbox' issue for undeleting all user's mailboxesLiutauras Adomaitis2018-06-261-1/+1
| | | | | | | | | | | | | | Summary: if 'hextimestamp' key does not exists in _mailfolder dictionary, pykolab throughs traceback. Test Plan: None Reviewers: vanmeeuwen, machniak Reviewed By: machniak Subscribers: petersen Differential Revision: https://git.kolab.org/D605
* There's no status here, just classificationJeroen van Meeuwen (Kolab Systems)2018-06-221-1/+1
|
* Fix event|todo_from_ical() exception: AttributeError("'NoneType' object has ↵Aleksander Machniak2018-06-211-1/+3
| | | | | | no attribute 'tzinfo'",) (Bifrost#T75978) We make sure we read DTSTART property before RECURRENCE-ID.
* Fix invitationpolicy error on an itip reply with no ORGANIZER prop ↵Aleksander Machniak2018-06-211-2/+3
| | | | (Bifrost#T114576)
* Don't fail on iTips with no ORGANIZER property (Bifrost#T114576)Aleksander Machniak2018-06-201-2/+4
|
* With this patch I'm trying to introduce a file-type object in logger, which ↵Liutauras Adomaitis2018-05-177-28/+65
| | | | | | | | | | | | | | | | | | could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs... Summary: ...in fork mode stderr is not available (Bad file descriptor error) and thus wallace traceback when it tries to send emails Test Plan: none Reviewers: vanmeeuwen, machniak, petersen Reviewed By: vanmeeuwen Subscribers: petersen, machniak, vanmeeuwen Maniphest Tasks: T2498, T2163, T3751 Differential Revision: https://git.kolab.org/D577
* In some cases kolabd fails to cleanly update IMAP mailbox after LDAP ↵Liutauras Adomaitis2018-03-121-6/+1
| | | | | | | | | | | | | | | | | | | changes. That is usual when result_attribute value is in upper case. Mailbox modification seems to follow slightly different code path, by shortcutting to IMAP pykolab function... Summary: ..."has_folder()" instead of going via "user_mailbox_exists()", which has a code to downcase mailbox name. Do not shortcut to "has_folder()" function, use "user_mailbox_exists()" to downcase mailbox name before checking if it exists. Test Plan: none Reviewers: vanmeeuwen, machniak Reviewed By: machniak Subscribers: adomaitis, petersen, machniak, vanmeeuwen Differential Revision: https://git.kolab.org/D571
* Fix the problem with undelete-mailbox command when listing deleted mailboxes ↵Liutauras Adomaitis2018-03-121-2/+1
| | | | | | | | | | | | | | | | | | command actually doesn't replace placeholders with values, which prevents correctly list deleted mailboxes and then undelete them. Summary: T2648 Test Plan: none Reviewers: vanmeeuwen, machniak, mollekopf Reviewed By: mollekopf Subscribers: mollekopf, machniak, vanmeeuwen Maniphest Tasks: T2648 Differential Revision: https://git.kolab.org/D548
* Fixing the undelete-mailbox in murder topology to a different root folderLiutauras Adomaitis2018-03-081-5/+11
| | | | | | | | | | | | | | | | Summary: T2307 Test Plan: none Reviewers: vanmeeuwen, machniak Reviewed By: vanmeeuwen Subscribers: machniak, vanmeeuwen Maniphest Tasks: T2307 Differential Revision: https://git.kolab.org/D551
* Fix typoJeroen van Meeuwen (Kolab Systems)2018-01-241-1/+1
|
* No definition for subject -- it's aci_subjectJeroen van Meeuwen (Kolab Systems)2018-01-241-8/+30
|
* Catch additional exceptions we know the cause ofJeroen van Meeuwen (Kolab Systems)2018-01-241-0/+18
|
* Include what we fail on, when we fail on somethingJeroen van Meeuwen (Kolab Systems)2018-01-241-4/+27
|
* LDAP remove referrals for correct handling in Samba 4Jeroen van Meeuwen (Kolab Systems)2017-07-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: LDAP user authentication does not work when using Samba 4 as LDAP backend. Samba 4 (as well as MS AD) returns referrals (search continuations) for some objects. LDAPv3 does not specify which credentials should be used for the search continuations. **libldap** tries to anonymous bind and do the search continuations, which fails with Samba 4 (as well as MS AD). Kolab 16 will fail while authenticating with **ldap.OPERATIONS_ERROR** and the error message //00002020: Operation unavailable without authentication// The submitted patch is supposed to be used with ``` REFERRALS off ``` in /etc/ldap.conf and should not affect any other situations. Eventually setting LDAP option via ``` ldap.OPT_REFERRALS, 0 ``` would be an option too, but i can't test at the moment, if there is any impact on non Samba 4 setups. The change in wallace addresses the same problem, as i got ``` 2017-07-05 12:27:28,566 pykolab.wallace ERROR Module resources.heartbeat() failed with error: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/wallace/__init__.py", line 89, in modules_heartbeat modules.heartbeat(module, lastrun) File "/usr/lib/python2.7/dist-packages/wallace/modules.py", line 128, in heartbeat return modules[name]['heartbeat'](*args, **kw) File "/usr/lib/python2.7/dist-packages/wallace/module_resources.py", line 438, in heartbeat resource_dns = [dn for dn in resource_dns if resource_base_dn in dn] TypeError: argument of type 'NoneType' is not iterable ``` Test Plan: Use Kolab 16 with Samba 4. Try to authenticate user. Should fail. Disable Referrals in /etc/ldap.conf with ``` REFERRALS off ``` and try again. Now you should no longer see the **ldap.OPERATIONS_ERROR** but an auth fail because of 4 (or at least more than one) results returned. The referrals no longer will be automatically queried, but returned as part of the results containing //None// on the position 0 (result-type) of the result tuple. Apply the patch now, which will remove those //None// result-type results. The Authentication should succeed. Reviewers: #pykolab_developers, vanmeeuwen Reviewed By: #pykolab_developers, vanmeeuwen Subscribers: #pykolab_developers Tags: #kolab_16 Differential Revision: https://git.kolab.org/D467
* Merge branch 'arcpatch-D479'Aleksander Machniak2017-07-211-1/+2
|\