fossasia/eventyay-teamshifts
حول
إضافة لإدارة مناوبات الفريق في eventyay
مشاريع أخرىما يمكنك فعله
- 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)
النمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- +٣
- خلال 15 يومًا
- +٢
- خلال شهر
- +٥
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصل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
Make sure you have a working eventyay development setup.
Clone this repository:
git clone https://github.com/fossasia/eventyay-teamshiftsActivate the virtual environment you use for eventyay development.
Install the plugin in editable mode:
uv pip install -e .Run migrations:
python manage.py migrateRestart 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
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…