summaryrefslogtreecommitdiffstats
path: root/pykolab/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* More linting and compatibilityJeroen van Meeuwen (Kolab Systems)2019-10-251-1/+2
|
* More linting and syntax issues resolvedJeroen van Meeuwen (Kolab Systems)2019-10-251-122/+148
|
* Changes required for pykolab to work with ADLiutauras Adomaitis2019-04-031-1/+6
| | | | | | | | | | | | | | 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
* Normalize objectclass attribute values (#5423)Aleksander Machniak2016-05-181-0/+11
| | | | | | | | | | | | Summary: Fixes objectclass member comparison in cmd-sync #5423 Reviewers: #pykolab_developers, vanmeeuwen Reviewed By: #pykolab_developers, vanmeeuwen Subscribers: vanmeeuwen, vendel.colja Differential Revision: https://git.kolab.org/D156
* Trim spaces in surname/givenname/sn when generating mail/alias (#5360)Aleksander Machniak2016-05-131-8/+15
| | | | | | | | | | Reviewers: vanmeeuwen, #pykolab_developers Reviewed By: vanmeeuwen, #pykolab_developers Subscribers: vanmeeuwen Differential Revision: https://git.kolab.org/D136
* Prevent tracebacks on attribute errorsJeroen van Meeuwen (Kolab Systems)2015-10-301-2/+3
|
* implementing --default, --yes and --quiet parameters for setup-kolab (#2598)Timotheus Pokorra2015-04-151-0/+23
|
* The email.MIMEText class will take care of line wrapping; no need to do it twiceThomas Bruederli2015-03-111-5/+1
|
* Build iTip response and notification messages with unicode strings (#3926) + ↵Thomas Bruederli2014-11-191-0/+9
| | | | adjust tests
* Updated the licensing information according to FSF recommendations.Paul Boddie2014-06-261-7/+7
| | | | Note that cyruslib.py is still "GPLv2 or a later version" unlike the other files.
* Test owner assignment for resources and mentions in reservation request ↵Thomas Bruederli2014-03-051-4/+7
| | | | responses
* Add new settings to control when (under what circumstances) a Sender:, ↵Jeroen van Meeuwen (Kolab Systems)2014-02-111-0/+24
| | | | X-Sender: or even an obscured X-Authenticated-As: header is prepended to email submitted through Kolab.
* pykolab/utils really cannot deal with a list of primary mail attribute valuesJeroen van Meeuwen (Kolab Systems)2013-05-161-0/+3
|
* Handle objectSid binary blobs to be a unique_attribute attribute nameJeroen van Meeuwen (Kolab Systems)2013-04-291-0/+25
|
* Update copyrightJeroen van Meeuwen (Kolab Systems)2013-04-171-1/+1
|
* Enhance ask_menu to include a default, and a '?' option to list optionsJeroen van Meeuwen (Kolab Systems)2013-04-171-5/+34
|
* Attempt to use iconv, but if it fails, fall back to using our own translit ↵Jeroen van Meeuwen (Kolab Systems)2013-02-081-1/+9
| | | | function (#1536)
* Add debug statements for transliteration using pykolab.utils.translate(), so ↵Jeroen van Meeuwen (Kolab Systems)2013-01-101-1/+10
| | | | we can work out bugs such as #1508 and #1536
* Adjust utils.parse_ldap_uri()Jeroen van Meeuwen (Kolab Systems)2012-12-191-5/+23
|
* 1, being a string when read from the configuration file, equals to true as wellJeroen van Meeuwen (Kolab Systems)2012-12-041-1/+1
|
* Provide a mechanism to select a process in which an existing MySQL server is ↵Jeroen van Meeuwen (Kolab Systems)2012-11-221-0/+26
| | | | used (#1177)
* Supply your very basic "does this value represent True or False?" functionJeroen van Meeuwen (Kolab Systems)2012-11-101-0/+20
|
* Remove log.error() call as no log is available in pykolab.utilsJeroen van Meeuwen (Kolab Systems)2012-11-031-1/+0
|
* Prevent traceback on undefined Error exception (#1014)Jeroen van Meeuwen (Kolab Systems)2012-10-011-1/+2
|
* Escape unsupported locale setting (#883)Jeroen van Meeuwen (Kolab Systems)2012-07-161-1/+4
|
* Import modules used,Jeroen van Meeuwen (Kolab Systems)2012-07-111-12/+2
| | | | | Avoid using log (not available), Avoid printing out information when it's irrelevant
* Prevent utils.translate() traceback (#842)Jeroen van Meeuwen (Kolab Systems)2012-06-141-1/+4
|
* Only create directories that do not already existJeroen van Meeuwen (Kolab Systems)2012-06-131-8/+8
| | | | Do not use log it doesn't exist here
* Add helper function to ensure a directory exists, and with the correct ↵Jeroen van Meeuwen (Kolab Systems)2012-06-131-0/+73
| | | | permissions
* Fix confirmation dialogJeroen van Meeuwen (Kolab Systems)2012-05-151-21/+17
| | | | Fix ask_question() with confirm=True
* Default can be an empty string as well as None (if the default is a missing ↵Jeroen van Meeuwen (Kolab Systems)2012-05-141-6/+6
| | | | configuration value)
* Make utils.multiline_message() prepend and append a carrier return for ↵Jeroen van Meeuwen (Kolab Systems)2012-05-121-1/+1
| | | | clarity on the console
* Do not echo passwords back even during confirmationJeroen van Meeuwen (Kolab Systems)2012-05-111-7/+21
|
* Provide required function for multi-line messages while keeping the source ↵Jeroen van Meeuwen (Kolab Systems)2012-05-101-0/+27
| | | | code somewhat clean
* Allow utils.ask_question() to request confirmation of the inputJeroen van Meeuwen (Kolab Systems)2012-05-101-1/+21
|
* Correct running in unbuffered modeJeroen van Meeuwen (Kolab Systems)2012-05-051-10/+0
|
* Truly remove any buffering that may existJeroen van Meeuwen (Kolab Systems)2012-05-051-4/+9
|
* Flush stderr and stdout when asking a questionJeroen van Meeuwen (Kolab Systems)2012-05-051-0/+3
|
* Add utils.generate_password() for setup-kolab.pyJeroen van Meeuwen (Kolab Systems)2012-03-201-1/+16
|
* Correct some pylint conventionsJeroen van Meeuwen (Kolab Systems)2012-03-091-5/+5
|
* Flush stdout/stderrJeroen van Meeuwen (Kolab Systems)2012-02-111-0/+1
|
* Update copyrightdev/entitlementsJeroen van Meeuwen (Kolab Systems)2012-01-041-1/+1
|
* Use iconv to normalize/translate strings into their ascii representationJeroen van Meeuwen (Kolab Systems)2011-12-051-6/+19
|
* Translate a 'ó' into a 'o'.Jeroen van Meeuwen (Kolab Systems)2011-12-041-2/+2
|
* The recipient policy should recognize special characters in a given name or ↵Jeroen van Meeuwen (Kolab Systems)2011-11-161-0/+8
| | | | | | surname, and replace them with the equivalent ascii valid in an email address. This fixes #509.
* Add utils.parse_ldap_uri(uri) to parse memberUrl and other LDAP references withJeroen van Meeuwen (Kolab Systems)2011-11-161-0/+40
|
* Add license header to pykolab/utilsJeroen van Meeuwen (Kolab Systems)2011-10-281-0/+17
|
* Strip object's keys with value NoneJeroen van Meeuwen (Kolab Systems)2011-09-261-0/+4
|
* Correct default for service in is_service()Jeroen van Meeuwen (Kolab Systems)2011-07-041-1/+1
|
* Ensure that regardless whether or not input is a list or dict, the result ↵Jeroen van Meeuwen (Kolab Systems)2011-03-261-20/+33
| | | | can still be normalized