Luc Charland
f4ed7d9448
removed empty line
2015-09-30 12:17:20 -04:00
Luc Charland
c7825601e6
removed author
2015-09-30 11:47:43 -04:00
Luc Charland
781e408091
- used tab instead of spaces for GNUMakefile
...
- removed unused logging
- used generic names
2015-09-30 11:23:45 -04:00
Luc Charland
549c57f8a6
Added new tests for NGMailAddressParser
2015-09-30 11:04:14 -04:00
Francis Lachapelle
fab9e938fc
Fix URL escaping unti test
2015-09-18 13:53:32 -04:00
Ludovic Marcotte
3efbf65f80
(fix) added missing test
2015-09-14 13:40:29 -04:00
Ludovic Marcotte
18a300ca5b
(fix) appplied fix from Zentyal - PR#102
...
Original commit: 33a1d2c397
2015-09-09 08:22:33 -04:00
Luc Charland
bba0d6f44d
make the tests more robust when data is invalid in DB/Webdav
2015-08-27 11:51:58 -04:00
Luc Charland
bf390f17dd
fixed when strings not initialized in prefs
2015-08-27 11:51:58 -04:00
Luc Charland
117e6b6bc1
added the multiple phone test
2015-08-26 11:28:54 -04:00
Luc Charland
8f75bdce2d
Use Json for testing webcalendar
2015-08-14 12:46:37 -04:00
Luc Charland
4f53ea70e1
Commented out testing two phones same type until fixed
2015-08-14 12:46:03 -04:00
Francis Lachapelle
538e6fa4b1
Add Chinese (Taiwan) translation
2015-07-23 12:08:04 -04:00
Francis Lachapelle
f0b88811d6
Add Slovenian translation
2015-07-23 12:02:42 -04:00
Luc Charland
e385bf34d5
added simple event testing json->dav
2015-06-12 12:03:57 -04:00
Luc Charland
9a3f4080c0
test adding single and multiple phones with JSON and getting it with DAV
2015-06-12 12:03:54 -04:00
Luc Charland
43b6006a86
removed the unneeded sleep
2015-06-12 11:59:04 -04:00
Luc Charland
4fa33c0bc2
All tests now pass in version 3
2015-06-12 11:59:03 -04:00
Luc Charland
243726f096
Changed preferences to use JSON for v3
2015-06-12 11:50:50 -04:00
Luc Charland
3858911007
Changed login from urlencoded to json
2015-06-12 11:46:48 -04:00
Francis Lachapelle
a1406d01e1
Initial Basque translation
2015-04-27 13:59:05 -04:00
Luc Charland
a86b164228
uses a dict instead of a string of a dict for preventInvitationsTest
2015-04-17 10:38:40 -04:00
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
Jeroen Dekkers
efc33d8174
Fix unit test by also checking for the different gnustep 1.24 ordering of elements
2014-05-29 15:53:13 +02:00
Jeroen Dekkers
93971dc434
Add $(TEST_TOOL) as dependency of make check
2014-05-29 15:35:46 +02:00
Ludovic Marcotte
bc2b41f383
Fixed unit test.
2014-05-08 09:13:37 -04:00
Ludovic Marcotte
5739356f88
Fix tests to handle list-component
2014-04-09 19:27:38 -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
Jean Raby
0a87ff97b6
cosmetic fix, no functional change
...
added a POST payload to test this code
2013-06-21 09:36:54 -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
e6e4616a69
Fix typo in unit test
2013-01-18 09:39:02 -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
Wolfgang Sourdeau
160aa42b88
set the "check" target as a non-default target
2012-11-07 09:49:46 -05:00
Wolfgang Sourdeau
de381aca81
Added support for gnutls (thanks to Jeroen Dekkers).
2012-10-23 10:11:36 -04:00
Wolfgang Sourdeau
f4c12f9658
Merge pull request #1 from dekkers/make-check
...
Implement a "make check" target that will run the unit tests (thanks to Jeroen Dekkers)
2012-10-20 12:39:39 -07:00
Wolfgang Sourdeau
948bafd2bf
s/occurence/occurrence/g
2012-10-20 13:27:24 -04:00
Jeroen Dekkers
a632c82b59
Implement a "make check" target that will run the unit tests
2012-10-19 18:46:46 +02:00
Jeroen Dekkers
439bb132c1
Add support for GnuTLS
2012-10-19 17:33:48 +02: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
Wolfgang Sourdeau
f9d34ea6ec
Monotone-Parent: 5626a85621c5f1c132d788ea29e164c8fc44cfdf
...
Monotone-Revision: cd39fe0df424d1e5afd5dcfa4b1c94ad707fed24
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-04-23T21:19:08
2012-04-23 21:19:08 +00:00
Wolfgang Sourdeau
b8930b7bd0
Monotone-Parent: f44990050ab038029a3fa83c4918912da401bd4b
...
Monotone-Revision: 5626a85621c5f1c132d788ea29e164c8fc44cfdf
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-04-23T21:17:54
2012-04-23 21:17:54 +00:00
Wolfgang Sourdeau
067513959a
Monotone-Parent: fbdbaedef2d0b93dc7ac828e0acfde7baccc8f6b
...
Monotone-Revision: f44990050ab038029a3fa83c4918912da401bd4b
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-04-23T19:16:43
2012-04-23 19:16:43 +00:00
Wolfgang Sourdeau
65acbc5ecf
Monotone-Parent: 389b194bd166895ce122d73e90c04eb48d06a6a1
...
Monotone-Revision: fbdbaedef2d0b93dc7ac828e0acfde7baccc8f6b
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-04-23T18:39:26
2012-04-23 18:39:26 +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
Wolfgang Sourdeau
6aa627a800
Monotone-Parent: 2fb9aaf01f9b4a29e3d49d6c35deaf48a4e57e9c
...
Monotone-Revision: 825d6255230167e6f80d8015a569afa6bdb4cb7d
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-04-16T15:24:16
2012-04-16 15:24:16 +00:00
Wolfgang Sourdeau
10bfd70be1
Monotone-Parent: 406832bc51a0849377951d10353a33568b33877b
...
Monotone-Revision: 2fb9aaf01f9b4a29e3d49d6c35deaf48a4e57e9c
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-04-16T15:23:24
2012-04-16 15:23:24 +00:00
Wolfgang Sourdeau
38e085ae8f
Monotone-Parent: ae2a845cc86e684e944e2ffbb629f7bd634d985f
...
Monotone-Revision: 0d1809a8a5fbb980e78d197e8f5c0c634b960a2e
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-03-16T20:41:52
Monotone-Branch: ca.inverse.sogo
2012-03-16 20:41:52 +00:00
Jean Raby
4a1b4193ad
Compare the sync token with the end time of the query, not the start time.
...
This should stop the test from failing when everything is really ok..
Monotone-Parent: 44e6a1e9a80f2c2e2c230c1d9be4552941343bea
Monotone-Revision: 83140ea045c02e9961515cc478033e97df559cfb
Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-03-15T14:59:08
2012-03-15 14:59:08 +00:00
Francis Lachapelle
6ce0c29b2a
Monotone-Parent: 0c045ab1e972ecf31a2d5051abbc0ef141461d10
...
Monotone-Revision: 3be1457342206d81824250d57633322dda8fb4d9
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-02-10T21:03:29
Monotone-Branch: ca.inverse.sogo
2012-02-10 21:03:29 +00:00
Jean Raby
e05630909e
use isinstance instead of try/except to check if preference is a dict or a string.
...
Monotone-Parent: 64241052c164949118642194441e9a30cbdc3d58
Monotone-Revision: 9c35c13adaec0c9fe67e19acb1c73a22271aa714
Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-02-21T21:07:35
Monotone-Branch: ca.inverse.sogo
2012-02-21 21:07:35 +00:00
Wolfgang Sourdeau
966149f804
Monotone-Parent: 859bf2013653e0366336126b6d00368fe0dbc147
...
Monotone-Revision: ed35a0aec1eed0f78e69e747bdd6871d62118111
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-02-21T19:52:40
Monotone-Branch: ca.inverse.sogo
2012-02-21 19:52:40 +00:00
Wolfgang Sourdeau
1655d27dbe
Monotone-Parent: ebe6d4bf201db3d567631a28731d5d2345f7ab9e
...
Monotone-Revision: 859bf2013653e0366336126b6d00368fe0dbc147
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-02-21T16:19:46
Monotone-Branch: ca.inverse.sogo
2012-02-21 16:19:46 +00:00
Wolfgang Sourdeau
cb6a4530e1
merge of '15825926d3d6130838a6e8a925fb390321c6e5fa'
...
and '7f4c04f0c1883efb437cd0189f442b20c0063c82'
Monotone-Parent: 15825926d3d6130838a6e8a925fb390321c6e5fa
Monotone-Parent: 7f4c04f0c1883efb437cd0189f442b20c0063c82
Monotone-Revision: 5066f4418986dc6df8b207002b41f82bc9e2bb8b
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-02-20T19:48:50
Monotone-Branch: ca.inverse.sogo
2012-02-20 19:48:50 +00:00
Wolfgang Sourdeau
18eab08165
Monotone-Parent: 1446e7383727bc0d371dfafcec06697f030f7117
...
Monotone-Revision: 7f4c04f0c1883efb437cd0189f442b20c0063c82
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-02-20T19:47:58
Monotone-Branch: ca.inverse.sogo
2012-02-20 19:47:58 +00:00
Jean Raby
3a4a518c9e
Cosmetic fixes in preferences.py
...
add a new test to set/get text preferences with chars that must be escaped.
Monotone-Parent: 361f4d1d571053d2b3dd474a5d6755ef20cc2851
Monotone-Revision: 72203acde8ebf2eb487bf2f4d7ee94f9c8fcd81a
Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-02-16T22:03:36
Monotone-Branch: ca.inverse.sogo
2012-02-16 22:03:36 +00:00
Jean Raby
6ef5d5bccc
remove 'except as' since it is not supported on python 2.5 (debian-lenny)
...
Monotone-Parent: 04bea15431a5d37d2c52ccda4a30d78b57741793
Monotone-Revision: e27ba437a27fa40967d6195b9f420b3c36988d81
Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-02-17T22:06:58
Monotone-Branch: ca.inverse.sogo
2012-02-17 22:06:58 +00:00
Jean Raby
8f1307e13d
update the languages and the preference map to match the new properties names
...
Don't use the default daysBetweenResponse for the vacation ignore list test
Monotone-Parent: 9631e91f39d72591553f51f05b43536b1438e553
Monotone-Revision: 8c3a2531198e8b97572bbc89525885693d00a39b
Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-02-15T20:27:00
Monotone-Branch: ca.inverse.sogo
2012-02-15 20:27:00 +00:00