Commit Graph

90 Commits

Author SHA1 Message Date
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
2749c70cdd feat(course_page.html): add ?next= parameter to login/signup buttons on course page while logged out 2026-03-12 14:22:48 +01:00
0cd748a9eb feat(course_page.html): display course image on page 2026-03-12 14:21:46 +01:00
d6dbfb92ce chore(migrations/0008_coursepage_course_image.py): add course_image field 2026-03-12 14:20:06 +01:00
7bcbb63a49 feat(models.py): add course_image property to CoursePage 2026-03-12 14:19:36 +01:00
da0c06d3b6 feat(home/models.py): add CourseModulePage.course property 2026-03-12 14:08:48 +01:00
bddc857345 feat(course_page.html): add messages if user not logged in or doesn't have access to course 2026-03-12 13:52:14 +01:00
a014c476e6 feat(home/models.py): add user_has_access property to CoursePage 2026-03-12 13:51:21 +01:00
bfc84d2d61 fix(home/models.py): fix allowed_groups not changing in wagtail panel 2026-03-12 13:49:45 +01:00
f57e594e9c refactor(header.html): use one unified search bar 2026-03-12 13:47:11 +01:00
04ee75e1e6 chore(migrations/0007_coursepage_allowed_groups.py): add allowed_groups field 2026-03-12 12:13:14 +01:00
44ee735a2d feat(home/models.py): add allowed_groups field to CoursePage 2026-03-12 11:28:32 +01:00
aaffcb7a4e feat(home/course_module_page.html): add CourseModulePage template 2026-03-12 11:28:14 +01:00
765ee76239 chore(migrations/0006_coursemodulepage.py): add CourseModulePage migration 2026-03-12 10:23:45 +01:00
eb144a7b71 feat(home/models.py): add CourseModulePage model 2026-03-12 10:22:55 +01:00
240e0c654c feat(header.html): use wagtail site name instead of hard-coded 2026-03-12 10:22:04 +01:00
8f5a4f8b24 feat(home/course_page.html): set course page title 2026-03-12 10:20:56 +01:00
da2a5959d1 feat(search/views.py): search only courses 2026-03-12 10:12:44 +01:00
7de7fabf54 chore(locale/pl): correct 'Logout' to 'Wyloguj się' 2026-03-12 09:54:14 +01:00
140855b7ca fix(search/views.py): fix error if search query whitespace-only 2026-03-12 09:53:36 +01:00
a303125b2b chore(locale/pl): add new strings 2026-03-11 14:56:26 +01:00
746b00ed91 chore(locale/en): add new strings 2026-03-11 14:56:15 +01:00
51c4db3d2b feat(profile.html): replace no courses message with translatable string 2026-03-11 14:55:45 +01:00
afedc3bbc4 refactor(base.html): fix indentation to 2 spaces 2026-03-11 14:52:08 +01:00
afd3703968 feat(settings/base.py): use allauth login for WAGTAIL_FRONTEND_LOGIN_TEMPLATE 2026-03-11 14:50:21 +01:00
38d8dec49c feat(course_page.html): include prose class on content 2026-03-11 14:49:40 +01:00
1674e4191f feat(home_page.html): include prose class on content 2026-03-11 14:49:26 +01:00
7f62c8ad6a feat(home/migrations): remove coursepage group 2026-03-11 14:48:57 +01:00
75f79cecc1 chore(home/models.py): remove redundant group assigning logic (built into wagtail) 2026-03-11 14:47:55 +01:00