Compare commits

..

1 Commits

Author SHA1 Message Date
Nick v H
4ca39306fc Merge branch 'master' into 'master'
Enclose XML response to only contain the XML tags (trimming any possible...

See merge request davical-project/davical!82
2024-09-13 20:06:26 +00:00
4 changed files with 4 additions and 7 deletions

View File

@ -11,7 +11,7 @@ build:
script:
- apt-get -y update
- bash -c 'mkdir -p /usr/share/man/man{0..10}'
- apt-get -y install build-essential devscripts fakeroot dh-exec jdupes doxygen graphviz php-cli phpunit rst2pdf
- apt-get -y install build-essential devscripts fakeroot dh-exec jdupes doxygen graphviz php-cli phpunit
- mv debian/changelog debian/changelog.old
- >
cat
@ -82,7 +82,7 @@ build_bullseye_latestphp:
script:
- apt-get -y update
- bash -c 'mkdir -p /usr/share/man/man{0..10}'
- apt-get -y install build-essential devscripts fakeroot dh-exec jdupes doxygen graphviz rst2pdf
- apt-get -y install build-essential devscripts fakeroot dh-exec jdupes doxygen graphviz
- mv debian/changelog debian/changelog.old
- >
cat

View File

@ -1,6 +1,3 @@
2025-01-22 Andrew Ruthven <andrew@etc.gen.nz>
* Using a Ticket ID requires public.php
2024-04-15 Andrew Ruthven <andrew@etc.gen.nz>
* Add caching of user credential success/failure

View File

@ -173,7 +173,7 @@ class DAVResource
* field of the resource is populated with the given data, so it does not need
* to be queried again later
*/
function __construct( $parameters = null, ?DAVResource $prefetched_collection = null ) {
function __construct( $parameters = null, DAVResource $prefetched_collection = null ) {
$this->exists = null;
$this->bound_from = null;
$this->dav_name = null;

View File

@ -463,7 +463,7 @@ EOTEMPLATE;
if ($can_write_collection) {
$browser->AddColumn( 'ticket_id', translate('Ticket ID'), '', '' );
}
$browser->AddColumn( 'target', translate('Target'), '', '<td style="white-space:nowrap;">%s</td>', "'".$c->base_url.'/public.php'."' ||COALESCE(d.dav_name,c.dav_name)" );
$browser->AddColumn( 'target', translate('Target'), '', '<td style="white-space:nowrap;">%s</td>', "'".$c->base_url.'/caldav.php'."' ||COALESCE(d.dav_name,c.dav_name)" );
$browser->AddColumn( 'expiry', translate('Expires'), '', '', 'TO_CHAR(expires,\'YYYYMMDD"T"HH:MI:SS\')');
$browser->AddColumn( 'privs', translate('Privileges'), '', '', "privileges_list(privileges)" );
if ($can_write_collection) {