From 401fd60ca49e734f14a2ba1a8dbb1921dd911b2a Mon Sep 17 00:00:00 2001 From: Holger Trampe Date: Mon, 18 Oct 2021 07:01:36 +0200 Subject: [PATCH] Umbau auf NC als neuer Branch --- README.md | 4 +- adm/forms.py | 5 +- adm/templates/adm/adm_base.html | 35 +- adm/templates/adm/adm_import_flow.html | 264 +++++++ adm/templates/adm/adm_import_overview.html | 58 ++ adm/templates/adm/adm_tmworkday.html | 58 -- adm/templates/adm/adm_user_single.html | 14 - .../__pycache__/__init__.cpython-38.pyc | Bin 181 -> 174 bytes .../__pycache__/adm_tags.cpython-38.pyc | Bin 2657 -> 2650 bytes adm/urls.py | 5 +- adm/views.py | 94 ++- api/urls.py | 21 + api/views.py | 692 +++++++++++++++++- chat/views.py | 8 +- cloud/views.py | 11 +- .../templates/dasettings/groups_content.html | 38 +- .../templates/dasettings/moduls_content.html | 8 +- .../dasettings/moduls_content_SAVE.html | 82 +++ dasettings/templates/dasettings/settings.html | 22 +- .../dasettings/user_newuser_step1.html | 16 +- .../templates/dasettings/user_usprof.html | 4 +- dasettings/views.py | 170 ++++- digitaleagentur/asgi.py | 10 +- digitaleagentur/routing.py | 6 +- digitaleagentur/settings.py | 47 +- digitaleagentur/utils.py | 94 ++- firstrun.py | 3 - news/urls.py | 2 +- news/views.py | 7 +- recoverdir/views.py | 124 ++-- requirements.txt | 3 + standards/models.py | 9 +- standards/templates/standards/jscode_icon.js | 15 + .../templates/standards/standards_add.html | 44 +- .../templates/standards/standards_single.html | 17 +- .../standards/standards_single_agn.html | 7 +- .../__pycache__/__init__.cpython-38.pyc | Bin 187 -> 180 bytes .../__pycache__/counter_tag.cpython-38.pyc | Bin 25583 -> 27113 bytes standards/templatetags/counter_tag.py | 86 ++- standards/urls.py | 4 +- standards/views.py | 212 ++++-- .../realtime_dropdown_nc_iframe.html | 337 +++++++++ .../timemanagement/rendered_table.html | 5 +- .../timemanagement/tm_ab_management.html | 6 +- .../timemanagement/tm_ab_update.html | 6 +- timemanagement/urls.py | 4 +- timemanagement/views.py | 13 +- users/admin.py | 8 +- ...inwebsocket.py => mainwebsocket.py_DELETE} | 3 +- users/middleware/__init__.py | 0 .../__pycache__/__init__.cpython-38.pyc | Bin 0 -> 174 bytes .../__pycache__/oauth.cpython-38.pyc | Bin 0 -> 3569 bytes users/middleware/oauth.py | 116 +++ users/models.py | 14 +- users/routing.py | 4 +- users/signals.py | 111 +-- users/static/users/css/custom.css | 1 - users/static/users/js/nc_js.js | 38 + users/templates/users/base.html | 414 ++--------- users/templates/users/dashboard.html | 2 - users/templates/users/login.html | 66 +- users/templates/users/login.html_SAVE | 56 ++ users/templates/users/nclog.html | 1 + users/templates/users/password_reset.html | 33 +- .../templates/users/password_reset.html_SAVE | 25 + users/templates/users/register.html | 75 +- users/templates/users/register.html_SAVE | 67 ++ users/templates/users/registercomplete.html | 32 +- .../users/registercomplete.html_SAVE | 24 + users/urls.py | 13 +- users/views.py | 244 ++++-- 71 files changed, 2988 insertions(+), 1029 deletions(-) create mode 100644 adm/templates/adm/adm_import_flow.html create mode 100644 adm/templates/adm/adm_import_overview.html delete mode 100644 adm/templates/adm/adm_tmworkday.html create mode 100644 dasettings/templates/dasettings/moduls_content_SAVE.html create mode 100644 standards/templates/standards/jscode_icon.js create mode 100644 timemanagement/templates/timemanagement/realtime_dropdown_nc_iframe.html rename users/{mainwebsocket.py => mainwebsocket.py_DELETE} (99%) create mode 100644 users/middleware/__init__.py create mode 100644 users/middleware/__pycache__/__init__.cpython-38.pyc create mode 100644 users/middleware/__pycache__/oauth.cpython-38.pyc create mode 100644 users/middleware/oauth.py create mode 100644 users/static/users/js/nc_js.js create mode 100644 users/templates/users/login.html_SAVE create mode 100644 users/templates/users/nclog.html create mode 100644 users/templates/users/password_reset.html_SAVE create mode 100644 users/templates/users/register.html_SAVE create mode 100644 users/templates/users/registercomplete.html_SAVE diff --git a/README.md b/README.md index ce61565..08d67af 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ digitale agentur - README -Quellcode für Prod aktuell - -Aktuelle Version für die Prod! \ No newline at end of file +Agenturstand zur Migration in Nextcloud. \ No newline at end of file diff --git a/adm/forms.py b/adm/forms.py index 2f245a7..aeacad6 100644 --- a/adm/forms.py +++ b/adm/forms.py @@ -22,12 +22,11 @@ class AdmWorkdayForm(forms.ModelForm): "start" : "Start", "end" : "Ende", "target" : "Zielarbeitszeit", - "freefield" : "Notiz", - "delflag" : "Nicht berücksichtigen (delflag)" + "freefield" : "Notiz" } fields = [ - "start", "end", "target", "freefield", "delflag" + "start", "end", "target", "freefield" ] widgets = { 'start': DatePickerInput(options={"format":'DD.MM.YYYY HH:mm', "locale":'de'}), diff --git a/adm/templates/adm/adm_base.html b/adm/templates/adm/adm_base.html index c5a6dc8..00941bd 100644 --- a/adm/templates/adm/adm_base.html +++ b/adm/templates/adm/adm_base.html @@ -97,6 +97,16 @@ Agenturen + {% if active_link == 'adm-import' %} + + {% if active_link == 'adm-bills' %} - - {% if active_link == 'adm-tm-wd-bug' %} - -