root/trunk/config/configs/democal.options.xml

Revision 993 (checked in by douglm, 7 years ago)

Most of these updates provide the webdav server components with
access to a system property indicating if directory browsing is disallowed.

Needs schema change: in hsql-speak

alter table BEDEWORK_SETTINGS add column directory_browsing_disallowed char(1)

update BEDEWORK_SETTINGS set directory_browsing_disallowed='T'
or
update BEDEWORK_SETTINGS set directory_browsing_disallowed='F'

With a value of 'F' you wil be able to browse bedework directories.

Also change your own copies of democal.options.xml in the <syspars> section...

<usergroupsClass>org.bedework.calcore.hibernate.GroupsDbImpl</usergroupsClass>

</syspars>

changes to

<usergroupsClass>org.bedework.calcore.hibernate.GroupsDbImpl</usergroupsClass>

<directoryBrowsingDisallowed>@DIRECTORY-BROWSING-DISALLOWED@</directoryBrowsingDisallowed>

</syspars>

The value will be set from the properties file.

Line 
1 <!-- This provides run time options for each of the configured applications.
2   -->
3 <bedework-options>
4   <org>
5     <bedework>
6       <global>
7         <module>
8           <user-ldap-group classname="org.bedework.calcore.ldap.LdapConfigProperties">
9             <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory>
10             <providerUrl>ldap://localhost/</providerUrl>
11             <groupContextDn>ou=groups, dc=bedework, dc=org</groupContextDn>
12             <groupMemberAttr>uniqueMember</groupMemberAttr>
13             <userDnPrefix>uid=</userDnPrefix>
14             <userDnSuffix>,ou=accounts, dc=bedework, dc=org</userDnSuffix>
15             <groupDnPrefix>cn=</groupDnPrefix>
16             <groupDnSuffix>,ou=groups, dc=bedework, dc=org</groupDnSuffix>
17             <debug>true</debug>
18           </user-ldap-group>
19         </module>
20       </global>
21
22       <!-- Only used for system initialisation or conversion from 2.3 - ignored thereafter -->
23       <syspars classname="org.bedework.calfacade.BwSystem">
24         <!-- name must match the global system name -->
25         <name>bedework</name>
26         <tzid>America/New_York</tzid>
27         <systemid>demobedework@mysite.edu</systemid>
28
29         <publicCalendarRoot>public</publicCalendarRoot>
30         <userCalendarRoot>user</userCalendarRoot>
31         <userDefaultCalendar>calendar</userDefaultCalendar>
32         <defaultTrashCalendar>Trash</defaultTrashCalendar>
33         <userInbox>Inbox</userInbox>
34         <userOutbox>Outbox</userOutbox>
35         <deletedCalendar>Deleted</deletedCalendar>
36         <busyCalendar>Busy</busyCalendar>
37
38         <defaultUserViewName>All</defaultUserViewName>
39
40         <publicUser>public-user</publicUser>
41
42         <httpConnectionsPerUser>10</httpConnectionsPerUser>
43         <httpConnectionsPerHost>50</httpConnectionsPerHost>
44         <httpConnections>200</httpConnections>
45
46
47         <!-- size limits -->
48         <maxPublicDescriptionLength>500</maxPublicDescriptionLength>
49         <maxUserDescriptionLength>1000</maxUserDescriptionLength>
50         <maxUserEntitySize>100000</maxUserEntitySize>
51         <defaultUserQuota>10000000</defaultUserQuota> <!-- 10 Meg OK? -->
52
53         <!-- Max number of instances per recurring event -->
54         <maxInstances>1000</maxInstances>
55
56         <userauthClass>org.bedework.calcore.hibernate.UserAuthUWDbImpl</userauthClass>
57         <mailerClass>org.bedework.mail.DummyMailer</mailerClass>
58         <admingroupsClass>org.bedework.calcore.hibernate.AdminGroupsDbImpl</admingroupsClass>
59         <!--
60         <usergroupsClass>org.bedework.calcore.ldap.UserGroupsLdapImpl</usergroupsClass>
61         -->
62         <usergroupsClass>org.bedework.calcore.hibernate.GroupsDbImpl</usergroupsClass>
63
64         <directoryBrowsingDisallowed>@DIRECTORY-BROWSING-DISALLOWED@</directoryBrowsingDisallowed>
65       </syspars>
66
67       <app>
68         <!-- ==================================================================
69                           Admin web client CalAdmin
70              ================================================================== -->
71         <CalAdmin classname="org.bedework.calfacade.configs.AdminConfig">
72           <autoCreateSponsors>false</autoCreateSponsors>
73           <autoDeleteSponsors>false</autoDeleteSponsors>
74           <autoCreateLocations>false</autoCreateLocations>
75           <autoDeleteLocations>false</autoDeleteLocations>
76           <allowEditAllCategories>false</allowEditAllCategories>
77           <allowEditAllLocations>false</allowEditAllLocations>
78           <allowEditAllSponsors>false</allowEditAllSponsors>
79           <categoryOptional>true</categoryOptional>
80
81           <!-- Default value for 24 hour mode -->
82           <hour24>true</hour24>
83
84           <!-- Default value for minute increments -->
85           <minIncrement>5</minIncrement>
86
87           <logPrefix>PubEventsAdmin</logPrefix>
88
89           <appRoot>/caladminrsrc</appRoot>
90           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
91         </CalAdmin>
92
93         <!-- ==================================================================
94                           Public web client Events
95              ================================================================== -->
96         <Events classname="org.bedework.calfacade.configs.ClientConfig">
97           <autoCreateSponsors>false</autoCreateSponsors>
98           <autoDeleteSponsors>false</autoDeleteSponsors>
99           <autoCreateLocations>false</autoCreateLocations>
100           <autoDeleteLocations>false</autoDeleteLocations>
101
102           <!-- Default value for 24 hour mode -->
103           <hour24>true</hour24>
104
105           <!-- Default value for minute increments -->
106           <minIncrement>5</minIncrement>
107
108           <showYearData>false</showYearData>
109
110           <logPrefix>PubEvents</logPrefix>
111
112           <appRoot>/calrsrc</appRoot>
113           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
114
115           <refreshAction>setup.do</refreshAction>
116           <refreshInterval>300</refreshInterval>
117
118           <calSuite>MainCampus</calSuite>
119         </Events>
120
121         <!-- ==================================================================
122                           Demo departmental Public web client SoEDept
123              ================================================================== -->
124         <SoEDept classname="org.bedework.calfacade.configs.ClientConfig">
125           <autoCreateSponsors>false</autoCreateSponsors>
126           <autoDeleteSponsors>false</autoDeleteSponsors>
127           <autoCreateLocations>false</autoCreateLocations>
128           <autoDeleteLocations>false</autoDeleteLocations>
129
130           <!-- Default value for 24 hour mode -->
131           <hour24>true</hour24>
132
133           <!-- Default value for minute increments -->
134           <minIncrement>5</minIncrement>
135
136           <showYearData>false</showYearData>
137
138           <logPrefix>SoEDept</logPrefix>
139
140           <appRoot>/calrsrc</appRoot>
141           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
142
143           <refreshAction>setup.do</refreshAction>
144           <refreshInterval>300</refreshInterval>
145
146           <calSuite>SoEDepartmental</calSuite>
147         </SoEDept>
148
149         <!-- ==================================================================
150                           User web client UserCal
151              ================================================================== -->
152         <UserCal classname="org.bedework.calfacade.configs.ClientConfig">
153           <autoCreateSponsors>false</autoCreateSponsors>
154           <autoDeleteSponsors>false</autoDeleteSponsors>
155           <autoCreateLocations>false</autoCreateLocations>
156           <autoDeleteLocations>false</autoDeleteLocations>
157
158           <!-- Default value for 24 hour mode -->
159           <hour24>true</hour24>
160
161           <!-- Default value for minute increments -->
162           <minIncrement>5</minIncrement>
163
164           <showYearData>false</showYearData>
165
166           <logPrefix>PersonalCalendar</logPrefix>
167
168           <appRoot>/ucalrsrc</appRoot>
169           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
170
171           <refreshAction>setup.do</refreshAction>
172           <refreshInterval>300</refreshInterval>
173         </UserCal>
174
175         <!-- ==================================================================
176                           Dump restore program dumpres
177              ================================================================== -->
178         <dumpres classname="org.bedework.calfacade.configs.DumpRestoreConfig">
179           <debug>true</debug>
180           <debugEntity>false</debugEntity>
181           <superGroupName>campusAdminGroups</superGroupName>
182           <defaultPublicCalPath>/public/Other Events/Other</defaultPublicCalPath>
183         </dumpres>
184
185         <!-- ==================================================================
186                           Dump restore program restoreFrom2p3px
187              Use the restore utility to convert from uwcal 2.3
188              ================================================================== -->
189         <restoreFrom2p3px classname="org.bedework.calfacade.configs.DumpRestoreConfig">
190           <debug>true</debug>
191           <debugEntity>false</debugEntity>
192           <from2p3px>true</from2p3px>
193           <timezonesFilename>resources/bwtimezones.xml</timezonesFilename>
194           <superGroupName>campusAdminGroups</superGroupName>
195           <defaultPublicCalPath>/public/Other Events/Other</defaultPublicCalPath>
196         </restoreFrom2p3px>
197       </app>
198     </bedework>
199   </org>
200 </bedework-options>
201
Note: See TracBrowser for help on using the browser.