]> err.no Git - scalable-opengroupware.org/commitdiff
git-svn-id: http://svn.opengroupware.org/SOGo/trunk@169 d1b88da0-ebda-0310-925b-ed51d...
authorhelge <helge@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Wed, 11 Aug 2004 10:13:56 +0000 (10:13 +0000)
committerhelge <helge@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Wed, 11 Aug 2004 10:13:56 +0000 (10:13 +0000)
OGoContentStore/OCSFolder.m
OGoContentStore/sql/testapt-agenor-helge-privcal.psql [new file with mode: 0644]

index 599fc69424fdeecf26018808c3facf47665804a7..2df2098142928d92d39a29db6ceb273121dd9e29 100644 (file)
@@ -319,6 +319,8 @@ static BOOL doLogStore = NO;
   NSNumber            *now;
   NSString            *qsql, *bsql;
 
+#warning TODO: properly escape SQL specials!
+
   error   = nil;
   nowDate = [NSCalendarDate date];
   now     = [NSNumber numberWithUnsignedInt:[nowDate timeIntervalSince1970]];
diff --git a/OGoContentStore/sql/testapt-agenor-helge-privcal.psql b/OGoContentStore/sql/testapt-agenor-helge-privcal.psql
new file mode 100644 (file)
index 0000000..f443e15
--- /dev/null
@@ -0,0 +1,52 @@
+-- $Id$
+--
+-- (C) 2004 SKYRIX Software AG
+--
+
+DELETE FROM SOGo_helge_privcal 
+  WHERE c_name = 'BD91C454-AA65-11D8-84CA-000D93C1A604';
+DELETE FROM SOGo_helge_privcal_quick
+  WHERE c_name = 'BD91C454-AA65-11D8-84CA-000D93C1A604';
+
+
+
+INSERT INTO SOGo_helge_privcal
+  ( c_name, c_creationdate, c_lastmodified, c_version, c_content )
+VALUES (
+  'BD91C454-AA65-11D8-84CA-000D93C1A604',
+  928383,
+  928383,
+  1,
+  'BEGIN:VEVENT
+DURATION:PT1H
+ATTENDEE;CN="Elke Bethke";DIR="addressbook://B156F3F0-9CFD-11D8-8561-000D93C1A604:ABPerson":mailto:E.Bethke@Sachsen-Anhalt-Lotto.de
+ATTENDEE;CN="Erik Doernenburg";DIR="addressbook://B15FCB0F-9CFD-11D8-8561-000D93C1A604:ABPerson":mailto:erik@x101.net
+ATTENDEE;CN="Christian Schnelle";DIR="addressbook://B1418D4E-9CFD-11D8-8561-000D93C1A604:ABPerson":mailto:cs@enervation.de
+ATTENDEE;CN="Chris Herrenberger";DIR="addressbook://B14A390C-9CFD-11D8-8561-000D93C1A604:ABPerson":invalid:nomail
+ATTENDEE;CN="Horst Parplies";DIR="addressbook://B19B47E5-9CFD-11D8-8561-000D93C1A604:ABPerson":mailto:horst.parplies@freenet.de
+ATTENDEE;CN="Imdat Solak";DIR="addressbook://B19EDB62-9CFD-11D8-8561-000D93C1A604:ABPerson":mailto:imdat@solak.de
+ATTENDEE;CN="Jens Enders";DIR="addressbook://B1B6819F-9CFD-11D8-8561-000D93C1A604:ABPerson":mailto:jens.enders@skyrix.com
+ATTENDEE;CN="Jens Muenster";DIR="addressbook://B1BBA42E-9CFD-11D8-8561-000D93C1A604:ABPerson":mailto:jens.muenster@skyrix.com
+ATTENDEE;CN="Laurent Pierre";DIR="addressbook://9337C270-A825-11D8-B930-000D93C1A604:ABPerson":mailto:laurent.pierre@linagora.com
+ATTENDEE;CN="Marcel Weiher";DIR="addressbook://B1F9BB12-9CFD-11D8-8561-000D93C1A604:ABPerson":mailto:marcel@metaobject.co
+DTSTAMP:20040520T140002Z
+UID:BD91C454-AA65-11D8-84CA-000D93C1A604
+SEQUENCE:3
+STATUS:CONFIRMED
+DTSTART;TZID=Europe/Berlin:20040810T160000
+SUMMARY:SIZE EVENT
+X-WR-ITIPSTATUSML:UNCLEAN
+END:VEVENT
+'
+);
+
+INSERT INTO SOGo_helge_privcal_quick
+  ( c_name, uid, startdate, enddate, title, participants )
+VALUES (
+  'BD91C454-AA65-11D8-84CA-000D93C1A604',
+  'BD91C454-AA65-11D8-84CA-000D93C1A604',
+  1092146400,
+  1092150000,
+  'SIZE EVENT',
+  'Elke Bethke, Erik Doernenburg, Christian Schnelle, Chris Herrenberger, Horst Parplies, Imdat Solak, Jens Enders, Jens Muenster, Laurent Pierre, Marcel Weiher'
+);