root/releases/bedework-3.4/config/configs/democal.options.xml

Revision 1579 (checked in by douglm, 6 years ago)

First is a small change to the way hql (hibernate query language) queries are built when selecting calendars. We were seeing stack overflows when very large numbers of calendars were involved.

The dump/restore was fixed to handle alarms

The bulk of the remainder are almost exclusively to handle issues discovered with CalDAV support during the last CalConnect?.

As such they should not impact the other parts of the system, nor do they require stylesheet changes in addition to those posted earlier to the list.

They do require a small change to your own options.xml file. A new configuration section has been added for CalDAV and the relevent section is shown below.

As noted in the comments below, for production use at the moment, delete the realTimeServiceURI elements to disable that service.

Changes to CalDAV include:

Fixes to alarm support so that alarms are successfully modified
Look for Mozilla alarm X properties and turn into delete/modify
Added missing support for percent complete and related to fields.
Real time server to server support
Freebusy url support
Collections could not be removed. Fixed.
Changes to handle Apple client


<!-- ==================================================================

User CalDAV server UserCalDAV

================================================================== -->

<UserCalDAV classname="org.bedework.calfacade.configs.CalDAVConfig">

<!-- Comment out or delete for no real time server to server service

Currently under development and may present a security risk in
production systems -->

<realTimeServiceURI>/rtsvc</realTimeServiceURI>

<!-- Comment out or delete for no freebusy url service -->
<fburlServiceURI>/fbsvc</fburlServiceURI>

</UserCalDAV>

<!-- ==================================================================

Public (unauthenticated) CalDAV server PublicCalDAV

================================================================== -->

<PublicCalDAV classname="org.bedework.calfacade.configs.CalDAVConfig">

<!-- Comment out or delete for no real time server to server service

Currently under development and may present a security risk in
production systems -->

<realTimeServiceURI>/rtsvc</realTimeServiceURI>

<!-- Comment out or delete for no freebusy url service -->
<fburlServiceURI>/fbsvc</fburlServiceURI>

</PublicCalDAV>

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           <!-- A dummy module with no directory. -->
9           <dir-config classname="org.bedework.calcore.DirConfigProperties">
10             <principalRoot>/principals</principalRoot>
11             <userPrincipalRoot>/principals/users</userPrincipalRoot>
12             <groupPrincipalRoot>/principals/groups</groupPrincipalRoot>
13             <resourcePrincipalRoot>/principals/resources</resourcePrincipalRoot>
14             <venuePrincipalRoot>/principals/locations</venuePrincipalRoot>
15             <ticketPrincipalRoot>/principals/tickets</ticketPrincipalRoot>
16             <hostPrincipalRoot>/principals/hosts</hostPrincipalRoot>
17
18             <!-- List domains at your site separated by commas.
19                     A single leading wildcard "*" is allowed.
20                     If there is a single domain with no wildcard it wil be stripped from
21                     user accounts as they are entered and added as they are turned
22                     back into CUAs.
23                     Wildcarded or multiple domains will cause retention of the domain
24                     (partially untested feature) -->
25             <domains>mysite.edu</domains>
26
27             <!-- defaultDomain can be left unspecified for no default or a single
28                    exactly specified domain  -->
29             <defaultDomain>mysite.edu</defaultDomain>
30
31             <debug>true</debug>
32           </dir-config>
33
34           <!-- An example of how we might configure an ldap directory module. -->
35           <user-ldap-group classname="org.bedework.calcore.ldap.LdapConfigProperties">
36             <principalRoot>/principals</principalRoot>
37             <userPrincipalRoot>/principals/users</userPrincipalRoot>
38             <groupPrincipalRoot>/principals/groups</groupPrincipalRoot>
39             <resourcePrincipalRoot>/principals/resources</resourcePrincipalRoot>
40             <venuePrincipalRoot>/principals/locations</venuePrincipalRoot>
41             <ticketPrincipalRoot>/principals/tickets</ticketPrincipalRoot>
42             <hostPrincipalRoot>/principals/hosts</hostPrincipalRoot>
43
44             <domains>mysite.edu</domains>
45             <defaultDomain>mysite.edu</defaultDomain>
46
47             <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory>
48             <providerUrl>ldap://localhost/</providerUrl>
49             <groupContextDn>ou=groups, dc=bedework, dc=org</groupContextDn>
50             <groupMemberAttr>uniqueMember</groupMemberAttr>
51             <userDnPrefix>uid=</userDnPrefix>
52             <userDnSuffix>,ou=accounts, dc=bedework, dc=org</userDnSuffix>
53             <groupDnPrefix>cn=</groupDnPrefix>
54             <groupDnSuffix>,ou=groups, dc=bedework, dc=org</groupDnSuffix>
55             <debug>true</debug>
56           </user-ldap-group>
57
58           <testmail classname="org.bedework.mail.MailConfigProperties">
59             <protocol>smtp</protocol>
60             <protocolClass>com.sun.mail.smtp.SMTPTransport</protocolClass>
61             <serverIp>localhost</serverIp>
62             <from>calendar.myplace.edu</from>
63             <subject>Message from demo calendar server</subject>
64             <disabled>false</disabled>
65           </testmail>
66
67           <dummymail classname="org.bedework.mail.MailConfigProperties">
68             <disabled>false</disabled>
69           </dummymail>
70         </module>
71       </global>
72
73       <syspars classname="org.bedework.calfacade.BwSystem">
74         <!-- name must match the global system name -->
75         <name>bedework</name>
76         <tzid>America/New_York</tzid>
77         <systemid>demobedework@mysite.edu</systemid>
78
79         <publicCalendarRoot>public</publicCalendarRoot>
80         <userCalendarRoot>user</userCalendarRoot>
81         <userDefaultCalendar>calendar</userDefaultCalendar>
82         <defaultTrashCalendar>Trash</defaultTrashCalendar>
83         <userInbox>Inbox</userInbox>
84         <userOutbox>Outbox</userOutbox>
85         <deletedCalendar>Deleted</deletedCalendar>
86         <busyCalendar>Busy</busyCalendar>
87
88         <defaultUserViewName>All</defaultUserViewName>
89         <defaultUserHour24>true</defaultUserHour24>
90
91         <publicUser>public-user</publicUser>
92
93         <httpConnectionsPerUser>10</httpConnectionsPerUser>
94         <httpConnectionsPerHost>50</httpConnectionsPerHost>
95         <httpConnections>200</httpConnections>
96
97
98         <!-- size limits -->
99         <maxPublicDescriptionLength>500</maxPublicDescriptionLength>
100         <maxUserDescriptionLength>5000</maxUserDescriptionLength>
101         <maxUserEntitySize>100000</maxUserEntitySize>
102         <defaultUserQuota>10000000</defaultUserQuota> <!-- 10 Meg OK? -->
103
104         <!-- Max number of instances per recurring event -->
105         <maxInstances>1000</maxInstances>
106
107         <!-- Max number of years per recurring event -->
108         <maxYears>50</maxYears>
109
110         <userauthClass>org.bedework.calcore.hibernate.UserAuthUWDbImpl</userauthClass>
111         <mailerClass>org.bedework.mail.DummyMailer</mailerClass>
112         <admingroupsClass>org.bedework.calcore.hibernate.AdminGroupsDbImpl</admingroupsClass>
113         <!--
114         <usergroupsClass>org.bedework.calcore.ldap.UserGroupsLdapImpl</usergroupsClass>
115         -->
116         <usergroupsClass>org.bedework.calcore.hibernate.GroupsDbImpl</usergroupsClass>
117
118         <directoryBrowsingDisallowed>@DIRECTORY-BROWSING-DISALLOWED@</directoryBrowsingDisallowed>
119
120         <indexRoot>lucene/indexroot</indexRoot>
121       </syspars>
122
123       <app>
124         <!-- ==================================================================
125                           Admin web client CalAdmin
126              ================================================================== -->
127         <CalAdmin classname="org.bedework.calfacade.configs.AdminConfig">
128           <autoCreateContacts>false</autoCreateContacts>
129           <autoDeleteContacts>false</autoDeleteContacts>
130           <autoCreateLocations>false</autoCreateLocations>
131           <autoDeleteLocations>false</autoDeleteLocations>
132           <allowEditAllCategories>false</allowEditAllCategories>
133           <allowEditAllLocations>false</allowEditAllLocations>
134           <allowEditAllContacts>false</allowEditAllContacts>
135           <categoryOptional>true</categoryOptional>
136
137           <!-- Default value for 24 hour mode -->
138           <hour24>true</hour24>
139
140           <!-- Default value for minute increments -->
141           <minIncrement>5</minIncrement>
142
143           <logPrefix>PubEventsAdmin</logPrefix>
144
145           <appRoot>/caladminrsrc</appRoot>
146           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
147         </CalAdmin>
148
149         <!-- ==================================================================
150                           Public web client Events
151              ================================================================== -->
152         <Events classname="org.bedework.calfacade.configs.ClientConfig">
153           <autoCreateContacts>false</autoCreateContacts>
154           <autoDeleteContacts>false</autoDeleteContacts>
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>PubEvents</logPrefix>
167
168           <appRoot>/calrsrc</appRoot>
169           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
170
171           <refreshAction>setup.do</refreshAction>
172           <refreshInterval>300</refreshInterval>
173
174           <calSuite>MainCampus</calSuite>
175         </Events>
176
177         <!-- ==================================================================
178                           Demo departmental Public web client SoEDept
179              ================================================================== -->
180         <SoEDept classname="org.bedework.calfacade.configs.ClientConfig">
181           <autoCreateContacts>false</autoCreateContacts>
182           <autoDeleteContacts>false</autoDeleteContacts>
183           <autoCreateLocations>false</autoCreateLocations>
184           <autoDeleteLocations>false</autoDeleteLocations>
185
186           <!-- Default value for 24 hour mode -->
187           <hour24>true</hour24>
188
189           <!-- Default value for minute increments -->
190           <minIncrement>5</minIncrement>
191
192           <showYearData>false</showYearData>
193
194           <logPrefix>SoEDept</logPrefix>
195
196           <appRoot>/calrsrc</appRoot>
197           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
198
199           <refreshAction>setup.do</refreshAction>
200           <refreshInterval>300</refreshInterval>
201
202           <calSuite>SoEDepartmental</calSuite>
203         </SoEDept>
204
205         <!-- ==================================================================
206                           User web client UserCal
207              ================================================================== -->
208         <UserCal classname="org.bedework.calfacade.configs.ClientConfig">
209           <autoCreateContacts>false</autoCreateContacts>
210           <autoDeleteContacts>false</autoDeleteContacts>
211           <autoCreateLocations>false</autoCreateLocations>
212           <autoDeleteLocations>false</autoDeleteLocations>
213
214           <!-- Default value for 24 hour mode -->
215           <hour24>true</hour24>
216
217           <!-- Default value for minute increments -->
218           <minIncrement>5</minIncrement>
219
220           <showYearData>false</showYearData>
221
222           <logPrefix>PersonalCalendar</logPrefix>
223
224           <appRoot>/ucalrsrc</appRoot>
225           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
226
227           <refreshAction>setup.do</refreshAction>
228           <refreshInterval>300</refreshInterval>
229         </UserCal>
230
231         <!-- ==================================================================
232                           User CalDAV server UserCalDAV
233              ================================================================== -->
234         <UserCalDAV classname="org.bedework.calfacade.configs.CalDAVConfig">
235           <!-- Comment out or delete for no real time server to server service
236                Currently under development and may present a security risk in
237                production systems -->
238           <realTimeServiceURI>/rtsvc</realTimeServiceURI>
239
240           <!-- Comment out or delete for no freebusy url service -->
241           <fburlServiceURI>/fbsvc</fburlServiceURI>
242         </UserCalDAV>
243
244         <!-- ==================================================================
245                           Public (unauthenticated) CalDAV server PublicCalDAV
246              ================================================================== -->
247         <PublicCalDAV classname="org.bedework.calfacade.configs.CalDAVConfig">
248           <!-- Comment out or delete for no real time server to server service
249                Currently under development and may present a security risk in
250                production systems -->
251           <realTimeServiceURI>/rtsvc</realTimeServiceURI>
252
253           <!-- Comment out or delete for no freebusy url service -->
254           <fburlServiceURI>/fbsvc</fburlServiceURI>
255         </PublicCalDAV>
256
257         <!-- ==================================================================
258                           Dump restore program dumpres
259              ================================================================== -->
260         <dumpres classname="org.bedework.calfacade.configs.DumpRestoreConfig">
261           <debug>true</debug>
262           <debugEntity>false</debugEntity>
263           <superGroupName>campusAdminGroups</superGroupName>
264           <defaultPublicCalPath>/public/Other Events/Other</defaultPublicCalPath>
265         </dumpres>
266
267         <!-- ==================================================================
268                           Dump restore program restoreFrom2p3px
269              Use the restore utility to convert from uwcal 2.3
270              ================================================================== -->
271         <restoreFrom2p3px classname="org.bedework.calfacade.configs.DumpRestoreConfig">
272           <debug>true</debug>
273           <debugEntity>false</debugEntity>
274           <from2p3px>true</from2p3px>
275           <timezonesFilename>resources/bwtimezones.xml</timezonesFilename>
276           <superGroupName>campusAdminGroups</superGroupName>
277           <defaultPublicCalPath>/public/Other Events/Other</defaultPublicCalPath>
278         </restoreFrom2p3px>
279       </app>
280     </bedework>
281   </org>
282 </bedework-options>
283
Note: See TracBrowser for help on using the browser.