Show transparency in calendar view

Also separate utils.ts file which was getting too big, and add a POST test
This commit is contained in:
Bruno Bernardino
2024-03-29 20:37:47 +00:00
parent 0b4b741d79
commit 6b3dc4f256
44 changed files with 983 additions and 975 deletions

View File

@@ -2,14 +2,8 @@ import { Handler } from 'fresh/server.ts';
import { parse } from 'xml/mod.ts';
import { FreshContextState } from '/lib/types.ts';
import {
buildRFC822Date,
convertObjectToDavXml,
DAV_RESPONSE_HEADER,
escapeHtml,
escapeXml,
formatContactToVCard,
} from '/lib/utils.ts';
import { buildRFC822Date, convertObjectToDavXml, DAV_RESPONSE_HEADER, escapeHtml, escapeXml } from '/lib/utils/misc.ts';
import { formatContactToVCard } from '/lib/utils/contacts.ts';
import { getAllContacts } from '/lib/data/contacts.ts';
import { createSessionCookie } from '/lib/auth.ts';