Commit Graph
5 Commits
Author SHA1 Message Date
kolaente 3b9bc0e542 fix(plugins): exclude example plugin from module build
The example plugin is a Yaegi entrypoint evaluated at runtime through its
exported factory functions, so it has no func main. As a regular package main
it broke `go build ./...` with "function main is undeclared in the main
package".

Add //go:build ignore so the go tool skips it. Yaegi is unaffected: the loader
reads the file and calls interp.Eval on its source, which does not evaluate
build constraints.

Fixes #3478
2026-08-20 16:51:01 +02:00
kolaenteandkolaente 273da5b4db feat(plugins): add example plugin
Demonstrates all plugin capabilities: authenticated and unauthenticated
routes, event listeners, and lifecycle hooks. Uses a shared singleton
for factory functions so Init() state is available to route handlers.
2026-03-30 20:44:46 +00:00
renovate[bot]GitHubrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>kolaente
9a61453e86 fix(deps): update module github.com/labstack/echo/v4 to v5 (#2131)
Closes https://github.com/go-vikunja/vikunja/pull/2133

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: kolaente <k@knt.li>
2026-01-24 20:38:32 +01:00
kolaente e5c860afec feat(plugins): allow plugins to register routes 2025-08-01 17:06:02 +02:00
kolaente b08b43953b feat(plugins): add rudimentary plugin system 2025-08-01 17:06:02 +02:00