Skip to content

Task Management #4

Closed
Closed

Description

@InfoX1337

Dependencies: None.

Scope: Implement CRUD for the Task model.

Validation: Require strict chronological validation upon creation/update (e.g., registration_start_at < registration_end_at, submissions_start_at < submissions_end_at).

AND after that:

All tasks and hackathon services / URLs must be prefixed with hackathon, e.g. /tasks/hackathon/create

Scope: Implement an internal service that automatically generates a HackathonTask extension record within the same database transaction whenever a Task with task_type=HACKATHON is created. Create an endpoint to update the requirements_document_url.

Activity

  1. olix3001 commented on Feb 21, 2026

    @olix3001
    Contributor

    task creation endpoint should be at POST /event/:event_id/task, and all task management should be handled directly through /task/:task_id, eventually task creation could be at POST /task while requiring event id as part of a payload

  2. olix3001 commented on Feb 21, 2026

    @olix3001
    Contributor

    we theoretically could use tstzrange which is built into postgres to guarantee chronology of start:end, but it might be hard to work with, so this decision is left for whoever decides to implement this task

  3. olix3001 commented on Feb 21, 2026

    @olix3001
    Contributor

    Task description is in markdown form, so it should be possible to handle arbitrary image upload for media used in the description. We could also validate markdown (for xss or sth)

    Ask me if you need more explanation for the "media" part.

  4. self-assigned this
    on Feb 21, 2026
  5. linked a pull request that will close this issue4 task management #21on Feb 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions