zou 0.20.34__py3-none-any.whl → 0.20.36__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 +1 -1
- zou/app/blueprints/comments/resources.py +2 -1
- zou/app/services/user_service.py +9 -4
- {zou-0.20.34.dist-info → zou-0.20.36.dist-info}/METADATA +4 -4
- {zou-0.20.34.dist-info → zou-0.20.36.dist-info}/RECORD +9 -9
- {zou-0.20.34.dist-info → zou-0.20.36.dist-info}/WHEEL +0 -0
- {zou-0.20.34.dist-info → zou-0.20.36.dist-info}/entry_points.txt +0 -0
- {zou-0.20.34.dist-info → zou-0.20.36.dist-info}/licenses/LICENSE +0 -0
- {zou-0.20.34.dist-info → zou-0.20.36.dist-info}/top_level.txt +0 -0
zou/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.20.
|
|
1
|
+
__version__ = "0.20.36"
|
|
@@ -289,7 +289,8 @@ class AttachmentResource(Resource):
|
|
|
289
289
|
user = persons_service.get_current_user()
|
|
290
290
|
comment = tasks_service.get_comment(comment_id)
|
|
291
291
|
if comment["person_id"] != user["id"]:
|
|
292
|
-
|
|
292
|
+
task = tasks_service.get_task(task_id)
|
|
293
|
+
user_service.check_manager_project_access(task["project_id"])
|
|
293
294
|
|
|
294
295
|
deletion_service.remove_attachment_file_by_id(attachment_id)
|
|
295
296
|
return "", 204
|
zou/app/services/user_service.py
CHANGED
|
@@ -1452,12 +1452,17 @@ def get_last_notifications(
|
|
|
1452
1452
|
),
|
|
1453
1453
|
None,
|
|
1454
1454
|
)
|
|
1455
|
-
reply_mentions = reply.get("mentions", []) or []
|
|
1456
|
-
reply_department_mentions = (
|
|
1457
|
-
reply.get("department_mentions", []) or []
|
|
1458
|
-
)
|
|
1459
1455
|
if reply is not None:
|
|
1460
1456
|
reply_text = reply["text"]
|
|
1457
|
+
reply_mentions = reply.get("mentions", []) or []
|
|
1458
|
+
reply_department_mentions = (
|
|
1459
|
+
reply.get("department_mentions", []) or []
|
|
1460
|
+
)
|
|
1461
|
+
else:
|
|
1462
|
+
reply_mentions = []
|
|
1463
|
+
reply_department_mentions = (
|
|
1464
|
+
[]
|
|
1465
|
+
)
|
|
1461
1466
|
|
|
1462
1467
|
if role == "client" and is_current_user_artist:
|
|
1463
1468
|
comment_text = ""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: zou
|
|
3
|
-
Version: 0.20.
|
|
3
|
+
Version: 0.20.36
|
|
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
|
|
@@ -56,18 +56,18 @@ Requires-Dist: opencv-python==4.11.0.86
|
|
|
56
56
|
Requires-Dist: OpenTimelineIO==0.17.0
|
|
57
57
|
Requires-Dist: OpenTimelineIO-Plugins==0.17.0
|
|
58
58
|
Requires-Dist: orjson==3.10.16
|
|
59
|
-
Requires-Dist: pillow==11.1
|
|
59
|
+
Requires-Dist: pillow==11.2.1
|
|
60
60
|
Requires-Dist: psutil==7.0.0
|
|
61
61
|
Requires-Dist: psycopg[binary]==3.2.6
|
|
62
62
|
Requires-Dist: pyotp==2.9.0
|
|
63
63
|
Requires-Dist: pysaml2==7.5.2
|
|
64
64
|
Requires-Dist: python-nomad==2.1.0
|
|
65
65
|
Requires-Dist: python-slugify==8.0.4
|
|
66
|
-
Requires-Dist: python-socketio==5.
|
|
66
|
+
Requires-Dist: python-socketio==5.13.0
|
|
67
67
|
Requires-Dist: pytz==2025.2
|
|
68
68
|
Requires-Dist: redis==5.2.1
|
|
69
69
|
Requires-Dist: requests==2.32.3
|
|
70
|
-
Requires-Dist: rq==2.3.
|
|
70
|
+
Requires-Dist: rq==2.3.2
|
|
71
71
|
Requires-Dist: slackclient==2.9.4
|
|
72
72
|
Requires-Dist: sqlalchemy_utils==0.41.2
|
|
73
73
|
Requires-Dist: sqlalchemy==2.0.40
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
zou/__init__.py,sha256=
|
|
1
|
+
zou/__init__.py,sha256=aEqlJ03FwW_oombn1p5Z6aA_BspzUGo1AukcFemNg6k,24
|
|
2
2
|
zou/cli.py,sha256=HuYi2Ma7SP2SD7C9d9dwpZ49BHpytKIoyJP_su9JwZY,18755
|
|
3
3
|
zou/debug.py,sha256=1fawPbkD4wn0Y9Gk0BiBFSa-CQe5agFi8R9uJYl2Uyk,520
|
|
4
4
|
zou/event_stream.py,sha256=_BB_cwEpWOrHEhfxxgwzZgfAauekg0lrI5COume2XR8,6663
|
|
@@ -18,7 +18,7 @@ zou/app/blueprints/breakdown/resources.py,sha256=pmGlHLiXFsPRbxf403SiVgGiaBbtK8G
|
|
|
18
18
|
zou/app/blueprints/chats/__init__.py,sha256=YGmwGvddg3MgSYVIh-hmkX8t2em9_LblxBeJzFqFJD4,558
|
|
19
19
|
zou/app/blueprints/chats/resources.py,sha256=4yLFermdwOsnBLs9nx8yxuHWLar24uQWQy0XgsUNDD0,5950
|
|
20
20
|
zou/app/blueprints/comments/__init__.py,sha256=WqpJ7-_dK1cInGTFJAxQ7syZtPCotwq2oO20UEnk1h4,1532
|
|
21
|
-
zou/app/blueprints/comments/resources.py,sha256=
|
|
21
|
+
zou/app/blueprints/comments/resources.py,sha256=hS5Yt8Mz7d9e19A4-yXaXO12sFugg_UzLPBxKXdtQYU,19260
|
|
22
22
|
zou/app/blueprints/concepts/__init__.py,sha256=sP_P4mfYvfMcgeE6MHZYP3eD0Lz0Lwit5-CFuVnA-Jg,894
|
|
23
23
|
zou/app/blueprints/concepts/resources.py,sha256=maJNrBAWX0bKbDKtOZc3YFp4nTVtIdkkAA4H9WA9n1Y,10140
|
|
24
24
|
zou/app/blueprints/crud/__init__.py,sha256=qn7xkEh2EG0mPS_RBmm0GgYr0O1jnmI8ymXZnFWZCz8,8361
|
|
@@ -213,7 +213,7 @@ zou/app/services/sync_service.py,sha256=iWxx1kOGEXympHmSBBQWtDZWNtumdxp8kppee0Oe
|
|
|
213
213
|
zou/app/services/tasks_service.py,sha256=6ZFq4DhJ9HDgWT3CcikUWWImMNuHko1Bz_ARKPfeoEw,69775
|
|
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
|
|
216
|
+
zou/app/services/user_service.py,sha256=OPQUP0N7xFpN_WIiIT8IrJKuhqY9NQD54Mlm-ABReFc,51510
|
|
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
|
|
@@ -420,9 +420,9 @@ zou/remote/normalize_movie.py,sha256=zNfEY3N1UbAHZfddGONTg2Sff3ieLVWd4dfZa1dpnes
|
|
|
420
420
|
zou/remote/playlist.py,sha256=AsDo0bgYhDcd6DfNRV6r6Jj3URWwavE2ZN3VkKRPbLU,3293
|
|
421
421
|
zou/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
422
422
|
zou/utils/movie.py,sha256=d67fIL9dVBKt-E_qCGXRbNNdbJaJR5sHvZeX3hf8ldE,16559
|
|
423
|
-
zou-0.20.
|
|
424
|
-
zou-0.20.
|
|
425
|
-
zou-0.20.
|
|
426
|
-
zou-0.20.
|
|
427
|
-
zou-0.20.
|
|
428
|
-
zou-0.20.
|
|
423
|
+
zou-0.20.36.dist-info/licenses/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
|
|
424
|
+
zou-0.20.36.dist-info/METADATA,sha256=zXHdyAOeXPbrCnZSLNJtphEuaXUfPQSHsCk7sKbL8i0,6695
|
|
425
|
+
zou-0.20.36.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
426
|
+
zou-0.20.36.dist-info/entry_points.txt,sha256=PelQoIx3qhQ_Tmne7wrLY-1m2izuzgpwokoURwSohy4,130
|
|
427
|
+
zou-0.20.36.dist-info/top_level.txt,sha256=4S7G_jk4MzpToeDItHGjPhHx_fRdX52zJZWTD4SL54g,4
|
|
428
|
+
zou-0.20.36.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|