zou 0.20.24__py3-none-any.whl → 0.20.26__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 +5 -1
- zou/migrations/versions/307edd8c639d_change_comment_updated_by_in_comment_.py +62 -0
- {zou-0.20.24.dist-info → zou-0.20.26.dist-info}/METADATA +1 -1
- {zou-0.20.24.dist-info → zou-0.20.26.dist-info}/RECORD +9 -8
- {zou-0.20.24.dist-info → zou-0.20.26.dist-info}/LICENSE +0 -0
- {zou-0.20.24.dist-info → zou-0.20.26.dist-info}/WHEEL +0 -0
- {zou-0.20.24.dist-info → zou-0.20.26.dist-info}/entry_points.txt +0 -0
- {zou-0.20.24.dist-info → zou-0.20.26.dist-info}/top_level.txt +0 -0
zou/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.20.
|
|
1
|
+
__version__ = "0.20.26"
|
|
@@ -330,7 +330,11 @@ def new_comment(
|
|
|
330
330
|
add_attachments_to_comment(comment, files)
|
|
331
331
|
events.emit(
|
|
332
332
|
"comment:new",
|
|
333
|
-
{
|
|
333
|
+
{
|
|
334
|
+
"comment_id": comment["id"],
|
|
335
|
+
"task_id": task_id,
|
|
336
|
+
"task_status_id": task_status_id
|
|
337
|
+
},
|
|
334
338
|
project_id=task["project_id"],
|
|
335
339
|
)
|
|
336
340
|
return comment
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"""Change Comment.updated_by in Comment.editor_id
|
|
2
|
+
|
|
3
|
+
Revision ID: 307edd8c639d
|
|
4
|
+
Revises: addbad59c706
|
|
5
|
+
Create Date: 2025-03-10 12:53:19.482537
|
|
6
|
+
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from alembic import op
|
|
10
|
+
import sqlalchemy as sa
|
|
11
|
+
import sqlalchemy_utils
|
|
12
|
+
import sqlalchemy_utils
|
|
13
|
+
import uuid
|
|
14
|
+
|
|
15
|
+
# revision identifiers, used by Alembic.
|
|
16
|
+
revision = "307edd8c639d"
|
|
17
|
+
down_revision = "addbad59c706"
|
|
18
|
+
branch_labels = None
|
|
19
|
+
depends_on = None
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def upgrade():
|
|
23
|
+
# ### commands auto generated by Alembic - please adjust! ###
|
|
24
|
+
with op.batch_alter_table("comment", schema=None) as batch_op:
|
|
25
|
+
batch_op.add_column(
|
|
26
|
+
sa.Column(
|
|
27
|
+
"editor_id",
|
|
28
|
+
sqlalchemy_utils.types.uuid.UUIDType(binary=False),
|
|
29
|
+
default=uuid.uuid4,
|
|
30
|
+
nullable=True,
|
|
31
|
+
)
|
|
32
|
+
)
|
|
33
|
+
batch_op.drop_index("ix_comment_updated_by")
|
|
34
|
+
batch_op.create_index(
|
|
35
|
+
batch_op.f("ix_comment_editor_id"), ["editor_id"], unique=False
|
|
36
|
+
)
|
|
37
|
+
batch_op.drop_constraint("comment_updated_by_fkey", type_="foreignkey")
|
|
38
|
+
batch_op.create_foreign_key(None, "person", ["editor_id"], ["id"])
|
|
39
|
+
batch_op.drop_column("updated_by")
|
|
40
|
+
|
|
41
|
+
# ### end Alembic commands ###
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def downgrade():
|
|
45
|
+
# ### commands auto generated by Alembic - please adjust! ###
|
|
46
|
+
with op.batch_alter_table("comment", schema=None) as batch_op:
|
|
47
|
+
batch_op.add_column(
|
|
48
|
+
sa.Column(
|
|
49
|
+
"updated_by", sa.UUID(), autoincrement=False, nullable=True
|
|
50
|
+
)
|
|
51
|
+
)
|
|
52
|
+
batch_op.drop_constraint("comment_editor_id_fkey", type_="foreignkey")
|
|
53
|
+
batch_op.create_foreign_key(
|
|
54
|
+
"comment_updated_by_fkey", "person", ["updated_by"], ["id"]
|
|
55
|
+
)
|
|
56
|
+
batch_op.drop_index(batch_op.f("ix_comment_editor_id"))
|
|
57
|
+
batch_op.create_index(
|
|
58
|
+
"ix_comment_updated_by", ["updated_by"], unique=False
|
|
59
|
+
)
|
|
60
|
+
batch_op.drop_column("editor_id")
|
|
61
|
+
|
|
62
|
+
# ### end Alembic commands ###
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
zou/__init__.py,sha256=
|
|
1
|
+
zou/__init__.py,sha256=uhGl1res98kiqEDpx7DwZ_agTcrQGc3X-FE3cNaE4xc,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=EpohqFJwWL0zs-Ic_W5dX5_XSDeCrqHQPL5Re39OnQ0,6382
|
|
@@ -185,7 +185,7 @@ zou/app/services/backup_service.py,sha256=_ZtZp6wkcVYnHxBosziwLGdrTvsUttXGphiydq
|
|
|
185
185
|
zou/app/services/base_service.py,sha256=OZd0STFh-DyBBdwsmA7DMMnrwv4C8wJUbShvZ1isndU,1383
|
|
186
186
|
zou/app/services/breakdown_service.py,sha256=-bH1KUq9-No_OKnQtWK4XEU1w7uDPJnzWFMrKNkS1K0,27593
|
|
187
187
|
zou/app/services/chats_service.py,sha256=pqnT-RCltdf9Dp4t-2NtOSawGk0jyNhVPTgERZ_nYvk,8297
|
|
188
|
-
zou/app/services/comments_service.py,sha256=
|
|
188
|
+
zou/app/services/comments_service.py,sha256=rDLzB-Pma6YMrO1oFEIeI7Ccon5dXFRoZKTGbsHe3Fk,18788
|
|
189
189
|
zou/app/services/concepts_service.py,sha256=sXzMPQ5Rav-c_36CBxdDBjKNq0-gaLWFY9QZGy3jjv4,11252
|
|
190
190
|
zou/app/services/custom_actions_service.py,sha256=fWISEOOdthadrxeHuacEel5Xj6msn0yWXJQDG1gzvsY,297
|
|
191
191
|
zou/app/services/deletion_service.py,sha256=GdPWmw60_EmWxJohvqQ9KRcION7_PIdQgbl7nr2g2mY,17429
|
|
@@ -280,6 +280,7 @@ zou/migrations/versions/29fe01a6c9eb_add_status_automation_field.py,sha256=bwmzP
|
|
|
280
280
|
zou/migrations/versions/2adc020885fa_.py,sha256=CZoG30mi3HadEz7aBIM9rY2kAEcgxNHUj_fgWJQ_XfA,1352
|
|
281
281
|
zou/migrations/versions/2baede80b111_add_entity_status_field.py,sha256=-oRMTToOyx5U9wvHgjtFY27y0ile_5K_JngGHrkMTYE,973
|
|
282
282
|
zou/migrations/versions/306266361f4f_.py,sha256=OdQtt_Jw7iMALvErFuToqPRXSVYogSd0wIW-EY0MNxE,1880
|
|
283
|
+
zou/migrations/versions/307edd8c639d_change_comment_updated_by_in_comment_.py,sha256=klyZzuFsNB30ORPPLt6P2wSfaeVuBzA-ihz4_yaYLQk,1935
|
|
283
284
|
zou/migrations/versions/328fd44c6347_add_entity_created_by.py,sha256=-1J-ndc30OSKhjLY_t8kbsa-UREdj7OmZGyQ2bguBjU,1176
|
|
284
285
|
zou/migrations/versions/32f134ff1201_add_is_shared_flag_to_filters.py,sha256=Hm436fq7VYMJ1gTzvG4razVEFzdmq7vbF2pmAIgxqdw,809
|
|
285
286
|
zou/migrations/versions/346250b5304c_add_position_to_preview_files.py,sha256=8s54X-Yj7lUsiBhcXWiKKRbZrqT_3rIX9D1WJnjpMeU,699
|
|
@@ -419,9 +420,9 @@ zou/remote/normalize_movie.py,sha256=zNfEY3N1UbAHZfddGONTg2Sff3ieLVWd4dfZa1dpnes
|
|
|
419
420
|
zou/remote/playlist.py,sha256=AsDo0bgYhDcd6DfNRV6r6Jj3URWwavE2ZN3VkKRPbLU,3293
|
|
420
421
|
zou/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
421
422
|
zou/utils/movie.py,sha256=d67fIL9dVBKt-E_qCGXRbNNdbJaJR5sHvZeX3hf8ldE,16559
|
|
422
|
-
zou-0.20.
|
|
423
|
-
zou-0.20.
|
|
424
|
-
zou-0.20.
|
|
425
|
-
zou-0.20.
|
|
426
|
-
zou-0.20.
|
|
427
|
-
zou-0.20.
|
|
423
|
+
zou-0.20.26.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
|
|
424
|
+
zou-0.20.26.dist-info/METADATA,sha256=qSn_1o3aw1Dr5Se1i1Cm00c2lGZ1CupYOh50b5UrCbA,6673
|
|
425
|
+
zou-0.20.26.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
|
426
|
+
zou-0.20.26.dist-info/entry_points.txt,sha256=PelQoIx3qhQ_Tmne7wrLY-1m2izuzgpwokoURwSohy4,130
|
|
427
|
+
zou-0.20.26.dist-info/top_level.txt,sha256=4S7G_jk4MzpToeDItHGjPhHx_fRdX52zJZWTD4SL54g,4
|
|
428
|
+
zou-0.20.26.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|