Nomad Arton
0164cd38ab
Move log_caldav_action() so that it is called before the DELETE
2018-01-11 13:57:03 +00:00
Andrew McMillan
5edf66321d
Fix common etag match code, use it everywhere.
2018-01-10 21:50:55 +00:00
Florian Schlichting
eb7f2edc0c
eliminate trailing whitespace, expand tabs
2016-12-30 08:52:44 +01:00
Andrew McMillan
2a202c77a2
Ensuring we delete vigorously from the cache for DELETE is ++important!
2016-06-22 22:41:05 +01:00
Andrew McMillan
0f41ade035
Bugs pointed out by PHPStorm.
2016-06-22 22:27:16 +01:00
Petr Jurášek
f03c0ecc3b
Windows phone 8.1 sends ETag=*, see https://www.ietf.org/rfc/rfc2068.txt , chapter 14.25
2015-07-09 08:41:48 +02:00
Christoph Anton Mitterer
8e60bb3124
set line endings of most text files to LF
...
* Changed the end-of-line encodings of all non-Windows-related and non-autogenerated text files to use UNIX LF (lots of them had mixed LF/CRLF).
Conflicts:
inc/caldav-PUT-functions.php
2013-09-02 14:37:23 +12:00
Andrew McMillan
7c15051f84
Further fixes to WebDAV synchronization.
...
This should be fully reliable now and also cleans out all sync
changes more than one week old. update-database is needed to pull
the new function.
2012-04-17 15:44:09 +12:00
Andrew McMillan
11cb332603
Make sure we increment the sync-token on PUT / DELETE.
2012-04-11 00:39:07 +12:00
Andrew McMillan
a34203a7b8
Sometimes we want the action hook to be post commit.
...
This adds another hook, and makes log_caldav_action() regular
across both PUT and DELETE (in a transaction), adding post_commit_hook()
as a method with the same signature which is called after the actual
commit, and also matches in both cases.
2012-04-10 23:30:07 +12:00
Andrew McMillan
d8d16c8ee9
Checkpoint the current code for scheduling on DELETE .
2011-11-02 01:30:45 +13:00
Andrew McMillan
805a91f3ef
Fix deprecated calls.
2011-09-14 23:02:53 +12:00
Andrew McMillan
aa05688e4e
Test for IsCollection() before IsBinding() when we are deleting.
2011-09-12 10:52:16 +12:00
Andrew McMillan
441a0318bd
Add support for locking with memcached during delete to avoid deadlocks.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-02-23 11:31:21 +13:00
Andrew McMillan
4178ab4254
Add caching of collection reads
...
Also a special header is added for telling DAViCal to flush the
cache during regression testing etc.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-01 21:25:46 +13:00
Andrew McMillan
36d564452e
Check for unbind permission on container before DELETE.
2010-03-25 14:59:40 +13:00
Andrew McMillan
4d9dd91988
Restructure and add support for DELETE on a Bind.
2010-03-18 20:00:36 +13:00
Andrew McMillan
640f2e64f2
Remove ancient hack to cope with broken Evolution < v1.9
2010-03-18 13:51:51 +13:00
Andrew McMillan
12b8f097d7
Remove dependence on PgQuery.
2010-03-17 20:19:35 +13:00
Andrew McMillan
d419e50465
Fully switched DELETE to AwlQuery now.
2010-03-09 09:19:45 +13:00
Andrew McMillan
66de7f8a9a
Update the sync changes for deletion of a calendar.
2010-02-03 11:54:49 -08:00
Andrew McMillan
24a8971080
Initial support for draft-daboo-webdav-sync-01
2009-10-13 21:29:40 +13:00
Andrew McMillan
950a770450
Now with testing!
2009-08-24 12:08:50 +12:00
Andrew McMillan
eddb05c2b1
Preliminary commit to add ability to log caldav actions (untested).
2009-08-24 11:22:58 +12:00
Andrew McMillan
4b3378a9e4
Make sure property records get deleted along with collections/resources.
2008-11-22 22:13:26 +13:00
Andrew McMillan
5c8cfa4031
Rename @package to davical.
2008-09-18 12:03:00 +12:00
Andrew McMillan
9102509d1a
Improve translatability and understanding for non-geeks.
2006-12-28 13:07:39 +13:00
Andrew McMillan
88e39a02ff
Remove redundant code checking value of user_no.
2006-12-10 15:34:55 +13:00
Andrew McMillan
19761d350d
Whoops - fix regression.
2006-12-06 23:47:36 +13:00
Andrew McMillan
57e3d00448
No user_no column on locks, although perhaps there should be.
2006-12-06 23:42:56 +13:00
Andrew McMillan
55c2dd5ca4
Ensure locks are deleted along with any collection.
2006-12-06 23:21:58 +13:00
Andrew McMillan
ed65ec1294
Correct response code for normal behaviour per RFC2518. Write handling for
...
collections, since we now actually have such beasts.
2006-12-06 21:50:12 +13:00
Andrew McMillan
00bae378cf
Updated DELETE to work with new request object.
2006-11-27 01:38:00 +13:00
Andrew McMillan
b4cfd93fd7
Fix deletion from RW accessible calendar which is not yours.
2006-11-22 07:14:47 +13:00
Andrew McMillan
1639f0f1ca
More code cleanups - adding phpdoc header to all caldav component parts.
2006-10-11 16:38:53 +13:00
Andrew McMillan
17ac937376
More formally meet specification, particularly If-Match and If-None-Match,
...
but with a specific workaround for Evolution <= 1.8.
2006-10-11 13:31:36 +13:00
Andrew McMillan
2b8b67ab0b
Kind of working now, with either Lighting or Evolution.
2006-09-24 17:08:39 +12:00
Andrew McMillan
a57d690167
Kinda working with both Lightning & Evolution now. About to restructure to
...
add TODO items and make certain queries easier.
2006-09-21 18:24:26 +12:00
Andrew McMillan
d64d2b4000
Now storing events, including parsing them into further SQL.
2006-09-12 04:36:37 -05:00
Andrew McMillan
dc4526c3d7
Kinda working. Nearly packaged.
2006-09-11 22:30:00 +12:00