django-academic-community merge requestshttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests2020-09-09T09:05:44+02:00https://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/2intermediate update with new styling2020-09-09T09:05:44+02:00Philipp S. Sommerphilipp.sommer@hereon.deintermediate update with new stylingthis updates the master branch with the latest styling (i.e. using the minimal-mistakes theme and some changes to the topic browser). @HDibeh, you can continue working in the `dietmar` branch.this updates the master branch with the latest styling (i.e. using the minimal-mistakes theme and some changes to the topic browser). @HDibeh, you can continue working in the `dietmar` branch.Philipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/1Use minimal mistakes theme for navigation2020-09-10T08:49:30+02:00Philipp S. Sommerphilipp.sommer@hereon.deUse minimal mistakes theme for navigationMoin,
ich hatte mir gerade gedacht @dietmar_sauer und @HDibeh, da ich ja eh die Navigation vom minimal-mistakes theme im Kopf habe, warum nutzen wir nicht einfach das? Zugegeben, es ist etwas unorthodox ein Jekyll-Theme für Django zu be...Moin,
ich hatte mir gerade gedacht @dietmar_sauer und @HDibeh, da ich ja eh die Navigation vom minimal-mistakes theme im Kopf habe, warum nutzen wir nicht einfach das? Zugegeben, es ist etwas unorthodox ein Jekyll-Theme für Django zu benutzen, aber ich habe es jetzt einfach mal gemacht...
Bootstrap4 geht immernoch.
Was haltet ihr von dieser Idee? Zumindest für unsere Demo auf der CLM-Community GA sollte das so funktionieren. Und umstellen lässt sich das relativ leicht, man muss ja nur das `base.html` entsprechend anpassen.
Zum Hintergrund: Ich habe jetzt einfach ein neues repository angelegt (https://coastgit.hzg.de/hcdc/django/mm-django), basierend auf dem [starter template für das minimal mistakes Jekyll-Theme](https://github.com/mmistakes/mm-github-pages-starter). Damit habe ich ein `index.html` erstellt und die ganzen Stylings, und diese dann als static files, bzw. `base.html` template diesem Repo hinzugefügt. Falls wir das also rückgängig machen wollen, müssen wir einfach 491aabb48018bc44e049ad2b8e8f4b4d2d6ffcae reverten.
Das ganze sieht dann jetzt so aus:
![image](/uploads/48c98663687f5b2912e6fb994c4867cf/image.png)
closes #3, closes #4Philipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/3Add academic community to this package2020-09-10T12:23:21+02:00Philipp S. Sommerphilipp.sommer@hereon.deAdd academic community to this packageThis MR adds the academic_community app (formerly https://coastgit.hzg.de/hcdc/django/django-academic-community) to the django project. Furthermore I implemented multiple views to see institutions, members, login, logout, etc.This MR adds the academic_community app (formerly https://coastgit.hzg.de/hcdc/django/django-academic-community) to the django project. Furthermore I implemented multiple views to see institutions, members, login, logout, etc.Philipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/4add search2020-09-14T13:54:21+02:00Philipp S. Sommerphilipp.sommer@hereon.deadd searchthis MR implements a basic search functionality and restructures some of the templatesthis MR implements a basic search functionality and restructures some of the templatesPhilipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/5Add m2ms2020-09-28T13:11:47+02:00Philipp S. Sommerphilipp.sommer@hereon.deAdd m2ms@Dibeh, dieser MR fügt die fehlenden M2M-relationships hinzu. Damit das funktioniert und diese auch in deiner Datenbank sind, musst du folgendes tun:
```bash
git pull origin master
rm db.sqlite3
python manage.py makemigrations
pyt...@Dibeh, dieser MR fügt die fehlenden M2M-relationships hinzu. Damit das funktioniert und diese auch in deiner Datenbank sind, musst du folgendes tun:
```bash
git pull origin master
rm db.sqlite3
python manage.py makemigrations
python manage.py migrate
python manage.py clm2django -p ...
python manage.py makedummyusers -n "Beate Geyer" "Burkhardt Rockel"
python manage.py createsuperuser
```
(die letzten beiden Namen sind nur Beispiele, du kannst auch andere aus der Community nehmen, oder du lässt es weg, dann werden sie für alle erstellt).
Meld dich, wenn du Probleme damit hast.
closes #5Philipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/7Ci fix for the dietmar branch2020-11-02T10:41:54+01:00Philipp S. Sommerphilipp.sommer@hereon.deCi fix for the dietmar branchHey Housam,
hab hier ein paar fixes eingestellt. Unter anderem ist `last_modification_date` für topics jetzt optional. Wenn das hier für dich ok ist, musst du einmal `python manage.py makemigrations` bei dir lokal machen. Er wird dich d...Hey Housam,
hab hier ein paar fixes eingestellt. Unter anderem ist `last_modification_date` für topics jetzt optional. Wenn das hier für dich ok ist, musst du einmal `python manage.py makemigrations` bei dir lokal machen. Er wird dich dann nach 3 Optionen fragen
```
1) Provide a one-off default now (will be set on all existing rows with a null value for this column)
2) Ignore for now, and let me handle existing rows with NULL myself (e.g. because you added a RunPython or RunSQL operation to handle NULL values in a previous data migration)
3) Quit, and let me add a default in models.py
```
Nimm einfach die erste und bei der anschließenden Frage
```
Please enter the default value now, as valid Python
The datetime and django.utils.timezone modules are available, so you can do e.g. timezone.now
Type 'exit' to exit this prompt
>>>
```
gib `None` ein.
Dann einmal migrieren via
```
python manage.py migrate
```Philipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/6update topic browser and topic detail templates2020-11-02T13:09:36+01:00Philipp S. Sommerphilipp.sommer@hereon.deupdate topic browser and topic detail templatesMit diesem MR wollen wir hauptsächlich die templates für den topic browser und den topic detail view überarbeitenMit diesem MR wollen wir hauptsächlich die templates für den topic browser und den topic detail view überarbeitenPhilipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/8Postgres setup2020-12-14T18:42:45+01:00Philipp S. Sommerphilipp.sommer@hereon.dePostgres setupadd the possibility for postgres migrationadd the possibility for postgres migrationPhilipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/9Academic membership admin2020-12-17T13:43:27+01:00Philipp S. Sommerphilipp.sommer@hereon.deAcademic membership adminThis MR adds an admin interface for the AcademicMembership model and a corresponding inline version for the communitymember admin. As we want to distinguish between institution, department and unit, we use Javascript with jquery here to ...This MR adds an admin interface for the AcademicMembership model and a corresponding inline version for the communitymember admin. As we want to distinguish between institution, department and unit, we use Javascript with jquery here to fill the selection menus within the admin interface.
ping @Dibeh just for informationPhilipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/10Require login for institution detailview2020-12-17T17:33:19+01:00Philipp S. Sommerphilipp.sommer@hereon.deRequire login for institution detailviewand order institutions by `start_date`and order institutions by `start_date`Philipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/12Remove mmistakes2020-12-21T12:28:28+01:00Philipp S. Sommerphilipp.sommer@hereon.deRemove mmistakesThis MR removes the navigation based on minimal-mistakes (i.e. reverts 491aabb48018bc44e049ad2b8e8f4b4d2d6ffcae) and uses the simple sidebar bootstrap template instead (see https://startbootstrap.com/template/simple-sidebar)This MR removes the navigation based on minimal-mistakes (i.e. reverts 491aabb48018bc44e049ad2b8e8f4b4d2d6ffcae) and uses the simple sidebar bootstrap template instead (see https://startbootstrap.com/template/simple-sidebar)Philipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/13Institutions layout2020-12-21T14:22:43+01:00Philipp S. Sommerphilipp.sommer@hereon.deInstitutions layoutmerge the latest master branch and make some layout changesmerge the latest master branch and make some layout changesPhilipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/11revise institution list and institution detail view2020-12-21T14:24:08+01:00Philipp S. Sommerphilipp.sommer@hereon.derevise institution list and institution detail viewcloses #7, closes #8closes #7, closes #8Philipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/14Search2020-12-21T14:44:51+01:00Philipp S. Sommerphilipp.sommer@hereon.deSearchadd search form and results (again)add search form and results (again)Philipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/15Departments and units2020-12-21T23:35:40+01:00Philipp S. Sommerphilipp.sommer@hereon.deDepartments and unitsthis MR adds detail views for the departments and units of an institution within the community.
It also revises several small formatting issues with the topics and institution template.
closes #9this MR adds detail views for the departments and units of an institution within the community.
It also revises several small formatting issues with the topics and institution template.
closes #9Philipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/16Add views for CLM Activities2020-12-22T17:00:10+01:00Philipp S. Sommerphilipp.sommer@hereon.deAdd views for CLM Activitiescloses #12closes #12Philipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/18Add ordering by name/start date2021-01-29T11:07:30+01:00Philipp S. Sommerphilipp.sommer@hereon.deAdd ordering by name/start datecloses #13closes #13Philipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/17add unique to the field email2021-01-29T11:34:22+01:00Philipp S. Sommerphilipp.sommer@hereon.deadd unique to the field emailcloses #33closes #33Philipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/20Members list #152021-01-29T11:45:02+01:00Philipp S. Sommerphilipp.sommer@hereon.deMembers list #15Philipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.dehttps://codebase.helmholtz.cloud/hcdc/django/clm-community/django-academic-community/-/merge_requests/22Set is_member Falls by new registeration members2021-02-01T16:39:09+01:00Philipp S. Sommerphilipp.sommer@hereon.deSet is_member Falls by new registeration memberscloses #35closes #35Philipp S. Sommerphilipp.sommer@hereon.dePhilipp S. Sommerphilipp.sommer@hereon.de