Commit Graph

168 Commits

Author SHA1 Message Date
a44002b714 feat(home/models.py): only allow CourseModulePages to be created under CoursePages 2026-03-17 12:32:37 +01:00
02805e953d chore(migrations/0015): add recurrence-specific fields to EventPage 2026-03-17 12:21:58 +01:00
efef0c0c3d chore(migrations/0014): remove eventpage and more 2026-03-17 12:19:47 +01:00
5559048ea1 feat(generate_event_occurrences.py): add management command for manual event occurrences generation 2026-03-17 12:17:30 +01:00
273bb6151d refactor(event_page.html): correct url names 2026-03-17 12:16:38 +01:00
397336457f refactor(calendar.html): change API URLs and event to occurrence 2026-03-17 12:15:56 +01:00
f2a1534e63 refactor(urls.py): rewrite paths after EventOccurrence addition 2026-03-17 12:13:22 +01:00
b8f9173628 feat(templates/occurrence_detail.html): add occurrence_detail template 2026-03-17 12:12:29 +01:00
c55fe40db0 feat(views.py): adapt views after for EventOccurrences 2026-03-17 12:08:07 +01:00
357f5aea26 feat(models.py): add EventOccurrence model 2026-03-17 11:56:06 +01:00
fa06fb3854 feat(views.py): set event color to gray on frontend if is past 2026-03-16 14:00:38 +01:00
af05e9186e feat(header.html): add link to course calendar 2026-03-16 13:46:19 +01:00
3514b2d893 feat(locale/en): update english translations 2026-03-16 13:45:59 +01:00
f845b06515 feat(locale/pl): update polish translations 2026-03-16 13:45:39 +01:00
631363346c fix(event_page.py): fix past event checks 2026-03-16 13:33:19 +01:00
c488ef3420 feat(models.py): add EventPage.is_past property 2026-03-16 13:32:27 +01:00
f609144a84 feat(event_page.html): add check if event is in the past 2026-03-16 13:21:12 +01:00
16599355c8 chore(migrations/0013): make signed_up_users a ParentalManyToMany field 2026-03-16 13:20:49 +01:00
6e6154f98c fix(models.py): fix wagtail editor error on new page creation 2026-03-16 13:20:16 +01:00
eb526618d1 feat(views.py): provide color and tags fields to calendar 2026-03-16 13:16:04 +01:00
8d5968885f build(uv.lock): add wagtail-color-panel to depedencies 2026-03-16 13:15:39 +01:00
155e5bcb2c build(pyproject.toml): add wagtail-color-panel to dependencies 2026-03-16 13:15:09 +01:00
5f21e7042f feat(base.py): add wagtail_color_panel to INSTALLED_APPS 2026-03-16 13:14:32 +01:00
e408a55d06 chore(migrations/0012): add tags and color fields to EventPage 2026-03-16 13:14:06 +01:00
7b10f8f367 feat(models.py): add tags and color fields to EventPage 2026-03-16 13:12:39 +01:00
8f47f14611 perf(calendar.html): load modal faster 2026-03-16 12:40:45 +01:00
5aa4870d1e feat(event_page.html): add object-cover and limit max height to 256px 2026-03-16 12:40:24 +01:00
4e4774081e fix(header.html): make language switcher always on top 2026-03-16 12:35:58 +01:00
600283a084 feat(wagtail_hooks.py): add wagtail hook to add code block to draftail editor 2026-03-16 12:33:12 +01:00
a068afcb55 feat(event_page.html): add EventPage template 2026-03-16 12:32:28 +01:00
a2a9545de5 chore(migrations/0011): add max_attendees and signed_up_users fields to EventPage model 2026-03-16 12:31:08 +01:00
cf0a4777ca feat(views.py): add views for calendar API and event signin/out 2026-03-16 12:30:27 +01:00
9890a51635 feat(urls.py): add routes to calendar api and event signin/out 2026-03-16 12:29:22 +01:00
f8193e9c47 feat(calendar.html): allow calendar to scroll 2026-03-16 12:28:07 +01:00
1a0e2c6f59 feat(calendar.html): add showModal() function and save currently viewed event to get params 2026-03-16 12:27:46 +01:00
6c3fc5241e feat(base.html): put body and content blocks in a flexbox 2026-03-16 12:26:42 +01:00
dddf5cf70d feat(models.py): add max_attendees and signed_up_users fields to EventPage 2026-03-16 12:26:08 +01:00
b637224eb5 style(models.py): ignore pyright warning 2026-03-16 12:17:44 +01:00
1acf38c9d1 chore(migrations/00010): add EmptyPage model 2026-03-13 14:39:00 +01:00
5e78c9f18a feat(home/models.py): add EmptyPage model 2026-03-13 14:38:34 +01:00
3f3dbfc341 fix(course_page.html): do not show unpublished modules 2026-03-13 14:37:52 +01:00
0e066941ad feat(kursy/urls.py): add calendar url 2026-03-13 14:37:51 +01:00
ac27498885 feat(kursy/views.py): add calendar view 2026-03-13 14:37:51 +01:00
cf5d7f2384 feat(calendar.html): add calendar template 2026-03-13 14:37:51 +01:00
cfd174a233 feat(base.html): add justify-center to body 2026-03-13 14:37:42 +01:00
5fef84b0a7 chore(migrations/0009): add EventPage model 2026-03-13 14:37:39 +01:00
40e6c29b4c feat(home/models.py): add EventPage model 2026-03-13 14:36:34 +01:00
942df2f43a build: add wagtailmedia to depedencies 2026-03-13 10:34:52 +01:00
9d49be8c49 chore(.gitignore): ignore media files 2026-03-12 14:27:14 +01:00
766330401e fix(templates/base.html): center the content div on page 2026-03-12 14:23:50 +01:00