6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/27/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#3472] Kronolith acting as WebDav client
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__ ._.. ..__. | |[__) | |__|| | |__|| _|_| ||__|
Comment
>> webdav.php (last attachment) extends sql.php. All database operations > >> are done in sql.php. > > > > If you extend a class, there is no need to implement all the methods > again, only to call the parent class' methods. Only implement those > methods that really need to do something different than the parent > class. The same is true for properties. > > > >> All operations that change the data in the local database are > >> executed in the following order: > >> 1) call saveUpdatesFromWebDAV to recieve a fresh update from webdav > >> 2) do the local database operation (update, new, change, delete, etc) > >> 3) call saveUpdateToWebDAV to save the update back to the webdav server > > > > What happens if the object has been changed on the webdav server > after the user changed the event but before it is saved? Is there the > any way to make sure such conflicts don't happen? > > > >> Note1: I have prepared, so that it should be easy to lock the webdav > >> resource in 1) and release the lock in 3) to aviod inconsistent > >> updates at the webdav server, but it's not done yet. > > > > That would be a good idea, at some point. > > > >> Note2: The saveUpdatesFromWebdav maybe doesn't have to be updated > >> each time the calendar is listed. Maybe a refresh-button somewhere? > > > > I'm not sure. Did you take a look at how often/when we update iCal > remote calendars currently? > > > > Some general notes: > > - Your expected webdav folder structure looks pretty strict, is it > possible to make this more flexible? Which webdav server did you use, > i.e. which is providing this structure? > > - Please take another look at the coding standards. Your indenting is > pretty off, as are some curly braces in if-clauses. > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers