Mercurial > p > roundup > code
annotate doc/whatsnew-0.8.txt @ 2983:9614a101b68f
Stuff from the train ride this morning:
- Extend the property concept in Permissions to allow a list of properties
- Fix the cgi templating code to check the correct permission when
rendering edit fields
- A swag of changes (just the start) fixing up the customisation doc for
the new tracker layout and permissions setup
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 30 Nov 2004 08:32:57 +0000 |
| parents | 7d97c75e7cba |
| children | 08a17fc4dc01 |
| rev | line source |
|---|---|
|
2397
fa50e1347397
added basic logging support
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1 ========================= |
|
fa50e1347397
added basic logging support
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
2 What's New in Roundup 0.8 |
|
fa50e1347397
added basic logging support
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
3 ========================= |
|
fa50e1347397
added basic logging support
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
4 |
|
fa50e1347397
added basic logging support
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
5 For those completely new to Roundup, you might want to look over the very |
|
fa50e1347397
added basic logging support
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
6 terse features__ page. |
|
fa50e1347397
added basic logging support
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
7 |
|
fa50e1347397
added basic logging support
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
8 __ features.html |
|
fa50e1347397
added basic logging support
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
9 |
|
fa50e1347397
added basic logging support
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
10 .. contents:: |
|
fa50e1347397
added basic logging support
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
11 |
|
fa50e1347397
added basic logging support
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
12 Logging of internal messages |
|
fa50e1347397
added basic logging support
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
13 ============================ |
|
fa50e1347397
added basic logging support
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
14 |
|
2983
9614a101b68f
Stuff from the train ride this morning:
Richard Jones <richard@users.sourceforge.net>
parents:
2915
diff
changeset
|
15 Roundup's previously ad-hoc logging of events has been cleaned up and is |
|
9614a101b68f
Stuff from the train ride this morning:
Richard Jones <richard@users.sourceforge.net>
parents:
2915
diff
changeset
|
16 now configured in a single place in the tracker configuration file. |
|
9614a101b68f
Stuff from the train ride this morning:
Richard Jones <richard@users.sourceforge.net>
parents:
2915
diff
changeset
|
17 |
|
9614a101b68f
Stuff from the train ride this morning:
Richard Jones <richard@users.sourceforge.net>
parents:
2915
diff
changeset
|
18 The `customisation documentation`_ has more details on how this is |
|
9614a101b68f
Stuff from the train ride this morning:
Richard Jones <richard@users.sourceforge.net>
parents:
2915
diff
changeset
|
19 configured. |
|
9614a101b68f
Stuff from the train ride this morning:
Richard Jones <richard@users.sourceforge.net>
parents:
2915
diff
changeset
|
20 |
|
2886
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
21 |
|
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
22 Security Changes |
|
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
23 ================ |
|
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
24 |
|
2983
9614a101b68f
Stuff from the train ride this morning:
Richard Jones <richard@users.sourceforge.net>
parents:
2915
diff
changeset
|
25 Password Storage |
|
9614a101b68f
Stuff from the train ride this morning:
Richard Jones <richard@users.sourceforge.net>
parents:
2915
diff
changeset
|
26 ---------------- |
|
9614a101b68f
Stuff from the train ride this morning:
Richard Jones <richard@users.sourceforge.net>
parents:
2915
diff
changeset
|
27 |
|
2886
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
28 Added MD5 scheme for password hiding. This extends the existing SHA and |
|
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
29 crypt methods and is useful if you have an existing MD5 password database. |
|
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
30 |
|
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
31 |
|
2983
9614a101b68f
Stuff from the train ride this morning:
Richard Jones <richard@users.sourceforge.net>
parents:
2915
diff
changeset
|
32 Permission Definitions |
|
9614a101b68f
Stuff from the train ride this morning:
Richard Jones <richard@users.sourceforge.net>
parents:
2915
diff
changeset
|
33 ---------------------- |
|
9614a101b68f
Stuff from the train ride this morning:
Richard Jones <richard@users.sourceforge.net>
parents:
2915
diff
changeset
|
34 |
|
9614a101b68f
Stuff from the train ride this morning:
Richard Jones <richard@users.sourceforge.net>
parents:
2915
diff
changeset
|
35 Permissions may now be defined on a per-property basis, allowing access to |
|
9614a101b68f
Stuff from the train ride this morning:
Richard Jones <richard@users.sourceforge.net>
parents:
2915
diff
changeset
|
36 only specific properties on items. |
|
9614a101b68f
Stuff from the train ride this morning:
Richard Jones <richard@users.sourceforge.net>
parents:
2915
diff
changeset
|
37 |
|
9614a101b68f
Stuff from the train ride this morning:
Richard Jones <richard@users.sourceforge.net>
parents:
2915
diff
changeset
|
38 Permissions may also have code attached which is executed to check whether |
|
9614a101b68f
Stuff from the train ride this morning:
Richard Jones <richard@users.sourceforge.net>
parents:
2915
diff
changeset
|
39 the Permission is valid for the current user and item. |
|
9614a101b68f
Stuff from the train ride this morning:
Richard Jones <richard@users.sourceforge.net>
parents:
2915
diff
changeset
|
40 |
|
9614a101b68f
Stuff from the train ride this morning:
Richard Jones <richard@users.sourceforge.net>
parents:
2915
diff
changeset
|
41 |
|
2886
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
42 Extending Roundup |
|
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
43 ================= |
|
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
44 |
|
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
45 To write extension code for Roundup you place a file in the tracker home |
|
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
46 ``extensions`` directory. See the `customisation documentation`_ for more |
|
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
47 information about how this is done. |
|
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
48 |
|
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
49 |
| 2907 | 50 8-bit character set support in Web interface |
| 51 ============================================ | |
|
2886
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
52 |
|
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
53 This is used to override the UTF-8 default. It may be overridden in both |
|
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
54 forms and a browser cookie. |
|
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
55 |
|
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
56 - In forms, use the ``@charset`` variable. |
|
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
57 - To use the cookie override, have the ``roundup_charset`` cookie set. |
|
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
58 |
|
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
59 In both cases, the value is a valid charset name (eg. ``utf-8`` or |
|
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
60 ``kio8-r``). |
|
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
61 |
| 2907 | 62 Inside Roundup, all strings are stored and processed in utf-8. |
| 63 Unfortunately, some older browsers do not work properly with | |
| 64 utf8-encoded pages (e.g. Netscape Navigator 4 displays wrong | |
| 65 characters in form fields). This version allows to change | |
| 66 the character set for http transfers. To do so, you may add | |
| 67 the following code to your ``page.html`` template:: | |
| 68 | |
| 69 <tal:block define="uri string:${request/base}${request/env/PATH_INFO}"> | |
| 70 <a tal:attributes="href python:request.indexargs_href(uri, | |
| 71 {'@charset':'utf-8'})">utf-8</a> | |
| 72 <a tal:attributes="href python:request.indexargs_href(uri, | |
| 73 {'@charset':'koi8-r'})">koi8-r</a> | |
| 74 </tal:block> | |
| 75 | |
| 76 (substitute ``koi8-r`` with appropriate charset for your language). | |
| 77 Charset preference is kept in the browser cookie ``roundup_charset``. | |
| 78 | |
| 79 Lines ``meta http-equiv`` added to the tracker templates in version 0.6.0 | |
| 80 should be changed to include actual character set name:: | |
| 81 | |
| 82 <meta http-equiv="Content-Type" | |
| 83 tal:attributes="content string:text/html;; charset=${request/client/charset}" | |
| 84 /> | |
| 85 | |
| 86 Actual charset is also sent in the http header. | |
| 87 | |
|
2886
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
88 |
|
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
89 Web Interface Miscellanea |
|
0998d1b48182
documentation updates
Richard Jones <richard@users.sourceforge.net>
parents:
2397
diff
changeset
|
90 ========================= |
|
2397
fa50e1347397
added basic logging support
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
91 |
| 2915 | 92 XXX |
|
2397
fa50e1347397
added basic logging support
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
93 |
|
fa50e1347397
added basic logging support
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
94 .. _`customisation documentation`: customizing.html |
