django-academic-community merge requestshttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests2024-01-11T10:02:00+01:00https://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/177remove remainders of djangocms-bootstrap52024-01-11T10:02:00+01:00Philipp S. Sommerphilipp.sommer@hereon.deremove remainders of djangocms-bootstrap5this is a follow-up on !176 and finishes the migration from djangocms-bootstrap5 to djangocms-frontend. Note that this is a breaking change! You first need to do the migration from !176 and the run implement the changes from this MR. Oth...this is a follow-up on !176 and finishes the migration from djangocms-bootstrap5 to djangocms-frontend. Note that this is a breaking change! You first need to do the migration from !176 and the run implement the changes from this MR. Otherwise you may encounter data loss.
To run the migration,
1. install [`django-academic-community==0.0.1.dev0+282.g934a7def`](https://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/packages/2814)
2. add the following to your `settings.py`
```python
DJANGOCMS_FRONTEND_ADDITIONAL_MIGRATIONS = [
"academic_community.management.bootstrap5_migration"
]
```
3. remove `django.contrib.auth` and `django.contrib.admin` from the `INSTALLED_APPS` in settings (they are now added via `academic_community.INSTALLED_APPS`)
4. run `python manage.py migrate` and `python manage.py frontend migrate`
afterwards you can continue with the changes introduced in this MRPhilipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/176migrate djangocms-bootstrap5 to djangocms-frontend2024-01-11T10:02:00+01:00Philipp S. Sommerphilipp.sommer@hereon.demigrate djangocms-bootstrap5 to djangocms-frontendas a pre-requisite to !175, this MR migrates from djangocms-bootstrap5 to djangocms-frontend as the former was never really maintained. The migration can be done with `python manage.py frontend migrate` but the following setting must be ...as a pre-requisite to !175, this MR migrates from djangocms-bootstrap5 to djangocms-frontend as the former was never really maintained. The migration can be done with `python manage.py frontend migrate` but the following setting must be included in `settings.py`:
```python
DJANGOCMS_FRONTEND_ADDITIONAL_MIGRATIONS = [
"academic_community.management.bootstrap5_migration"
]
```https://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/161replace event list view through CMS page2024-01-10T15:43:59+01:00Philipp S. Sommerphilipp.sommer@hereon.dereplace event list view through CMS pagethis is (hopefully) the last big step in the migration of the core DJAC apps to django-CMS and migrates the content of the `EventListView` to a CMS page. The biggest portion in this MR is the plugin to create a modal for creating events....this is (hopefully) the last big step in the migration of the core DJAC apps to django-CMS and migrates the content of the `EventListView` to a CMS page. The biggest portion in this MR is the plugin to create a modal for creating events. this required quite some changes in the `tab_list` and `tab_content` template tagsPhilipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/144add apphooks for activities, topics and events2024-01-10T15:43:58+01:00Philipp S. Sommerphilipp.sommer@hereon.deadd apphooks for activities, topics and eventsthis MR makes the activities, topics and events app moveable in the form of apphooks (see https://docs.django-cms.org/en/latest/how_to/apphooks.html) and adds a `create_default_cms_pages` django management command (`python manage.py crea...this MR makes the activities, topics and events app moveable in the form of apphooks (see https://docs.django-cms.org/en/latest/how_to/apphooks.html) and adds a `create_default_cms_pages` django management command (`python manage.py create_default_cms_pages`) to create the default web pagesPhilipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/174implement logo in default activity_card template2023-12-19T14:36:16+01:00Philipp S. Sommerphilipp.sommer@hereon.deimplement logo in default activity_card templatefollow-up on !173follow-up on !173Philipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/173add logo and different card templates for the working groups2023-12-19T14:26:39+01:00Philipp S. Sommerphilipp.sommer@hereon.deadd logo and different card templates for the working groupsthis MR implements the `logo` field for activities and it introduces a card template selection scheme for activity card plugins. admins can now assign a template to different categories of working groups and working groups can have logosthis MR implements the `logo` field for activities and it introduces a card template selection scheme for activity card plugins. admins can now assign a template to different categories of working groups and working groups can have logosPhilipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/172Search pages2023-12-18T23:17:38+01:00Philipp S. Sommerphilipp.sommer@hereon.deSearch pagesthis MR implements the keyword based search within CMS pagesthis MR implements the keyword based search within CMS pagesPhilipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/171minor fix for TopicMembershipFormsetView2023-12-13T11:07:32+01:00Philipp S. Sommerphilipp.sommer@hereon.deminor fix for TopicMembershipFormsetViewthe topic membership formset view has was missing the apphook. this is fixed by this MRthe topic membership formset view has was missing the apphook. this is fixed by this MRPhilipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/170update default permissions2023-12-11T11:42:14+01:00Philipp S. Sommerphilipp.sommer@hereon.deupdate default permissionsto reflect all the new CMS plugins that have been introducedto reflect all the new CMS plugins that have been introducedPhilipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/169Contact page2023-12-11T11:26:38+01:00Philipp S. Sommerphilipp.sommer@hereon.deContact pagethis MR replaces the contact page (formerly served at `/contact/`) through a CMS plugin that renders a contact form.this MR replaces the contact page (formerly served at `/contact/`) through a CMS plugin that renders a contact form.Philipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/168Activity sidebar2023-12-08T22:37:07+01:00Philipp S. Sommerphilipp.sommer@hereon.deActivity sidebarthis MR adds a plugin to render the sidebar for an activity on places outside of the activity detail page. and it adds further options for the navigation menusthis MR adds a plugin to render the sidebar for an activity on places outside of the activity detail page. and it adds further options for the navigation menusPhilipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/167implement namespace_url tag2023-12-08T18:12:02+01:00Philipp S. Sommerphilipp.sommer@hereon.deimplement namespace_url tagthat accounts for the case when there are CMS pages below an apphook
this MR fixes the case when we serve CMS pages below an apphook, in particular for the working groups (as we aim to support this case).
Note that this is generally no...that accounts for the case when there are CMS pages below an apphook
this MR fixes the case when we serve CMS pages below an apphook, in particular for the working groups (as we aim to support this case).
Note that this is generally not supported by django CMS, but we can make it work :wink:Philipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/166Menu plugin2023-12-07T21:42:58+01:00Philipp S. Sommerphilipp.sommer@hereon.deMenu pluginthis MR implements a plugin to show the navigation menu (rather than hard-coding it in the sidebar)this MR implements a plugin to show the navigation menu (rather than hard-coding it in the sidebar)Philipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/165implement custom AppConfigMixin2023-12-07T19:19:45+01:00Philipp S. Sommerphilipp.sommer@hereon.deimplement custom AppConfigMixinto account for CMS pages that are below an apphookto account for CMS pages that are below an apphookPhilipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/164Make apphook permissions inherited from CMS pages2023-12-06T11:15:04+01:00Philipp S. Sommerphilipp.sommer@hereon.deMake apphook permissions inherited from CMS pagesThis MR lets the apphooks use the CMS permissions and it adds fields to the `TopicsConfig` to configure the `add_topic_for_namespace` permissionThis MR lets the apphooks use the CMS permissions and it adds fields to the `TopicsConfig` to configure the `add_topic_for_namespace` permissionPhilipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/163implement COMMUNITYMEMBER_NAMESPACE setting2023-12-04T15:24:23+01:00Philipp S. Sommerphilipp.sommer@hereon.deimplement COMMUNITYMEMBER_NAMESPACE settingthis setting moves community members to the correct namespace once they have been approvedthis setting moves community members to the correct namespace once they have been approvedPhilipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/162implement plugin for a button to create topics2023-12-04T10:41:56+01:00Philipp S. Sommerphilipp.sommer@hereon.deimplement plugin for a button to create topicsthis MR implements a plugin for a button to create topics. this was missing when we remove the topics list page in !153
Furthermore we implement the permission on a namespace level to create topics, as we did for the events in !161this MR implements a plugin for a button to create topics. this was missing when we remove the topics list page in !153
Furthermore we implement the permission on a namespace level to create topics, as we did for the events in !161Philipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/153add filter and namespace for topics2023-12-04T10:25:29+01:00Philipp S. Sommerphilipp.sommer@hereon.deadd filter and namespace for topicsas follow-up on !152, this MR now adds the CMS page for the topics and implements an app_config for topicsas follow-up on !152, this MR now adds the CMS page for the topics and implements an app_config for topicsPhilipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/160limit activity choices for contribution to active working groups2023-11-29T17:51:26+01:00Philipp S. Sommerphilipp.sommer@hereon.delimit activity choices for contribution to active working groupscloses #180closes #180Philipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/159show phone number and email on the website2023-11-29T17:51:16+01:00Philipp S. Sommerphilipp.sommer@hereon.deshow phone number and email on the websitepartially reverts a bug introduced in c171037dfe843b5ccc75459ef8e754aa19352d96
closes #183partially reverts a bug introduced in c171037dfe843b5ccc75459ef8e754aa19352d96
closes #183