vikunja/pkg/audit
kolaente b3bcab1f72 refactor(events): use a concrete doer on project and team events
ProjectUpdated/Deleted, ProjectSharedWith* and TeamCreated/Deleted
carried an interface-typed Doer that could not be unmarshaled, forcing
the audit registrations to decode anonymous mirror structs. Hydrate the
doer via GetUserOrLinkShareUser at the dispatch sites like the task
events already do, register the events directly and drop the untyped
audit registration path.

Webhook payloads for these events now serialize link share doers as
their pseudo-user (negative id) instead of the raw link share object,
consistent with task events.
2026-06-12 08:56:08 +00:00
..
audit_test.go refactor(events): pass context to DispatchPending directly 2026-06-12 08:56:08 +00:00
entry.go refactor(audit): move package docs into entry.go 2026-06-12 08:56:08 +00:00
listener.go refactor(events): use a concrete doer on project and team events 2026-06-12 08:56:08 +00:00
writer.go fix(audit): handle reopen failure after a failed rotation 2026-06-12 08:56:08 +00:00