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
Andrew Ruthven
1e5c1fd1f3
Disable the debug mode, leave extra debugging output available
2021-09-18 23:22:57 +12:00
Andrew Ruthven
19e69060b9
Enable more debugging so I can see timezone differences in CI
2021-09-18 22:15:27 +12:00
Andrew Ruthven
9d520ab56d
Don't check for magic quotes on PHP 8 or newer - functions removed.
...
This fix removes complaints about trying to call non-existant functions
as they have been removed from PHP 8. This closes #234 .
2021-09-18 21:50:07 +12:00
Andrew Ruthven
e4f48ddc1a
For RRULE BYMONTHDAY skip expansions where the new day is not the day we expect.
...
This fixes one of the issues raised in #248 .
2021-08-11 22:36:38 +12:00
Andrew Ruthven
23831686bb
Don't escape HTML characters in the password.
...
We allow them when users set their passwords, and no doubt allowed
from LDAP and other external sources. We should allow them to be
entered. Closes #229 .
2021-08-11 21:42:01 +12:00
Florian Schlichting
9da21ad116
release davical 1.1.10
r1.1.10
2021-03-01 21:24:48 +08:00
Andrew Ruthven
7ecd0bc6d0
Add a regression test for new invalid user result from FreeBusy
2021-03-02 00:33:10 +13:00
Andrew Ruthven
bda3db6da8
Return a nicer error message if no user is found for Free/Busy via email
...
Previously a stack trace would be returned as the call to dav_name failed,
for example:
Exception [0] Can't calculate dav_name for unknown username
At line 382 of /usr/share/davical/inc/Principal.php
================= Stack Trace ===================
/usr/share/davical/htdocs/freebusy.php[49] Principal->dav_name()
2021-03-02 00:26:49 +13:00
Florian Schlichting
90bcfba683
Update carddav/2042-REPORT-addressbook-query together with df6ff3a in AWL
2021-03-01 13:55:15 +08:00
Florian Schlichting
e92e981542
Listing External Calendars is part of the Administration menu and should be restricted to admins
...
this could be made configurable, or lumped in with
$c->restrict_setup_to_admin, but non-admins only get here by manually
entering the URL...
2021-02-09 01:54:32 +08:00
Florian Schlichting
202e2edd5a
tighten $c->list_everyone to look for DAV::read privilege and actually block access to principals and collections
...
Groups really only exist in the davical web interface, CALDAV clients
discover principals and collections based on GRANTs such as the
DAV::read privilege, so use that for the web interface as well.
Also, not listing users is nice, actually blocking access to those users
(which can be enumerated with the id GET parameter) is a lot better.
2021-02-09 01:54:32 +08:00
Klaus M Pfeiffer
042ce5f076
add feature list_everyone ( fixes #59 )
2021-02-08 17:41:28 +00:00
Florian Schlichting
5c2cb6c34a
CI: run interop tests from carddavclient by Michael Stilkerich <ms@mike2k.de>
2021-02-08 19:08:28 +08:00
Florian Schlichting
5ee16172af
Add tests for AWLs "Fix param-filter that checks if a parameter is defined"
2021-02-08 17:38:17 +08:00
Florian Schlichting
9d144cfe24
Add test for AWLs "Fix param-filter for multi-value parameters with TYPE=T1,T2 format" and update 2044 accordingly
...
2044 wants VCARDs with either TEL or EMAIL of TYPE=WORK. !20 correctly
splits the comma separated list of parameters so another two vCards
now correctly match (see also
https://gitlab.com/davical-project/awl/-/merge_requests/20#note_503183133 )
2021-02-08 17:29:26 +08:00
Florian Schlichting
fd35aacb85
Add tests for AWLs "Fix GetProperties: Select properties with group prefix"
2021-02-08 17:29:26 +08:00