diff --git a/CREDITS b/CREDITS index 6bd479bd..b736d85b 100644 --- a/CREDITS +++ b/CREDITS @@ -26,6 +26,7 @@ Andrew Ruthven Antoine Aurelien Requiem Benoît Bleuzé +Bill McGonigle Christian Kier Christoph Anton Mitterer CSchulz @@ -84,9 +85,11 @@ Raphael Hertzog Rick Verdoes Rik Theys Rob Ostensen +ruliane Sarenet S.A.U Egoitz Aurrekoetxea Scott Balneaves Till Schäfer +Tobias Brox Vincent Van Houtte wmbr Wolfgang Herget diff --git a/ChangeLog b/ChangeLog index 5924f575..19039261 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,20 +1,81 @@ +2023-03-02 Florian Schlichting + * release davical 1.1.12 + * add Debian autopkgtests + * Fix phpunit tests ('Attempt to read property "rrule_loop_limit" on null') and add them to 'make test' + 2023-02-05 Andrew Ruthven * Fix is-defined and is-not-defined prop-filters * A time-range prop-filter should only return events if they are either in the time-range or have a recurrence in it. +2022-10-19 Piotr Filip <6465816-piotrfilip@users.noreply.gitlab.com> + * check owner when deleting + +2023-02-26 Florian Schlichting + * drop default $position argument from BuildXMLTree everywhere (awl!22) + +2023-02-04 Andrew Ruthven + * Create unique constraints for tmp_password and role_member. + * Add a primary key to calendar_alarm table. + * Add a primary_key to the addressbook_addresses_* tables + 2022-02-07 Andrew Ruthven * Fix Reccurrence Rules using BYHOUR, BYMINUTE and BYSECOND. + * We no longer support PHP 5.1, assume that DateTime is available + +2022-02-18 Andrew Ruthven + * Create .in and .out calendars on principal creation. + +2023-02-04 Andrew Ruthven + * Handle baseDNGroups being unset. + * Ensure that groups_nothing_done is defined + * Use dbg_error_log instead of dbg_log_array + * Improve on SQL syntax fix to keep logging working, and add regression test. + +2023-01-28 Tobias Brox + * Fix SQL syntax error if is-not-defined is used as a prop-filter. 2022-12-18 Andrew Ruthven * Numerous fixes for PHP 8.2 * Convert RRULE expansion loop limits, and make it configurable to resolve - missing recurrences for some complicated rules. + missing recurrences for some complicated rules. * Fix BYMONTHDAY reccurence when the day is >= 29. * Improvements to regression test suite. * Support setting a Content-Security-Policy header. * Fixes when using memcache +2022-10-19 Piotr Filip <6465816-piotrfilip@users.noreply.gitlab.com> + * delete collection by id + +2022-05-11 Bill McGonigle + * support php_fpm under Apache 2.4 (missing PATH_INFO with Apache handler). + +2022-12-13 Andrew Ruthven + * Update regression tests that hit index.php for new CSP + * Add Content-Security-Policy header to sample Apache2 config files + +2022-10-19 Piotr Filip <6465816-piotrfilip@users.noreply.gitlab.com> + * refactor scripts to allow operation with Content-Security-Policy: script-src 'self' + +2022-10-22 ruliane + * Fix error when $icfg is not set. + * Fix PHP Notice: Undefined variable: body in /usr/share/davical/inc/iSchedule.php on line 435 + +2022-12-10 Andrew Ruthven + * The PHP 8.2 container has deflate enabled in Apache2, disable it. + * PHP 8.2 seems to set the timezone to UTC, always set Pacific/Auckland for testcases + * freq_name is only used locally + * Ensure that all fields are defined, not added dynamically. + * Stop copying all fields from the Principal object. + * Ensure that propfind for access is deterministic. + +2022-12-09 Andrew Ruthven + * Debian Unstable no longer has bzip2 by default, use xz instead + * Debian Unstable has PostgreSQL 15 now + +2022-10-04 Debian Janitor + * Remove constraints unnecessary since buster (oldstable) + 2022-10-04 Florian Schlichting * release davical 1.1.11 * test_bullseye_carddavclientinterop: user3 description is empty diff --git a/VERSION b/VERSION index 9ee1f786..ccad953a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.1.11 +1.1.12 diff --git a/debian/changelog b/debian/changelog index 934a1aa4..7abf8f0b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,9 +1,17 @@ -davical (1.1.11-2) UNRELEASED; urgency=medium +davical (1.1.12-1) unstable; urgency=medium + [ Debian Janitor ] * Remove constraints unnecessary since buster (oldstable): + Remove 1 maintscript entries from 1 files. - -- Debian Janitor Tue, 04 Oct 2022 16:01:02 -0000 + [ Florian Schlichting ] + * New upstream release + * Depend on AWL 0.64 + * Update copyright years + * Declare compliance with Debian Policy 4.6.2 + * Update lintian overrides (.txt is not necessarily documentation) + + -- Florian Schlichting Mon, 13 Mar 2023 21:59:44 +0100 davical (1.1.11-1) unstable; urgency=medium diff --git a/debian/control b/debian/control index 1253f68d..fe69621d 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Priority: optional Maintainer: Davical Development Team Uploaders: Andrew McMillan , Florian Schlichting -Standards-Version: 4.6.1 +Standards-Version: 4.6.2 Build-Depends: debhelper-compat (= 13), dh-exec, jdupes, diff --git a/debian/copyright b/debian/copyright index 09f233a2..eb472059 100644 --- a/debian/copyright +++ b/debian/copyright @@ -7,7 +7,7 @@ Files: * Copyright: 2006 - 2013, Andrew McMillan 2006 - 2008, Catalyst IT Ltd 2008 - 2013, Morphoss Ltd - 2007 - 2022, Davical contributors (see CREDITS for details) + 2007 - 2023, Davical contributors (see CREDITS for details) License: GPL-2+ Files: dba/caldav_functions.sql htdocs/public.php htdocs/tools.php @@ -18,7 +18,7 @@ Files: dba/caldav_functions.sql htdocs/public.php htdocs/tools.php Copyright: 2006 - 2013, Andrew McMillan 2006 - 2008, Catalyst IT Ltd 2008 - 2013, Morphoss Ltd - 2007 - 2022, Davical contributors (see CREDITS for details) + 2007 - 2023, Davical contributors (see CREDITS for details) License: GPL-2 Files: htdocs/tz.php inc/CalDAVRequest.php inc/iSchedule-POST.php @@ -28,14 +28,14 @@ Files: htdocs/tz.php inc/CalDAVRequest.php inc/iSchedule-POST.php Copyright: 2006 - 2013, Andrew McMillan 2006 - 2008, Catalyst IT Ltd 2008 - 2013, Morphoss Ltd - 2007 - 2022, Davical contributors (see CREDITS for details) + 2007 - 2023, Davical contributors (see CREDITS for details) License: GPL-3+ Files: inc/caldav-client-v2.php Copyright: 2006 - 2013, Andrew McMillan 2006 - 2008, Catalyst IT Ltd 2008 - 2013, Morphoss Ltd - 2007 - 2022, Davical contributors (see CREDITS for details) + 2007 - 2023, Davical contributors (see CREDITS for details) License: LGPL-3+ Files: inc/check_UTF8.php @@ -93,7 +93,7 @@ License: 3-clause-bsd Files: debian/* Copyright: 2006-2012, Andrew McMillan - 2014-2022, Florian Schlichting + 2014-2023, Florian Schlichting License: GPL-2+ License: GPL-2+ diff --git a/debian/davical.lintian-overrides b/debian/davical.lintian-overrides index cc0c933c..b02aa69a 100644 --- a/debian/davical.lintian-overrides +++ b/debian/davical.lintian-overrides @@ -6,3 +6,6 @@ davical: php-script-but-no-php-cli-dep php (does not satisfy php-cli:any) [usr/s davical: php-script-but-no-php-cli-dep php (does not satisfy php-cli:any) [usr/share/davical/scripts/refresh-alarms.php] davical: php-script-but-no-php-cli-dep php (does not satisfy php-cli:any) [usr/share/davical/scripts/tz-update.php] davical: php-script-but-no-php-cli-dep /usr/bin/php (does not satisfy php-cli:any) [usr/share/davical/scripts/sync-remote-caldav.php] +# this is actually code, not documentation, even though it can be read by humans in addition to machines +davical: package-contains-documentation-outside-usr-share-doc [usr/share/davical/dba/appuser_permissions.txt] +davical: package-contains-documentation-outside-usr-share-doc [usr/share/davical/htdocs/robots.txt] diff --git a/htdocs/always.php b/htdocs/always.php index 1813c753..fb4e6e3c 100644 --- a/htdocs/always.php +++ b/htdocs/always.php @@ -127,6 +127,8 @@ $c->allow_get_email_visibility = false; $c->permission_scan_depth = 2; $c->expand_pdo_parameters = true; $c->home_calendar_name = 'calendar'; +$c->home_out_calendar_name = '.out'; +$c->home_in_calendar_name = '.in'; $c->home_addressbook_name = 'addresses'; $c->carddav_max_resource_size = 6550000; $c->enable_row_linking = true; @@ -296,7 +298,7 @@ if ( function_exists('awl_set_locale') ) { */ $c->code_version = 0; $c->want_awl_version = '0.64'; -$c->version_string = '1.1.11'; // The actual version # is replaced into that during the build /release process +$c->version_string = '1.1.12'; // The actual version # is replaced into that during the build /release process if ( isset($c->version_string) && preg_match( '/(\d+)\.(\d+)\.(\d+)(.*)/', $c->version_string, $matches) ) { $c->code_major = $matches[1]; $c->code_minor = $matches[2]; @@ -313,7 +315,7 @@ $_SERVER['SERVER_NAME'] = $c->domain_name; require_once('AwlQuery.php'); -$c->want_dbversion = array(1,3,3); +$c->want_dbversion = array(1,3,5); $c->schema_version = 0; $qry = new AwlQuery( 'SELECT schema_major, schema_minor, schema_patch FROM awl_db_revision ORDER BY schema_id DESC LIMIT 1;' ); if ( $qry->Exec('always',__LINE__,__FILE__) && $row = $qry->Fetch() ) {