mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-22 02:04:19 +00:00
Compare commits
7 Commits
7d59bf1148
...
aa6eb2877a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aa6eb2877a | ||
|
|
734d5c1f99 | ||
|
|
11315dee47 | ||
|
|
a9ffb1e67c | ||
|
|
237fda57b0 | ||
|
|
34b3c7c7a6 | ||
|
|
3701931c21 |
@ -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;
|
||||
|
||||
@ -380,7 +380,8 @@ if ( $editor->Available() ) {
|
||||
$submit_label = translate('Apply Changes');
|
||||
}
|
||||
|
||||
$grant_privileges = bindec($grantrow->Value('grant_privileges'));
|
||||
$gp_temp = $grantrow->Value('grant_privileges')
|
||||
$grant_privileges = isset($gp_temp) ? bindec($gp_temp) : 0;
|
||||
$privileges_set = '<div id="privileges">';
|
||||
for( $i=0; $i < count($privilege_names); $i++ ) {
|
||||
$privilege_set = ( (1 << $i) & $grant_privileges ? ' CHECKED' : '');
|
||||
@ -463,7 +464,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