Commit Graph
3169 Commits
Author SHA1 Message Date
Christoph Anton Mitterer ea1ca0be0c escape version string to prevent XSS for sure
* HTML escape the remotely retrieved version string printed to the HTML in order
  to prevent and attacks (if this would have been possible at all in 12
  characters).

The version string read from the davical.org webserver might be changed by an
attacker in order to perform XSS.
Even though this is highly unlikley (there are only 12 characters used) it's
better to HTML escape any such string that is printed to HTML.

This was originally reported at:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703290
2013-09-02 14:38:05 +12: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
Matthias 92c15bed64 Fixed schedule reply handling for missing organizer 2013-09-02 14:27:40 +12:00
fbiete@gmail.com b97ec56851 CardDAV support for search contains, starts-with, ends-with, equals 2013-09-02 14:27:20 +12:00
Andrew McMillan 1a86165883 Changes to default supported-component-set. 2013-09-02 14:22:12 +12:00
Andrew McMillan bc1ef8b26c ETag/path changes due to regression.host changes. 2013-09-02 14:18:11 +12:00
Andrew McMillan cc8e6a0131 Release 1.1.2 r1.1.2 2013-07-15 13:12:05 +12:00
Andrew McMillan 48d22782f7 Correct regression host name. 2013-07-15 13:11:08 +12:00
Andrew McMillan 8e899ff0e0 Sometimes principal_id can be false. 2013-05-31 09:34:24 +12:00
Andrew McMillan 63586d38d7 Autocreated docs for new classes. 2013-05-31 07:20:44 +12:00
Andrew McMillan bc5edf09cf Handle the ?after=(duration|date) syntax when receiving a PUT of a calendar. 2013-05-29 12:50:50 +12:00
Andrew McMillan 56ee5a62fa Fix very buggy conversion of duration to seconds.
Obviously this was never tested before.
2013-05-29 12:50:02 +12:00
Andrew McMillan 04ad1ac742 Fix typo. 2013-05-28 12:54:44 +12:00
Andrew McMillan 9b7bc8d6e4 Changes in formatting from Transifex. 2013-05-23 13:38:12 +12:00
Andrew McMillan 5200c6d996 Allow adding an 'after=YYYY-MM-DD' or 'after=P72D' parameter
Only applies to PUT of a collection.  This will mean that only events
after that date (or absolute duration prior to today).  All repeating
events will still be included.
2013-05-23 13:37:00 +12:00
Andrew McMillan 115676613d Only certain specific namespaces actually have database columns. 2013-05-23 13:28:54 +12:00
Andrew McMillan eadc73c6be Don't warn on slow queries since this is a batch process. 2013-04-17 12:25:16 +12:00
Andrew McMillan 5065e59596 Also need to change collection_id... 2013-04-16 10:20:03 +12:00
Andrew McMillan f67780c461 Fix typo. 2013-04-16 09:57:38 +12:00
Andrew McMillan 8a5d641297 Once we do archive the events we have to update various things so they realise it too. 2013-04-15 14:49:33 +12:00
Andrew McMillan 0453c9a902 A script for archiving non-repeating events into an archive calendar. 2013-04-11 07:33:14 +12:00
Andrew McMillan 8c1b780ff1 Remove unecessary debug message on normal behaviour. 2013-04-11 07:32:32 +12:00
Andrew McMillan 8f3175248a A corrected change to fix the case of the language name everywhere. 2013-03-06 23:56:40 +13:00
Andrew McMillan bb4ef7f6a4 Release changes for version 1.1.2 2013-03-06 22:30:27 +13:00
Andrew McMillan 25c9fca4b8 Correct capitalisation of 'plpgsql' language for Postgres 9.2. 2013-03-06 20:22:55 +13:00
Andrew McMillan b1eb2bdc5a Content-Type header should be 'charset' not 'encoding'. 2013-02-16 22:23:51 +13:00
Andrew McMillan 9e774b295a When we get here it is a Bad Request, not a Server Error. 2012-09-20 23:54:47 +12:00
Andrew McMillan 584a52cb70 Quick workaround for iOS6 supported-calendar-component-set issue.
Adds a $c->default_calendar_components array of (VEVENT,VTODO,...)
2012-09-20 23:37:22 +12:00
Andrew McMillan 9d7d453211 Workaround client software with imperfect add-member implementations. 2012-09-20 23:35:21 +12:00
Andrew McMillan 20e3e2d91a Fix unassigned variable. 2012-09-20 23:34:36 +12:00
Andrew McMillan 6695b46160 Avoid unassigned variable warning. 2012-09-20 23:34:18 +12:00
Andrew McMillan 121f02069f Fix UID handling. 2012-09-20 23:34:09 +12:00
Andrew McMillan 0a435d4f22 Fix debugging to error log. 2012-09-20 23:33:52 +12:00
Andrew McMillan a3b197a209 Ensure test responses are displayed in their unprocessed form. 2012-08-09 14:10:41 +12:00
Andrew McMillan eb4464aaec Some debugging messages. 2012-08-09 14:10:09 +12:00
Andrew McMillan 5ace348339 Replace deprecated split() with explode() 2012-07-31 22:12:08 +12:00
Andrew McMillan 7a13273e22 First cut at iMIP implementation. Still working on this. 2012-07-30 18:43:35 +12:00
Andrew McMillan 8255f23256 Fix SQL fieldname. 2012-07-30 00:28:17 +12:00
Andrew McMillan 274f8dfa74 Sometimes we want to retrieve the sync-token as a result of a change we just made.
This allows a (default true) flag to indicate whether it's OK to use
a previously cached value.
2012-07-29 23:17:28 +12:00
Andrew McMillan bd06225c93 On Apple devices these can sometimes appear in the Apple namespace. Odd. 2012-07-29 23:16:13 +12:00
Andrew McMillan 873cc272ba Let the VCalendar class handle how to get the UID from the calendar. 2012-07-29 23:15:21 +12:00
Andrew McMillan c28759364f Remove old redundant constructor. 2012-07-25 09:28:26 +12:00
Andrew McMillan d2513bddd5 Add workaround for Apple's POST add-member trainwreck. 2012-07-13 21:54:29 +12:00
Andrew McMillan ed9280c90c We might not have a $request calling this so use the object's path instead. 2012-07-13 20:32:34 +12:00
Andrew McMillan 86b717a390 Testing for dead property XML which is a set of prop. 2012-07-13 20:24:21 +12:00
Andrew McMillan 8fb0479015 supported-calendar-component-set uses dead properties too... 2012-07-13 12:30:34 +12:00
Andrew McMillan b4fd9e2ed2 Don't just return the first element in a dead property - there might be multiple! 2012-07-13 10:45:08 +12:00
Andrew McMillan 7e51fa8541 Release 1.1.1 r1.1.1 2012-07-11 08:39:11 +12:00
Andrew McMillan 0fb4cdd6df URL fixes in regression tests. 2012-07-09 01:17:49 +12:00
Andrew McMillan 4f81556586 Use DeconstructURL rather than rawurldecode since it strips base_name components as well. 2012-07-09 01:17:46 +12:00