Changeset 47
- Timestamp:
- 01/27/06 14:20:22
- Files:
-
- trunk/calendar3/appcommon/src/org/bedework/appcommon/EventFormatter.java (modified) (2 diffs)
- trunk/calendar3/caldav/src/edu/rpi/cct/uwcal/caldav/CaldavBWIntf.java (modified) (4 diffs)
- trunk/calendar3/calsvc/src/org/bedework/calsvc/CalSvc.java (modified) (1 diff)
- trunk/calendar3/calsvci/src/org/bedework/calsvci/CalSvcI.java (modified) (2 diffs)
- trunk/calendar3/docs/todo.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/calendar3/appcommon/src/org/bedework/appcommon/EventFormatter.java
r27 r47 55 55 package org.bedework.appcommon; 56 56 57 import org.bedework.calfacade.BwDateTime; 57 58 import org.bedework.calfacade.BwEvent; 58 59 import org.bedework.calfacade.ifs.CalTimezones; … … 181 182 try { 182 183 if (end == null) { 184 BwDateTime dt = getEvent().getDtend(); 185 if (dt.getDateType()) { 186 dt = dt.getPreviousDay(ctz); 187 } 183 188 end = new DateTimeFormatter(getCalInfo(), 184 getEvent().getDtend(),189 dt, 185 190 ctz); 186 191 } trunk/calendar3/caldav/src/edu/rpi/cct/uwcal/caldav/CaldavBWIntf.java
r2 r47 55 55 package edu.rpi.cct.uwcal.caldav; 56 56 57 import org.bedework.calenv.CalEnv;58 57 import org.bedework.calfacade.BwCalendar; 59 58 import org.bedework.calfacade.BwEvent; … … 112 111 * 113 112 * <p>As a first pass we'll define webdav urls as starting with <br/> 114 * /user -name/calendar-name/<br/>113 * /user/user-name/calendar-name/<br/> 115 114 * 116 115 * <p>uri resolution should be made part of the core calendar allowing all … … 119 118 * <p>The part following the above prefix probably determines exactly what is 120 119 * delivered. We may want the entire calendar (or what we show by default) or 121 * a single event from the calendar (or does that have the url<br/> 122 * /user-name/event-id.ics<br/> 120 * a single event from the calendar 123 121 * 124 122 * @author Mike Douglass douglm @ rpi.edu … … 179 177 180 178 try { 181 /* 182 if (anonymous) { 183 env = new CalEnv(CalEnv.caldavPublicAppPrefix, debug); 184 } else { 185 env = new CalEnv(CalEnv.caldavPersonalAppPrefix, debug); 186 } 187 */ 188 189 publicCalendarRoot = CalEnv.getGlobalProperty("public.calroot"); 190 userCalendarRoot = CalEnv.getGlobalProperty("user.calroot"); 191 } catch (Throwable t) { 192 throw new WebdavIntfException(t); 193 } 194 195 // uriGen = new UWCalWebURIgen(namespace); 179 publicCalendarRoot = getSvci().getSyspars().getPublicCalendarRoot(); 180 userCalendarRoot = getSvci().getSyspars().getUserCalendarRoot(); 181 } catch (Throwable t) { 182 throw new WebdavIntfException(t); 183 } 196 184 } 197 185 trunk/calendar3/calsvc/src/org/bedework/calsvc/CalSvc.java
r46 r47 329 329 } 330 330 331 /** Get the system pars332 *333 * @return BwSystem object334 * @throws CalFacadeException if not admin335 */336 331 public BwSystem getSyspars() throws CalFacadeException { 337 332 return getCal().getSyspars(); trunk/calendar3/calsvci/src/org/bedework/calsvci/CalSvcI.java
r2 r47 68 68 import org.bedework.calfacade.BwSynchInfo; 69 69 import org.bedework.calfacade.BwSynchState; 70 import org.bedework.calfacade.BwSystem; 70 71 import org.bedework.calfacade.BwUser; 71 72 import org.bedework.calfacade.CalFacadeException; … … 112 113 */ 113 114 public abstract BwStats getStats() throws CalFacadeException; 115 116 /** Get the system pars 117 * 118 * @return BwSystem object 119 * @throws CalFacadeException if not admin 120 */ 121 public abstract BwSystem getSyspars() throws CalFacadeException; 114 122 115 123 /** Get the timezones cache object trunk/calendar3/docs/todo.txt
r42 r47 2 2 3 3 -------------------------------------------------------------------------------- 4 -------------------------------------------------------------------------------- 5 Check all day events are correct in all clients. 4 6 -------------------------------------------------------------------------------- 5 7 Unremovable subscriptions
