summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Be more forgiving on dummy entries in DTSTAMP,LAST-MODIFIED and CREATED ↵Aleksander Machniak2019-04-123-21/+27
| | | | | | | | (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").
* Include /etc/roundcubemail/kolab_syncroton.inc.phpJeroen van Meeuwen (Kolab Systems)2019-04-111-0/+2
|
* Changes required for pykolab to work with ADLiutauras Adomaitis2019-04-035-27/+62
| | | | | | | | | | | | | | 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
* Free lint issuesJeroen van Meeuwen (Kolab Systems)2019-03-181-546/+573
|
* Default setup configuration to match default package installationJeroen van Meeuwen (Kolab Systems)2019-03-141-0/+13
|
* T4611: Add missing `import random`Aleksander Machniak2019-01-301-0/+1
|
* 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
|
* Make wallace skip message files which are in locks directoryLiutauras Adomaitis2018-12-141-2/+9
| | | | | | | | | | | | | | Summary: Wallace should not try to work with lock files Test Plan: None Reviewers: vanmeeuwen, machniak Reviewed By: vanmeeuwen Subscribers: petersen Differential Revision: https://git.kolab.org/D708
* Fix exception when handling iTip CANCEL for a reasource event (Bifrost#T123747)Aleksander Machniak2018-08-201-2/+4
|
* Avoid the use of duplicate names for functions and in-function scope ↵Jeroen van Meeuwen (Kolab Systems)2018-07-311-3/+3
| | | | | | variables where both are used in the same scope Reference T123747
* Bump version numberpykolab-0.8.10Jeroen van Meeuwen (Kolab Systems)2018-07-271-1/+1
|
* Manage the pool processes such that they die after a limited quantity of ↵Jeroen van Meeuwen (Kolab Systems)2018-07-273-48/+116
| | | | | | | | | | | | | | | | | | | | | time, and pick up messages from the spool asynchronously. Summary: Reference T75735 Let a single worker process timeout itself Set the signal as late as possible Abstract the method to pickup messages from the spool, so that a new recurring Timer may pick up messages out of the spool Test Plan: * Run messages through it Reviewers: #pykolab_developers Subscribers: #pykolab_developers Differential Revision: https://git.kolab.org/D617
* 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
|