summaryrefslogtreecommitdiffstats
path: root/pykolab/plugins
Commit message (Collapse)AuthorAgeFilesLines
* [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-131-1/+4
| | | | | | | | | | | | | | | | | 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-105-20/+20
| | | | | | | | | | | | 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-102-3/+3
| | | | | | | | | | | | | | | | 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-103-16/+16
| | | | | | | | | | | | 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
* More linting and compatibilityJeroen van Meeuwen (Kolab Systems)2019-10-251-36/+48
|
* With this patch I'm trying to introduce a file-type object in logger, which ↵Liutauras Adomaitis2018-05-171-2/+2
| | | | | | | | | | | | | | | | | | 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
* Updated the licensing information according to FSF recommendations.Paul Boddie2014-06-265-35/+35
| | | | Note that cyruslib.py is still "GPLv2 or a later version" unlike the other files.
* Add kolabd plugin to cleanup Roundcube's database after deleting a Kolab ↵Thomas Bruederli2014-04-231-0/+69
| | | | user from LDAP
* Match messages without an X-Spam-Status header set, tooJeroen van Meeuwen (Kolab Systems)2014-02-121-1/+3
|
* Fix typosJeroen van Meeuwen (Kolab Systems)2014-02-111-1/+1
|
* Catch the cases where a recipient policy failsJeroen van Meeuwen (Kolab Systems)2013-05-161-3/+14
|
* Return user_attrs['mail'], which exists, while mail is not setJeroen van Meeuwen (Kolab Systems)2013-05-161-1/+1
|
* Make sure a failing recipient policy does not result in a blocked process ↵Jeroen van Meeuwen (Kolab Systems)2013-05-161-3/+4
| | | | (#1878)
* Update copyrightJeroen van Meeuwen (Kolab Systems)2013-04-175-5/+5
|
* Resolve redirect not being a terminal action - need stop on not keeping a ↵Jeroen van Meeuwen (Kolab Systems)2013-01-281-0/+1
| | | | copy (#1588)
* Suppress print statements and replace them with better log statementsJeroen van Meeuwen (Kolab Systems)2013-01-231-14/+13
|
* Add delivery to folder sieve rule (#1519)Jeroen van Meeuwen (Kolab Systems)2013-01-221-7/+10
|
* Make sure we transliterate the components before we push them in to a policy ↵Jeroen van Meeuwen (Kolab Systems)2013-01-101-7/+12
| | | | (#1508)
* Require at least one extension (that does not hurt)Jeroen van Meeuwen (Kolab Systems)2013-01-091-1/+3
| | | | Fix indentation of user defined script inclusion
* Fix issuing len() on a possible NoneJeroen van Meeuwen (Kolab Systems)2012-12-141-2/+2
|
* Add our first version of a plugin for sievemgmt that we can execute the ↵Jeroen van Meeuwen (Kolab Systems)2012-12-041-0/+424
| | | | necessary hooks for when needed
* Pull the correct default locale (#883)Jeroen van Meeuwen (Kolab Systems)2012-07-161-1/+1
|
* Reduce dynamicquota complexity for nowJeroen van Meeuwen (Kolab Systems)2012-06-131-38/+29
|
* Search for or fallback to the default_locale for the user's ↵Jeroen van Meeuwen (Kolab Systems)2012-06-121-0/+18
| | | | preferredlanguage attribute. (#839)
* Rebase on specificationJeroen van Meeuwen (Kolab Systems)2012-04-191-2/+2
|
* Correct some pylint conventionsJeroen van Meeuwen (Kolab Systems)2012-03-094-15/+15
|
* Do not reset the retval for each pluginJeroen van Meeuwen (Kolab Systems)2012-02-241-2/+0
|
* Remove additional print statementJeroen van Meeuwen (Kolab Systems)2012-02-241-1/+1
|
* Add user parameter to be passed to the dynamicquota pluginJeroen van Meeuwen (Kolab Systems)2012-02-111-0/+1
|
* Always return a return value, by default None, and only after all plugins ↵Jeroen van Meeuwen (Kolab Systems)2012-02-111-1/+4
| | | | have run
* Update copyrightdev/entitlementsJeroen van Meeuwen (Kolab Systems)2012-01-044-4/+4
|
* First translate, then lowercase the mail attributes.Jeroen van Meeuwen (Kolab Systems)2011-12-061-4/+8
|
* Use the available user_attrs dictionary, not the non-existent user dictionaryJeroen van Meeuwen (Kolab Systems)2011-12-061-2/+2
|
* Add an default_locale setting to indicate the preferred system locale and ↵Jeroen van Meeuwen (Kolab Systems)2011-12-061-2/+2
| | | | | | default for all users Add preferredLanguage setting to LDAP attributes obtained with a user account
* Tidy up (first log, then conf)Jeroen van Meeuwen (Kolab Systems)2011-11-291-1/+1
|
* The recipient policy should recognize special characters in a given name or ↵Jeroen van Meeuwen (Kolab Systems)2011-11-161-3/+3
| | | | | | surname, and replace them with the equivalent ascii valid in an email address. This fixes #509.
* Fix not loading plugins from installed packagesJeroen van Meeuwen (Kolab Systems)2011-11-091-1/+6
|
* Merge stash - no changesJeroen van Meeuwen (Kolab Systems)2011-11-041-0/+1
|
* Fix loggingJeroen van Meeuwen (Kolab Systems)2011-09-301-1/+1
|
* Clean up import codeJeroen van Meeuwen (Kolab Systems)2011-09-261-5/+0
|
* Reduce log level required for non-tracing outputJeroen van Meeuwen (Kolab Systems)2011-09-261-1/+1
|
* Update dynamicquota plugin to obey LDAP changes to quotaJeroen van Meeuwen (Kolab Systems)2011-09-231-8/+17
|
* Allow increased tracing verbosity on executing plugin hooksJeroen van Meeuwen (Kolab Systems)2011-09-211-1/+1
|
* Make sure all the secondary recipient policies are executedJeroen van Meeuwen (Kolab Systems)2011-07-041-4/+18
|
* Normalize secondary mail in order to compare against primary mail, only ↵Jeroen van Meeuwen (Kolab Systems)2011-03-261-3/+7
| | | | return any new or unique results. Exploiting case-sensitivity is considered bad karma anyways.
* The plugins can now make use of the logging facilities,Jeroen van Meeuwen (Kolab Systems)2011-03-234-84/+120
| | | | Have the plugins be passed keywords and reflect that
* Redo plugins so they can be binary compiledJeroen van Meeuwen (Kolab Systems)2011-03-134-0/+464