################################################################## # P4DB configuration file # # Release: 4.0 # # # # The configuration must change to match your environment # # before P4DB can be used. # # # ################################################################## # # # The general format of the file is: # # <identifier>:<data> # # Whitespace is allowed before identifier and before data. # # The data format depends on the identifier # # Sometimes there can be more than one line with the same # # identifier, for example P4DB_ADMIN-lines. # # # # In general whitespaces are NOT allowed in filenames. Sorry. # # # ################################################################## ################################## ### Set up environment ### ### ### ##### # 1 # ################################################################ # Path to p4 program. # # You probably need to modify this # P4PATH: /home/fredric/bin/p4 ##### # 2 # ################################################################ # Path to help files and other html. # # The default works just fine unless you do not want to mix # # CGIs and regular html files in the same directory. # # # # NOTE: If this is modified, be sure to move all .html files # # as well. # HTML_HELPFILE_PATH: . ##### # 3 # ################################################################ # Set administrator(s) for P4DB. # # The default will NOT do. # # Data Format: <email address> <full name> # # Zero or more administrators can be specified. # # If specified, these will appear as mailto: targets in the # # standard page footer. # P4DB_ADMIN: MrDDuck@disney.com Donald Duck P4DB_ADMIN: MrMMouse@disney.com M. Mouse ############################################## ### Variables to facilitate ports ### ### ### ################################################################## # NOTE! # # You should pay special attention to this part if your OS is # # Windows NT. For Unix and Linux the default is probably fine. # # # # I do not have access to a Windows machine with a web server # # so I can not test this. The recommended settings are from # # email conversations I have had with P4DB users that run on # # Windows. # ################################################################## ##### # 4 # ################################################################ # NT needs the SHELL variable set to some UNIX-style shell # # program (like kornshell in MKS toolkit, check out # # http://www.datafocus.com/products/tk/ ) # # Leave empty for Unix/Linux. SHELL: ##### # 5 # ################################################################ # P4DB sometimes needs to redirect error messages that should # # be ignored to a null device. God named the null device # # "/dev/null" but Bill G. et al. ignored this and called it # # "NUL:". # # Make sure it is set to whatever your OS calls the null # # device. # # Don't remove the "2>"-part # REDIRECT_ERROR_TO_NULL_DEVICE: 2>/dev/null # >>>> this line should work for NT: (not tested) # REDIRECT_ERROR_TO_NULL_DEVICE: 2>NUL: ##### # 6 # ################################################################ # P4DB sometimes needs to redirect error messages that should # # be parsed to the standard out stream. This is the command # # used for this. Set to nothing if your OS does not differ # # between stdout and stderr. # REDIRECT_ERROR_TO_STDOUT: 2>&1 ############################## ### Specify servers ### ### ### ##### # 7 # ################################################################ # Specify one or more p4 servers to point P4DB to. If more # # than one server is specified the user can select one using # # the "preferences"-page. The first will be the default. # # # # Data format: # # <host>:<port> ; <short desc.> # PORT: p4:1666 ; Default depot PORT: public.perforce.com:1666 ; Perforce Public Depot PORT: NoSuch:1666 ; Nonexisting, for test ############################# ### Style Sheets ### ### ### ##### # 8 # ################################################################ # Specify CSS (Cascaded Style Sheet) files for the user to # # select from. The P4DB layout relies heavily on style sheet # # files. This has the disadvantage that a fairly recent # # browser is required but the advantage that a it is possible # # to create a nicer user interface. # # Data format: # # <FileName> ; <short description> # # Two files are distributed with P4DB. # STYLES: P4DB.css ; Standard STYLES: P4DB_cvd.css ; For Color Vision Deficiency STYLES: P4DB_large.css ; Large fonts STYLES: P4DB_small.css ; Small fonts ############################################## ### control miscellaneous behaviour ### ### ### ##### # 9 # ################################################################ # Control when warning should be printed for "unused client" # # and "unused user". # # In the client and users lists P4DB will print a warning next # # to a client or user if it has not been used for a specified # # number of weeks. The default is 10 but can be changed here. # UNUSED_CLIENT_WARNING_LEVEL: 10 UNUSED_USER_WARNING_LEVEL: 10 ###### # 10 # ################################################################ # The user name in the login page can be selected from a pop-up menu # listing all users or typed in a text field. # The default behavior is the pop-up menu but if you feel that this # in some way compromise the security set this to 0 and the user # will have to remember both the password and the user name. SELECT_USER_FROM_LIST: 1 ###### # 11 # ################################################################ # Specify your shorcut icon ("favicon.ico") file. # There is a default supplied with P4DB SHORTCUT_ICON: P4DB.ico ###### # 12 # ################################################################ # Specify tiomeout in seconds for each CGI. # The timeout is there to habdle bugs in P4DB and stop processes # caught up in infinite loops. # Default is 5 minutes. CGI_TIMEOUT: 300 ################################################################ # End of P4DB configuration file. # ################################################################
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#11 | 4990 | Fredric Fredricson | P4DB: Improved error handling: | ||
#10 | 4989 | Fredric Fredricson |
P4DB: Some small fixed in documentation and make shortcut icon configurable |
||
#9 | 4844 | Fredric Fredricson |
P4DB: A few fixes: Added new config option that controls login page Added two new CSS-files (for large fonts and smaller fonts) Fixed sort order on users in login page Stepped up to version 4.0 |
||
#8 | 4834 | Fredric Fredricson | P4DB: Incremented version to 4.0beta1 | ||
#7 | 4313 | Fredric Fredricson |
P4DB: - Removed some error messages (that clobbers the error log for the web server) - Added a CSS file that works for people with color vision deficiency - Fixed minor bug in the scripts that creates the tarball and zip-file |
||
#6 | 4237 | Fredric Fredricson | P4DB: Maybe the final submit for P4DB 3.1.0 | ||
#5 | 4216 | Fredric Fredricson | P4DB: Another partial submit on my way to P4DB 3.1... | ||
#4 | 4152 | Fredric Fredricson | P4DB: Some more work on tha way to version 3.1.... | ||
#3 | 2875 | Fredric Fredricson | P4DB 3.0 first beta... | ||
#2 | 1920 | Fredric Fredricson |
P4DB: Mainly some user interface fixes: * Added a small arrow that points to selection in list of options * Added tooltip help * Added user prefereces to turn the above off (or on) * Some other user interface fixes And fixed a bug in jobList.cgi and some minor bugs in label and branch viewers. |
||
#1 | 1638 | Fredric Fredricson | P4DB: Added all (I think) files for P4DB |