43 Commits

Author SHA1 Message Date
Andrew Ruthven
7c47658bee Make the curl and SQL requests when we see them
This allows us to have more complex test files where an action is taken, then
we test something, then another action is taken, etc.

Changes to test files are required so that URL is defined after all the
required settings are set.

Changes to the result files are either whitespace changes due to above logic
changes, or printing out a SQL Result header before each result. I figured it
was useful.
2024-04-01 22:57:10 +13:00
Andrew Ruthven
b26d48fced Put a trailing newline on error messages 2024-03-30 19:03:39 +13:00
Andrew Ruthven
28d9105810 Update database result results in tests. 2024-02-18 01:51:56 +13:00
Andrew Ruthven
1ca8284bdc Add ROOM as a principal type
This hopefully resolves #282.
2024-01-21 19:12:42 +13:00
Andrew Ruthven
15d01c8bed Store DTSTART and DTEND from user in shadow columns
We want to store the calculated dtstart and dtend in the database so we can
use SQL to fetch records. However, we also need what the user sent us so we
can allow prop-filters to be used as well.

So we store what the user sends us in dtstart_orig and dtend_orig and only
use for relevant prop-filter reports.
2023-03-12 20:17:43 +01:00
Andrew Ruthven
0750dd27a1 Another test result to update 2022-12-15 15:09:17 +13:00
Andrew Ruthven
fc09febad2 Update tests now that we don't inherit the DB from previous directory 2022-12-14 09:52:35 +13:00
Andrew Ruthven
d5cb124184 Report about dumping the database 2022-06-28 23:56:57 +12:00
Andrew Ruthven
fbb6b34508 The knock on effects of making a new event for testing... 2021-09-19 02:33:32 +12:00
Florian Schlichting
57f0bc6e41 add 4 VCARDs from carddavclient AddressbookQueryTest
we will run these tests in user5's addresses
2021-02-05 02:00:42 +08:00
Andrew Ruthven
7c37035201 I always get whitespace changes 2021-02-04 22:20:19 +13:00
Andrew Ruthven
33509866fb Update test results with new timezone data 2021-01-25 00:02:42 +13:00
Andrew Ruthven
1c25d643e4 To start with there are no timezones in a fresh database 2021-01-24 23:44:40 +13:00
Andrew Ruthven
b684e2468e Update some more results based on current regression tests 2021-01-24 00:27:04 +13:00
Florian Schlichting
4ef5730bef Restore-Database.result: error setting plpgsql COMMENT and lots more setval in dump 2017-01-01 20:46:36 +01:00
Andrew McMillan
4ee76f91ff Release 1.1.0 2012-06-17 23:16:25 +12:00
Andrew McMillan
483683d3f6 Result ordering and other trivial regression test changes. 2012-05-14 23:26:12 +12:00
Andrew McMillan
7c15051f84 Further fixes to WebDAV synchronization.
This should be fully reliable now and also cleans out all sync
changes more than one week old.  update-database is needed to pull
the new function.
2012-04-17 15:44:09 +12:00
Andrew McMillan
beecb1674d Test result changes for previous commit. 2012-04-16 12:56:08 +12:00
Andrew McMillan
739d024305 Further regression test results changes from the caldav-proxy header. 2012-03-22 14:56:02 +13:00
Andrew McMillan
0153070bea Updated test results. 2012-03-12 13:19:41 +13:00
Andrew McMillan
d226395258 Minor updates to tests. 2011-12-14 22:19:16 +13:00
Andrew McMillan
b4e50d8803 One more sync-action in prior tests. 2011-12-03 14:22:09 +13:00
Andrew McMillan
0c5be26d82 Regression test updates for DELETE scheduling handling. 2011-11-02 18:44:27 +13:00
Andrew McMillan
8ba55217df More fixes to CalDAV Scheduling
- Handle REPLY from ATTENDEE accepting/declining meeting.
- Handle processing on ORGANIZER further changing meeting.
2011-10-24 18:38:48 +13:00
Andrew McMillan
5f3c87f1f9 More data in database. 2011-10-20 12:20:10 +13:00
Andrew McMillan
5b921b3884 Test for 'deflate' content encoding. 2011-10-07 07:34:49 +02:00
Andrew McMillan
d1f0a1cc76 New & variously improved regression tests. 2011-10-06 11:10:02 +02:00
Andrew McMillan
2127c294a3 Various small fixes preparing for release.
Correct logic for auto-creating addressbook for new user.
Fix non-creation of default addressbook.
Fix principal/collection edit to allow write of no privileges.
Fix collection edit timezone list to use new table.
Update davical & libawl version in always.php.
Regression test changes with update to davical.sql.
2011-09-25 22:29:31 +13:00
Andrew McMillan
78e756e8a4 Add source/contact information to capabilities. 2011-09-24 12:56:53 +12:00
Andrew McMillan
037506f205 Add regression test for remote data load. 2011-09-23 13:07:37 +12:00
Andrew McMillan
d6ea96d2a0 Do all calculation of onset times in UTC (fixing some bugs). 2011-09-23 13:06:25 +12:00
Andrew McMillan
e149c7ebc7 Fix formatting of dates in XML. Fix name of ETag header. 2011-09-21 00:51:38 +12:00
Andrew McMillan
07f5e14857 The tz/expand action - basically we have a timezone service now. 2011-09-19 23:52:22 +12:00
Andrew McMillan
7f45695b62 Fix XMLNS on tz/list 2011-09-19 23:51:46 +12:00
Andrew McMillan
3fc3713a33 Reordered response. 2011-09-19 12:35:34 +12:00
Andrew McMillan
0605bfab46 Error response when requested tz format is not supported. 2011-09-19 12:35:21 +12:00
Andrew McMillan
b569f93858 Fixes to tz/get. 2011-09-19 11:25:13 +12:00
Andrew McMillan
64e98acd1a Start to support 'get' action. 2011-09-19 08:41:55 +12:00
Andrew McMillan
1e81d0325e Support strict result ordering in list for consistent regression answers. 2011-09-19 08:41:27 +12:00
Andrew McMillan
45ed6fb3f4 list & updatecheck actions are now working to load all Olson zones from files. 2011-09-19 08:40:54 +12:00
Andrew McMillan
5f4b40a643 One more fix for timezone database changes. 2011-09-18 17:03:37 +12:00
Andrew McMillan
731677d623 Roughing out implementation of timezone server. 2011-09-14 23:02:34 +12:00