mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-16 19:00:54 +00:00
Add RADICALE:displayname property for raw displayname
Remove workaround from the web interface.
This commit is contained in:
parent
2c0669046c
commit
d9aafd154e
2 changed files with 15 additions and 7 deletions
|
@ -221,10 +221,6 @@ function get_collections(user, password, collection, callback) {
|
|||
description = calendardesc_element ? calendardesc_element.textContent : "";
|
||||
}
|
||||
}
|
||||
// Quirks
|
||||
if (href === (displayname ? "/" + displayname + "/" : "/")) {
|
||||
displayname = "";
|
||||
}
|
||||
var sane_color = color.trim();
|
||||
if (sane_color) {
|
||||
var color_match = COLOR_RE.exec(sane_color);
|
||||
|
@ -249,10 +245,14 @@ function get_collections(user, password, collection, callback) {
|
|||
}
|
||||
};
|
||||
request.send('<?xml version="1.0" encoding="utf-8" ?>' +
|
||||
'<propfind xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:CR="urn:ietf:params:xml:ns:carddav" xmlns:I="http://apple.com/ns/ical/" xmlns:INF="http://inf-it.com/ns/ab/">' +
|
||||
'<propfind xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" ' +
|
||||
'xmlns:CR="urn:ietf:params:xml:ns:carddav" ' +
|
||||
'xmlns:I="http://apple.com/ns/ical/" ' +
|
||||
'xmlns:INF="http://inf-it.com/ns/ab/" ' +
|
||||
'xmlns:RADICALE="http://radicale.org/ns/">' +
|
||||
'<prop>' +
|
||||
'<resourcetype />' +
|
||||
'<displayname />' +
|
||||
'<RADICALE:displayname />' +
|
||||
'<I:calendar-color />' +
|
||||
'<INF:addressbook-color />' +
|
||||
'<C:calendar-description />' +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue