flow standard
This commit is contained in:
parent
62e1f1806f
commit
21e4abc27d
|
|
@ -28,10 +28,7 @@
|
|||
|
||||
$(document).ready(function(){
|
||||
// FIRST CALL GROUPS, When Groups finished User will call by Groups
|
||||
//createAgencyGroups(groupids[0]);
|
||||
|
||||
// FÜR SCHOLL
|
||||
addStandardFilesFiles(standard_files[0]);
|
||||
createAgencyGroups(groupids[0]);
|
||||
|
||||
//DEV
|
||||
//rebuildingStandards(standards[0]);
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@
|
|||
<h4>Agenturimport</h4>
|
||||
<small>Agenturen können hier importiert werden und erhalten einen detallierten Bericht. Bereits importierte Agenturen speichern ihre MainGroupID in Nextcloud</small>
|
||||
<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" >
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ urlpatterns = [
|
|||
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/<int:pk>/break/add', AdmAddBreak.as_view(), name="adm-break-add"),
|
||||
|
||||
# MIGRATION
|
||||
path('mig/aggroupfolder/<int:agencypk>', createAgGroupFolder, name="mig-groupfolder"),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ urlpatterns = [
|
|||
path('prepareswitchstandards/', views.NCGetFilesForStandardSwitch, name="apiswitchstandardsprepare"),
|
||||
|
||||
path('setlog/', views.SetUserData, name="apisetlog"),
|
||||
path('setinituserstat/', views.SetInitUserStat, name="apisetuserstatus"),
|
||||
# EXTERNAL FROM NC
|
||||
path('logout/<str:uid>', views.apilogout, name="api-logout"),
|
||||
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):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in New Issue