zou 0.19.66__py3-none-any.whl → 0.19.68__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.
zou/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.19.66"
1
+ __version__ = "0.19.68"
@@ -1362,8 +1362,22 @@ class SAMLSSOResource(Resource, ArgsMixin):
1362
1362
  authn_response.get_identity()
1363
1363
  email = authn_response.get_subject().text
1364
1364
  person_info = {
1365
- k: v if not isinstance(v, list) else " ".join(v)
1365
+ k: (
1366
+ " ".join(v)
1367
+ if isinstance(v, list) and k in ["first_name", "last_name"]
1368
+ else v
1369
+ )
1366
1370
  for k, v in authn_response.ava.items()
1371
+ if k
1372
+ in [
1373
+ "first_name",
1374
+ "last_name",
1375
+ "phone",
1376
+ "role",
1377
+ "departments",
1378
+ "studio_id",
1379
+ "active",
1380
+ ]
1367
1381
  }
1368
1382
  try:
1369
1383
  user = persons_service.get_person_by_email(email)
@@ -595,7 +595,7 @@ def check_supervisor_task_access(task, new_data={}):
595
595
  # checks that the supervisor only modifies columns
596
596
  # for which he is authorized
597
597
  allowed_columns = set(
598
- ["priority", "start_date", "due_date", "estimation"]
598
+ ["priority", "start_date", "due_date", "estimation", "difficulty"]
599
599
  )
600
600
  if len(set(new_data.keys()) - allowed_columns) == 0:
601
601
  user_departments = persons_service.get_current_user(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: zou
3
- Version: 0.19.66
3
+ Version: 0.19.68
4
4
  Summary: API to store and manage the data of your animation production
5
5
  Home-page: https://zou.cg-wire.com
6
6
  Author: CG Wire
@@ -37,7 +37,7 @@ Requires-Dist: flask_principal==0.4.0
37
37
  Requires-Dist: flask_restful==0.3.10
38
38
  Requires-Dist: flask_sqlalchemy==3.1.1
39
39
  Requires-Dist: flask-fs2[s3,swift]==0.7.27
40
- Requires-Dist: flask-jwt-extended==4.7.0
40
+ Requires-Dist: flask-jwt-extended==4.7.1
41
41
  Requires-Dist: flask-migrate==4.0.7
42
42
  Requires-Dist: flask-socketio==5.4.1
43
43
  Requires-Dist: flask==3.1.0
@@ -56,7 +56,7 @@ Requires-Dist: numpy==2.1.3; python_version >= "3.10"
56
56
  Requires-Dist: opencv-python==4.10.0.84
57
57
  Requires-Dist: OpenTimelineIO==0.17.0
58
58
  Requires-Dist: OpenTimelineIO-Plugins==0.17.0
59
- Requires-Dist: orjson==3.10.11
59
+ Requires-Dist: orjson==3.10.12
60
60
  Requires-Dist: pillow==11.0.0
61
61
  Requires-Dist: psutil==6.1.0
62
62
  Requires-Dist: psycopg[binary]==3.2.3
@@ -87,7 +87,7 @@ Requires-Dist: pytest==8.3.3; extra == "test"
87
87
  Provides-Extra: monitoring
88
88
  Requires-Dist: prometheus-flask-exporter==0.23.1; extra == "monitoring"
89
89
  Requires-Dist: pygelf==0.4.2; extra == "monitoring"
90
- Requires-Dist: sentry-sdk==2.18.0; extra == "monitoring"
90
+ Requires-Dist: sentry-sdk==2.19.0; extra == "monitoring"
91
91
  Provides-Extra: lint
92
92
  Requires-Dist: autoflake==2.3.1; extra == "lint"
93
93
  Requires-Dist: black==24.10.0; extra == "lint"
@@ -1,4 +1,4 @@
1
- zou/__init__.py,sha256=Cw-hkkLBzXXYINYI0D9ELPausx7d8TqjQhEq4-hNpPM,24
1
+ zou/__init__.py,sha256=HeoiWHiSUydT3-k-xdKv9o6mWVHnrmaEj0pabjfEUyQ,24
2
2
  zou/cli.py,sha256=E7rinikQMEAoSzyV4VH2IrTR4HRDBgqHAcYswEfyFnU,18893
3
3
  zou/debug.py,sha256=1fawPbkD4wn0Y9Gk0BiBFSa-CQe5agFi8R9uJYl2Uyk,520
4
4
  zou/event_stream.py,sha256=_tue9Ry3aqCniZpKGhWJaY1Eo_fd6zOAfnzPvh_mJzU,8489
@@ -12,7 +12,7 @@ zou/app/blueprints/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuF
12
12
  zou/app/blueprints/assets/__init__.py,sha256=T2zhDagHjXF6jRwOQ8vqokZTkBHyY7XtTI0Rlooamjs,2931
13
13
  zou/app/blueprints/assets/resources.py,sha256=ff7g8_FzZC6dLvMxcYYffsIOy0CqKqdkZibGm2-qgko,25599
14
14
  zou/app/blueprints/auth/__init__.py,sha256=xP874bMWUnLIirOPSEbpe-Q2fBBQrxZGKd0tLZmNJXk,1128
15
- zou/app/blueprints/auth/resources.py,sha256=ujdYPdz-anqIjK2Iepk5Yg4dRXJcHmc8sGpo6omG73A,45214
15
+ zou/app/blueprints/auth/resources.py,sha256=sTngRcDn_FAROjlZKMq03YjQpbT82QE3cByX8r8vlK4,45553
16
16
  zou/app/blueprints/breakdown/__init__.py,sha256=Dp6GWSGxxWIedpyzTTEKpCRUYEo8oVNVyQhwNvTMmQM,1888
17
17
  zou/app/blueprints/breakdown/resources.py,sha256=JY3j17kv7xPKV9S-XoOxNYivpGHlfZkXI5WuGtx3_Yk,13591
18
18
  zou/app/blueprints/chats/__init__.py,sha256=YGmwGvddg3MgSYVIh-hmkX8t2em9_LblxBeJzFqFJD4,558
@@ -213,7 +213,7 @@ zou/app/services/sync_service.py,sha256=EunfXlma_IIb7011A_xLQLVQGAi-MteKgm2Y2NAx
213
213
  zou/app/services/tasks_service.py,sha256=IoogHBoZhbJegnl5SYGgOaBp2YVqrL22Gccjfp8dPn8,69335
214
214
  zou/app/services/telemetry_services.py,sha256=xQm1h1t_JxSFW59zQGf4NuNdUi1UfMa_6pQ-ytRbmGA,1029
215
215
  zou/app/services/time_spents_service.py,sha256=H9X-60s6oqtY9rtU-K2jKwUSljfkdGlf_9wMr3iVfIA,15158
216
- zou/app/services/user_service.py,sha256=Ih7-I0t_hzoRx_1Ya6zlvlWSLK0AabVtcXNPm7eYZNo,50514
216
+ zou/app/services/user_service.py,sha256=sIl9PE2hX2EfKiRV8YqL3ZrHNulzeL9y960LF4BuZbs,50528
217
217
  zou/app/stores/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
218
218
  zou/app/stores/auth_tokens_store.py,sha256=-qOJPybLHvnMOq3PWk073OW9HJwOHGhFLZeOIlX1UVw,1290
219
219
  zou/app/stores/file_store.py,sha256=yLQDM6mNbj9oe0vsWdBqun7D8Dw-eSjD1yHCCftX0OI,4045
@@ -413,9 +413,9 @@ zou/remote/normalize_movie.py,sha256=zNfEY3N1UbAHZfddGONTg2Sff3ieLVWd4dfZa1dpnes
413
413
  zou/remote/playlist.py,sha256=AsDo0bgYhDcd6DfNRV6r6Jj3URWwavE2ZN3VkKRPbLU,3293
414
414
  zou/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
415
415
  zou/utils/movie.py,sha256=d67fIL9dVBKt-E_qCGXRbNNdbJaJR5sHvZeX3hf8ldE,16559
416
- zou-0.19.66.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
417
- zou-0.19.66.dist-info/METADATA,sha256=VAEd-Y-aeo17VIIrV9ej5A0CLKnJEw6jpivTFxCqJDs,6710
418
- zou-0.19.66.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
419
- zou-0.19.66.dist-info/entry_points.txt,sha256=PelQoIx3qhQ_Tmne7wrLY-1m2izuzgpwokoURwSohy4,130
420
- zou-0.19.66.dist-info/top_level.txt,sha256=4S7G_jk4MzpToeDItHGjPhHx_fRdX52zJZWTD4SL54g,4
421
- zou-0.19.66.dist-info/RECORD,,
416
+ zou-0.19.68.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
417
+ zou-0.19.68.dist-info/METADATA,sha256=KcDj-VP0E8-knTHPIuYFUELR0GW-uX58lSxva26OyIU,6710
418
+ zou-0.19.68.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
419
+ zou-0.19.68.dist-info/entry_points.txt,sha256=PelQoIx3qhQ_Tmne7wrLY-1m2izuzgpwokoURwSohy4,130
420
+ zou-0.19.68.dist-info/top_level.txt,sha256=4S7G_jk4MzpToeDItHGjPhHx_fRdX52zJZWTD4SL54g,4
421
+ zou-0.19.68.dist-info/RECORD,,
File without changes
File without changes