Add lookups for static user list, make LDAP optional

This commit is contained in:
2024-10-22 13:59:01 +02:00
parent ba7336b4ee
commit 28520c59b9
13 changed files with 75 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
import { Context } from "@oak/oak";
import { log } from "../log.ts";
import { lookupPubkeyByUsername } from "../ldap.ts";
import { lookupPubkeyByUsername } from "../directory.ts";
import { fetchArticlesByAuthor, fetchProfileEvent } from "../nostr.ts";
import { profileAtomFeed } from "../feeds.ts";
import Article from "../models/article.ts";