summaryrefslogtreecommitdiffstats
path: root/pykolab/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add the normalization for dictionaries to utils, as it proves useful in more ↵Jeroen van Meeuwen (Kolab Systems)2011-03-071-0/+30
| | | | | | then just LDAP result normalization. Also add the conversion between a domain name space and a standard root dn distilled from that domain name space
* Comment a little more on the utilities in pykolab/utils.pyJeroen van Meeuwen (Kolab Systems)2010-10-271-1/+11
|
* Explain what utils.ask_confirmation() is all aboutJeroen van Meeuwen (Kolab Systems)2010-10-251-0/+6
|
* A simple dialog asking for confirmationJeroen van Meeuwen (Kolab Systems)2010-10-081-0/+34
|
* Initial commitJeroen van Meeuwen (Kolab Systems)2010-08-261-0/+76