Skip to content
프로젝트

fossasia/eventyay-teamshifts

GitHub에서 보기

소개

eventyay용 팀 교대 근무 플러그인

기타 프로젝트

이 수치를 측정하는 방법

What you can do

  • Team role configuration per event (open/close, description, capacity)
  • Team member role management (name, capacity, description)
  • Public team member sign-up form at /teamshifts/event/<org>/<event>/apply/
  • Organiser application review panel (accept / reject)

측정된 스타 증가

in 24h
0
in 7 days
+3
in 15 days
+2
in 1 month
+5

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

eventyay-teamshifts

A plugin for eventyay that will provide team coordination and shift management for events. This initial package bootstraps plugin registration; future phases will add team role management, application review, shift scheduling, and team member assignment within eventyay.

Planned Features

  • Team role configuration per event (open/close, description, capacity)
  • Team member role management (name, capacity, description)
  • Public team member sign-up form at /teamshifts/event/<org>/<event>/apply/
  • Organiser application review panel (accept / reject)
  • Shift schedule builder with a Vue 3 grid editor
  • Team member assignment with capacity enforcement
  • Moderator delegation for per-shift oversight
  • Email notifications via Celery (assignment confirmations, reminders)
  • 24-hour shift reminder via Celery Beat
  • Personal calendar view
  • iCal export for assigned shifts (stretch goal)
  • Public shift board (stretch goal)

Requirements

  • eventyay (latest)
  • Python 3.12+
  • Redis (for Celery)

Development Setup

  1. Make sure you have a working eventyay development setup.

  2. Clone this repository:

    git clone https://github.com/fossasia/eventyay-teamshifts
    
  3. Activate the virtual environment you use for eventyay development.

  4. Install the plugin in editable mode:

    uv pip install -e .
    
  5. Run migrations:

    python manage.py migrate
    
  6. Restart your local eventyay server. Enable the plugin from the Plugins tab in your event settings.

Code Style

This plugin enforces code style via ruff (import sorting + formatting) and flake8. CI runs these checks automatically on every PR.

To check locally:

ruff check --select I .
ruff format --check .
flake8 .

To auto-fix:

ruff check --select I --fix .
ruff format .

To enforce checks automatically before each commit:

./.install-hooks.sh

Running Tests

pytest tests/

Planned Project Structure

teamshifts/
  apps.py           Plugin AppConfig and EventyayPluginMeta
  models.py         CallForEventTeam, EventStaff, Shift, ShiftAssignment
  views.py          Organiser control panel views
  urls.py           URL routing under /teamshifts/event/<org>/<event>/
  signals.py        Sidebar nav registration and dashboard widgets
  tasks.py          Celery tasks for email notifications
  forms.py          Django forms for team settings, roles, sign-up
  serializers.py    DRF serializers for shift editor API
  api.py            REST API endpoints (shifts, assignments)
  templates/        Django HTML templates
  static/           Vue 3 shift editor (Vite build output)
  migrations/       Database migrations

관련 프로젝트 살펴보기

불러오는 중…