flow standard
This commit is contained in:
parent
62e1f1806f
commit
21e4abc27d
|
|
@ -28,10 +28,7 @@
|
||||||
|
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
// FIRST CALL GROUPS, When Groups finished User will call by Groups
|
// FIRST CALL GROUPS, When Groups finished User will call by Groups
|
||||||
//createAgencyGroups(groupids[0]);
|
createAgencyGroups(groupids[0]);
|
||||||
|
|
||||||
// FÜR SCHOLL
|
|
||||||
addStandardFilesFiles(standard_files[0]);
|
|
||||||
|
|
||||||
//DEV
|
//DEV
|
||||||
//rebuildingStandards(standards[0]);
|
//rebuildingStandards(standards[0]);
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,8 @@
|
||||||
<h4>Agenturimport</h4>
|
<h4>Agenturimport</h4>
|
||||||
<small>Agenturen können hier importiert werden und erhalten einen detallierten Bericht. Bereits importierte Agenturen speichern ihre MainGroupID in Nextcloud</small>
|
<small>Agenturen können hier importiert werden und erhalten einen detallierten Bericht. Bereits importierte Agenturen speichern ihre MainGroupID in Nextcloud</small>
|
||||||
<hr>
|
<hr>
|
||||||
|
<a href="{% url 'api:apisetuserstatus' %}" class="btn btn-danger btn-sm">Nutzerstatus von Nutzer initialisieren</a>
|
||||||
|
<hr>
|
||||||
<table class="table table-hover" id="agdata" >
|
<table class="table table-hover" id="agdata" >
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ urlpatterns = [
|
||||||
path('wd/<int:pk>/delete', AdmWorkdayDelete.as_view(), name="adm-workday-delete"),
|
path('wd/<int:pk>/delete', AdmWorkdayDelete.as_view(), name="adm-workday-delete"),
|
||||||
path('wd/break/<int:pk>/delete', AdmBreakDelete.as_view(), name="adm-break-delete"),
|
path('wd/break/<int:pk>/delete', AdmBreakDelete.as_view(), name="adm-break-delete"),
|
||||||
path('wd/<int:pk>/break/add', AdmAddBreak.as_view(), name="adm-break-add"),
|
path('wd/<int:pk>/break/add', AdmAddBreak.as_view(), name="adm-break-add"),
|
||||||
|
|
||||||
# MIGRATION
|
# MIGRATION
|
||||||
path('mig/aggroupfolder/<int:agencypk>', createAgGroupFolder, name="mig-groupfolder"),
|
path('mig/aggroupfolder/<int:agencypk>', createAgGroupFolder, name="mig-groupfolder"),
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@ urlpatterns = [
|
||||||
path('prepareswitchstandards/', views.NCGetFilesForStandardSwitch, name="apiswitchstandardsprepare"),
|
path('prepareswitchstandards/', views.NCGetFilesForStandardSwitch, name="apiswitchstandardsprepare"),
|
||||||
|
|
||||||
path('setlog/', views.SetUserData, name="apisetlog"),
|
path('setlog/', views.SetUserData, name="apisetlog"),
|
||||||
|
path('setinituserstat/', views.SetInitUserStat, name="apisetuserstatus"),
|
||||||
# EXTERNAL FROM NC
|
# EXTERNAL FROM NC
|
||||||
path('logout/<str:uid>', views.apilogout, name="api-logout"),
|
path('logout/<str:uid>', views.apilogout, name="api-logout"),
|
||||||
path('uschanged/<str:uid>/<str:sid>', views.userChangedInNc, name="api-userchanged"),
|
path('uschanged/<str:uid>/<str:sid>', views.userChangedInNc, name="api-userchanged"),
|
||||||
|
|
|
||||||
|
|
@ -422,6 +422,11 @@ def SetUserData(request):
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@api_view(['GET'], )
|
||||||
|
def SetInitUserStat(request):
|
||||||
|
r = requests.post(settings.NEXTCLOUD_URL + "ocs/v2.php/apps/da_agency/api/v1/setuserstatusinit", auth=(settings.NEXTCLOUD_USER_API, settings.NEXTCLOUD_PW_API))
|
||||||
|
|
||||||
|
return JsonResponse({'status' : True, 'message': r.text})
|
||||||
|
|
||||||
def getFileIdFromXML(xmlresponse):
|
def getFileIdFromXML(xmlresponse):
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue