Commit graph

121 commits

Author SHA1 Message Date
Ludovic Marcotte bfaaf6eb34 Revert back to using GNUSTEP_SYSTEM_LIBRARIES for teststrings 2014-12-16 13:17:59 -05:00
Ludovic Marcotte 68655deabd Improved rpath handling (#2996) 2014-12-16 12:36:08 -05:00
Ludovic Marcotte 624af1c0fb Fixed test 2014-11-10 08:58:30 -05:00
Ludovic Marcotte 3264458f4b Added back -L directives to properly compile teststrings 2014-10-14 11:27:08 -04:00
Ludovic Marcotte 5f811e1a4e Added rpath for integration tests 2014-10-14 10:43:52 -04:00
Ludovic Marcotte 4b76e2b933 Added lib64 in the search path 2014-10-14 08:43:28 -04:00
Ludovic Marcotte ff9d49be71 Dropped rpath since it seems to be ignored on el5 2014-10-08 10:25:46 -04:00
Ludovic Marcotte 7f49dcb2fa Avoid using SOGO_SYSLIBDIR when testing since it's undefined 2014-10-02 13:10:54 -04:00
Ludovic Marcotte f88cfae611 Improved and simplified rpath 2014-10-02 12:36:22 -04:00
Ludovic Marcotte f93c06e6a9 Fixed include 2014-10-02 10:50:34 -04:00
Ludovic Marcotte 68d79472a5 Fixed makefile for teststrings due to sogo lib change 2014-10-02 10:46:47 -04:00
Jeroen Dekkers 6ded9e95b3 Put private libraries in /usr/lib/sogo 2014-10-01 20:36:42 +02:00
Ludovic Marcotte ce1896b627 Fixed typo 2014-09-17 09:36:35 -04:00
Luc Charland 3ad9327d17 putting test-prevent-invitations back in 2014-09-10 10:25:42 -04:00
Luc Charland 606ee9780e dont test prevent invitations 2014-09-04 22:36:02 -04:00
Luc Charland c6f82dac01 catch specific exception 2014-09-04 22:24:32 -04:00
Luc Charland e37a603632 should help some builds that might timeout 2014-09-04 21:59:36 -04:00
Luc Charland 031e4c9409 more of the same 2014-09-03 22:43:49 -04:00
Luc Charland c621bbcd56 Those need the same adjustments 2014-09-03 22:32:46 -04:00
Luc Charland 4b94a183be urllib.quote needs a string 2014-09-03 13:50:13 -04:00
Luc Charland ced0962894 Added white_listed_attendee to the config file 2014-08-28 10:43:32 -04:00
Luc Charland d749d5c2fb Added tests for prevent invitation and whitelist 2014-08-27 13:31:49 -04:00
Ludovic Marcotte b05fcc7d82 Fat commit to refactor the quick record generation 2014-07-30 14:51:00 -04:00
Ludovic Marcotte 4eefa4c269 Fixed test since we now return a 200 instead of a 204 2014-07-25 08:12:12 -04:00
Ludovic Marcotte 22f5ed62fe Fixed tests regarding default permissions on CalDAV collections 2014-06-25 10:14:28 -04:00
Ludovic Marcotte bc2b41f383 Fixed unit test. 2014-05-08 09:13:37 -04:00
Ludovic Marcotte 744610dbe1 Fixed tests regarding new WebDAV sync responses 2013-09-25 08:46:34 -04:00
Jean Raby b654ffb806 add webdavsync-tool.py
first draft of a small tool to simulate a TB calendar sync
2013-08-02 16:56:36 -04:00
Jean Raby 6de689bbe2 Add depth support to CalendarMultiget 2013-08-02 15:41:24 -04:00
Jean Raby 3877f3001f replace xml.dom.ext by xml.dom.minidom 2013-08-01 12:48:42 -04:00
Francis Lachapelle 37a6f82659 Initial Arabic translation 2013-04-08 11:05:45 -04:00
Jean Raby 63ff9751d7 Add ics_compare and use it in _testRespondTo()
This new class uses vobject.ics_diff() to compare 2 VCALENDAR components.
We should use this instead of textually comparing events for equality
in future tests.
2013-03-11 11:37:59 -04:00
Jean Raby 1e4f737a7d test-sogo-tool.py: Use sudo instead of su - 2013-01-22 15:24:21 -05:00
Francis Lachapelle 775a8421d5 Initial Finnish translation 2013-01-16 10:54:16 -05:00
Francis Lachapelle ce36e80d6b Initial Slovak translation 2012-11-29 14:40:46 -05:00
Jean Raby d82ba7cbb9 Reorder VCALENDAR template elements
It must match [iCalCalendar orderOfElements]
2012-11-13 15:01:30 -05:00
Jean Raby fa0db25b16 Use self.attendee1_client when adding his event
Use self.attendee1_client instead of self.client when calling _putevent
2012-09-21 13:16:50 -04:00
Jean Raby aeef968c4e * Tests/Integration/config.py.in: New config parameter: webCalendarURL
* Tests/Integration/webdavlib.py(HTTPPOST,HTTPGET):
  Allow cookies in post and get requests.
  * Tests/Integration/test-ui-posts.py: New test class
  Currently contains only one test case which exercises addWebCalendar

  * SoObjects/Appointments/GNUmakefile:
  use -Wl,--no-as-needed when linking. Fixes #1863

Monotone-Parent: 080d411d52272c158ce60ea0bab6ba8eb9d9aa2a
Monotone-Revision: 8ce46d6fa7b1d1a9d12069cee3ba796d99d668d2

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-07-18T20:22:54
2012-07-18 20:22:54 +00:00
Jean Raby 6f0f95d253 Use xml.etree.ElementTree.iselement() instead of some homegrown stuff
that used a private class from xml.etree.ElementTree.
  Works with cElementTree

Monotone-Parent: ed7f1623b0cb7e935297f6652b76074c1ff952df
Monotone-Revision: 1bcd208d669189aec549aa4351b9d92a29c6d9b9

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-07-17T16:56:19
2012-07-17 16:56:19 +00:00
Wolfgang Sourdeau 093c984b42 Monotone-Parent: 22bcd9c626e305661b31c70a49c93352266c2dc8
Monotone-Revision: ed7f1623b0cb7e935297f6652b76074c1ff952df

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-07-16T13:35:02
2012-07-16 13:35:02 +00:00
Wolfgang Sourdeau caf58a7c4a Monotone-Parent: c812fb58ff32ddf15bcafe1527b4871905de1415
Monotone-Revision: 9475f39d99549bfa74e7f88be7e54d9650beb0d5

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-07-13T20:25:47
2012-07-13 20:25:47 +00:00
Jean Raby 96f1a8b247 * Tests/Integration/propfind.py: Print headers to stderr.
the output can now easily be piped through xmllint

Monotone-Parent: 228f7d730cde5a5046b0885c1ac02649ee2b7c05
Monotone-Revision: 4c9ff5822433c2ff8fcad8c7432a9575f9890b24

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-07-05T16:56:27
2012-07-05 16:56:27 +00:00
Jean Raby 38b1cbd014 * SoObjects/Appointments/SOGoAppointmentObject.m
(PUTAction:): detect conflicting event UID and
      deny the request accordingly.

  * Tests/Integration/test-caldav-scheduling.py:
    new test for bug #1853

Monotone-Parent: 32e30de409bdd4e864d0c454e1939c809fb8edcd
Monotone-Revision: a4ef73c2ad79c8da8d8e0c93767ab06e14bc846b

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-06-27T16:06:20
2012-06-27 16:06:20 +00:00
Jean Raby cba2a7d458 Tests/Integration/test-caldav-scheduling.py:
Replace the tearDown code by something a bit more elegant:
    each test now adds its ics to the ics_list.
    tearDown loops over the list instead of listing each ics.

  2 new utility functions: _getAllEvents and _deleteAllEvent
  Those should probably be named _getCollectionContent and
  _deleteCollectionContent...

  For tests related to resources, make sure their calendar is empty
  before running them.
  This ensures we won't get conflicts with existing events...

  Various reindent

  New test for bug #1837. Fails on <=1.3.16

Monotone-Parent: 4b891748ee7ea0c409554e75a90fb995173562a2
Monotone-Revision: 802a8f25aa0ed67386953826b82939c3ab98bba2

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-06-22T19:06:17
2012-06-22 19:06:17 +00:00
Jean Raby bcddfe4efa The new tests case was for #1839, not #1837
Monotone-Parent: 21464a96c4abb93d2143e8f30b059d2f01bab016
Monotone-Revision: ba98ce90f9ee5f3b4c038bc459d8d48d74cfad72

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-06-21T13:54:23
2012-06-21 13:54:23 +00:00
Jean Raby 0845f13327 Remove duplicated test.
Add a new test for bug #1837:
    This tries to have the same behavior as iCal
      1. create an event, add an attendee and add the organizer as an attendee
      2. SOGo should remove the organizer from the attendee list

Monotone-Parent: b532b841f572a64aa9b471da32a51bb939539334
Monotone-Revision: 30b555a484fd45f63e941b88e3afc1f2784480da

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-06-20T20:34:28
2012-06-20 20:34:28 +00:00
Jean Raby eea3154fc1 Delete attendee from exception and master event with 2 PUTs
Monotone-Parent: e5f291945f01977de333fd7aabf6d7109c8ec335
Monotone-Revision: d63fe31c81597a22c53b5925bcf6bca60fc0e252

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-05-11T20:01:06
2012-05-11 20:01:06 +00:00
Jean Raby 5c83c13e04 Fetch non existent event to let sogo create the database tables.
Tests would fail on an empty/new db

Monotone-Parent: 1ed6d11b3a404920b5f62a1b03c4a035d5bd53b3
Monotone-Revision: e5f291945f01977de333fd7aabf6d7109c8ec335

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-05-11T17:45:44
2012-05-11 17:45:44 +00:00
Jean Raby 6ad52fe047 * SoObjects/Appointments/SOGoAppointmentObject.m (PUTAction):
Delete bitrotten code that could end up duplicating attendees.
  Behavior exposed by the new caldav tests

  * Tests/Integration/config.py.in
  * Tests/Integration/test-caldav-scheduling.py
  * Tests/Integration/test-ical.py
  * Tests/Integration/test-davacl.py:
  Use an unprivileged webdavclient where possible.
  This would have uncovered the resources calendar autocreation bug.

  * Tests/Integration/test-caldav-scheduling.py:
  New tests to excercise somewhat fragile code in dav autoscheduling.

Monotone-Parent: 82335b9404ce69f30e311f831868f8d13e598a46
Monotone-Revision: 1ed6d11b3a404920b5f62a1b03c4a035d5bd53b3

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-05-11T16:20:45
2012-05-11 16:20:45 +00:00
Jean Raby 1d6583f2c5 New caldav tests:
remove attendee after invitation
  remove attendee and organizer after invitation.

Monotone-Parent: d0d8f431bd9bb7676b29e0f9073ed40cfc1cf9e5
Monotone-Revision: e290d09c6fe813e82f2e06c1cfcaab7ba2a5b3ac

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-04-20T21:33:35
2012-04-20 21:33:35 +00:00