comparison doc/customizing.txt @ 704:54333751e98d search_indexing-0-4-2-branch

Brought search_indexing-branch up to date with latest changes in HEAD.
author Roche Compaan <rochecompaan@users.sourceforge.net>
date Thu, 02 May 2002 13:09:11 +0000
parents e429649ed124
children
comparison
equal deleted inserted replaced
703:8d2cb0d09da4 704:54333751e98d
1 ===================
1 Customising Roundup 2 Customising Roundup
2 =================== 3 ===================
4
5 :Version: $Revision: 1.1.2.1 $
6
7 .. contents::
8
3 9
4 Instances have the following structure: 10 Instances have the following structure:
5 11
6 +-------------------+--------------------------------------------------------+ 12 +-------------------+--------------------------------------------------------+
7 |instance_config.py |Holds the basic instance_configuration | 13 |instance_config.py |Holds the basic instance_configuration |
70 76
71 # Where to place the web filtering HTML on the index page 77 # Where to place the web filtering HTML on the index page
72 FILTER_POSITION = 'bottom' # one of 'top', 'bottom', 'top and bottom' 78 FILTER_POSITION = 'bottom' # one of 'top', 'bottom', 'top and bottom'
73 79
74 # Deny or allow anonymous access to the web interface 80 # Deny or allow anonymous access to the web interface
75 ANONYMOUS_ACCESS = 'deny' 81 ANONYMOUS_ACCESS = 'deny' # either 'deny' or 'allow'
76 82
77 # Deny or allow anonymous users to register through the web interface 83 # Deny or allow anonymous users to register through the web interface
78 ANONYMOUS_REGISTER = 'deny' 84 ANONYMOUS_REGISTER = 'deny' # either 'deny' or 'allow'
85
86 # Deny or allow anonymous users to register through the mail interface
87 ANONYMOUS_REGISTER_MAIL = 'deny' # either 'deny' or 'allow'
79 88
80 # Send nosy messages to the author of the message 89 # Send nosy messages to the author of the message
81 MESSAGES_TO_AUTHOR = 'no' # either 'yes' or 'no' 90 MESSAGES_TO_AUTHOR = 'no' # either 'yes' or 'no'
91
92 # Does the author of a message get placed on the nosy list automatically?
93 # If 'new' is used, then the author will only be added when a message
94 # creates a new issue. If 'yes', then the author will be added on followups
95 # too. If 'no', they're never added to the nosy.
96 ADD_AUTHOR_TO_NOSY = 'new' # one of 'yes', 'no', 'new'
97
98 # Do the recipients (To:, Cc:) of a message get placed on the nosy list?
99 # If 'new' is used, then the recipients will only be added when a message
100 # creates a new issue. If 'yes', then the recipients will be added on
101 # followups
102 # too. If 'no', they're never added to the nosy.
103 ADD_RECIPIENTS_TO_NOSY = 'new' # either 'yes', 'no', 'new'
104
105 # Where to place the email signature
106 EMAIL_SIGNATURE_POSITION = 'bottom' # one of 'top', 'bottom', 'none'
107
108 # Keep email citations
109 EMAIL_KEEP_QUOTED_TEXT = 'no' # either 'yes' or 'no'
110
111 # Preserve the email body as is
112 EMAIL_LEAVE_BODY_UNCHANGED = 'no' # either 'yes' or 'no'
113
114 # Default class to use in the mailgw if one isn't supplied in email
115 # subjects. To disable, comment out the variable below or leave it blank.
116 # Examples:
117 MAIL_DEFAULT_CLASS = 'issue' # use "issue" class by default
118 #MAIL_DEFAULT_CLASS = '' # disable (or just comment the var out)
82 119
83 120
84 Instance Schema 121 Instance Schema
85 --------------- 122 ---------------
86 123
240 ::::::::::::::::::: 277 :::::::::::::::::::
241 278
242 Create a node in the database. This is generally used to create nodes in the 279 Create a node in the database. This is generally used to create nodes in the
243 "definitional" classes like "priority" and "status". 280 "definitional" classes like "priority" and "status".
244 281
282
283 Detectors - adding behaviour to your tracker
284 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
285
286 Sample additional detectors that have been found useful will appear in the
287 ``detectors`` directory of the Roundup distribution:
288
289 newissuecopy.py
290 This detector sends an email to a team address whenever a new issue is
291 created. The address is hard-coded into the detector, so edit it before you
292 use it (look for the text 'team@team.host') or you'll get email errors!
293
294
245 Web Interface 295 Web Interface
246 ------------- 296 -------------
247 297
248 The web interface works behind the cgi-bin/roundup.cgi or roundup-server 298 The web interface works behind the cgi-bin/roundup.cgi or roundup-server
249 scripts. In both cases, the scripts determine which instance is being accessed 299 scripts. In both cases, the scripts determine which instance is being accessed
319 | |nodes, hyperlinked to the item views on those nodes. | 369 | |nodes, hyperlinked to the item views on those nodes. |
320 | |For other properties, link to this node with the property as the | 370 | |For other properties, link to this node with the property as the |
321 | |text. | 371 | |text. |
322 | |Options: | 372 | |Options: |
323 | |property (property name) - the property to use in the second case. | 373 | |property (property name) - the property to use in the second case. |
374 | |showid - use the linked node id as the link text (linked node |
375 | | "value" will be set as a tooltip) |
324 +---------+-------------------------------------------------------------------+ 376 +---------+-------------------------------------------------------------------+
325 |count |For a Multilink property, display a count of the number of links in| 377 |count |For a Multilink property, display a count of the number of links in|
326 | |the list. | 378 | |the list. |
327 | |Arguments: | 379 | |Arguments: |
328 | |property (property name) - the property to use. | 380 | |property (property name) - the property to use. |
513 565
514 As shown in the example, the editor template can also request the display of a 566 As shown in the example, the editor template can also request the display of a
515 "note" field, which is a text area for entering a note to go along with a 567 "note" field, which is a text area for entering a note to go along with a
516 change. 568 change.
517 569
570 The <property> tag used in the index may also be used here - it checks to see
571 if the nominated Multilink property has any entries. This can be used to
572 eliminate sections of the editor section if the property has no entries::
573
574 <td class="form-text">
575 <display call="field('superseder', size=40, showid=1)">
576 <display call="classhelp('issue', 'id,title', label='list', width=500)">
577 <property name="superseder">
578 <br>View: <display call="link('superseder', showid=1)">
579 </property>
580 </td>
581
582 The "View: " part with the links will only display if the superseder property
583 has values.
584
518 When a change is submitted, the system automatically generates a message 585 When a change is submitted, the system automatically generates a message
519 describing the changed properties. 586 describing the changed properties.
520 587
521 If a note is given in the "note" field, the note is appended to the 588 If a note is given in the "note" field, the note is appended to the
522 description. The message is then added to the item's message spool (thus 589 description. The message is then added to the item's message spool (thus
541 of messages displays the "date", "author", and "summary" properties on the 608 of messages displays the "date", "author", and "summary" properties on the
542 message nodes, and selecting a message takes you to its content. 609 message nodes, and selecting a message takes you to its content.
543 610
544 The <property> tag used in the index may also be used here - it checks to see 611 The <property> tag used in the index may also be used here - it checks to see
545 if the nominated Multilink property has any entries. This can be used to 612 if the nominated Multilink property has any entries. This can be used to
546 eliminate sections of the spool section if the property has no entries.:: 613 eliminate sections of the spool section if the property has no entries::
547 614
548 <property name="files"> 615 <property name="files">
549 <tr class="strong-header"> 616 <tr class="strong-header">
550 <td><b>Files</b></td> 617 <td><b>Files</b></td>
551 </tr> 618 </tr>
553 <tr> 620 <tr>
554 <td><display call="list('files')"></td> 621 <td><display call="list('files')"></td>
555 </tr> 622 </tr>
556 </property> 623 </property>
557 624
558 625 -----------------
626
627 Back to `Table of Contents`_
628
629 .. _`Table of Contents`: index.html
630

Roundup Issue Tracker: http://roundup-tracker.org/