| |
@@ -420,7 +420,6 @@
|
| |
project=issue.project.to_json(public=True),
|
| |
agent=user_obj.username,
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
# TODO: we should notify the SSE server even on update of the ticket
|
| |
@@ -526,7 +525,6 @@
|
| |
tags=added_tags,
|
| |
agent=user_obj.username,
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
# Send notification for the event-source server
|
| |
@@ -553,7 +551,6 @@
|
| |
tags=added_tags,
|
| |
agent=user_obj.username,
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
# Send notification for the event-source server
|
| |
@@ -602,7 +599,6 @@
|
| |
project=issue.project.to_json(public=True),
|
| |
agent=user_obj.username,
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
# Send notification for the event-source server
|
| |
@@ -639,7 +635,6 @@
|
| |
project=issue.project.to_json(public=True),
|
| |
agent=user_obj.username,
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
issue.last_updated = datetime.datetime.utcnow()
|
| |
|
| |
@@ -678,7 +673,6 @@
|
| |
project=request.project.to_json(public=True),
|
| |
agent=user_obj.username,
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
return "Request reset"
|
| |
@@ -707,7 +701,6 @@
|
| |
project=request.project.to_json(public=True),
|
| |
agent=user_obj.username,
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
return "Request assigned"
|
| |
@@ -742,7 +735,6 @@
|
| |
added_dependency=issue_blocked.id,
|
| |
agent=user_obj.username,
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
# Send notification for the event-source server
|
| |
@@ -802,7 +794,6 @@
|
| |
removed_dependency=parent_del,
|
| |
agent=user_obj.username,
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
# Send notification for the event-source server
|
| |
@@ -874,7 +865,6 @@
|
| |
tags=removed_tags,
|
| |
agent=user_obj.username,
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
return msgs
|
| |
@@ -919,7 +909,6 @@
|
| |
tags=removed_tags,
|
| |
agent=user_obj.username,
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
# Send notification for the event-source server
|
| |
@@ -940,7 +929,6 @@
|
| |
tags=removed_tags,
|
| |
agent=user_obj.username,
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
# Send notification for the event-source server
|
| |
@@ -1054,7 +1042,6 @@
|
| |
new_tag_color=new_tag_color,
|
| |
agent=user_obj.username,
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
return msgs
|
| |
@@ -1175,7 +1162,6 @@
|
| |
new_access=access,
|
| |
agent=user_obj.username,
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
return "User access updated"
|
| |
@@ -1200,7 +1186,6 @@
|
| |
access=access,
|
| |
agent=user_obj.username,
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
return "User added"
|
| |
@@ -1278,7 +1263,6 @@
|
| |
new_access=access,
|
| |
agent=user,
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
return "Group access updated"
|
| |
@@ -1303,7 +1287,6 @@
|
| |
access=access,
|
| |
agent=user,
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
return "Group added"
|
| |
@@ -1400,7 +1383,6 @@
|
| |
msg=dict(
|
| |
pullrequest=request.to_json(public=True), agent=user_obj.username
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
if (
|
| |
@@ -1460,7 +1442,6 @@
|
| |
"comment": comment.to_json(public=True),
|
| |
"agent": user_obj.username,
|
| |
},
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
if REDIS and not parent.project.private:
|
| |
@@ -1539,7 +1520,6 @@
|
| |
flag=pr_flag.to_json(public=True),
|
| |
agent=user_obj.username,
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
return ("Flag %s" % action, pr_flag.uid)
|
| |
@@ -1597,7 +1577,6 @@
|
| |
flag=c_flag.to_json(public=True),
|
| |
agent=user_obj.username,
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
return ("Flag %s" % action, c_flag.uid)
|
| |
@@ -1840,7 +1819,6 @@
|
| |
project=issue.project.to_json(public=True),
|
| |
agent=user_obj.username,
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
return issue
|
| |
@@ -1868,7 +1846,6 @@
|
| |
project=issue.project.to_json(public=True),
|
| |
agent=user_obj.username,
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
session.commit()
|
| |
@@ -1940,7 +1917,6 @@
|
| |
msg=dict(
|
| |
pullrequest=request.to_json(public=True), agent=user_obj.username
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
# Send notification to the CI server
|
| |
@@ -2112,7 +2088,6 @@
|
| |
fields=list(set(edit)),
|
| |
agent=user_obj.username,
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
if REDIS and edit and not issue.project.private:
|
| |
@@ -2193,7 +2168,6 @@
|
| |
fields=update,
|
| |
agent=user_obj.username,
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
if "pull_request_access_only" in update:
|
| |
@@ -3247,7 +3221,6 @@
|
| |
msg=dict(
|
| |
pullrequest=request.to_json(public=True), agent=user_obj.username
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
|
| |
@@ -3296,7 +3269,6 @@
|
| |
merged=merged,
|
| |
agent=user_obj.username,
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
|
| |
|
| |
@@ -3960,7 +3932,6 @@
|
| |
fields=edits,
|
| |
agent=user.username,
|
| |
),
|
| |
- redis=REDIS,
|
| |
)
|
| |
msg = 'Group "%s" (%s) edited' % (group.display_name, group.group_name)
|
| |
|
| |