summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Set the signal as late as possibledev/wallaceJeroen van Meeuwen (Kolab Systems)2018-07-252-0/+20
|
* Revert "Let a single worker process timeout itself"Jeroen van Meeuwen (Kolab Systems)2018-07-251-18/+2
| | | | This reverts commit 9c7cdbcabd8997504d6a3b876e91ea34ddb7c266.
* Let a single worker process timeout itselfJeroen van Meeuwen (Kolab Systems)2018-07-251-2/+18
|
* Fix using Attendee object in a debug messageAleksander Machniak2018-06-271-1/+1
|
* 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
* Add option to drop the caching tables from the database and exitJeroen van Meeuwen (Kolab Systems)2018-06-261-0/+16
| | | | | | | | | | | | | Summary: This can be used to enforce the regeneration of the caching tables with the latest database schema - for instance, by the package manager when upgrading the PyKolab package. This patch complements D587 in an attempt to fix T2274. Reviewers: #pykolab_developers Maniphest Tasks: T2274 Differential Revision: https://git.kolab.org/D593
* Resolve T2274 by implementing D587 that arcanist won't apply because the ↵Jeroen van Meeuwen (Kolab Systems)2018-06-261-4/+4
| | | | non-existent base commit does not exist in the local repository
* 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.
* Check if the variable is not None before using strip()Aleksander Machniak2018-06-211-2/+6
|
* Ignore iTip dummy comments with whitespace chars only (e.g. from Outlook)Aleksander Machniak2018-06-211-0/+2
|
* Fix invitationpolicy error on an itip reply with no ORGANIZER prop ↵Aleksander Machniak2018-06-212-4/+9
| | | | (Bifrost#T114576)
* Merge branch 'master' of ssh://git.kolab.org/diffusion/P/pykolabAleksander Machniak2018-06-201-1/+1
|\
| * Resolve T88836Jeroen van Meeuwen (Kolab Systems)2018-06-201-1/+1
| |
* | Don't fail on iTips with no ORGANIZER property (Bifrost#T114576)Aleksander Machniak2018-06-201-2/+4
|/
* Fix mocking sendmail operationsAleksander Machniak2018-06-202-3/+4
|
* Fix unit tests on a system with no smtp serviceAleksander Machniak2018-06-202-0/+2
|
* nother attempt to add more logging and fix wallace messages not being ↵Liutauras Adomaitis2018-06-153-11/+25
| | | | | | | | | | | | | | | | delivered and staying in spool directory Summary: Adding more logs that should show why _sendmail function does not start a "while" delivery loop and unliking file does not happen. Also some code polishing. Test Plan: none Reviewers: machniak, vanmeeuwen Reviewed By: machniak Subscribers: petersen Differential Revision: https://git.kolab.org/D599
* Fix D577 patch bug - modules._sendmail result assign to variable, which is ↵Liutauras Adomaitis2018-06-042-16/+3
| | | | | | | | | | | | | | | | used to log the result of email sending. Summary: Define success variable to hold the _sendmail result. Test Plan: none Reviewers: vanmeeuwen, machniak Reviewed By: machniak Subscribers: petersen Differential Revision: https://git.kolab.org/D581
* Bump version numberpykolab-0.8.9Jeroen van Meeuwen (Kolab Systems)2018-05-171-1/+1
|
* With this patch I'm trying to introduce a file-type object in logger, which ↵Liutauras Adomaitis2018-05-1710-114/+135
| | | | | | | | | | | | | | | | | | 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
* Bump version to 0.8.8pykolab-0.8.8Jeroen van Meeuwen (Kolab Systems)2018-03-081-1/+1
|
* 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
|
* Address inefficiencies and possible misfunction over delegated mailboxes in ↵Jeroen van Meeuwen (Kolab Systems)2017-07-221-27/+72
| | | | | | | | | | | | | | | | | | other user namespace Summary: Resolves T2582 Test Plan: None Reviewers: #pykolab_developers, machniak, vanmeeuwen Reviewed By: #pykolab_developers, vanmeeuwen Subscribers: adomaitis, machniak, #pykolab_developers Maniphest Tasks: T2582 Differential Revision: https://git.kolab.org/D485
* Little change to improve invitation policy logging - log if iTip requires ↵Liutauras Adomaitis2017-07-221-1/+1
| | | | | | | | | | | | re-scheduling and print event uid Summary: Little change to improve invitation policy logging - log if iTip requires re-scheduling and print event uid Reviewers: vanmeeuwen Reviewed By: vanmeeuwen Differential Revision: https://git.kolab.org/D491
* LDAP remove referrals for correct handling in Samba 4Jeroen van Meeuwen (Kolab Systems)2017-07-222-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
|\
| * Fix error on CLASS:X-PERSONALAleksander Machniak2017-07-211-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This X-* property is standard, but not supported by Kolab format. Though we should not bail out, we should just ignore the value not the whole iTip. Reviewers: #pykolab_developers, vanmeeuwen Reviewed By: #pykolab_developers, vanmeeuwen Subscribers: vanmeeuwen Differential Revision: https://git.kolab.org/D479
* | Support unicode characters in event location field (Bifrost#T29104)Aleksander Machniak2017-07-211-1/+1
|/
* Apply workaround for T2289, T2301Jeroen van Meeuwen (Kolab Systems)2017-07-031-0/+1
|
* Allow a folder we intend to clean up the ACL entries for, to have ↵Jeroen van Meeuwen (Kolab Systems)2017-02-221-11/+14
| | | | | | disappeared by the time we get around to it. Reference bifrost#T14032
* Correct "waited for 30 seconds" -> "waited for 15 seconds"Jeroen van Meeuwen (Kolab Systems)2017-02-221-1/+1
|
* Fix and unify IMAP reconnection on folder create with Murder (Bifrost#T23626)Aleksander Machniak2017-02-221-46/+48
| | | | | | | | | | | Summary: Fixes non-working reconnection after 30 seconds of waiting Note: Not tested with Murder. Also, do we really need this code with max_tries? Reviewers: #pykolab_developers Differential Revision: https://git.kolab.org/D378
* Ignore Sender: and X-Sender: headers specified by RoundcubeJeroen van Meeuwen (Kolab Systems)2017-02-221-0/+2
|
* Avoid trickery in the annotation name and shared namespaceJeroen van Meeuwen (Kolab Systems)2016-12-201-5/+7
|
* Set version to 0.8.7pykolab-0.8.7Jeroen van Meeuwen (Kolab Systems)2016-12-131-1/+1
|
* Set system keepalive parameters on the IMAP socketJeroen van Meeuwen (Kolab Systems)2016-12-131-0/+18
|
* A delegated mailbox may in fact not have a result attributeJeroen van Meeuwen (Kolab Systems)2016-12-131-1/+5
|
* Retry finding a folder in a murder for 30 seconds, then reconnectJeroen van Meeuwen (Kolab Systems)2016-12-131-0/+10
| | | | When disconnecting an unqualified connection, eliminate all connections
* Remove the stdout/stderr log handlerJeroen van Meeuwen (Kolab Systems)2016-12-131-1/+1
|
* Format tracebacks in to legible formJeroen van Meeuwen (Kolab Systems)2016-12-131-1/+1
|
* More detailed verbosity when not able to set_entry_attributes()Jeroen van Meeuwen (Kolab Systems)2016-12-021-2/+4
|
* Update translationsJeroen van Meeuwen (Kolab Systems)2016-12-027-1661/+1772
|
* Convert potential date to datetimeJeroen van Meeuwen (Kolab Systems)2016-12-021-1/+1
| | | | Resolves T1847