summaryrefslogtreecommitdiff
path: root/pykolab/utils.py
AgeCommit message (Collapse)AuthorFilesLines
2015-04-13implementing --default, --yes and --quiet parameters for setup-kolab (#2598)Timotheus Pokorra1-0/+23
2015-03-11The email.MIMEText class will take care of line wrapping; no need to do it twiceThomas Bruederli1-5/+1
2014-11-20Build iTip response and notification messages with unicode strings (#3926) + ↵Thomas Bruederli1-0/+9
adjust tests
2014-06-26Updated the licensing information according to FSF recommendations.Paul Boddie1-7/+7
Note that cyruslib.py is still "GPLv2 or a later version" unlike the other files.
2014-03-05Test owner assignment for resources and mentions in reservation request ↵Thomas Bruederli1-4/+7
responses
2014-02-11Add new settings to control when (under what circumstances) a Sender:, ↵Jeroen van Meeuwen (Kolab Systems)1-0/+24
X-Sender: or even an obscured X-Authenticated-As: header is prepended to email submitted through Kolab.
2013-05-16pykolab/utils really cannot deal with a list of primary mail attribute valuesJeroen van Meeuwen (Kolab Systems)1-0/+3
2013-04-29Handle objectSid binary blobs to be a unique_attribute attribute nameJeroen van Meeuwen (Kolab Systems)1-0/+25
2013-04-17Update copyrightJeroen van Meeuwen (Kolab Systems)1-1/+1
2013-04-17Enhance ask_menu to include a default, and a '?' option to list optionsJeroen van Meeuwen (Kolab Systems)1-5/+34
2013-02-08Attempt to use iconv, but if it fails, fall back to using our own translit ↵Jeroen van Meeuwen (Kolab Systems)1-1/+9
function (#1536)
2013-01-10Add debug statements for transliteration using pykolab.utils.translate(), so ↵Jeroen van Meeuwen (Kolab Systems)1-1/+10
we can work out bugs such as #1508 and #1536
2012-12-19Adjust utils.parse_ldap_uri()Jeroen van Meeuwen (Kolab Systems)1-5/+23
2012-12-041, being a string when read from the configuration file, equals to true as wellJeroen van Meeuwen (Kolab Systems)1-1/+1
2012-11-22Provide a mechanism to select a process in which an existing MySQL server is ↵Jeroen van Meeuwen (Kolab Systems)1-0/+26
used (#1177)
2012-11-10Supply your very basic "does this value represent True or False?" functionJeroen van Meeuwen (Kolab Systems)1-0/+20
2012-11-03Remove log.error() call as no log is available in pykolab.utilsJeroen van Meeuwen (Kolab Systems)1-1/+0
2012-10-01Prevent traceback on undefined Error exception (#1014)Jeroen van Meeuwen (Kolab Systems)1-1/+2
2012-07-16Escape unsupported locale setting (#883)Jeroen van Meeuwen (Kolab Systems)1-1/+4
2012-07-11Import modules used,Jeroen van Meeuwen (Kolab Systems)1-12/+2
Avoid using log (not available), Avoid printing out information when it's irrelevant
2012-06-14Prevent utils.translate() traceback (#842)Jeroen van Meeuwen (Kolab Systems)1-1/+4
2012-06-13Only create directories that do not already existJeroen van Meeuwen (Kolab Systems)1-8/+8
Do not use log it doesn't exist here
2012-06-13Add helper function to ensure a directory exists, and with the correct ↵Jeroen van Meeuwen (Kolab Systems)1-0/+73
permissions
2012-05-15Fix confirmation dialogJeroen van Meeuwen (Kolab Systems)1-21/+17
Fix ask_question() with confirm=True
2012-05-14Default can be an empty string as well as None (if the default is a missing ↵Jeroen van Meeuwen (Kolab Systems)1-6/+6
configuration value)
2012-05-12Make utils.multiline_message() prepend and append a carrier return for ↵Jeroen van Meeuwen (Kolab Systems)1-1/+1
clarity on the console
2012-05-11Do not echo passwords back even during confirmationJeroen van Meeuwen (Kolab Systems)1-7/+21
2012-05-10Provide required function for multi-line messages while keeping the source ↵Jeroen van Meeuwen (Kolab Systems)1-0/+27
code somewhat clean
2012-05-10Allow utils.ask_question() to request confirmation of the inputJeroen van Meeuwen (Kolab Systems)1-1/+21
2012-05-05Correct running in unbuffered modeJeroen van Meeuwen (Kolab Systems)1-10/+0
2012-05-05Truly remove any buffering that may existJeroen van Meeuwen (Kolab Systems)1-4/+9
2012-05-05Flush stderr and stdout when asking a questionJeroen van Meeuwen (Kolab Systems)1-0/+3
2012-03-20Add utils.generate_password() for setup-kolab.pyJeroen van Meeuwen (Kolab Systems)1-1/+16
2012-03-09Correct some pylint conventionsJeroen van Meeuwen (Kolab Systems)1-5/+5
2012-02-11Flush stdout/stderrJeroen van Meeuwen (Kolab Systems)1-0/+1
2012-01-04Update copyrightdev/entitlementsJeroen van Meeuwen (Kolab Systems)1-1/+1
2011-12-05Use iconv to normalize/translate strings into their ascii representationJeroen van Meeuwen (Kolab Systems)1-6/+19
2011-12-04Translate a 'ó' into a 'o'.Jeroen van Meeuwen (Kolab Systems)1-2/+2
2011-11-16The recipient policy should recognize special characters in a given name or ↵Jeroen van Meeuwen (Kolab Systems)1-0/+8
surname, and replace them with the equivalent ascii valid in an email address. This fixes #509.
2011-11-16Add utils.parse_ldap_uri(uri) to parse memberUrl and other LDAP references withJeroen van Meeuwen (Kolab Systems)1-0/+40
2011-10-28Add license header to pykolab/utilsJeroen van Meeuwen (Kolab Systems)1-0/+17
2011-09-26Strip object's keys with value NoneJeroen van Meeuwen (Kolab Systems)1-0/+4
2011-07-04Correct default for service in is_service()Jeroen van Meeuwen (Kolab Systems)1-1/+1
2011-03-26Ensure that regardless whether or not input is a list or dict, the result ↵Jeroen van Meeuwen (Kolab Systems)1-20/+33
can still be normalized
2011-03-07Add the normalization for dictionaries to utils, as it proves useful in more ↵Jeroen van Meeuwen (Kolab Systems)1-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
2010-10-27Comment a little more on the utilities in pykolab/utils.pyJeroen van Meeuwen (Kolab Systems)1-1/+11
2010-10-25Explain what utils.ask_confirmation() is all aboutJeroen van Meeuwen (Kolab Systems)1-0/+6
2010-10-08A simple dialog asking for confirmationJeroen van Meeuwen (Kolab Systems)1-0/+34
2010-08-26Initial commitJeroen van Meeuwen (Kolab Systems)1-0/+76