Wykres commitów

64 Commity (3d4447fffbe1973a41a6b4b66e11ac8b35aebe40)

Autor SHA1 Wiadomość Data
Tanguy Pruvot 3d4447fffb fix duration parsing if regexp fails - added some Duration Unit Tests 2010-10-29 10:44:38 +02:00
Tanguy Pruvot 233c4d9ffc update test, event getEnd() was modified 2010-10-29 09:57:09 +02:00
Tanguy Pruvot 8719799e9e added test.sh for unit tests 2010-10-29 09:46:57 +02:00
Tanguy Pruvot 911a6b6080 check duration regexp result and ignore only common warning 2010-10-29 09:17:58 +02:00
Tanguy Pruvot 0cd26e11a2 public objects, they are protected themself 2010-10-29 09:09:20 +02:00
Tanguy Pruvot 8ddf2c8b9a change order of requires 2010-10-29 08:46:03 +02:00
Tanguy Pruvot 9c3d8d9fec fix date format modifier 2010-10-29 08:45:35 +02:00
Tanguy Pruvot 43661c4d85 comment header : added github url and fixed sample 2010-10-29 06:52:19 +02:00
Tanguy Pruvot ab7336d9d0 - new method getRangeEnd() to get end of recurrence of event, fixed Between() and After()
- recurrence object and data array members are now public
2010-10-29 06:50:59 +02:00
Tanguy Pruvot d7bc4dfbca ignore built file 2010-10-29 06:17:22 +02:00
Tanguy Pruvot 67bf66c910 i hate private $vars :p replaced by protected 2010-10-29 05:17:55 +02:00
Tanguy Pruvot 107781fe43 fix recurrent events Between() query, could break $evt->getEnd() but not in these classes 2010-10-29 05:02:17 +02:00
Tanguy Pruvot 3181917e2c variable for build output 2010-10-29 04:49:18 +02:00
Tanguy Pruvot 5b5012f71d fix remaining $evs 2010-10-29 03:54:57 +02:00
Tanguy Pruvot f28be0bc55 fix warnings for optional regexp blocks 2010-10-29 03:26:02 +02:00
Tanguy Pruvot decebcd3b5 build.cmd (need gnuwin32) 2010-10-29 03:21:57 +02:00
Tanguy Pruvot f1ca86fc1c fix to build Recurrence 2010-10-29 03:05:17 +02:00
Tanguy Pruvot 760418f6b4 add missing requires 2010-10-29 03:03:19 +02:00
Tanguy Pruvot 8b5be46c25 use PHP 5.2+ DateTimeZone objects if available to get active daylight state
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2010-10-29 02:57:37 +02:00
Morten Fangel e0d25803d2 Changed the Fetch-method on the Parser so it supports local files 2010-02-10 13:00:50 +01:00
Steven Oxley d5f52a297a Added a method for find the very last occurrence of an event. 2009-10-28 17:02:05 -04:00
Steven Oxley 8ca1c0297f Added a test to the FreqTest.php tests. 2009-10-28 17:00:08 -04:00
Steven Oxley 6496c4f1f9 Changed the name of the 'lastOccurrence' method to 'previousOccurrence' so that it describes the actual behavior. 2009-10-27 17:42:14 -04:00
Steven Oxley f8d988b4b6 Added test suites so that regression testing is easier. 2009-10-27 12:14:14 -04:00
Steven Oxley 7464dfbef5 Fixed a bug with calculating the offset for a timezone.
Previously, it was just checking to see if daylight savings time had started for that year.  Now it checks to see which happened last - the switch to daylight savings or the switch back to standard time.
2009-10-27 12:07:10 -04:00
Steven Oxley 1e3147ecb2 Added 'until' support for figuring out the end date of an event. 2009-10-27 12:05:04 -04:00
Steven Oxley bff0c9b08c Fixed a bug that was introduced with the removal of the hasParam() method. 2009-10-27 10:29:56 -04:00
Steven Oxley 14f4772efe Created tests for the VEvent class. 2009-10-27 09:44:57 -04:00
Steven Oxley c5b1402ab9 Fixed what I believe was a bug involving timezones and timestamp parsing. It now works as I would expect it to. 2009-10-27 09:44:01 -04:00
Steven Oxley b7ecdff2ab Added a class for parsing RRULE lines. 2009-10-22 18:04:00 -04:00
Steven Oxley 097b861a4e Changed SG_iCalReader.php to SG_iCal.php in build.sh to accomodate the name change. 2009-10-21 17:56:14 -04:00
U-PRECISION-T3500\sajo 7146d1cf6a Fixed some problems with the unit tests - specifically a mis-named file and a timezone problem (not everyone lives in Copenhagen :P ). 2009-10-21 16:59:04 -04:00
fangel 047ea8e7b3 Added a method for parsing strings instead of urls (on suggestion from A. Obrero) 2009-02-28 09:21:07 +00:00
fangel 56b590b06a Renamed SG_iCalReader.php to SG_iCal.php 2009-01-10 11:12:56 +00:00
fangel 4a0982f9fd Renamed SG_iCalReader to SG_iCal. Moved the parsing to a separate class. 2009-01-10 11:10:45 +00:00
fangel f702b4a79b First few tests added. Freq-tests are from the RFC's list of rules and known recurrences. 2008-04-18 20:19:44 +00:00
fangel c64e54fcc5 First working draft of Freq-calculation. Needs reworking, but sure work for most rules now. SETPOS and WKST not supported, and has issues when more than one multi-rule 2008-04-18 20:18:53 +00:00
fangel f6c9aae241 Added check for safe-mode before trying to set curlopt follow location 2008-04-09 11:59:56 +00:00
fangel 57b118ef98 Added implicit call to getData when getting section-names.. 2008-04-09 11:57:55 +00:00
fangel c306da79f4 Fixed issue with SG_iCal_Query and supplying the SG_iCalReader directly, instead of the Events array. 2008-03-25 18:36:18 +00:00
fangel b17871f72d Added comments to SG_iCal_Query::Sort 2008-03-25 18:28:25 +00:00
fangel 3129a15965 Improved SG_iCal_Query and added run-time inclusion of it. 2008-03-25 18:26:52 +00:00
fangel 9a6ac5a6fa Added getProperty functionality to VEvent.
Fixed bug relating to TZs. (I so I hope)
2008-03-25 18:26:16 +00:00
fangel 9bd65c634d Added another replacement: \" -> ". 2008-03-25 18:25:33 +00:00
fangel 2c4dc52c76 Changed build-script to first take SG_iCalReader, then the helpers then the blocks 2008-03-19 09:42:45 +00:00
fangel db3e10f5a2 Changed VEvent.isConfirmed to return VEvent.DEFAULT_CONFIRMED when no status is defined. This is because alot of calendars doesn't have the status field, and returning false isn't always what's wanted.
No sure what the RFC says, couldn't find the default value for STATUS
2008-03-19 09:35:14 +00:00
fangel 87bf23b6d0 Added replacement for ':', in SG_iCal_Line 2008-03-01 09:25:13 +00:00
fangel e6878d3281 Added a getDuration method to SG_iCal_VEvent 2008-03-01 08:59:29 +00:00
fangel 4b306bf68d Added the SG_iCal_Query class with a collection of functions to query a calendar for events.
Updated road-map.
2008-03-01 08:53:15 +00:00
fangel 1ba645df03 Changed version to hardcoded since the keyword doesnt seem to kick in. 2008-02-29 13:34:46 +00:00