django-content-studio 1.0.0b12__py3-none-any.whl → 1.0.0b14__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- content_studio/__init__.py +1 -1
- content_studio/contrib/__init__.py +0 -0
- content_studio/contrib/password_reset/__init__.py +1 -0
- content_studio/contrib/password_reset/apps.py +6 -0
- content_studio/contrib/password_reset/migrations/0001_initial.py +52 -0
- content_studio/contrib/password_reset/migrations/__init__.py +0 -0
- content_studio/contrib/password_reset/models.py +39 -0
- content_studio/contrib/password_reset/serializers.py +15 -0
- content_studio/contrib/password_reset/urls.py +30 -0
- content_studio/contrib/password_reset/views.py +118 -0
- content_studio/dashboard/scheduled_tasks.py +43 -0
- content_studio/locale/nl/LC_MESSAGES/django.mo +0 -0
- content_studio/locale/nl/LC_MESSAGES/django.po +49 -0
- content_studio/login_backends/username_password.py +0 -16
- content_studio/settings.py +1 -0
- content_studio/static/content_studio/assets/index.css +1 -1
- content_studio/static/content_studio/assets/index.js +92 -73
- content_studio/static/content_studio/locales/en/translation.json +25 -0
- content_studio/static/content_studio/locales/nl/translation.json +25 -0
- content_studio/templates/content_studio/index.html +7 -7
- content_studio/views.py +8 -0
- {django_content_studio-1.0.0b12.dist-info → django_content_studio-1.0.0b14.dist-info}/METADATA +1 -1
- {django_content_studio-1.0.0b12.dist-info → django_content_studio-1.0.0b14.dist-info}/RECORD +25 -13
- {django_content_studio-1.0.0b12.dist-info → django_content_studio-1.0.0b14.dist-info}/LICENSE +0 -0
- {django_content_studio-1.0.0b12.dist-info → django_content_studio-1.0.0b14.dist-info}/WHEEL +0 -0
|
@@ -29,6 +29,21 @@
|
|
|
29
29
|
"forgot_password": "Forgot password?",
|
|
30
30
|
"no_account": "Don't have an account? Contact your administrator"
|
|
31
31
|
},
|
|
32
|
+
"forgot_password": {
|
|
33
|
+
"title": "Forgot your password?",
|
|
34
|
+
"subtitle": "Enter your email address to reset your password.",
|
|
35
|
+
"submit": "Reset password",
|
|
36
|
+
"email_placeholder": "Enter your email",
|
|
37
|
+
"login": "Log in"
|
|
38
|
+
},
|
|
39
|
+
"reset_password": {
|
|
40
|
+
"title": "Reset your password",
|
|
41
|
+
"subtitle": "You will receive an email with a reset code.",
|
|
42
|
+
"enter_Code": "Enter the reset code",
|
|
43
|
+
"submit": "Reset password",
|
|
44
|
+
"password_placeholder": "Enter a password",
|
|
45
|
+
"success_message": "Your password has been changed. You can now log in with your new password."
|
|
46
|
+
},
|
|
32
47
|
"main_menu": {
|
|
33
48
|
"dashboard": "Dashboard",
|
|
34
49
|
"media_library": "Media library",
|
|
@@ -87,6 +102,16 @@
|
|
|
87
102
|
"activity_log": {
|
|
88
103
|
"title": "Activity log",
|
|
89
104
|
"subtitle": "Latest updates from your team"
|
|
105
|
+
},
|
|
106
|
+
"scheduled_tasks": {
|
|
107
|
+
"empty": "No scheduled tasks",
|
|
108
|
+
"next": "Next:",
|
|
109
|
+
"status": {
|
|
110
|
+
"SUCCESS": "Successful",
|
|
111
|
+
"RUNNING": "Running",
|
|
112
|
+
"SCHEDULED": "Scheduled",
|
|
113
|
+
"FAILURE": "Failed"
|
|
114
|
+
}
|
|
90
115
|
}
|
|
91
116
|
}
|
|
92
117
|
}
|
|
@@ -28,6 +28,21 @@
|
|
|
28
28
|
"remember_me": "Onthoud mij",
|
|
29
29
|
"forgot_password": "Wachtwoord vergeten?",
|
|
30
30
|
"no_account": "Geen account? Neem contact op met je administrator."
|
|
31
|
+
},
|
|
32
|
+
"forgot_password": {
|
|
33
|
+
"title": "Wachtwoord vergeten?",
|
|
34
|
+
"subtitle": "Voer je e-mailadres in om je wachtwoord te herstellen.",
|
|
35
|
+
"submit": "Wachtwoord herstellen",
|
|
36
|
+
"email_placeholder": "Voer je e-mailadres in",
|
|
37
|
+
"login": "Inloggen"
|
|
38
|
+
},
|
|
39
|
+
"reset_password": {
|
|
40
|
+
"title": "Wachtwoord herstellen",
|
|
41
|
+
"subtitle": "Je ontvangt een e-mail met een resetcode.",
|
|
42
|
+
"enter_code": "Voer de resetcode in",
|
|
43
|
+
"submit": "Wachtwoord wijzigen",
|
|
44
|
+
"password_placeholder": "Voer een wachtwoord in",
|
|
45
|
+
"success_message": "Je wachtwoord is gewijzigd. Je kan nu inloggen met je nieuwe wachtwoord."
|
|
31
46
|
},
|
|
32
47
|
"main_menu": {
|
|
33
48
|
"dashboard": "Dashboard",
|
|
@@ -92,6 +107,16 @@
|
|
|
92
107
|
"2": "bewerkte",
|
|
93
108
|
"3": "verwijderde"
|
|
94
109
|
}
|
|
110
|
+
},
|
|
111
|
+
"scheduled_tasks": {
|
|
112
|
+
"empty": "Geen geplande taken",
|
|
113
|
+
"next": "Volgende:",
|
|
114
|
+
"status": {
|
|
115
|
+
"SUCCESS": "Geslaagd",
|
|
116
|
+
"RUNNING": "Wordt uitgevoerd",
|
|
117
|
+
"SCHEDULED": "Gepland",
|
|
118
|
+
"FAILURE": "Mislukt"
|
|
119
|
+
}
|
|
95
120
|
}
|
|
96
121
|
}
|
|
97
122
|
},
|
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
window.DCS_STATIC_PREFIX = "{% static '' %}content_studio/";
|
|
11
11
|
window.DCS_BASENAME = "{% url 'content_studio_web' %}";
|
|
12
12
|
</script>
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
<script type="module" crossorigin src="{% static 'content_studio/assets/index.js' %}?v={{ version }}"></script>
|
|
14
|
+
<link rel="stylesheet" crossorigin href="{% static 'content_studio/assets/index.css' %}?v={{ version }}">
|
|
15
|
+
<link rel="stylesheet" crossorigin href="{% static 'content_studio/icons/pi/style.css' %}?v={{ version }}">
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
19
|
-
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap" rel="stylesheet">
|
|
17
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
18
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
19
|
+
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap" rel="stylesheet">
|
|
20
20
|
</head>
|
|
21
21
|
<body>
|
|
22
|
-
<div id="root"
|
|
22
|
+
<div id="root">HUH</div>
|
|
23
23
|
</body>
|
|
24
24
|
</html>
|
content_studio/views.py
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
from django.conf import settings
|
|
2
2
|
from django.contrib import admin
|
|
3
3
|
from django.urls import reverse, NoReverseMatch
|
|
4
|
+
from django.utils.decorators import method_decorator
|
|
4
5
|
from django.utils.translation import gettext_lazy as _
|
|
6
|
+
from django.views.decorators.cache import never_cache
|
|
5
7
|
from django.views.generic import TemplateView
|
|
6
8
|
from rest_framework import serializers
|
|
7
9
|
from rest_framework.decorators import action
|
|
@@ -18,6 +20,7 @@ from .serializers import SessionUserSerializer
|
|
|
18
20
|
from .settings import cs_settings
|
|
19
21
|
|
|
20
22
|
|
|
23
|
+
@method_decorator(never_cache, name="dispatch")
|
|
21
24
|
class ContentStudioWebAppView(TemplateView):
|
|
22
25
|
"""
|
|
23
26
|
View for rendering the content studio web app.
|
|
@@ -25,6 +28,11 @@ class ContentStudioWebAppView(TemplateView):
|
|
|
25
28
|
|
|
26
29
|
template_name = "content_studio/index.html"
|
|
27
30
|
|
|
31
|
+
def get_context_data(self, **kwargs):
|
|
32
|
+
context = super().get_context_data(**kwargs)
|
|
33
|
+
context["version"] = __version__
|
|
34
|
+
return context
|
|
35
|
+
|
|
28
36
|
|
|
29
37
|
class AdminApiViewSet(ViewSet):
|
|
30
38
|
"""
|
{django_content_studio-1.0.0b12.dist-info → django_content_studio-1.0.0b14.dist-info}/RECORD
RENAMED
|
@@ -1,25 +1,37 @@
|
|
|
1
|
-
content_studio/__init__.py,sha256=
|
|
1
|
+
content_studio/__init__.py,sha256=OZmPTiwf10IktK7WC84iwNuUYFrGoV0VxIVUpTyXQdQ,162
|
|
2
2
|
content_studio/admin.py,sha256=9D1vP0w_EeHpKT9_Ro1y_dSjLtJJg7UgDBjFc3EPvC4,11203
|
|
3
3
|
content_studio/apps.py,sha256=iGZYxsGerYYC8EmV9Wu9phuT9R8UHUkIQ6XAm94EUgA,3961
|
|
4
|
+
content_studio/contrib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
content_studio/contrib/password_reset/__init__.py,sha256=ADytdP3cztLPoEzwolfoyy5XfzfycjbmSbvvdvq5rY8,58
|
|
6
|
+
content_studio/contrib/password_reset/apps.py,sha256=Gme_SUiH6twXUFhNxf_0B8AMzNXsIkJ8RbqXaxOW3E8,152
|
|
7
|
+
content_studio/contrib/password_reset/migrations/0001_initial.py,sha256=30nqRlI_vjJnI2K9I-GP7FnZm1qzBL1-dm1VWE_TYH8,1588
|
|
8
|
+
content_studio/contrib/password_reset/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
+
content_studio/contrib/password_reset/models.py,sha256=B3mMqbcEQ_cvt4tHliLJ4FB8WZRad35AdJ8nDI1gJ6c,996
|
|
10
|
+
content_studio/contrib/password_reset/serializers.py,sha256=vh3yIhbswl5Y5p9iJzUVUzItAh8Pw_b-yeQGr5hlpj0,447
|
|
11
|
+
content_studio/contrib/password_reset/urls.py,sha256=Fe6r3W4Fz8sw2zt-gYEs2zHiE_6AJJ9ZJTKN1WTZyZY,1022
|
|
12
|
+
content_studio/contrib/password_reset/views.py,sha256=hswV578ZhkEeZ9G-dYQXy0eX3KkbpgLmN5V1S0xFM3U,3442
|
|
4
13
|
content_studio/dashboard/__init__.py,sha256=G0fsYbegeZScWRb3vbCwd0sEm8fVc-tT_r-zCSPktgw,2377
|
|
5
14
|
content_studio/dashboard/activity_log.py,sha256=0hK96lXziD663a6YuKO7zRTVcVmbRitERqfNGc2NrtE,939
|
|
15
|
+
content_studio/dashboard/scheduled_tasks.py,sha256=XBg80l78p4ZjrR9U9R4rBewnTUXf2povwZEfgoYOjOs,1367
|
|
6
16
|
content_studio/dashboard/statistic.py,sha256=aoHJMM88zehapYWOmq_lqdSArkagYLCRWEAxXoNMcRg,912
|
|
7
17
|
content_studio/extensions.py,sha256=VqaQtuIZiwtaXJDlzIwJuncW_fet-YtY1fBHIVMfoDM,1500
|
|
8
18
|
content_studio/filters.py,sha256=GyglR2E_wswomW7EnfShEXr14zxuRlLAuxrHVO3QQYg,4335
|
|
9
19
|
content_studio/form.py,sha256=XvUbBVR3QlvyM1l73QWV5TnreQTM8cWNJqgxkACj9dQ,5041
|
|
10
20
|
content_studio/formats.py,sha256=JzOWrDRCVSnjJI0oX5fyFQU8LC634_jeAe84Widy43U,786
|
|
21
|
+
content_studio/locale/nl/LC_MESSAGES/django.mo,sha256=xLBoj7clfrwC7mVzkXs18Wj4OFOxrQOzYErH7OcVsU4,999
|
|
22
|
+
content_studio/locale/nl/LC_MESSAGES/django.po,sha256=02gixEkTLx1evZLk0k7vMTQnPI2J32xAskTFNa62YpE,1474
|
|
11
23
|
content_studio/login_backends/__init__.py,sha256=hgPJh9hFobubImfhynaeZ_dku3sjqNQvN5B43TVg7Gw,643
|
|
12
|
-
content_studio/login_backends/username_password.py,sha256=
|
|
24
|
+
content_studio/login_backends/username_password.py,sha256=GTBpubp_pKfYnJXGMoG-cv3pEe6hGb3uM7tWPOSr33Y,2040
|
|
13
25
|
content_studio/media_library/serializers.py,sha256=1MPFqbZdE0iTYqZrzzYoT_y4q0ItGTbQ-I7omyojAZo,660
|
|
14
26
|
content_studio/media_library/viewsets.py,sha256=XsQuCrcfZ52xvvsEbHZ2WTI99wf-cheOKfaMJyfAJbo,4318
|
|
15
27
|
content_studio/models.py,sha256=9F9C-K7KkVT6i5TZGm0SEPyRxaIMlVblrZwzGET199E,2191
|
|
16
28
|
content_studio/paginators.py,sha256=XrA6ECP2pO75SSj0Mi0Jqj7n_YPuIin-V8_6EOaQj64,589
|
|
17
29
|
content_studio/router.py,sha256=7Up_sipGaUDoY6ElJNRf85ADaYfJCWV4To523L4LGuw,393
|
|
18
30
|
content_studio/serializers.py,sha256=tWgL7J2z-Qc5BQjMc3PXpvLZa_6J6MfVUqRDOK_X0Xs,3867
|
|
19
|
-
content_studio/settings.py,sha256=
|
|
31
|
+
content_studio/settings.py,sha256=hgtfkwiOv-0BY9Vw82D7PiZWpJXkquGKvh_Y8apYfRM,4640
|
|
20
32
|
content_studio/static/content_studio/assets/browser-ponyfill-TyWUZ1Oq.js,sha256=sKLpD8vGwLfnJVLaSGMMi8krArcm2Qj3-igVwDvLMek,10287
|
|
21
|
-
content_studio/static/content_studio/assets/index.css,sha256=
|
|
22
|
-
content_studio/static/content_studio/assets/index.js,sha256=
|
|
33
|
+
content_studio/static/content_studio/assets/index.css,sha256=ZizDTEE0WcvKpE8gCcWiOQrloBpcV8EVubiSCTVMwMg,90506
|
|
34
|
+
content_studio/static/content_studio/assets/index.js,sha256=Sl4nnnx_8jcgiGSt0zsH_D_WqVp9Ix_3-4CYQez5HVc,1478470
|
|
23
35
|
content_studio/static/content_studio/icons/pi/Phosphor-Bold.svg,sha256=4kdzmyaGcNVhK6qRIA8PdhaZ7raHU0xoU26ht52VG_c,2967217
|
|
24
36
|
content_studio/static/content_studio/icons/pi/Phosphor-Bold.ttf,sha256=EKChy0-BVqQg-fhM80xOmHHljtLd6h9qgHmtByQ6f7I,495308
|
|
25
37
|
content_studio/static/content_studio/icons/pi/Phosphor-Bold.woff,sha256=3k3MnRjPMzY8GdLJJMnZ1R4hCXi9Pm7FCK7HFnCz2wY,495388
|
|
@@ -27,18 +39,18 @@ content_studio/static/content_studio/icons/pi/Phosphor-Bold.woff2,sha256=IVO1LOq
|
|
|
27
39
|
content_studio/static/content_studio/icons/pi/style.css,sha256=yKMt9n-L1X9wxjceFewjLfJd3ro-uQYNeqpoEBps4kA,85821
|
|
28
40
|
content_studio/static/content_studio/img/media_placeholder.svg,sha256=ZLrfeqvaC5YwuHAg_7YJXLhYzLz2azVcKqCLEGOVTTs,3253
|
|
29
41
|
content_studio/static/content_studio/index.html,sha256=IuVbv9-sX3WUUr7mDDEAVG9Q1tKmsHoZMpZwaWJ9SNM,896
|
|
30
|
-
content_studio/static/content_studio/locales/en/translation.json,sha256=
|
|
31
|
-
content_studio/static/content_studio/locales/nl/translation.json,sha256=
|
|
42
|
+
content_studio/static/content_studio/locales/en/translation.json,sha256=wtOxJ2-ntrdmRvc7pSC7EfXyX8ocawp-nIw4gBKDnOU,3538
|
|
43
|
+
content_studio/static/content_studio/locales/nl/translation.json,sha256=i8nGZHa_SR8BAFf8BpEUvsbVlMs1PrLW1VGqcAVRwIk,4170
|
|
32
44
|
content_studio/static/content_studio/vite.svg,sha256=SnSK_UQ5GLsWWRyDTEAdrjPoeGGrXbrQgRw6O0qSFPs,1497
|
|
33
|
-
content_studio/templates/content_studio/index.html,sha256=
|
|
45
|
+
content_studio/templates/content_studio/index.html,sha256=1O8mNZ4_XNRIy_2WnLuaLkbHuiuYuHWTGB18HVzLZDY,1099
|
|
34
46
|
content_studio/token_backends/__init__.py,sha256=dO3aWIHXX8He399ZEvlS4fNgyL84OY9TEtkva9b5N5Q,1183
|
|
35
47
|
content_studio/token_backends/jwt.py,sha256=niGCpRqaUVhhS9haXfH1uFlg2v8NLB5IpsJ4N79Q0Gg,1565
|
|
36
48
|
content_studio/urls.py,sha256=EY7lbzC0Q5vLfvqE3rK_4hmDrXhTuxKzYC55cc5tEEo,701
|
|
37
49
|
content_studio/utils.py,sha256=dGiYCixg-qcPGbF4hV6fts1Vv4ED8gRi8syLuSS4xzw,2123
|
|
38
|
-
content_studio/views.py,sha256=
|
|
50
|
+
content_studio/views.py,sha256=97JGZjYjsNIvuMe-O5dsNNGxSdzUfEzU-ha4c2zyAi4,6859
|
|
39
51
|
content_studio/viewsets.py,sha256=iLhV6A_dl64-Ui4_DDT1Gje9ygvu0dYtF4OAO90MHSQ,5776
|
|
40
52
|
content_studio/widgets.py,sha256=kROwtBrM3s-NKSo9riVX_oDW5crlCx1TiPBt0HKX6Zc,1111
|
|
41
|
-
django_content_studio-1.0.
|
|
42
|
-
django_content_studio-1.0.
|
|
43
|
-
django_content_studio-1.0.
|
|
44
|
-
django_content_studio-1.0.
|
|
53
|
+
django_content_studio-1.0.0b14.dist-info/LICENSE,sha256=Wnx2EJhtSNnXE5Qs80i1HTBNFZTi8acEtC5TYqtFlnQ,1075
|
|
54
|
+
django_content_studio-1.0.0b14.dist-info/METADATA,sha256=zmaX9wkS4ucAiWZk_AbcmDlCxXHF8DFWHiX-dcHLf1A,2513
|
|
55
|
+
django_content_studio-1.0.0b14.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
56
|
+
django_content_studio-1.0.0b14.dist-info/RECORD,,
|
{django_content_studio-1.0.0b12.dist-info → django_content_studio-1.0.0b14.dist-info}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|