summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fff3269)
raw | patch | inline | side by side (parent: fff3269)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 26 Mar 2004 23:45:34 +0000 (23:45 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 26 Mar 2004 23:45:34 +0000 (23:45 +0000) |
Fixed up some missing info from What's New.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2217 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2217 57a73879-2fb5-44c3-a270-3262357dd7e2
diff --git a/CHANGES.txt b/CHANGES.txt
index d7b3d19e6ae2eaa924fe3e13020791dc8a51e465..3287abbb694b0f5a46b5cad15883ff99d43cf197 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
by mailgw and may be used to veto creation of file attachments or
messages. (sf bug 700265)
- queries on a per-user basis, and public queries (sf "bug" 891798 :)
+- added DEFAULT_TIMEZONE (sf rfe 895139)
Fixed:
- Boolean HTML templating was broken
diff --git a/doc/customizing.txt b/doc/customizing.txt
index f5223ddcd8cf06c5e106cd2a77843d1ea4e0680e..3e56a82a2fe9aa39711727db864f0cfd0c947ee4 100644 (file)
--- a/doc/customizing.txt
+++ b/doc/customizing.txt
Customising Roundup
===================
-:Version: $Revision: 1.125 $
+:Version: $Revision: 1.126 $
.. This document borrows from the ZopeBook section on ZPT. The original is at:
http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx
that, so you might need to specify a more limited character set (eg.
'iso-8859-1'.
+**DEFAULT_TIMEZONE** - ``0``
+ Numeric hour timezone offest to be used when displaying local times.
+ The default timezone is used when users do not choose their own in
+ their settings.
+
The default config.py is given below - as you
can see, the MAIL_DOMAIN must be edited before any interaction with the
tracker is attempted.::
EMAIL_CHARSET = 'utf-8'
#EMAIL_CHARSET = 'iso-8859-1' # use this instead for Eudora users
+ # You may specify a different default timezone, for use when users do not
+ # choose their own in their settings.
+ DEFAULT_TIMEZONE = 0 # specify as numeric hour offest
+
#
# SECURITY DEFINITIONS
#
diff --git a/doc/index.txt b/doc/index.txt
index 462a85534a6c66aa6335ad6aa096caa2ce1ad609..1c8be02c8651fcb76e48f128e3039ed71f1924e5 100644 (file)
--- a/doc/index.txt
+++ b/doc/index.txt
Engelbert Gruber,
Juergen Hermann,
Tobias Hunger,
+Christophe Kalt,
Brian Kelley,
James Kew,
Sheila King,
diff --git a/doc/whatsnew-0.7.txt b/doc/whatsnew-0.7.txt
index 5bbb8f351067e75321c251912716bafb3967b001..db409dbe5e8530ad76a0ee1f385d62bfccb1d3eb 100644 (file)
--- a/doc/whatsnew-0.7.txt
+++ b/doc/whatsnew-0.7.txt
4. You might also wish to remove the redundant query editing section from the
``user.item.html`` page.
+ZRoundup reinstated
+-------------------
+
+The Zope interface, ZRoundup, lives again!
+
+See the `upgrading documentation`__ if you wish to use it.
+
+__ upgrading.html#zroundup-changes
+
Simple support for collision detection
--------------------------------------
This removes the need for the template to perform those checks, which was
just plain messy.
+Some new permissions will need to be created in your trackers to cope with
+this change, as outlined in the `upgrading documentation`__.
+
+__ upgrading.html#permission-assignments
+
Standards changes
-----------------
and are expecting many users.
-Other improvements
-------------------
+API change
+----------
+
+The Database.curuserid attribute was removed. Any code referencing this
+attribute should be replaced with a call to Database.getuid().
-All RDBMS backends now have indexes automatically created on critical
-table columns.
-Additionally, the RDBMS backends also implement their own session,
-one-time-key and full-text indexing stores. These were previously external
-dbm stores. This change allows control of locking the database to be
-completely handed over to the RDBMS.
+New configuration options
+-------------------------
-Date values capture fractions of seconds now. Note that the MySQL backend
-is not capable of storing this precision though, so it will be lost for
-users of that backend.
+- Added DEFAULT_TIMEZONE which allows the tracker to have a different
+ default to UTC when users don't specify their own preference.
+
+- Added EMAIL_CHARSET (in 0.6.6, but worth mentioning here) which hard-codes
+ the character set to be used when sending email from Roundup. This works
+ around some email clients' inability to cope well with UTF-8 (the
+ default).
+
+- ERROR_MESSAGES_TO and DISPATCHER_EMAIL as described above in `Dispatcher
+ configuration`_.
Typed columns in RDBMS backends
which copies users 3, 4, 5, 6, 7, 8, 9, 10, 14 and 16.
+Other improvements
+------------------
+
+- All RDBMS backends now have indexes automatically created on critical
+ table columns.
+
+- Additionally, the RDBMS backends also implement their own session,
+ one-time-key and full-text indexing stores. These were previously external
+ dbm stores. This change allows control of locking the database to be
+ completely handed over to the RDBMS.
+
+- Date values capture fractions of seconds now. Note that the MySQL backend
+ is not capable of storing this precision though, so it will be lost for
+ users of that backend.
+
+
+
.. _`customisation documentation`: customizing.html
index da9d29ed579e292334225f065566822de3556401..e89ac27b118364fe4d24c13e7f864eebe150baea 100644 (file)
tz = self._db.getUserTimezone()
value = cgi.escape(str(self._value.local(tz)))
- if is_edit_ok():
+ if self.is_edit_ok():
value = '"'.join(value.split('"'))
return self.input(name=self._formname,value=value,size=size)
diff --git a/roundup/roundupdb.py b/roundup/roundupdb.py
index 00838061f54211cf90d8c8a51865dad1405f521f..98310fc9413863af11bffa363e9e39c6899ace5b 100644 (file)
--- a/roundup/roundupdb.py
+++ b/roundup/roundupdb.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: roundupdb.py,v 1.103 2004-03-22 00:15:34 richard Exp $
+# $Id: roundupdb.py,v 1.104 2004-03-26 23:45:34 richard Exp $
"""Extending hyperdb with types specific to issue-tracking.
"""
# If there is no class 'user' or current user doesn't have timezone
# property or that property is not numeric assume he/she lives in
# Greenwich :)
- timezone = 0
+ timezone = self.config.get('DEFAULT_TIMEZONE', 0)
return timezone
def confirm_registration(self, otk):
index d57df1a412cb5677ae63acac94058cdf4191f1c9..2712b94b7a868d122862f41622ee7e632df70e1a 100644 (file)
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: config.py,v 1.7 2004-03-25 22:38:55 eparker Exp $
+# $Id: config.py,v 1.8 2004-03-26 23:45:34 richard Exp $
import os
# The email address that roundup will complain to if it runs into trouble
ADMIN_EMAIL = 'roundup-admin@%s'%MAIL_DOMAIN
-# The 'dispatcher' is a role that can get notified of new items to the database.
+# The 'dispatcher' is a role that can get notified of new items to the
+# database. It is used by the ERROR_MESSAGES_TO config setting.
DISPATCHER_EMAIL = ADMIN_EMAIL
# Additional text to include in the "name" part of the From: address used
NEW_WEB_USER_ROLES = 'User'
NEW_EMAIL_USER_ROLES = 'User'
-# Send error messages to the dispatcher, user, or both?
-# If 'dispatcher', error message notifications will only be sent to the dispatcher.
-# If 'user', error message notifications will only be sent to the user.
-# If 'both', error message notifications will be sent to both individuals.
+# Send error message emails to the dispatcher, user, or both?
+# If 'dispatcher', error messages will only be sent to the dispatcher.
+# If 'user', error messages will only be sent to the user.
+# If 'both', error messages will be sent to both individuals.
+# The dispatcher is configured using the DISPATCHER_EMAIL setting, which
+# defaults to ADMIN_EMAIL.
ERROR_MESSAGES_TO = 'user'
# Send nosy messages to the author of the message
EMAIL_CHARSET = 'utf-8'
#EMAIL_CHARSET = 'iso-8859-1' # use this instead for Eudora users
+# You may specify a different default timezone, for use when users do not
+# choose their own in their settings.
+DEFAULT_TIMEZONE = 0 # specify as numeric hour offest
+
# vim: set filetype=python ts=4 sw=4 et si
index 7b2807e0a1372c3d287c111076c7cad13e4accf1..2a5799c56827236e06eb737ef9ab3ecf6894d719 100644 (file)
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: config.py,v 1.5 2004-03-25 19:27:15 eparker Exp $
+# $Id: config.py,v 1.6 2004-03-26 23:45:34 richard Exp $
import os
EMAIL_CHARSET = 'utf-8'
#EMAIL_CHARSET = 'iso-8859-1' # use this instead for Eudora users
+# You may specify a different default timezone, for use when users do not
+# choose their own in their settings.
+DEFAULT_TIMEZONE = 0 # specify as numeric hour offest
+
# vim: set filetype=python ts=4 sw=4 et si