mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-19 01:34:26 +00:00
Compare commits
5 Commits
4ca39306fc
...
63128ae2fd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
63128ae2fd | ||
|
|
734d5c1f99 | ||
|
|
11315dee47 | ||
|
|
a9ffb1e67c | ||
|
|
5920fe1efe |
@ -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
|
||||
- apt-get -y install build-essential devscripts fakeroot dh-exec jdupes doxygen graphviz php-cli phpunit rst2pdf
|
||||
- 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
|
||||
- apt-get -y install build-essential devscripts fakeroot dh-exec jdupes doxygen graphviz rst2pdf
|
||||
- mv debian/changelog debian/changelog.old
|
||||
- >
|
||||
cat
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
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
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -119,12 +119,13 @@ class CalDAVClient {
|
||||
*/
|
||||
function ParseResponse( $response ) {
|
||||
$pos = strpos($response, '<?xml');
|
||||
$epos = strrpos($response, '>');
|
||||
if ($pos === false) {
|
||||
$this->httpResponse = trim($response);
|
||||
}
|
||||
else {
|
||||
$this->httpResponse = trim(substr($response, 0, $pos));
|
||||
$this->xmlResponse = trim(substr($response, $pos));
|
||||
$this->xmlResponse = trim(substr($response, $pos, $epos-$pos+1));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -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.'/caldav.php'."' ||COALESCE(d.dav_name,c.dav_name)" );
|
||||
$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( 'expiry', translate('Expires'), '', '', 'TO_CHAR(expires,\'YYYYMMDD"T"HH:MI:SS\')');
|
||||
$browser->AddColumn( 'privs', translate('Privileges'), '', '', "privileges_list(privileges)" );
|
||||
if ($can_write_collection) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user