Steve Brokenshire [Sun, 29 May 2016 19:34:25 +0000 (20:34 +0100)]
Added the ProcessXMLEntryList function for the CalDAV class
Steve Brokenshire [Sun, 29 May 2016 19:26:59 +0000 (20:26 +0100)]
Added unit tests for the GetEntryList functions in the CalDAV object.
Steve Brokenshire [Sun, 29 May 2016 19:26:29 +0000 (20:26 +0100)]
Added the GetEntryList functions for the CalDAV object.
Steve Brokenshire [Sun, 29 May 2016 19:07:07 +0000 (20:07 +0100)]
Perform checks if XML Node(s) have been found or not.
The addition of this check improves the reliability of Xestia Calendar.
Steve Brokenshire [Sun, 29 May 2016 19:01:58 +0000 (20:01 +0100)]
Added support to add a calendar using a shortname.
Added support to add a calendar using a shortname instead of a randomly
generated UUID.
Steve Brokenshire [Sun, 29 May 2016 18:57:05 +0000 (19:57 +0100)]
Get the sync-token value for the calendars.
When using the GetCalendars function in the CalDAV class to get the list
of calendars, also get the sync-token for the calendar.
Steve Brokenshire [Mon, 2 May 2016 08:20:31 +0000 (09:20 +0100)]
When processing calendars, attempt to get the sync-token.
Steve Brokenshire [Mon, 2 May 2016 08:16:49 +0000 (09:16 +0100)]
Added option to populate a CalDAV calendar in the unit testing application
Steve Brokenshire [Sat, 30 Apr 2016 23:26:43 +0000 (00:26 +0100)]
Clean up in unit testing for CalDAV and in the CalDAV object itself.
Steve Brokenshire [Sat, 30 Apr 2016 23:24:47 +0000 (00:24 +0100)]
Added code and unit tests for editing entries in the CalDAV object
Added the following subroutines to the CalDAV object:
CalDAVServerResult EditEntry(string *CalendarEntryHREF, string
*EntryData, string *EntryETag);
Unit tests setup for deleting calendars under CalDAV/EditEntry
testing the above function.
Steve Brokenshire [Sat, 30 Apr 2016 23:18:17 +0000 (00:18 +0100)]
Updated code for AddEntry in the CalDAV object.
Steve Brokenshire [Sat, 30 Apr 2016 20:52:04 +0000 (21:52 +0100)]
Created EntryUUID string for adding and editing entries
Steve Brokenshire [Sat, 30 Apr 2016 20:43:49 +0000 (21:43 +0100)]
Added code and unit tests for deleting entries in the CalDAV object
Added the following subroutines to the CalDAV object:
GetEntryETag(*string);
Unit tests setup for deleting calendars under CalDAV/GetEntryETag
testing the above function.
Steve Brokenshire [Mon, 25 Apr 2016 23:05:39 +0000 (00:05 +0100)]
Added the SplitPathFilename subroutine and unit tests
Steve Brokenshire [Sun, 24 Apr 2016 22:24:27 +0000 (23:24 +0100)]
Added code and unit tests for deleting entries in the CalDAV object
Added the following subroutines to the CalDAV object:
DeleteEntry(*string);
Unit tests setup for deleting calendars under CalDAV/DeleteEntry
testing the above function.
Steve Brokenshire [Sun, 24 Apr 2016 20:54:06 +0000 (21:54 +0100)]
Removed code to output of CalendarEditHREF address to console
This code appeared in the DeleteCalendar function of the CalDAV object.
Steve Brokenshire [Sun, 24 Apr 2016 20:53:24 +0000 (21:53 +0100)]
Forgot to add unit tests for AddEntry in CalDAV object.
Steve Brokenshire [Sun, 24 Apr 2016 20:52:58 +0000 (21:52 +0100)]
Added code and unit tests for AddEntry in the CalDAV object.
Steve Brokenshire [Sun, 24 Apr 2016 19:24:37 +0000 (20:24 +0100)]
Don't add a calendar when trying to delete a calendar in unit testing
Steve Brokenshire [Sat, 23 Apr 2016 23:35:55 +0000 (00:35 +0100)]
Moved resetting and result processing code in CalDAV::GetCalendars()
Steve Brokenshire [Sat, 23 Apr 2016 23:34:35 +0000 (00:34 +0100)]
Added code and unit tests for deleting calendars in the CalDAV object
Added the following subroutines to the CalDAV object:
DeleteCalendar(*string);
Unit tests setup for deleting calendars under CalDAV/DeleteCalendar
testing the above function.
Steve Brokenshire [Sat, 23 Apr 2016 23:33:12 +0000 (00:33 +0100)]
Added code and unit tests for editing calendars in the CalDAV object
Added the following subroutines to the CalDAV object:
EditCalendarProcess(*string, *string, *Colour, *string, *int);
EditCalendar(*string, *string, *Colour, *string, *int);
EditCalendar(*string, *Colour);
EditCalendar(*string, *string);
EditCalendar(*string, *int);
EditCalendarDescription(*string, *string);
Unit tests setup for editing calendars under CalDAV/EditCalendar testing
the above functions.
Steve Brokenshire [Sat, 23 Apr 2016 23:24:51 +0000 (00:24 +0100)]
Removed output of address to console in AddCalendar
Steve Brokenshire [Sat, 23 Apr 2016 23:22:26 +0000 (00:22 +0100)]
/principals should be /principals/
/principals should be /principals/ in various parts of the CalDAV object
when restoring the settings back to their original state.
Subroutines affected in the CalDAV object:
GetCalendarHome(string);
AddCalendar(string);
Steve Brokenshire [Thu, 21 Apr 2016 23:07:03 +0000 (00:07 +0100)]
Added the IntToHex function.
Steve Brokenshire [Thu, 21 Apr 2016 23:06:36 +0000 (00:06 +0100)]
Added Unit tests for the Colour struct.
Steve Brokenshire [Wed, 20 Apr 2016 21:45:23 +0000 (22:45 +0100)]
Replace reference of XAB with Xestia Calendar common/colour.h
XAB = Xestia Address Book
Steve Brokenshire [Wed, 20 Apr 2016 21:44:34 +0000 (22:44 +0100)]
Forgot inclusion guard for the Colour struct. Whoops.
Steve Brokenshire [Wed, 20 Apr 2016 21:29:37 +0000 (22:29 +0100)]
Added Colour struct
Steve Brokenshire [Sun, 17 Apr 2016 20:36:22 +0000 (21:36 +0100)]
Added the AddCalendar function.
Added the AddCalendar function to the CalDAV object. Unit tests also
done for the function.
Steve Brokenshire [Sun, 17 Apr 2016 15:59:23 +0000 (16:59 +0100)]
Added code and unit tests to list calendars from the server.
Steve Brokenshire [Sun, 17 Apr 2016 13:09:08 +0000 (14:09 +0100)]
Added HexToInt function and unit tests for it.
HexToInt converts a value from a string to a integer. Pointers are used
to optimise the memory usage.
Steve Brokenshire [Sat, 16 Apr 2016 22:31:48 +0000 (23:31 +0100)]
Renamed MatchXMLName to MatchXMLNameTransverse in the CalDAV object
Steve Brokenshire [Sun, 6 Mar 2016 11:10:24 +0000 (11:10 +0000)]
fixup! Added the GetCalendarHome function to the CalDAV header.
Steve Brokenshire [Sun, 6 Mar 2016 11:10:14 +0000 (11:10 +0000)]
Initial version of CalDAV::GetCalendars
Doesn't return a list of calendars at present, but prints the list to
std::cout XML formatted (ProcessXMLCalendarAddresses will need to be
created).
Steve Brokenshire [Sun, 6 Mar 2016 10:55:16 +0000 (10:55 +0000)]
Added ProcessXMLCalenadrHome to the CalDAV Object.
Steve Brokenshire [Sun, 6 Mar 2016 10:54:12 +0000 (10:54 +0000)]
Added the GetCalendarHome function to the CalDAV header.
Steve Brokenshire [Sun, 6 Mar 2016 10:51:57 +0000 (10:51 +0000)]
Added the GetCalendarHome function to the CalDAV object.
Steve Brokenshire [Sun, 6 Mar 2016 10:45:40 +0000 (10:45 +0000)]
Added unit tests for the CalDAV::GetCalendarHome function.
Steve Brokenshire [Thu, 3 Mar 2016 03:51:46 +0000 (03:51 +0000)]
Added separate C++ file for processing XML data within the CalDAV object.
Steve Brokenshire [Thu, 3 Mar 2016 03:51:15 +0000 (03:51 +0000)]
Added unit tests to the ListCalendars CalDAV object tests.
Steve Brokenshire [Thu, 3 Mar 2016 03:50:40 +0000 (03:50 +0000)]
Added the CalDAVSendData struct and added more subroutines to the CalDAV object
Steve Brokenshire [Thu, 3 Mar 2016 03:49:44 +0000 (03:49 +0000)]
Add libxml2 headers to the CalDAV object.
Steve Brokenshire [Thu, 3 Mar 2016 03:49:22 +0000 (03:49 +0000)]
Reset the connection status in CalDAV and add GetUserPrincipal
Steve Brokenshire [Thu, 3 Mar 2016 03:48:57 +0000 (03:48 +0000)]
Set the connection results after attempting to fetch data in GetServerSupport.
Steve Brokenshire [Thu, 3 Mar 2016 03:46:09 +0000 (03:46 +0000)]
Added the GetServerResult subroutine in the CalDAV object.
Steve Brokenshire [Thu, 3 Mar 2016 03:39:43 +0000 (03:39 +0000)]
Changed the subroutine from CalDAVOutput to CalDAVReceive when connecting.
Steve Brokenshire [Thu, 3 Mar 2016 03:38:46 +0000 (03:38 +0000)]
Added the CalDAVSend subroutine which is used when uploading data.
Steve Brokenshire [Thu, 3 Mar 2016 03:36:45 +0000 (03:36 +0000)]
Renamed CalDAVOutput to CalDAVReceive
Steve Brokenshire [Wed, 2 Mar 2016 12:19:42 +0000 (12:19 +0000)]
Adde code and unit tests for checking CalDAV support.
Steve Brokenshire [Wed, 2 Mar 2016 11:26:34 +0000 (11:26 +0000)]
Added code to build server address from subroutine and also unit tests.
Steve Brokenshire [Tue, 1 Mar 2016 18:24:12 +0000 (18:24 +0000)]
Moved ServerData and ServerHeader to the CalDAV object header.
Steve Brokenshire [Tue, 1 Mar 2016 17:30:21 +0000 (17:30 +0000)]
Added initial unit tests for CalDAV/ListCalendars
Steve Brokenshire [Tue, 1 Mar 2016 17:09:21 +0000 (17:09 +0000)]
Added Timeout setting to CalDAVConnectionData/CalDAVStatus
Steve Brokenshire [Tue, 1 Mar 2016 17:06:06 +0000 (17:06 +0000)]
Aded unit tests for checking when a server timeouts.
Steve Brokenshire [Tue, 1 Mar 2016 11:59:39 +0000 (11:59 +0000)]
Added unit tests for checking the invalid SSL certificate.
Steve Brokenshire [Tue, 1 Mar 2016 10:16:48 +0000 (10:16 +0000)]
Added unit tests for checking that the InvalidSSL connection data matches.
Steve Brokenshire [Tue, 1 Mar 2016 09:53:32 +0000 (09:53 +0000)]
Added unit tests to connect to a SSL server with a valid certificate.
Steve Brokenshire [Mon, 29 Feb 2016 15:13:22 +0000 (15:13 +0000)]
Added unit tests for verifying that the settings match in CalDAVNormal
Steve Brokenshire [Mon, 29 Feb 2016 15:08:21 +0000 (15:08 +0000)]
Renamed Fail to InvalidSSL.
Steve Brokenshire [Mon, 29 Feb 2016 15:07:51 +0000 (15:07 +0000)]
Moved line for getting the connection details of CalDAVPlainStatus.
Steve Brokenshire [Mon, 29 Feb 2016 03:26:06 +0000 (03:26 +0000)]
Added unit tests to check that the connection fails using invalid settings.
Steve Brokenshire [Mon, 29 Feb 2016 03:06:24 +0000 (03:06 +0000)]
Added <iostream> to CalDAV.h
Steve Brokenshire [Mon, 29 Feb 2016 03:06:15 +0000 (03:06 +0000)]
Moved <iostream> include to CalDAV.h and written the CalDAVOutput subroutine.
Steve Brokenshire [Mon, 29 Feb 2016 03:04:23 +0000 (03:04 +0000)]
Added code for getting ServerData and ServerHeader in CalDAV::Connect()
Steve Brokenshire [Sun, 28 Feb 2016 23:56:35 +0000 (23:56 +0000)]
Added unit tests for the plain connection for the CalDAV object.
Steve Brokenshire [Sun, 28 Feb 2016 23:50:58 +0000 (23:50 +0000)]
Added curl header include and curl_global_init for initialising cURL.
Steve Brokenshire [Sun, 28 Feb 2016 23:50:37 +0000 (23:50 +0000)]
Added initial functions for CardDAV
Steve Brokenshire [Sun, 28 Feb 2016 23:47:15 +0000 (23:47 +0000)]
Fixed code for checking if a CalDAVConnectionData object is valid.
Steve Brokenshire [Fri, 26 Feb 2016 08:25:54 +0000 (08:25 +0000)]
Amendend copyright and license headers with the correct filenames.
Steve Brokenshire [Fri, 26 Feb 2016 08:25:31 +0000 (08:25 +0000)]
Inserted copyright and license header for xestiacalendar_commonfunctions.h
Steve Brokenshire [Fri, 26 Feb 2016 08:19:47 +0000 (08:19 +0000)]
Inserted copyright and license header for xestiacalendar_testcommon.{cpp,h}
Steve Brokenshire [Fri, 26 Feb 2016 08:19:21 +0000 (08:19 +0000)]
Corrected filename in copyright & license header in xestiacalendar_caldav.h
Steve Brokenshire [Fri, 26 Feb 2016 08:18:53 +0000 (08:18 +0000)]
Inserted copyright and license header for CalDAV.cpp & CalDAV.h
Steve Brokenshire [Thu, 25 Feb 2016 23:34:48 +0000 (23:34 +0000)]
Corrected pointer.
Steve Brokenshire [Thu, 25 Feb 2016 22:33:14 +0000 (22:33 +0000)]
DateFileResult comparisons should be == not !=
Steve Brokenshire [Thu, 25 Feb 2016 21:51:35 +0000 (21:51 +0000)]
Merge branch 'master' of ssh://digit.mahou.co.uk/home/kirinji/repos/xestiacal
Steve Brokenshire [Thu, 25 Feb 2016 18:39:56 +0000 (18:39 +0000)]
Added the CalDAVObjectValidSettings subroutine.
Steve Brokenshire [Thu, 25 Feb 2016 18:36:23 +0000 (18:36 +0000)]
Added variables to the CalDAVStatus struct.
Steve Brokenshire [Thu, 25 Feb 2016 18:35:50 +0000 (18:35 +0000)]
Added PROCESSCONNECTIONDATAFILE_INVALID to ProcessConnectionDataFileResult
Steve Brokenshire [Thu, 25 Feb 2016 18:35:19 +0000 (18:35 +0000)]
Check if CalDAVConnectionData contains valid settings.
Steve Brokenshire [Thu, 25 Feb 2016 18:33:52 +0000 (18:33 +0000)]
Process the data files and load them into the CalDAVConnectionData objects.
Steve Brokenshire [Wed, 24 Feb 2016 22:58:35 +0000 (22:58 +0000)]
Included stdexcept in the common function tests.
Kiri [Tue, 23 Feb 2016 21:15:33 +0000 (21:15 +0000)]
Added code to process the configuration files in the CalDAV unit tests.
Steve Brokenshire [Mon, 22 Feb 2016 22:16:37 +0000 (22:16 +0000)]
Updated the ProcessConnectionDataFile subroutine.
Steve Brokenshire [Mon, 22 Feb 2016 00:56:51 +0000 (00:56 +0000)]
Added common include header to the CalDAV Unit tests
Steve Brokenshire [Mon, 22 Feb 2016 00:56:27 +0000 (00:56 +0000)]
Added common functions for the unit testing application
Kiri [Sat, 20 Feb 2016 09:48:44 +0000 (09:48 +0000)]
Added initial versions of several CalDAV objects.
Steve Brokenshire [Thu, 18 Feb 2016 21:25:12 +0000 (21:25 +0000)]
Initial version of the CalDAV unit testing.
Steve Brokenshire [Thu, 18 Feb 2016 21:25:01 +0000 (21:25 +0000)]
Initial version of the CalDAV object.
Steve Brokenshire [Thu, 18 Feb 2016 21:07:25 +0000 (21:07 +0000)]
Added menu option for unit testing the CalDAV Object.
Steve Brokenshire [Tue, 16 Feb 2016 22:14:13 +0000 (22:14 +0000)]
Added unit tests for VALARM in iCalendarTask
Steve Brokenshire [Tue, 16 Feb 2016 22:06:26 +0000 (22:06 +0000)]
Added ATTACH unit tests for the third VALARM in iCalendarEvent/AlarmTests
Steve Brokenshire [Tue, 16 Feb 2016 22:03:40 +0000 (22:03 +0000)]
Added VALARMs to iCalendarTask-Load2.vcf
Steve Brokenshire [Tue, 16 Feb 2016 21:56:27 +0000 (21:56 +0000)]
Added ATTACH to the third VALARM section in iCalendarEvent-Load2.vcf
Steve Brokenshire [Tue, 16 Feb 2016 21:55:26 +0000 (21:55 +0000)]
Added code to process VALARMs in CalendarTaskObject.
Steve Brokenshire [Sun, 14 Feb 2016 14:28:09 +0000 (14:28 +0000)]
Added the third VALARM section and moved the first VALARM section.
Steve Brokenshire [Sun, 14 Feb 2016 14:27:45 +0000 (14:27 +0000)]
Removed the ProcessEvents subroutine from CalendarEventObject.
Steve Brokenshire [Sun, 14 Feb 2016 14:26:47 +0000 (14:26 +0000)]
Added code to check for an EMAIL VALARM.
Steve Brokenshire [Sun, 14 Feb 2016 14:26:27 +0000 (14:26 +0000)]
Added code to process SUMMARY, ATTENDEE and ATTACH for VALARM