Projects
Kolab:Winterfell
pykolab
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 72
View file
pykolab.spec
Changed
@@ -33,7 +33,7 @@ Summary: Kolab Groupware Solution Name: pykolab -Version: 0.8.14 +Version: 0.8.15 Release: 1%{?dist} License: GPLv3+ Group: Applications/System @@ -565,6 +565,9 @@ %attr(0700,%{kolab_user},%{kolab_group}) %dir %{_var}/spool/pykolab/wallace %changelog +* Tue Sep 24 2019 Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> - 0.8.15-1 +- Release of version 0.8.15 + * Fri Aug 16 2019 Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> - 0.8.14-1 * Release of version 0.8.14
View file
debian.changelog
Changed
@@ -1,3 +1,9 @@ +pykolab (0.8.15-0~kolab1) unstable; urgency=low + + * Release of version 0.8.15 + + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Tue, 24 Sep 2019 01:49:00 +0100 + pykolab (0.8.14-0~kolab2) unstable; urgency=low * Release of version 0.8.14
View file
pykolab-0.8.14.tar.gz/configure.ac -> pykolab-0.8.15.tar.gz/configure.ac
Changed
@@ -1,4 +1,4 @@ -AC_INIT([pykolab], 0.8.14) +AC_INIT([pykolab], 0.8.15) AC_SUBST([RELEASE], 1) AC_CONFIG_SRCDIR(pykolab/constants.py.in)
View file
pykolab-0.8.14.tar.gz/pykolab/auth/ldap/__init__.py -> pykolab-0.8.15.tar.gz/pykolab/auth/ldap/__init__.py
Changed
@@ -1298,15 +1298,20 @@ if not conf.resync: modified_after = self.get_latest_sync_timestamp() else: - modifytimestamp_format = conf.get_raw('ldap', 'modifytimestamp_format').replace('%%', '%') - if modifytimestamp_format == None: - modifytimestamp_format = "%Y%m%d%H%M%SZ" + modifytimestamp_format = conf.get_raw( + 'ldap', + 'modifytimestamp_format', + default="%Y%m%d%H%M%SZ" + ).replace('%%', '%') + + modified_after = datetime.datetime(1900, 01, 01, 00, 00, 00).strftime( + modifytimestamp_format + ) - modified_after = datetime.datetime(1900, 01, 01, 00, 00, 00).strftime(modifytimestamp_format) else: modified_after = self.get_latest_sync_timestamp() - _filter = "(&%s(modifytimestamp>=%s))" % (_filter,modified_after) + _filter = "(&%s(modifytimestamp>=%s))" % (_filter, modified_after) log.debug(_("Synchronization is using filter %r") % (_filter), level=8) @@ -1318,7 +1323,7 @@ config_base_dn = self.config_get('base_dn') ldap_base_dn = self._kolab_domain_root_dn(self.domain) - if not ldap_base_dn == None and not ldap_base_dn == config_base_dn: + if ldap_base_dn is not None and not ldap_base_dn == config_base_dn: base_dn = ldap_base_dn else: base_dn = config_base_dn
View file
pykolab-0.8.14.tar.gz/pykolab/auth/ldap/cache.py -> pykolab-0.8.15.tar.gz/pykolab/auth/ldap/cache.py
Changed
@@ -65,14 +65,16 @@ self.uniqueid = uniqueid self.result_attribute = result_attr - modifytimestamp_format = conf.get_raw('ldap', 'modifytimestamp_format').replace('%%', '%') - if modifytimestamp_format == None: - modifytimestamp_format = "%Y%m%d%H%M%SZ" + modifytimestamp_format = conf.get_raw( + 'ldap', + 'modifytimestamp_format', + default="%Y%m%d%H%M%SZ" + ).replace('%%', '%') self.last_change = datetime.datetime.strptime( last_change, - modifytimestamp_format - ) + modifytimestamp_format + ) ## ## Tables @@ -148,9 +150,11 @@ db.commit() _entry = db.query(Entry).filter_by(uniqueid=_uniqueid).first() else: - modifytimestamp_format = conf.get_raw('ldap', 'modifytimestamp_format').replace('%%', '%') - if modifytimestamp_format == None: - modifytimestamp_format = "%Y%m%d%H%M%SZ" + modifytimestamp_format = conf.get_raw( + 'ldap', + 'modifytimestamp_format', + default="%Y%m%d%H%M%SZ" + ).replace('%%', '%') if not _entry.last_change.strftime(modifytimestamp_format) == entry['modifytimestamp']: log.debug(_("Updating timestamp for cache entry %r") % (_uniqueid), level=8) @@ -198,9 +202,11 @@ return db[domain] def last_modify_timestamp(domain): - modifytimestamp_format = conf.get_raw('ldap', 'modifytimestamp_format').replace('%%', '%') - if modifytimestamp_format == None: - modifytimestamp_format = "%Y%m%d%H%M%SZ" + modifytimestamp_format = conf.get_raw( + 'ldap', + 'modifytimestamp_format', + "%Y%m%d%H%M%SZ" + ).replace('%%', '%') try: db = init_db(domain)
View file
pykolab-0.8.14.tar.gz/pykolab/conf/__init__.py -> pykolab-0.8.15.tar.gz/pykolab/conf/__init__.py
Changed
@@ -505,13 +505,15 @@ return values - def get_raw(self, section, key): + def get_raw(self, section, key, default=None): if not self.cfg_parser: self.read_config() if self.cfg_parser.has_option(section, key): return self.cfg_parser.get(section,key, 1) + return default + def get(self, section, key, quiet=False): """ Get a configuration option from our store, the configuration file,
View file
pykolab-0.8.14.tar.gz/pykolab/setup/setup_mysql.py -> pykolab-0.8.15.tar.gz/pykolab/setup/setup_mysql.py
Changed
@@ -39,15 +39,22 @@ def cli_options(): - ldap_group = conf.add_cli_parser_option_group(_("MySQL Options")) + mysql_group = conf.add_cli_parser_option_group(_("MySQL Options")) - ldap_group.add_option( + mysql_group.add_option( "--mysqlserver", dest="mysqlserver", action="store", help=_("Specify whether to use an (existing) or (new) MySQL server.") ) + mysql_group.add_option( + "--mysqlrootpw", + dest="mysqlrootpw", + action="store", + help=_("The MySQL root user password.") + ) + def description(): return _("Setup MySQL.") @@ -119,17 +126,21 @@ answer = utils.ask_menu(_("What MySQL server are we setting up?"), options) if answer == "1" or answer == 1: - print >> sys.stderr, utils.multiline_message( - _(""" - Please supply the root password for MySQL, so we can set - up user accounts for other components that use MySQL. - """) - ) - - mysql_root_password = utils.ask_question( - _("MySQL root password"), - password=True - ) + if not conf.mysqlrootpw: + print >> sys.stderr, utils.multiline_message( + _(""" + Please supply the root password for MySQL, so we can set + up user accounts for other components that use MySQL. + """) + ) + + mysql_root_password = utils.ask_question( + _("MySQL root password"), + password=True + ) + + else: + mysql_root_password = conf.mysqlrootpw else: print >> sys.stderr, utils.multiline_message(
View file
pykolab-0.8.14.tar.gz/wallace/__init__.py -> pykolab-0.8.15.tar.gz/wallace/__init__.py
Changed
@@ -186,7 +186,7 @@ "--max-tasks", dest = "max_tasks", action = "store", - default = 10, + default = None, type = int, help = _("Number of tasks per process.") )
View file
pykolab.dsc
Changed
@@ -2,7 +2,7 @@ Source: pykolab Binary: pykolab, kolab-cli, kolab-conf, kolab-saslauthd, kolab-server, kolab-telemetry, kolab-xml, wallace Architecture: all -Version: 0.8.14-0~kolab2 +Version: 0.8.15-0~kolab1 Maintainer: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Uploaders: Paul Klos <kolab@klos2day.nl> Homepage: http://www.kolab.org @@ -40,5 +40,5 @@ pykolab deb python optional wallace deb python optional Files: - 00000000000000000000000000000000 0 pykolab-0.8.14.tar.gz + 00000000000000000000000000000000 0 pykolab-0.8.15.tar.gz 00000000000000000000000000000000 0 debian.tar.gz
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.