Affected by GO-2026-4480
and 12 other vulnerabilities
GO-2026-4480 : Vikunja Vulnerable to XSS Via Task Preview in code.vikunja.io/api
GO-2026-4551 : Vijkunja has Weak Password Policy Combined with Persistent Sessions After Password Change in code.vikunja.io/api
GO-2026-4552 : Vikunja has Reflected HTML Injection via filter Parameter in its Projects Module in code.vikunja.io/api
GO-2026-4553 : Vikunja: Stored XSS via Unsanitized SVG Attachment Upload Leads to Token Exposure in code.vikunja.io/api
GO-2026-4556 : Vikunja has Path Traversal in CLI Restore in code.vikunja.io/api
GO-2026-4575 : Vikunja Vulnerable to Account Takeover via Password Reset Token Reuse in code.vikunja.io/api
GO-2026-4791 : Vikunja has a Rate-Limit Bypass for Unauthenticated Users via Spoofed Headers in code.vikunja.io/api
GO-2026-4794 : Vikunja has a 2FA Bypass via Caldav Basic Auth in code.vikunja.io/api
GO-2026-4795 : Vikunja read-only users can delete project background images via broken object-level authorization in code.vikunja.io/api
GO-2026-4797 : Vikunja has an IDOR in Task Comments Allows Reading Arbitrary Comments in code.vikunja.io/api
GO-2026-4798 : Vikunja’s Improper Access Control Enables Bypass of Administrator-Imposed Account Disablement in code.vikunja.io/api
GO-2026-4805 : Vikunja has TOTP Reuse During Validity Window in code.vikunja.io/api
GO-2026-4811 : Vikunja Affected by DoS via Image Preview Generation in code.vikunja.io/api
Discover Packages
code.vikunja.io/api
pkg
events
package
Version:
v0.24.6
Opens a new window with list of versions in this module.
Published: Dec 22, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
AssertDispatched asserts an event has been dispatched.
Dispatch dispatches an event
Fake sets up the "test mode" of the events package. Typically you'd call this function in the TestMain function
in the package you're testing. It will prevent any events from being fired, instead they will be recorded and be
available for assertions.
func InitEvents() (err error )
InitEvents sets up everything needed to work with events
RegisterListener is used to register a listener when a specific event happens
TestListener takes an event and a listener and calls the listener's Handle method.
type Event interface {
Name() string
}
Event represents the event interface used by all events
Listener represents something that listens to events
Source Files
¶
Click to show internal directories.
Click to hide internal directories.