3784 Commits

Author SHA1 Message Date
Andrew Ruthven
8162b9f850 Ensure that propfind for access is deterministic.
I noticed that the ordering of principals returned wasn't deterministic
for tests. Ensure it is.
2022-12-10 02:04:27 +13:00
Andrew Ruthven
c904ef5551 Debian Unstable no longer has bzip2 by default, use xz instead 2022-12-09 23:48:07 +13:00
Andrew Ruthven
547c78c48f Debian Unstable has PostgreSQL 15 now 2022-12-09 23:48:07 +13:00
Debian Janitor
cc0d627a21 Remove constraints unnecessary since buster (oldstable)
* Remove 1 maintscript entries from 1 files.

Changes-By: deb-scrub-obsolete
2022-10-04 16:01:02 +00:00
Florian Schlichting
88670bfa39 release davical 1.1.11 r1.1.11 2022-10-04 14:05:19 +02:00
Florian Schlichting
5b41b49f35 test_bullseye_carddavclientinterop: user3 description is empty 2022-10-04 12:39:50 +02:00
Florian Schlichting
8b71f09e32 test_bullseye_carddavclientinterop: Interop is now capitalized 2022-10-04 11:22:37 +02:00
Florian Schlichting
69d5c58a5b switch egrep to grep -E to avoid test failure
this is https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1019335, which
should be fixed but apparently isn't in the image we're using...
2022-10-04 09:41:09 +02:00
Florian Schlichting
f44a996432 do not report VTODO in freebusy (fixes: #267)
RFC 4791 clearly states in 7.10:
    Only VEVENT components without a TRANSP property or with the TRANSP
    property set to OPAQUE, and VFREEBUSY components SHOULD be considered
    in generating the free busy time information.

Looking at fa67ef987e, this used to be VFREEBUSY until the refactoring, and
0886-REPORT-freebusy.test still had that.

Apparently we're not (yet) considering VAVAILABILITY (RFC 7953) here.
2022-10-04 08:47:53 +02:00
Dirk Bauer
b3b2ccc6c0 Fixed php8 deprecation for htmlspecialchars (#fixes 266) 2022-07-12 03:25:15 +00:00
Andrew Ruthven
6cf8d5f81d Another attempt to make the results deterministic 2022-07-12 14:27:50 +12:00
Andrew Ruthven
b05a9b2cc0 Final result update?
This time I appear to have locally had the same result as on Gitlab.
I don't like this though, as the order keeps changing.
2022-06-29 00:08:16 +12:00
Andrew Ruthven
26b92a864d Try and be more deterministic. 2022-06-28 23:57:18 +12:00
Andrew Ruthven
d5cb124184 Report about dumping the database 2022-06-28 23:56:57 +12:00
Andrew Ruthven
d90d85d00e Make GET on a collection deterministic.
Turns out it was returning a sorted list based on a generated uuid, which
could be different in different regression environments. When I was
running tests locally I was always using the same initial.dbdump
file. The tests now pass even with a truely fresh regression DB.
2022-06-28 22:47:31 +12:00
Andrew Ruthven
6d61ed9f8d Update test results
This is now the ordering I consistently get, maybe this'll work on gitlab?
2022-06-28 20:28:21 +12:00
linda.fliss
e8b43e60db fixed debug injection 2022-02-18 15:55:36 +01:00
Andrew Ruthven
7cebd30eb5 Fix test result 2022-02-18 23:11:50 +13:00
Andrew Ruthven
0913f8ca69 Fix another PHP 8.1 error 2022-02-18 23:11:50 +13:00
Andrew Ruthven
5f71ccae8b Limit results for get_include_subcollections
Closes #231.
2022-02-18 23:11:50 +13:00
Paul Waite
dd5bd9c282 Provide a facility for setting an override URL which will replace the Change Password UI, and the Forgotten Password UI with a clickable link. 2022-02-12 14:02:54 +00:00
linda.fliss
45035ad488 improved refresh-alarms.php script 2022-02-12 13:47:37 +00:00
Andrew Ruthven
dcd240785d Fix the case of a variable 2022-02-13 02:17:28 +13:00
Andrew Ruthven
cf0e2774f6 Fix a second time where the array might be false. 2022-02-13 01:46:44 +13:00
Raivo Hool
f42627c89f Fix iSchedule configuration with PHP 8
Closes #252.
2022-02-13 01:45:25 +13:00
Andrew Ruthven
8f5a1d2bcc Another fix for PHP 8.1 2022-02-13 01:34:55 +13:00
Andrew Ruthven
836c715a1c Fix the version of AWL we want.
We do actually want 0.62.

Closes #253.
2022-02-13 01:21:17 +13:00
Andrew Ruthven
02af0c58ee Further fixes for PHP 8.1
I don't know why this only show up in the gitlab runners. I have PHP 8.1
locally.
2022-02-13 01:04:47 +13:00
Andrew Ruthven
1c77febeb1 gmstrftime is deprecated in PHP 8.1
Switch to using gmdate. One benefit is that gmdate doesn't respect
the locale, so we don't need the logic to hardcode the month
in English.
2022-02-13 00:42:49 +13:00
Andrew Ruthven
f1a4dcee0c More fixes for PHP 8.1 2022-02-12 23:59:26 +13:00
Andrew Ruthven
5d56f6b5ea Allow "&'<> in passwords.
We had already allowed these when changing a password, but they were
being escaped when logging in. Closes #259.
2022-02-12 23:48:50 +13:00
Andrew Ruthven
8096807c6d Fixes for warnings in PHP 8.1 2022-02-12 23:41:28 +13:00
Andrew Ruthven
9fb6be6f9c Debian Bullseye has PostgreSQL 13. 2022-02-06 13:57:07 +13:00
Andrew Ruthven
d304f47d10 Debian Unstable now has PostgreSQL 14. 2022-02-06 13:56:47 +13:00
Andrew Ruthven
0cf9cfc73a Switch testing to Bullseye, drop Stretch 2022-02-05 16:35:25 +13:00
Andrew Ruthven
c26ad777a2 We need $privilege_names in the list of globals.
Closes #250. Thank you to Laurent Hoareau and Jos Alsters.
2021-09-19 02:56:19 +12:00
Andrew Ruthven
c5cbd75be4 The knock on effects of making a new event for testing...
Missed one.
2021-09-19 02:43:34 +12:00
Andrew Ruthven
fbb6b34508 The knock on effects of making a new event for testing... 2021-09-19 02:33:32 +12:00
Andrew Ruthven
4a9190462c Fix regression tests following Piotr's fix in 467a6bf8900bd0c37f30e74b4adeb6ef801d4eb5 2021-09-19 02:08:33 +12:00
Andrew Ruthven
6d75ac8766 Merge branch 'piotrfilip/davical-fix/247' into master2 2021-09-19 02:04:58 +12:00
Andrew Ruthven
f82929e6a2 Regression tests that tickle #247
Zero duration meeting should have a zero duration time in Free/Busy,
but doesn't, the times are whacky.
2021-09-19 02:04:50 +12:00
Piotr Filip
467a6bf890 fix: Rfc5545Duration __toString returns "P" when in_duration==0 2021-09-18 13:48:39 +00:00
Andrew Ruthven
04f2da406e DTSTART and DTEND for Free/Busy is in UTC 2021-09-19 01:28:19 +12:00
Andrew Ruthven
255e8bf463 Add more details about time jump test 2021-09-19 00:39:52 +12:00
Andrew Ruthven
778f51ca28 Disabling raw gets rid of some of the garbage 2021-09-19 00:30:42 +12:00
Andrew Ruthven
c6e4189fa0 Strip off the space after the face as well 2021-09-19 00:14:59 +12:00
Andrew Ruthven
e47a6d4838 Re-add the headers from running via the webserver 2021-09-19 00:14:20 +12:00
Andrew Ruthven
029849c09b Test the time during a timezone change 2021-09-19 00:13:20 +12:00
Andrew Ruthven
efdbd77cad Add a time zone to a test to anchor it for consistent results 2021-09-19 00:02:53 +12:00
Andrew Ruthven
326afc8cfc Teach how to set timezone when running standalone
It is useful for debugging to run this command standalone, but in
that case it typically has to set the timezone for the database to
ensure that the times in the results are the same as the PHP times.
2021-09-19 00:01:01 +12:00