zou 0.20.71__py3-none-any.whl → 0.20.72__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/services/comments_service.py +4 -5
- {zou-0.20.71.dist-info → zou-0.20.72.dist-info}/METADATA +1 -1
- {zou-0.20.71.dist-info → zou-0.20.72.dist-info}/RECORD +8 -8
- {zou-0.20.71.dist-info → zou-0.20.72.dist-info}/WHEEL +0 -0
- {zou-0.20.71.dist-info → zou-0.20.72.dist-info}/entry_points.txt +0 -0
- {zou-0.20.71.dist-info → zou-0.20.72.dist-info}/licenses/LICENSE +0 -0
- {zou-0.20.71.dist-info → zou-0.20.72.dist-info}/top_level.txt +0 -0
zou/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.20.
|
|
1
|
+
__version__ = "0.20.72"
|
|
@@ -524,16 +524,15 @@ def reply_comment(comment_id, text, person_id=None, files={}):
|
|
|
524
524
|
replies = list(comment.replies)
|
|
525
525
|
replies.append(reply)
|
|
526
526
|
comment.update({"replies": replies})
|
|
527
|
+
comment_dict = comment.serialize(relations=True)
|
|
527
528
|
if len(files.keys()) > 0:
|
|
528
|
-
comment = comment.serialize(relations=True)
|
|
529
529
|
new_attachment_files = add_attachments_to_comment(
|
|
530
|
-
|
|
530
|
+
comment_dict, files, reply_id=reply["id"]
|
|
531
531
|
)
|
|
532
532
|
for new_attachment_file in new_attachment_files:
|
|
533
533
|
new_attachment_file["reply_id"] = reply["id"]
|
|
534
534
|
reply["attachment_files"] = new_attachment_files
|
|
535
535
|
tasks_service.clear_comment_cache(comment_id)
|
|
536
|
-
comment = comment.serialize(relations=True)
|
|
537
536
|
events.emit(
|
|
538
537
|
"comment:reply",
|
|
539
538
|
{
|
|
@@ -544,7 +543,7 @@ def reply_comment(comment_id, text, person_id=None, files={}):
|
|
|
544
543
|
project_id=task["project_id"],
|
|
545
544
|
)
|
|
546
545
|
notifications_service.create_notifications_for_task_and_reply(
|
|
547
|
-
task,
|
|
546
|
+
task, comment_dict, reply
|
|
548
547
|
)
|
|
549
548
|
return reply
|
|
550
549
|
|
|
@@ -669,7 +668,7 @@ def add_attachments_to_comment(comment, files, reply_id=None):
|
|
|
669
668
|
Create an attachment entry and for each given uploaded files and tie it
|
|
670
669
|
to given comment.
|
|
671
670
|
"""
|
|
672
|
-
if comment
|
|
671
|
+
if comment.get("attachment_files", None) is None:
|
|
673
672
|
comment["attachment_files"] = []
|
|
674
673
|
new_attachment_files = []
|
|
675
674
|
for uploaded_file in files.values():
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
zou/__init__.py,sha256=
|
|
1
|
+
zou/__init__.py,sha256=_WX4SHRpZcJubqL0VD24_QqZtvGGSgZ5W7m41HdXiH8,24
|
|
2
2
|
zou/cli.py,sha256=N9FyrL4TDgIiCUa-I3xIzOgiVLM14kz8_QLQ48y51oE,22767
|
|
3
3
|
zou/debug.py,sha256=1fawPbkD4wn0Y9Gk0BiBFSa-CQe5agFi8R9uJYl2Uyk,520
|
|
4
4
|
zou/event_stream.py,sha256=9O1PE_vDW8p3yfHJNSZ8w0ybD-660x8oGN0izgJdTjM,8575
|
|
@@ -200,7 +200,7 @@ zou/app/services/base_service.py,sha256=OZd0STFh-DyBBdwsmA7DMMnrwv4C8wJUbShvZ1is
|
|
|
200
200
|
zou/app/services/breakdown_service.py,sha256=-bH1KUq9-No_OKnQtWK4XEU1w7uDPJnzWFMrKNkS1K0,27593
|
|
201
201
|
zou/app/services/budget_service.py,sha256=uMU1vJr7kyxtkvMz_Nm7DyhW6qvSGYGqRHEQTxsHYCc,5468
|
|
202
202
|
zou/app/services/chats_service.py,sha256=pqnT-RCltdf9Dp4t-2NtOSawGk0jyNhVPTgERZ_nYvk,8297
|
|
203
|
-
zou/app/services/comments_service.py,sha256=
|
|
203
|
+
zou/app/services/comments_service.py,sha256=F5SblD7gShjyPDx1bVbf8O7JB54beywQS54z9RsG-rk,22094
|
|
204
204
|
zou/app/services/concepts_service.py,sha256=uH0leb23Op48wc1bHlUV2-I97QROsIemKr80F0UwnoM,11213
|
|
205
205
|
zou/app/services/custom_actions_service.py,sha256=fWISEOOdthadrxeHuacEel5Xj6msn0yWXJQDG1gzvsY,297
|
|
206
206
|
zou/app/services/deletion_service.py,sha256=UPojg4oyyCKjUObfwv9nY6tD0SVDeimpv0xgbcSmyyk,17372
|
|
@@ -469,9 +469,9 @@ zou/remote/normalize_movie.py,sha256=zNfEY3N1UbAHZfddGONTg2Sff3ieLVWd4dfZa1dpnes
|
|
|
469
469
|
zou/remote/playlist.py,sha256=AsDo0bgYhDcd6DfNRV6r6Jj3URWwavE2ZN3VkKRPbLU,3293
|
|
470
470
|
zou/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
471
471
|
zou/utils/movie.py,sha256=d67fIL9dVBKt-E_qCGXRbNNdbJaJR5sHvZeX3hf8ldE,16559
|
|
472
|
-
zou-0.20.
|
|
473
|
-
zou-0.20.
|
|
474
|
-
zou-0.20.
|
|
475
|
-
zou-0.20.
|
|
476
|
-
zou-0.20.
|
|
477
|
-
zou-0.20.
|
|
472
|
+
zou-0.20.72.dist-info/licenses/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
|
|
473
|
+
zou-0.20.72.dist-info/METADATA,sha256=-iKpNLlvzUksYlXtOZK6Nr--LA2u1JHTL68nabo1zQg,6697
|
|
474
|
+
zou-0.20.72.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
475
|
+
zou-0.20.72.dist-info/entry_points.txt,sha256=PelQoIx3qhQ_Tmne7wrLY-1m2izuzgpwokoURwSohy4,130
|
|
476
|
+
zou-0.20.72.dist-info/top_level.txt,sha256=4S7G_jk4MzpToeDItHGjPhHx_fRdX52zJZWTD4SL54g,4
|
|
477
|
+
zou-0.20.72.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|