From 97076d52675e8d38685eac3ac2877ab79a3c2fdf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 24 Jul 2024 10:35:11 -0700 Subject: [PATCH 01/31] chore(deps-dev): bump @vitejs/plugin-vue (#5005) Bumps [@vitejs/plugin-vue](https://github.com/vitejs/vite-plugin-vue/tree/HEAD/packages/plugin-vue) from 5.0.5 to 5.1.0. - [Release notes](https://github.com/vitejs/vite-plugin-vue/releases) - [Changelog](https://github.com/vitejs/vite-plugin-vue/blob/main/packages/plugin-vue/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite-plugin-vue/commits/plugin-vue@5.1.0/packages/plugin-vue) --- updated-dependencies: - dependency-name: "@vitejs/plugin-vue" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Avery --- src/dispatch/static/dispatch/package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dispatch/static/dispatch/package-lock.json b/src/dispatch/static/dispatch/package-lock.json index a70210a10671..9bc8f14f7e75 100644 --- a/src/dispatch/static/dispatch/package-lock.json +++ b/src/dispatch/static/dispatch/package-lock.json @@ -1950,9 +1950,9 @@ "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==" }, "node_modules/@vitejs/plugin-vue": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-5.0.5.tgz", - "integrity": "sha512-LOjm7XeIimLBZyzinBQ6OSm3UBCNVCpLkxGC0oWmm2YPzVZoxMsdvNVimLTBzpAnR9hl/yn1SHGuRfe6/Td9rQ==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-5.1.0.tgz", + "integrity": "sha512-QMRxARyrdiwi1mj3AW4fLByoHTavreXq0itdEW696EihXglf1MB3D4C2gBvE0jMPH29ZjC3iK8aIaUMLf4EOGA==", "dev": true, "engines": { "node": "^18.0.0 || >=20.0.0" From 4d94aff992337e28970c0c26d7a8164958069282 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 24 Jul 2024 10:40:42 -0700 Subject: [PATCH 02/31] chore(deps-dev): bump @playwright/test in /src/dispatch/static/dispatch (#5006) Bumps [@playwright/test](https://github.com/microsoft/playwright) from 1.45.2 to 1.45.3. - [Release notes](https://github.com/microsoft/playwright/releases) - [Commits](https://github.com/microsoft/playwright/compare/v1.45.2...v1.45.3) --- updated-dependencies: - dependency-name: "@playwright/test" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Avery --- .../static/dispatch/package-lock.json | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/dispatch/static/dispatch/package-lock.json b/src/dispatch/static/dispatch/package-lock.json index 9bc8f14f7e75..03c30f397947 100644 --- a/src/dispatch/static/dispatch/package-lock.json +++ b/src/dispatch/static/dispatch/package-lock.json @@ -925,12 +925,12 @@ } }, "node_modules/@playwright/test": { - "version": "1.45.2", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.45.2.tgz", - "integrity": "sha512-JxG9eq92ET75EbVi3s+4sYbcG7q72ECeZNbdBlaMkGcNbiDQ4cAi8U2QP5oKkOx+1gpaiL1LDStmzCaEM1Z6fQ==", + "version": "1.45.3", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.45.3.tgz", + "integrity": "sha512-UKF4XsBfy+u3MFWEH44hva1Q8Da28G6RFtR2+5saw+jgAFQV5yYnB1fu68Mz7fO+5GJF3wgwAIs0UelU8TxFrA==", "dev": true, "dependencies": { - "playwright": "1.45.2" + "playwright": "1.45.3" }, "bin": { "playwright": "cli.js" @@ -5382,12 +5382,12 @@ } }, "node_modules/playwright": { - "version": "1.45.2", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.45.2.tgz", - "integrity": "sha512-ReywF2t/0teRvNBpfIgh5e4wnrI/8Su8ssdo5XsQKpjxJj+jspm00jSoz9BTg91TT0c9HRjXO7LBNVrgYj9X0g==", + "version": "1.45.3", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.45.3.tgz", + "integrity": "sha512-QhVaS+lpluxCaioejDZ95l4Y4jSFCsBvl2UZkpeXlzxmqS+aABr5c82YmfMHrL6x27nvrvykJAFpkzT2eWdJww==", "dev": true, "dependencies": { - "playwright-core": "1.45.2" + "playwright-core": "1.45.3" }, "bin": { "playwright": "cli.js" @@ -5400,9 +5400,9 @@ } }, "node_modules/playwright-core": { - "version": "1.45.2", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.45.2.tgz", - "integrity": "sha512-ha175tAWb0dTK0X4orvBIqi3jGEt701SMxMhyujxNrgd8K0Uy5wMSwwcQHtyB4om7INUkfndx02XnQ2p6dvLDw==", + "version": "1.45.3", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.45.3.tgz", + "integrity": "sha512-+ym0jNbcjikaOwwSZycFbwkWgfruWvYlJfThKYAlImbxUgdWFO2oW70ojPm4OpE4t6TAo2FY/smM+hpVTtkhDA==", "dev": true, "bin": { "playwright-core": "cli.js" From 71bfe3c67efe4dc4a914490c3646334e18868a6b Mon Sep 17 00:00:00 2001 From: Will Sheldon <114631109+wssheldon@users.noreply.github.com> Date: Wed, 24 Jul 2024 19:26:01 -0400 Subject: [PATCH 03/31] ui: only allow escalation on case page, not in edit sheet (#5007) --- .../static/dispatch/src/case/DetailsTab.vue | 44 ++++++++++++++++++- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git a/src/dispatch/static/dispatch/src/case/DetailsTab.vue b/src/dispatch/static/dispatch/src/case/DetailsTab.vue index 41fc133ea7df..b216d2d19186 100644 --- a/src/dispatch/static/dispatch/src/case/DetailsTab.vue +++ b/src/dispatch/static/dispatch/src/case/DetailsTab.vue @@ -78,8 +78,36 @@ v-model="status" label="Status" :items="statuses" + item-title="title" + item-value="value" hint="The status of the case." - /> + > + + { @@ -209,3 +242,10 @@ export default { }, } + + From 2254dd1a3674461253dec25187f0fd7d8944ccb3 Mon Sep 17 00:00:00 2001 From: Will Sheldon <114631109+wssheldon@users.noreply.github.com> Date: Wed, 24 Jul 2024 20:08:50 -0400 Subject: [PATCH 04/31] plugin(slack): do not allow escalate status change in update case slack modal (#5008) --- src/dispatch/plugins/dispatch_slack/case/interactive.py | 5 ++++- src/dispatch/plugins/dispatch_slack/fields.py | 7 +++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/dispatch/plugins/dispatch_slack/case/interactive.py b/src/dispatch/plugins/dispatch_slack/case/interactive.py index c8fc8574f5f2..92d7df859537 100644 --- a/src/dispatch/plugins/dispatch_slack/case/interactive.py +++ b/src/dispatch/plugins/dispatch_slack/case/interactive.py @@ -232,13 +232,16 @@ def handle_update_case_command( ) assignee_initial_user = None + statuses = [{"text": str(s), "value": str(s)} for s in CaseStatus if s != CaseStatus.escalated] + blocks = [ title_input(initial_value=case.title), description_input(initial_value=case.description), case_resolution_reason_select(optional=True), resolution_input(initial_value=case.resolution), assignee_select(initial_user=assignee_initial_user), - case_status_select(initial_option={"text": case.status, "value": case.status}), + case_status_select(initial_option={"text": case.status, "value": case.status}, statuses=statuses), + Context(elements=["Cases cannot be escalated here. Please use the `/dispatch-escalate-case` slash command."]), case_type_select( db_session=db_session, initial_option={"text": case.case_type.name, "value": case.case_type.id}, diff --git a/src/dispatch/plugins/dispatch_slack/fields.py b/src/dispatch/plugins/dispatch_slack/fields.py index b8097b72538d..6ce039912c96 100644 --- a/src/dispatch/plugins/dispatch_slack/fields.py +++ b/src/dispatch/plugins/dispatch_slack/fields.py @@ -543,11 +543,14 @@ def case_status_select( action_id: str = DefaultActionIds.case_status_select, block_id: str = DefaultBlockIds.case_status_select, label: str = "Status", - initial_option: dict = None, + initial_option: dict | None = None, + statuses: list[dict[str, str]] | None = None, **kwargs, ): """Creates a case status select.""" - statuses = [{"text": str(s), "value": str(s)} for s in CaseStatus] + if not statuses: + statuses = [{"text": str(s), "value": str(s)} for s in CaseStatus] + return static_select_block( placeholder="Select Status", options=statuses, From fc9e0287e4c34fee34257cd6c8685a8c043a5887 Mon Sep 17 00:00:00 2001 From: Will Sheldon <114631109+wssheldon@users.noreply.github.com> Date: Fri, 26 Jul 2024 14:22:04 -0400 Subject: [PATCH 05/31] bugfix(case/ui): some escalate dialog resources never exit load state (#5021) --- .../dispatch/src/case/EscalateDialog.vue | 25 ++++++++++++++++++- .../static/dispatch/src/case/store.js | 19 +++++++------- 2 files changed, 34 insertions(+), 10 deletions(-) diff --git a/src/dispatch/static/dispatch/src/case/EscalateDialog.vue b/src/dispatch/static/dispatch/src/case/EscalateDialog.vue index 4d25f459eb2f..689a7be27478 100644 --- a/src/dispatch/static/dispatch/src/case/EscalateDialog.vue +++ b/src/dispatch/static/dispatch/src/case/EscalateDialog.vue @@ -47,7 +47,9 @@ export default { name: "CaseEscalateDialog", data() { - return {} + return { + isIncidentDataLoaded: false, + } }, components: { @@ -83,6 +85,27 @@ export default { methods: { ...mapActions("case_management", ["getDetails", "closeEscalateDialog", "escalate"]), ...mapActions("incident", ["report", "resetSelected"]), + + async handleEscalate(incident) { + try { + this.loading = true + const incidentData = await this.escalate(incident) + this.$store.commit("incident/SET_SELECTED", incidentData) + this.isIncidentDataLoaded = true + } catch (error) { + console.error("Error escalating case:", error) + this.$store.commit( + "notification_backend/addBeNotification", + { + text: `Failed to escalate case.`, + type: "exception", + }, + { root: true } + ) + } finally { + this.loading = false + } + }, }, created() { diff --git a/src/dispatch/static/dispatch/src/case/store.js b/src/dispatch/static/dispatch/src/case/store.js index a0a66b349d19..2604db0357af 100644 --- a/src/dispatch/static/dispatch/src/case/store.js +++ b/src/dispatch/static/dispatch/src/case/store.js @@ -240,16 +240,17 @@ const actions = { return CaseApi.escalate(state.selected.id, payload).then((response) => { commit("incident/SET_SELECTED", response.data, { root: true }) commit("SET_SELECTED_LOADING", false) - var interval = setInterval(function () { - if (state.selected.id) { - dispatch("incident/get", response.data.id, { root: true }) - } - // TODO this is fragile but we don't set anything as "created" - if (state.selected.storage) { - clearInterval(interval) - } - }, 5000) + return new Promise((resolve) => { + const interval = setInterval(() => { + dispatch("incident/get", response.data.id, { root: true }).then((incidentData) => { + if (incidentData.conversation && incidentData.storage && incidentData.documents) { + clearInterval(interval) + resolve(incidentData) + } + }) + }, 5000) + }) }) }, report({ commit, dispatch }) { From 7386359203933da3e5aae56072873e30ae090b90 Mon Sep 17 00:00:00 2001 From: Jason Schroth Date: Fri, 2 Aug 2024 15:30:15 -0700 Subject: [PATCH 06/31] Add logging for case status transitions (#5032) * Add logging for case status transitions Adding logging to debug problem when some cases do not get a triaged_at time. --- src/dispatch/case/flows.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dispatch/case/flows.py b/src/dispatch/case/flows.py index 88fc2ab48631..eab95d2244c3 100644 --- a/src/dispatch/case/flows.py +++ b/src/dispatch/case/flows.py @@ -542,6 +542,7 @@ def case_status_transition_flow_dispatcher( db_session: Session, ): """Runs the correct flows based on the current and previous status of the case.""" + log.info(f"Transitioning Status for Case #{case.id} from {previous_status} to {current_status}") match (previous_status, current_status): case (CaseStatus.closed, CaseStatus.new): # Closed -> New @@ -568,7 +569,7 @@ def case_status_transition_flow_dispatcher( case (_, CaseStatus.triage): # Any -> Triage/ - pass + log.warning(f"Unexpected Status Transition for Case #{case.id} from {previous_status} to {current_status}") case (CaseStatus.new, CaseStatus.escalated): # New -> Escalated From afabf24b89e5eb0c0706efdab655fd5865e24280 Mon Sep 17 00:00:00 2001 From: Jason Schroth Date: Fri, 2 Aug 2024 17:11:11 -0700 Subject: [PATCH 07/31] Adding structured data (#5034) * Adding structured data Recommended update to structured data being added to the logging instead of including it in the message directly * comma fix --- src/dispatch/case/flows.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/dispatch/case/flows.py b/src/dispatch/case/flows.py index eab95d2244c3..ed52232c185f 100644 --- a/src/dispatch/case/flows.py +++ b/src/dispatch/case/flows.py @@ -542,7 +542,10 @@ def case_status_transition_flow_dispatcher( db_session: Session, ): """Runs the correct flows based on the current and previous status of the case.""" - log.info(f"Transitioning Status for Case #{case.id} from {previous_status} to {current_status}") + log.info( + "Transitioning Case status", + extra={"case_id": case.id, "previous_status": previous_status, "current_status": current_status} + ) match (previous_status, current_status): case (CaseStatus.closed, CaseStatus.new): # Closed -> New @@ -569,7 +572,10 @@ def case_status_transition_flow_dispatcher( case (_, CaseStatus.triage): # Any -> Triage/ - log.warning(f"Unexpected Status Transition for Case #{case.id} from {previous_status} to {current_status}") + log.warning( + "Unexpected previous state for Case transition to Triage state.", + extra={"case_id": case.id, "previous_status": previous_status, "current_status": current_status} + ) case (CaseStatus.new, CaseStatus.escalated): # New -> Escalated From 7984307274c18d16b09014c7859577a098dc710b Mon Sep 17 00:00:00 2001 From: Marc Vilanova <39573146+mvilanova@users.noreply.github.com> Date: Tue, 6 Aug 2024 14:55:01 -0700 Subject: [PATCH 08/31] Adds detection lifecyle to signal model (#5037) * Adds detection lifecyle to signal model * adds revision * adds lifecycle to ui components --- src/dispatch/conversation/flows.py | 1 - .../versions/2024-08-05_71cd7ed999c4.py | 28 +++++++++++++++ src/dispatch/signal/models.py | 26 +++++++------- .../dispatch/src/signal/NewEditDialog.vue | 11 ++++++ .../static/dispatch/src/signal/Table.vue | 3 +- .../static/dispatch/src/signal/store.js | 35 ++++++++++--------- 6 files changed, 73 insertions(+), 31 deletions(-) create mode 100644 src/dispatch/database/revisions/tenant/versions/2024-08-05_71cd7ed999c4.py diff --git a/src/dispatch/conversation/flows.py b/src/dispatch/conversation/flows.py index c7c7cf8f9b4d..13d031ae7938 100644 --- a/src/dispatch/conversation/flows.py +++ b/src/dispatch/conversation/flows.py @@ -73,7 +73,6 @@ def create_case_conversation( conversation.update({"resource_type": plugin.plugin.slug, "resource_id": conversation["id"]}) - print(f"got convo: {conversation}") conversation_in = ConversationCreate( resource_id=conversation["resource_id"], resource_type=conversation["resource_type"], diff --git a/src/dispatch/database/revisions/tenant/versions/2024-08-05_71cd7ed999c4.py b/src/dispatch/database/revisions/tenant/versions/2024-08-05_71cd7ed999c4.py new file mode 100644 index 000000000000..954c18f46d9a --- /dev/null +++ b/src/dispatch/database/revisions/tenant/versions/2024-08-05_71cd7ed999c4.py @@ -0,0 +1,28 @@ +"""Adds lifecycle column to signal model + +Revision ID: 71cd7ed999c4 +Revises: ef17416626ff +Create Date: 2024-08-05 15:22:27.578399 + +""" + +from alembic import op +import sqlalchemy as sa + +# revision identifiers, used by Alembic. +revision = "71cd7ed999c4" +down_revision = "ef17416626ff" +branch_labels = None +depends_on = None + + +def upgrade(): + # ### commands auto generated by Alembic - please adjust! ### + op.add_column("signal", sa.Column("lifecycle", sa.String(), nullable=True)) + # ### end Alembic commands ### + + +def downgrade(): + # ### commands auto generated by Alembic - please adjust! ### + op.drop_column("signal", "lifecycle") + # ### end Alembic commands ### diff --git a/src/dispatch/signal/models.py b/src/dispatch/signal/models.py index 861f2c86753d..6c574dc793da 100644 --- a/src/dispatch/signal/models.py +++ b/src/dispatch/signal/models.py @@ -148,6 +148,7 @@ class Signal(Base, TimeStampMixin, ProjectMixin): create_case = Column(Boolean, default=True) conversation_target = Column(String) default = Column(Boolean, default=False) + lifecycle = Column(String) oncall_service_id = Column(Integer, ForeignKey("service.id")) oncall_service = relationship("Service", foreign_keys=[oncall_service_id]) @@ -311,6 +312,7 @@ class SignalBase(DispatchBase): project: ProjectRead source: Optional[SourceBase] variant: Optional[str] + lifecycle: Optional[str] class SignalCreate(SignalBase): @@ -339,18 +341,18 @@ class SignalRead(SignalBase): tags: Optional[List[TagRead]] = [] -class SignalReadMinimal(DispatchBase): - id: PrimaryKey - name: str - owner: str - conversation_target: Optional[str] - description: Optional[str] - variant: Optional[str] - external_id: str - enabled: Optional[bool] = False - external_url: Optional[str] - create_case: Optional[bool] = True - created_at: Optional[datetime] = None +# class SignalReadMinimal(DispatchBase): +# id: PrimaryKey +# name: str +# owner: str +# conversation_target: Optional[str] +# description: Optional[str] +# variant: Optional[str] +# external_id: str +# enabled: Optional[bool] = False +# external_url: Optional[str] +# create_case: Optional[bool] = True +# created_at: Optional[datetime] = None class SignalPagination(Pagination): diff --git a/src/dispatch/static/dispatch/src/signal/NewEditDialog.vue b/src/dispatch/static/dispatch/src/signal/NewEditDialog.vue index 6fe946623ef5..bacc2471b217 100644 --- a/src/dispatch/static/dispatch/src/signal/NewEditDialog.vue +++ b/src/dispatch/static/dispatch/src/signal/NewEditDialog.vue @@ -100,6 +100,16 @@ :rules="[rules.required]" /> + + + { return { - id: null, - name: null, - description: null, - variant: null, - owner: null, - external_id: null, - external_url: null, - case_type: null, case_priority: null, + case_type: null, + conversation_target: null, + create_case: true, + created_at: null, + description: null, enabled: false, engagements: [], - filters: [], entity_types: [], - tags: [], + external_id: null, + external_url: null, + filters: [], + id: null, + lifecycle: null, + loading: false, + name: null, + oncall_service: null, + owner: null, + project: null, signal_definition: null, + source: null, + tags: [], + variant: null, workflow_instances: null, - oncall_service: null, - conversation_target: null, - create_case: true, workflows: [], - source: null, - project: null, - created_at: null, - loading: false, } } From 38efc9f308de30b1b02bb81874fa324153eb2976 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 8 Aug 2024 15:07:22 -0700 Subject: [PATCH 09/31] chore(deps-dev): bump vite in /src/dispatch/static/dispatch (#5045) Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.3.4 to 5.4.0. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/create-vite@5.4.0/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- src/dispatch/static/dispatch/package-lock.json | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/dispatch/static/dispatch/package-lock.json b/src/dispatch/static/dispatch/package-lock.json index 03c30f397947..ffea4d41df18 100644 --- a/src/dispatch/static/dispatch/package-lock.json +++ b/src/dispatch/static/dispatch/package-lock.json @@ -5426,9 +5426,9 @@ } }, "node_modules/postcss": { - "version": "8.4.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.39.tgz", - "integrity": "sha512-0vzE+lAiG7hZl1/9I8yzKLx3aR9Xbof3fBHKunvMfOCYAtMhrsnccJY2iTURb9EZd5+pLuiNV9/c/GZJOHsgIw==", + "version": "8.4.41", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.41.tgz", + "integrity": "sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==", "funding": [ { "type": "opencollective", @@ -6563,13 +6563,13 @@ } }, "node_modules/vite": { - "version": "5.3.4", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.3.4.tgz", - "integrity": "sha512-Cw+7zL3ZG9/NZBB8C+8QbQZmR54GwqIz+WMI4b3JgdYJvX+ny9AjJXqkGQlDXSXRP9rP0B4tbciRMOVEKulVOA==", + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.0.tgz", + "integrity": "sha512-5xokfMX0PIiwCMCMb9ZJcMyh5wbBun0zUzKib+L65vAZ8GY9ePZMXxFrHbr/Kyll2+LSCY7xtERPpxkBDKngwg==", "devOptional": true, "dependencies": { "esbuild": "^0.21.3", - "postcss": "^8.4.39", + "postcss": "^8.4.40", "rollup": "^4.13.0" }, "bin": { @@ -6589,6 +6589,7 @@ "less": "*", "lightningcss": "^1.21.0", "sass": "*", + "sass-embedded": "*", "stylus": "*", "sugarss": "*", "terser": "^5.4.0" @@ -6606,6 +6607,9 @@ "sass": { "optional": true }, + "sass-embedded": { + "optional": true + }, "stylus": { "optional": true }, From a1a86f8fbb554f9ebf9f6c84a089dd9b6e0ed39d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 8 Aug 2024 15:07:30 -0700 Subject: [PATCH 10/31] chore(deps): bump @tiptap/starter-kit in /src/dispatch/static/dispatch (#5044) Bumps [@tiptap/starter-kit](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/starter-kit) from 2.5.5 to 2.5.9. - [Release notes](https://github.com/ueberdosis/tiptap/releases) - [Changelog](https://github.com/ueberdosis/tiptap/blob/develop/packages/starter-kit/CHANGELOG.md) - [Commits](https://github.com/ueberdosis/tiptap/commits/@tiptap/starter-kit@2.5.9/packages/starter-kit) --- updated-dependencies: - dependency-name: "@tiptap/starter-kit" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../static/dispatch/package-lock.json | 250 +++++++++--------- 1 file changed, 125 insertions(+), 125 deletions(-) diff --git a/src/dispatch/static/dispatch/package-lock.json b/src/dispatch/static/dispatch/package-lock.json index ffea4d41df18..c33f279d43b2 100644 --- a/src/dispatch/static/dispatch/package-lock.json +++ b/src/dispatch/static/dispatch/package-lock.json @@ -1323,39 +1323,39 @@ } }, "node_modules/@tiptap/core": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/@tiptap/core/-/core-2.5.5.tgz", - "integrity": "sha512-VnAnyWnsqN65QijtUFHbe7EPSJCkhNEAwlatsG/HvrZvUv9KmoWWbMsHAU73wozKzPXR3nHRbCxN+LuxP5bADg==", + "version": "2.5.9", + "resolved": "https://registry.npmjs.org/@tiptap/core/-/core-2.5.9.tgz", + "integrity": "sha512-PPUR+0tbr+wX2G8RG4FEps4qhbnAPEeXK1FUtirLXSRh8vm+TDgafu3sms7wBc4fAyw9zTO/KNNZ90GBe04guA==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/pm": "^2.5.5" + "@tiptap/pm": "^2.5.9" } }, "node_modules/@tiptap/extension-blockquote": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/@tiptap/extension-blockquote/-/extension-blockquote-2.5.5.tgz", - "integrity": "sha512-K+fc++ASlgDRHN6i3j3JBGzWiDhhoZv0jCUB/l7Jzut4UfjIoWqKhmJajnp95Qu9tmwQUy9LMzHqG4G5wUsIsQ==", + "version": "2.5.9", + "resolved": "https://registry.npmjs.org/@tiptap/extension-blockquote/-/extension-blockquote-2.5.9.tgz", + "integrity": "sha512-LhGyigmd/v1OjYPeoVK8UvFHbH6ffh175ZuNvseZY4PsBd7kZhrSUiuMG8xYdNX8FxamsxAzr2YpsYnOzu3W7A==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.5.5" + "@tiptap/core": "^2.5.9" } }, "node_modules/@tiptap/extension-bold": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/@tiptap/extension-bold/-/extension-bold-2.5.5.tgz", - "integrity": "sha512-vXqaeTKy4nf4X+s7NkFt0OsuS1eKMQhrdt7SzACf0gWi3M761WGkaKHy8XUlo7zhWhqHtkgey53Gaw0nbEY54Q==", + "version": "2.5.9", + "resolved": "https://registry.npmjs.org/@tiptap/extension-bold/-/extension-bold-2.5.9.tgz", + "integrity": "sha512-XUJdzFb31t0+bwiRquJf0btBpqOB3axQNHTKM9XADuL4S+Z6OBPj0I5rYINeElw/Q7muvdWrHWHh/ovNJA1/5A==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.5.5" + "@tiptap/core": "^2.5.9" } }, "node_modules/@tiptap/extension-bubble-menu": { @@ -1375,65 +1375,65 @@ } }, "node_modules/@tiptap/extension-bullet-list": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/@tiptap/extension-bullet-list/-/extension-bullet-list-2.5.5.tgz", - "integrity": "sha512-p89cTmGUoq3OEFzcS49iQ/tyQjDoKW1J0c7EghS7eU3wHVxeo/Ke110cY2W5o1e4KMFowo3a4jVsxKuCQJkWrA==", + "version": "2.5.9", + "resolved": "https://registry.npmjs.org/@tiptap/extension-bullet-list/-/extension-bullet-list-2.5.9.tgz", + "integrity": "sha512-hJTv1x4omFgaID4LMRT5tOZb/VKmi8Kc6jsf4JNq4Grxd2sANmr9qpmKtBZvviK+XD5PpTXHvL+1c8C1SQtuHQ==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.5.5" + "@tiptap/core": "^2.5.9" } }, "node_modules/@tiptap/extension-code": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/@tiptap/extension-code/-/extension-code-2.5.5.tgz", - "integrity": "sha512-PrCuq+cBXMMJQKP3xx6p00gOWxMtnLAgSTCm86rz5U9FzNK7AU3LTlNUD5q1jtJct7Kv4gVpAUAOiBw7nfjHQA==", + "version": "2.5.9", + "resolved": "https://registry.npmjs.org/@tiptap/extension-code/-/extension-code-2.5.9.tgz", + "integrity": "sha512-Q1PL3DUXiEe5eYUwOug1haRjSaB0doAKwx7KFVI+kSGbDwCV6BdkKAeYf3us/O2pMP9D0im8RWX4dbSnatgwBA==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.5.5" + "@tiptap/core": "^2.5.9" } }, "node_modules/@tiptap/extension-code-block": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/@tiptap/extension-code-block/-/extension-code-block-2.5.5.tgz", - "integrity": "sha512-1POV/09GhDn3qUVOPrsTu8+N/u/GI2tJOXdfbMvBOdJ1udtT9Iv5Psj+5pkNvwS80/NfnXsMq4nIeZkrN/NDxw==", + "version": "2.5.9", + "resolved": "https://registry.npmjs.org/@tiptap/extension-code-block/-/extension-code-block-2.5.9.tgz", + "integrity": "sha512-+MUwp0VFFv2aFiZ/qN6q10vfIc6VhLoFFpfuETX10eIRks0Xuj2nGiqCDj7ca0/M44bRg2VvW8+tg/ZEHFNl9g==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.5.5", - "@tiptap/pm": "^2.5.5" + "@tiptap/core": "^2.5.9", + "@tiptap/pm": "^2.5.9" } }, "node_modules/@tiptap/extension-document": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/@tiptap/extension-document/-/extension-document-2.5.5.tgz", - "integrity": "sha512-MIjYO63JepcJW37PQuKVmYuZFqkQOZ/12tV0YLU4o6gmGVdqJS0+3md9CdnyUFUDIo7x6TBh8r5i5L2xQpm3Sg==", + "version": "2.5.9", + "resolved": "https://registry.npmjs.org/@tiptap/extension-document/-/extension-document-2.5.9.tgz", + "integrity": "sha512-VdNZYDyCzC3W430UdeRXR9IZzPeODSbi5Xz/JEdV93THVp8AC9CrZR7/qjqdBTgbTB54VP8Yr6bKfCoIAF0BeQ==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.5.5" + "@tiptap/core": "^2.5.9" } }, "node_modules/@tiptap/extension-dropcursor": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/@tiptap/extension-dropcursor/-/extension-dropcursor-2.5.5.tgz", - "integrity": "sha512-+K/qd115c3zFgHdvxtOkZhSTKNyPpjM0Np2v4cehqn0j+/3stOMGlAH2Jm/b2L8RylFKGtQP1b/1wsKY5feuAg==", + "version": "2.5.9", + "resolved": "https://registry.npmjs.org/@tiptap/extension-dropcursor/-/extension-dropcursor-2.5.9.tgz", + "integrity": "sha512-nEOb37UryG6bsU9JAs/HojE6Jg43LupNTAMISbnuB1CPAeAqNsFMwORd9eEPkyEwnQT7MkhsMOSJM44GoPGIFA==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.5.5", - "@tiptap/pm": "^2.5.5" + "@tiptap/core": "^2.5.9", + "@tiptap/pm": "^2.5.9" } }, "node_modules/@tiptap/extension-floating-menu": { @@ -1453,114 +1453,114 @@ } }, "node_modules/@tiptap/extension-gapcursor": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/@tiptap/extension-gapcursor/-/extension-gapcursor-2.5.5.tgz", - "integrity": "sha512-An/HwTheUP+D4UU1GVy2e4ypqA1TanZ7haNcm5WB+wSZQo6UNPIszIa49TTGenkk86hP2DH9cQSlTREsyAW6wg==", + "version": "2.5.9", + "resolved": "https://registry.npmjs.org/@tiptap/extension-gapcursor/-/extension-gapcursor-2.5.9.tgz", + "integrity": "sha512-yW7V2ebezsa7mWEDWCg4A1ZGsmSV5bEHKse9wzHCDkb7TutSVhLZxGo72U6hNN9PnAksv+FJQk03NuZNYvNyRQ==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.5.5", - "@tiptap/pm": "^2.5.5" + "@tiptap/core": "^2.5.9", + "@tiptap/pm": "^2.5.9" } }, "node_modules/@tiptap/extension-hard-break": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/@tiptap/extension-hard-break/-/extension-hard-break-2.5.5.tgz", - "integrity": "sha512-VtrwKU0LYS/0rfH5rGz8ztKwA0bsHRyBF53G7aP2FS4BiN8aOEu8t7VkvBZAewXDITDah9K6rqfXk+MNwoul2Q==", + "version": "2.5.9", + "resolved": "https://registry.npmjs.org/@tiptap/extension-hard-break/-/extension-hard-break-2.5.9.tgz", + "integrity": "sha512-8hQ63SgZRG4BqHOeSfeaowG2eMr2beced018pOGbpHbE3XSYoISkMVuFz4Z8UEVR3W9dTbKo4wxNufSTducocQ==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.5.5" + "@tiptap/core": "^2.5.9" } }, "node_modules/@tiptap/extension-heading": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/@tiptap/extension-heading/-/extension-heading-2.5.5.tgz", - "integrity": "sha512-NDnXOR6HmnkBA68oZTVf0BT5t8ikVFv9X6Ft/O5oU6IuzCswS8BUb5MJIhKBWQXJTsCNbC6EYl5jhJ3hukLcHw==", + "version": "2.5.9", + "resolved": "https://registry.npmjs.org/@tiptap/extension-heading/-/extension-heading-2.5.9.tgz", + "integrity": "sha512-HHowAlGUbFn1qvmY02ydM7qiPPMTGhAJn2A46enDRjNHW5UoqeMfkMpTEYaioOexyguRFSfDT3gpK68IHkQORQ==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.5.5" + "@tiptap/core": "^2.5.9" } }, "node_modules/@tiptap/extension-history": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/@tiptap/extension-history/-/extension-history-2.5.5.tgz", - "integrity": "sha512-CYxFpE9wayc+iZQIlXd3cbq47WP+KqjDhprbKF5Tb7+WoWLS2FB5WK3n+r/SrcoIaslIt5SYDRQPzx4fS3N7LA==", + "version": "2.5.9", + "resolved": "https://registry.npmjs.org/@tiptap/extension-history/-/extension-history-2.5.9.tgz", + "integrity": "sha512-hGPtJgoZSwnVVqi/xipC2ET/9X2G2UI/Y+M3IYV1ZlM0tCYsv4spNi3uXlZqnXRwYcBXLk5u6e/dmsy5QFbL8g==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.5.5", - "@tiptap/pm": "^2.5.5" + "@tiptap/core": "^2.5.9", + "@tiptap/pm": "^2.5.9" } }, "node_modules/@tiptap/extension-horizontal-rule": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/@tiptap/extension-horizontal-rule/-/extension-horizontal-rule-2.5.5.tgz", - "integrity": "sha512-8oV0oLgGwJqr44wk7+bHxTAenR0bvk9aVdmE/owg1oy2tkSX0bwtvQEOnwwxtfPJGTwq8JGhefUGYcpHfG2YYg==", + "version": "2.5.9", + "resolved": "https://registry.npmjs.org/@tiptap/extension-horizontal-rule/-/extension-horizontal-rule-2.5.9.tgz", + "integrity": "sha512-/ES5NdxCndBmZAgIXSpCJH8YzENcpxR0S8w34coSWyv+iW0Sq7rW/mksQw8ZIVsj8a7ntpoY5OoRFpSlqcvyGw==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.5.5", - "@tiptap/pm": "^2.5.5" + "@tiptap/core": "^2.5.9", + "@tiptap/pm": "^2.5.9" } }, "node_modules/@tiptap/extension-italic": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/@tiptap/extension-italic/-/extension-italic-2.5.5.tgz", - "integrity": "sha512-PEeI68/u7Bm4n4xIcxVAV12jPhEa72fpHRnYfJe4CGp4x8mJfz/dowKN/P0/6CfjROB7Q8rY26u5E9fS+Cg73w==", + "version": "2.5.9", + "resolved": "https://registry.npmjs.org/@tiptap/extension-italic/-/extension-italic-2.5.9.tgz", + "integrity": "sha512-Bw+P139L4cy+B56zpUiRjP8BZSaAUl3JFMnr/FO+FG55QhCxFMXIc6XrC3vslNy5ef3B3zv4gCttS3ee8ByMiw==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.5.5" + "@tiptap/core": "^2.5.9" } }, "node_modules/@tiptap/extension-list-item": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/@tiptap/extension-list-item/-/extension-list-item-2.5.5.tgz", - "integrity": "sha512-CfNVCP8Pqqgr7fAQAuRvZikzXT9vCEogcW7/C16cyGykbUJBqBmpsyHcAlj7XwsBFUuJ5MCeULtk/0frUI5fMQ==", + "version": "2.5.9", + "resolved": "https://registry.npmjs.org/@tiptap/extension-list-item/-/extension-list-item-2.5.9.tgz", + "integrity": "sha512-d9Eo+vBz74SMxP0r25aqiErV256C+lGz+VWMjOoqJa6xWLM1keYy12JtGQWJi8UDVZrDskJKCHq81A0uLt27WA==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.5.5" + "@tiptap/core": "^2.5.9" } }, "node_modules/@tiptap/extension-ordered-list": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/@tiptap/extension-ordered-list/-/extension-ordered-list-2.5.5.tgz", - "integrity": "sha512-wElnGQJhKznayP7tVGl/r42mj1dLEeU+Ln1Y3wF/m+nFwKl2Gpsy01PjBy5sXPUgskGSWgMlOgJrQyMvH9AuAw==", + "version": "2.5.9", + "resolved": "https://registry.npmjs.org/@tiptap/extension-ordered-list/-/extension-ordered-list-2.5.9.tgz", + "integrity": "sha512-9MsWpvVvzILuEOd/GdroF7RI7uDuE1M6at9rzsaVGvCPVHZBvu1XR3MSVK5OdiJbbJuPGttlzEFLaN/rQdCGFg==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.5.5" + "@tiptap/core": "^2.5.9" } }, "node_modules/@tiptap/extension-paragraph": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/@tiptap/extension-paragraph/-/extension-paragraph-2.5.5.tgz", - "integrity": "sha512-XZO1rqsU1vlt9qeG2pVVAt2gXjD0twl2D+uxy4Nw6gxqbhSgfbNq3RP72mmtcS4KyFJi7ETANpcRpb8ZNvXfmg==", + "version": "2.5.9", + "resolved": "https://registry.npmjs.org/@tiptap/extension-paragraph/-/extension-paragraph-2.5.9.tgz", + "integrity": "sha512-HDXGiHTJ/V85dbDMjcFj4XfqyTQZqry6V21ucMzgBZYX60X3gIn7VpQTQnnRjvULSgtfOASSJP6BELc5TyiK0w==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.5.5" + "@tiptap/core": "^2.5.9" } }, "node_modules/@tiptap/extension-placeholder": { @@ -1577,33 +1577,33 @@ } }, "node_modules/@tiptap/extension-strike": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/@tiptap/extension-strike/-/extension-strike-2.5.5.tgz", - "integrity": "sha512-xnVdSsP7+4yQ1E+rI77ZHvzDH1Gwe2Ty1tgXeOaLjt3RfeVx4xy75o09yHzab6J4hgPebonoXKbZV0JVTGnjtQ==", + "version": "2.5.9", + "resolved": "https://registry.npmjs.org/@tiptap/extension-strike/-/extension-strike-2.5.9.tgz", + "integrity": "sha512-QezkOZpczpl09S8lp5JL7sRkwREoPY16Y/lTvBcFKm3TZbVzYZZ/KwS0zpwK9HXTfXr8os4L9AGjQf0tHonX+w==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.5.5" + "@tiptap/core": "^2.5.9" } }, "node_modules/@tiptap/extension-text": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/@tiptap/extension-text/-/extension-text-2.5.5.tgz", - "integrity": "sha512-8c/hxcw7t/S3iKGSFwGNxC2I6AkKpRiySQJ95ML2miwSOAxWhnltoYYV7gobWCRgm25lnvzX/Z6BdpFzXBrBKA==", + "version": "2.5.9", + "resolved": "https://registry.npmjs.org/@tiptap/extension-text/-/extension-text-2.5.9.tgz", + "integrity": "sha512-W0pfiQUPsMkwaV5Y/wKW4cFsyXAIkyOFt7uN5u6LrZ/iW9KZ/IsDODPJDikWp0aeQnXzT9NNQULTpCjbHzzS6g==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.5.5" + "@tiptap/core": "^2.5.9" } }, "node_modules/@tiptap/pm": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/@tiptap/pm/-/pm-2.5.5.tgz", - "integrity": "sha512-ppePiLaeG6IKkm8Yq+mRENT4LIAS4qQyLT8EnKadznaTL6SNj/72mm0MjD44URkM38ySzIyvt/vqHDapNK0Hww==", + "version": "2.5.9", + "resolved": "https://registry.npmjs.org/@tiptap/pm/-/pm-2.5.9.tgz", + "integrity": "sha512-YSUaEQVtvZnGzGjif2Tl2o9utE+6tR2Djhz0EqFUcAUEVhOMk7UYUO+r/aPfcCRraIoKKuDQzyCpjKmJicjCUA==", "dependencies": { "prosemirror-changeset": "^2.2.1", "prosemirror-collab": "^1.3.1", @@ -1615,14 +1615,14 @@ "prosemirror-keymap": "^1.2.2", "prosemirror-markdown": "^1.13.0", "prosemirror-menu": "^1.2.4", - "prosemirror-model": "^1.22.1", + "prosemirror-model": "^1.22.2", "prosemirror-schema-basic": "^1.2.3", "prosemirror-schema-list": "^1.4.1", "prosemirror-state": "^1.4.3", - "prosemirror-tables": "^1.3.7", - "prosemirror-trailing-node": "^2.0.8", + "prosemirror-tables": "^1.4.0", + "prosemirror-trailing-node": "^2.0.9", "prosemirror-transform": "^1.9.0", - "prosemirror-view": "^1.33.8" + "prosemirror-view": "^1.33.9" }, "funding": { "type": "github", @@ -1630,29 +1630,29 @@ } }, "node_modules/@tiptap/starter-kit": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/@tiptap/starter-kit/-/starter-kit-2.5.5.tgz", - "integrity": "sha512-lk+57E7spXdofqYyPt3YiNo6c/sWjFrWOijJJqmefBWhOFlXybRNS46/WunIxflHCyy+BR2pGUkl5QhEhpUG1g==", - "dependencies": { - "@tiptap/core": "^2.5.5", - "@tiptap/extension-blockquote": "^2.5.5", - "@tiptap/extension-bold": "^2.5.5", - "@tiptap/extension-bullet-list": "^2.5.5", - "@tiptap/extension-code": "^2.5.5", - "@tiptap/extension-code-block": "^2.5.5", - "@tiptap/extension-document": "^2.5.5", - "@tiptap/extension-dropcursor": "^2.5.5", - "@tiptap/extension-gapcursor": "^2.5.5", - "@tiptap/extension-hard-break": "^2.5.5", - "@tiptap/extension-heading": "^2.5.5", - "@tiptap/extension-history": "^2.5.5", - "@tiptap/extension-horizontal-rule": "^2.5.5", - "@tiptap/extension-italic": "^2.5.5", - "@tiptap/extension-list-item": "^2.5.5", - "@tiptap/extension-ordered-list": "^2.5.5", - "@tiptap/extension-paragraph": "^2.5.5", - "@tiptap/extension-strike": "^2.5.5", - "@tiptap/extension-text": "^2.5.5" + "version": "2.5.9", + "resolved": "https://registry.npmjs.org/@tiptap/starter-kit/-/starter-kit-2.5.9.tgz", + "integrity": "sha512-nZ4V+vRayomjxUsajFMHv1iJ5SiSaEA65LAXze/CzyZXGMXfL2OLzY7wJoaVJ4BgwINuO0dOSAtpNDN6jI+6mQ==", + "dependencies": { + "@tiptap/core": "^2.5.9", + "@tiptap/extension-blockquote": "^2.5.9", + "@tiptap/extension-bold": "^2.5.9", + "@tiptap/extension-bullet-list": "^2.5.9", + "@tiptap/extension-code": "^2.5.9", + "@tiptap/extension-code-block": "^2.5.9", + "@tiptap/extension-document": "^2.5.9", + "@tiptap/extension-dropcursor": "^2.5.9", + "@tiptap/extension-gapcursor": "^2.5.9", + "@tiptap/extension-hard-break": "^2.5.9", + "@tiptap/extension-heading": "^2.5.9", + "@tiptap/extension-history": "^2.5.9", + "@tiptap/extension-horizontal-rule": "^2.5.9", + "@tiptap/extension-italic": "^2.5.9", + "@tiptap/extension-list-item": "^2.5.9", + "@tiptap/extension-ordered-list": "^2.5.9", + "@tiptap/extension-paragraph": "^2.5.9", + "@tiptap/extension-strike": "^2.5.9", + "@tiptap/extension-text": "^2.5.9" }, "funding": { "type": "github", @@ -5623,9 +5623,9 @@ } }, "node_modules/prosemirror-model": { - "version": "1.22.1", - "resolved": "https://registry.npmjs.org/prosemirror-model/-/prosemirror-model-1.22.1.tgz", - "integrity": "sha512-gMrxal+F3higDFxCkBK5iQXckRVYvIu/3dopERJ6b20xfwZ9cbYvQvuldqaN+v/XytNPGyURYUpUU23kBRxWCQ==", + "version": "1.22.3", + "resolved": "https://registry.npmjs.org/prosemirror-model/-/prosemirror-model-1.22.3.tgz", + "integrity": "sha512-V4XCysitErI+i0rKFILGt/xClnFJaohe/wrrlT2NSZ+zk8ggQfDH4x2wNK7Gm0Hp4CIoWizvXFP7L9KMaCuI0Q==", "dependencies": { "orderedmap": "^2.0.0" } @@ -5659,9 +5659,9 @@ } }, "node_modules/prosemirror-tables": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/prosemirror-tables/-/prosemirror-tables-1.3.7.tgz", - "integrity": "sha512-oEwX1wrziuxMtwFvdDWSFHVUWrFJWt929kVVfHvtTi8yvw+5ppxjXZkMG/fuTdFo+3DXyIPSKfid+Be1npKXDA==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/prosemirror-tables/-/prosemirror-tables-1.4.0.tgz", + "integrity": "sha512-fxryZZkQG12fSCNuZDrYx6Xvo2rLYZTbKLRd8rglOPgNJGMKIS8uvTt6gGC38m7UCu/ENnXIP9pEz5uDaPc+cA==", "dependencies": { "prosemirror-keymap": "^1.1.2", "prosemirror-model": "^1.8.1", @@ -5671,17 +5671,17 @@ } }, "node_modules/prosemirror-trailing-node": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/prosemirror-trailing-node/-/prosemirror-trailing-node-2.0.8.tgz", - "integrity": "sha512-ujRYhSuhQb1Jsarh1IHqb2KoSnRiD7wAMDGucP35DN7j5af6X7B18PfdPIrbwsPTqIAj0fyOvxbuPsWhNvylmA==", + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/prosemirror-trailing-node/-/prosemirror-trailing-node-2.0.9.tgz", + "integrity": "sha512-YvyIn3/UaLFlFKrlJB6cObvUhmwFNZVhy1Q8OpW/avoTbD/Y7H5EcjK4AZFKhmuS6/N6WkGgt7gWtBWDnmFvHg==", "dependencies": { "@remirror/core-constants": "^2.0.2", "escape-string-regexp": "^4.0.0" }, "peerDependencies": { - "prosemirror-model": "^1.19.0", + "prosemirror-model": "^1.22.1", "prosemirror-state": "^1.4.2", - "prosemirror-view": "^1.31.2" + "prosemirror-view": "^1.33.8" } }, "node_modules/prosemirror-transform": { @@ -5693,9 +5693,9 @@ } }, "node_modules/prosemirror-view": { - "version": "1.33.8", - "resolved": "https://registry.npmjs.org/prosemirror-view/-/prosemirror-view-1.33.8.tgz", - "integrity": "sha512-4PhMr/ufz2cdvFgpUAnZfs+0xij3RsFysreeG9V/utpwX7AJtYCDVyuRxzWoMJIEf4C7wVihuBNMPpFLPCiLQw==", + "version": "1.33.9", + "resolved": "https://registry.npmjs.org/prosemirror-view/-/prosemirror-view-1.33.9.tgz", + "integrity": "sha512-xV1A0Vz9cIcEnwmMhKKFAOkfIp8XmJRnaZoPqNXrPS7EK5n11Ov8V76KhR0RsfQd/SIzmWY+bg+M44A2Lx/Nnw==", "dependencies": { "prosemirror-model": "^1.20.0", "prosemirror-state": "^1.0.0", From b2e3d631e310727fc341246670dd1e58f55ed6e3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 8 Aug 2024 15:07:38 -0700 Subject: [PATCH 11/31] chore(deps): bump @tiptap/vue-3 in /src/dispatch/static/dispatch (#5043) Bumps [@tiptap/vue-3](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/vue-3) from 2.5.5 to 2.5.9. - [Release notes](https://github.com/ueberdosis/tiptap/releases) - [Changelog](https://github.com/ueberdosis/tiptap/blob/develop/packages/vue-3/CHANGELOG.md) - [Commits](https://github.com/ueberdosis/tiptap/commits/@tiptap/vue-3@2.5.9/packages/vue-3) --- updated-dependencies: - dependency-name: "@tiptap/vue-3" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../static/dispatch/package-lock.json | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/dispatch/static/dispatch/package-lock.json b/src/dispatch/static/dispatch/package-lock.json index c33f279d43b2..658dc79da7a2 100644 --- a/src/dispatch/static/dispatch/package-lock.json +++ b/src/dispatch/static/dispatch/package-lock.json @@ -1359,9 +1359,9 @@ } }, "node_modules/@tiptap/extension-bubble-menu": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/@tiptap/extension-bubble-menu/-/extension-bubble-menu-2.5.5.tgz", - "integrity": "sha512-7k0HqrnhQGVZk86MEc5vt8stNRxIY65AMjZfszY/mQw0Dza7EQig/9b/AEmi9n+TNW5/8Qu+OMJD9ln92d/Eog==", + "version": "2.5.9", + "resolved": "https://registry.npmjs.org/@tiptap/extension-bubble-menu/-/extension-bubble-menu-2.5.9.tgz", + "integrity": "sha512-NddZ8Qn5dgPPa1W4yk0jdhF4tDBh0FwzBpbnDu2Xz/0TUHrA36ugB2CvR5xS1we4zUKckgpVqOqgdelrmqqFVg==", "dependencies": { "tippy.js": "^6.3.7" }, @@ -1370,8 +1370,8 @@ "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.5.5", - "@tiptap/pm": "^2.5.5" + "@tiptap/core": "^2.5.9", + "@tiptap/pm": "^2.5.9" } }, "node_modules/@tiptap/extension-bullet-list": { @@ -1437,9 +1437,9 @@ } }, "node_modules/@tiptap/extension-floating-menu": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/@tiptap/extension-floating-menu/-/extension-floating-menu-2.5.5.tgz", - "integrity": "sha512-1mgpxZGfy1ziNSvWz6m1nGb9ZF9fVVz4X4XwrIqwGw1Vqt9oXflm6puglnzwVLDeaMDT014VUfczJ4My3wDZzA==", + "version": "2.5.9", + "resolved": "https://registry.npmjs.org/@tiptap/extension-floating-menu/-/extension-floating-menu-2.5.9.tgz", + "integrity": "sha512-MWJIQQT6e5MgqHny8neeH2Dx926nVPF7sv4p84nX4E0dnkRbEYUP8mCsWYhSUvxxIif6e+yY+4654f2Q9qTx1w==", "dependencies": { "tippy.js": "^6.3.7" }, @@ -1448,8 +1448,8 @@ "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.5.5", - "@tiptap/pm": "^2.5.5" + "@tiptap/core": "^2.5.9", + "@tiptap/pm": "^2.5.9" } }, "node_modules/@tiptap/extension-gapcursor": { @@ -1660,20 +1660,20 @@ } }, "node_modules/@tiptap/vue-3": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/@tiptap/vue-3/-/vue-3-2.5.5.tgz", - "integrity": "sha512-Us+Iol4vv6O0c3dEfXRD8z0AU+SV3Ky6UChuqrFFG+4JwTqYs5NcYbRmm78Yjz23Vkhh06bcXez1CVhf4GXkEQ==", + "version": "2.5.9", + "resolved": "https://registry.npmjs.org/@tiptap/vue-3/-/vue-3-2.5.9.tgz", + "integrity": "sha512-Iz7HMW9A0jinYnMs2wZxjI+e5fc5MQmjgmfE0kQmimpgISBregW8vJyDKDPIZVJz5LQPLL045G3mL+7V8fExrQ==", "dependencies": { - "@tiptap/extension-bubble-menu": "^2.5.5", - "@tiptap/extension-floating-menu": "^2.5.5" + "@tiptap/extension-bubble-menu": "^2.5.9", + "@tiptap/extension-floating-menu": "^2.5.9" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.5.5", - "@tiptap/pm": "^2.5.5", + "@tiptap/core": "^2.5.9", + "@tiptap/pm": "^2.5.9", "vue": "^3.0.0" } }, From 75dddfa8676c68d836b0884d24c37644798ca452 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 8 Aug 2024 15:07:45 -0700 Subject: [PATCH 12/31] chore(deps): bump @tiptap/extension-placeholder (#5042) Bumps [@tiptap/extension-placeholder](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/extension-placeholder) from 2.5.5 to 2.5.9. - [Release notes](https://github.com/ueberdosis/tiptap/releases) - [Changelog](https://github.com/ueberdosis/tiptap/blob/develop/packages/extension-placeholder/CHANGELOG.md) - [Commits](https://github.com/ueberdosis/tiptap/commits/@tiptap/extension-placeholder@2.5.9/packages/extension-placeholder) --- updated-dependencies: - dependency-name: "@tiptap/extension-placeholder" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- src/dispatch/static/dispatch/package-lock.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/dispatch/static/dispatch/package-lock.json b/src/dispatch/static/dispatch/package-lock.json index 658dc79da7a2..17ef1157755f 100644 --- a/src/dispatch/static/dispatch/package-lock.json +++ b/src/dispatch/static/dispatch/package-lock.json @@ -1564,16 +1564,16 @@ } }, "node_modules/@tiptap/extension-placeholder": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/@tiptap/extension-placeholder/-/extension-placeholder-2.5.5.tgz", - "integrity": "sha512-SwWLYdyrMeoVUQdivkIJ4kkAcb38pykxSetlrXitfUmnkwv0/fi+p76Rickf+roudWPsfzqvgvJ4gT6OAOJrGA==", + "version": "2.5.9", + "resolved": "https://registry.npmjs.org/@tiptap/extension-placeholder/-/extension-placeholder-2.5.9.tgz", + "integrity": "sha512-ytKmlSiebtCBXoMPE2cup48DR0rQiekXhLKLkNyt7m8tSXkaRO4eDaFqCqPEXLeQXWdhwWEoPM6Cejaaa3ztkA==", "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.5.5", - "@tiptap/pm": "^2.5.5" + "@tiptap/core": "^2.5.9", + "@tiptap/pm": "^2.5.9" } }, "node_modules/@tiptap/extension-strike": { From f6239fb4943d58d8a154be4a8f19fca633e03fe0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 8 Aug 2024 15:07:53 -0700 Subject: [PATCH 13/31] chore(deps): bump @tiptap/pm in /src/dispatch/static/dispatch (#5041) Bumps [@tiptap/pm](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/pm) from 2.5.5 to 2.5.9. - [Release notes](https://github.com/ueberdosis/tiptap/releases) - [Changelog](https://github.com/ueberdosis/tiptap/blob/develop/packages/pm/CHANGELOG.md) - [Commits](https://github.com/ueberdosis/tiptap/commits/@tiptap/pm@2.5.9/packages/pm) --- updated-dependencies: - dependency-name: "@tiptap/pm" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> From 266072c3b35cf13d594673a82c07ddaa7475a54f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 8 Aug 2024 15:08:01 -0700 Subject: [PATCH 14/31] chore(deps): bump google-api-python-client from 2.137.0 to 2.140.0 (#5040) Bumps [google-api-python-client](https://github.com/googleapis/google-api-python-client) from 2.137.0 to 2.140.0. - [Release notes](https://github.com/googleapis/google-api-python-client/releases) - [Commits](https://github.com/googleapis/google-api-python-client/compare/v2.137.0...v2.140.0) --- updated-dependencies: - dependency-name: google-api-python-client dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements-base.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-base.txt b/requirements-base.txt index 5c5f8ee6c180..7be4fe79f59c 100644 --- a/requirements-base.txt +++ b/requirements-base.txt @@ -124,7 +124,7 @@ frozenlist==1.4.1 # aiosignal google-api-core==2.15.0 # via google-api-python-client -google-api-python-client==2.137.0 +google-api-python-client==2.140.0 # via -r requirements-base.in google-auth==2.26.1 # via From 49d950517b48baa972abeb9d4a2ac68e2c56cf09 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 8 Aug 2024 15:08:09 -0700 Subject: [PATCH 15/31] chore(deps): bump openai from 1.37.0 to 1.39.0 (#5038) Bumps [openai](https://github.com/openai/openai-python) from 1.37.0 to 1.39.0. - [Release notes](https://github.com/openai/openai-python/releases) - [Changelog](https://github.com/openai/openai-python/blob/main/CHANGELOG.md) - [Commits](https://github.com/openai/openai-python/compare/v1.37.0...v1.39.0) --- updated-dependencies: - dependency-name: openai dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements-base.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-base.txt b/requirements-base.txt index 7be4fe79f59c..ddd870498277 100644 --- a/requirements-base.txt +++ b/requirements-base.txt @@ -242,7 +242,7 @@ oauthlib[signedtoken]==3.2.2 # atlassian-python-api # jira # requests-oauthlib -openai==1.37.0 +openai==1.39.0 # via -r requirements-base.in packaging==23.2 # via From 3f909be06fc35d9e9abb9c801b1604133a4599e4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 8 Aug 2024 15:08:17 -0700 Subject: [PATCH 16/31] chore(deps-dev): bump ruff from 0.5.4 to 0.5.6 (#5035) Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.4 to 0.5.6. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.5.4...0.5.6) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 05486d68ad30..054cfeac905c 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -86,7 +86,7 @@ python-dateutil==2.9.0.post0 # via faker pyyaml==6.0.1 # via pre-commit -ruff==0.5.4 +ruff==0.5.6 # via -r requirements-dev.in six==1.16.0 # via From 5e5b8e9685dfb829f775946bf7c0eae11026d28e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 8 Aug 2024 15:08:24 -0700 Subject: [PATCH 17/31] chore(deps-dev): bump pre-commit from 3.7.1 to 3.8.0 (#5025) Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.7.1 to 3.8.0. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v3.7.1...v3.8.0) --- updated-dependencies: - dependency-name: pre-commit dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 054cfeac905c..f7e83af493e5 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -68,7 +68,7 @@ platformdirs==4.1.0 # virtualenv pluggy==1.3.0 # via pytest -pre-commit==3.7.1 +pre-commit==3.8.0 # via -r requirements-dev.in prompt-toolkit==3.0.43 # via ipython From 9c6a929bea55dcd66292e15270192a51b851eecf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 8 Aug 2024 15:08:32 -0700 Subject: [PATCH 18/31] chore(deps): bump tenacity from 8.5.0 to 9.0.0 (#5024) Bumps [tenacity](https://github.com/jd/tenacity) from 8.5.0 to 9.0.0. - [Release notes](https://github.com/jd/tenacity/releases) - [Commits](https://github.com/jd/tenacity/compare/8.5.0...9.0.0) --- updated-dependencies: - dependency-name: tenacity dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements-base.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-base.txt b/requirements-base.txt index ddd870498277..422b148a79c0 100644 --- a/requirements-base.txt +++ b/requirements-base.txt @@ -444,7 +444,7 @@ statsmodels==0.14.2 # via -r requirements-base.in tabulate==0.9.0 # via -r requirements-base.in -tenacity==8.5.0 +tenacity==9.0.0 # via -r requirements-base.in text-unidecode==1.3 # via python-slugify From b5e74927da454a8953d676e5ecbda2f0e01d6e4f Mon Sep 17 00:00:00 2001 From: Marc Vilanova <39573146+mvilanova@users.noreply.github.com> Date: Thu, 8 Aug 2024 15:52:47 -0700 Subject: [PATCH 19/31] Makes lifecycle v-text field readonly (#5039) --- src/dispatch/static/dispatch/src/signal/NewEditDialog.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dispatch/static/dispatch/src/signal/NewEditDialog.vue b/src/dispatch/static/dispatch/src/signal/NewEditDialog.vue index bacc2471b217..2af69fdc59fc 100644 --- a/src/dispatch/static/dispatch/src/signal/NewEditDialog.vue +++ b/src/dispatch/static/dispatch/src/signal/NewEditDialog.vue @@ -107,6 +107,7 @@ hint="The lifecycle stage of the signal." persistent-hint name="lifecycle" + readonly :rules="[rules.required]" /> From e49c365793349701f9bebb34bcbc2f59e068339d Mon Sep 17 00:00:00 2001 From: David Whittaker <84562015+whitdog47@users.noreply.github.com> Date: Fri, 9 Aug 2024 11:00:25 -0700 Subject: [PATCH 20/31] Moving Slack button update to after case escalation flow (#5046) --- .../dispatch_slack/case/interactive.py | 43 +++++++++++-------- 1 file changed, 26 insertions(+), 17 deletions(-) diff --git a/src/dispatch/plugins/dispatch_slack/case/interactive.py b/src/dispatch/plugins/dispatch_slack/case/interactive.py index 92d7df859537..f84bed4446b0 100644 --- a/src/dispatch/plugins/dispatch_slack/case/interactive.py +++ b/src/dispatch/plugins/dispatch_slack/case/interactive.py @@ -240,8 +240,16 @@ def handle_update_case_command( case_resolution_reason_select(optional=True), resolution_input(initial_value=case.resolution), assignee_select(initial_user=assignee_initial_user), - case_status_select(initial_option={"text": case.status, "value": case.status}, statuses=statuses), - Context(elements=["Cases cannot be escalated here. Please use the `/dispatch-escalate-case` slash command."]), + case_status_select( + initial_option={"text": case.status, "value": case.status}, statuses=statuses + ), + Context( + elements=[ + MarkdownText( + text=f"Note: Cases cannot be escalated here. Please use the `{context['config'].slack_command_escalate_case}` slash command." + ) + ] + ), case_type_select( db_session=db_session, initial_option={"text": case.case_type.name, "value": case.case_type.id}, @@ -1209,20 +1217,6 @@ def handle_escalation_submission_event( view=modal, ) - blocks = create_case_message(case=case, channel_id=context["subject"].channel_id) - if case.has_thread: - client.chat_update( - blocks=blocks, - ts=case.conversation.thread_id, - channel=case.conversation.channel_id, - ) - - client.chat_postMessage( - text="This case has been escalated to an incident. All further triage work will take place in the incident channel.", - channel=case.conversation.channel_id, - thread_ts=case.conversation.thread_id if case.has_thread else None, - ) - incident_type = None if form_data.get(DefaultBlockIds.incident_type_select): incident_type = get_by_name( @@ -1250,6 +1244,19 @@ def handle_escalation_submission_event( ) incident = case.incidents[0] + blocks = create_case_message(case=case, channel_id=context["subject"].channel_id) + if case.has_thread: + client.chat_update( + blocks=blocks, + ts=case.conversation.thread_id, + channel=case.conversation.channel_id, + ) + client.chat_postMessage( + text=f"This case has been escalated to incident {incident.name}. All further triage work will take place in the incident channel.", + channel=case.conversation.channel_id, + thread_ts=case.conversation.thread_id if case.has_thread else None, + ) + # Retrieve all participants from the case case_participants = case_service.get_participants( db_session=db_session, case_id=case.id, minimal=True @@ -1765,7 +1772,9 @@ def engagement_button_approve_click( blocks.append( Context( elements=[ - "After submission, you will be asked to confirm a Multi-Factor Authentication (MFA) prompt, please have your MFA device ready." + MarkdownText( + text="After submission, you will be asked to confirm a Multi-Factor Authentication (MFA) prompt, please have your MFA device ready." + ) ] ), ) From 3cfb302e251fb7a30cfc411474b9eae066fd1126 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 9 Aug 2024 11:18:28 -0700 Subject: [PATCH 21/31] chore(deps): bump uvicorn from 0.30.3 to 0.30.5 (#5057) Bumps [uvicorn](https://github.com/encode/uvicorn) from 0.30.3 to 0.30.5. - [Release notes](https://github.com/encode/uvicorn/releases) - [Changelog](https://github.com/encode/uvicorn/blob/master/CHANGELOG.md) - [Commits](https://github.com/encode/uvicorn/compare/0.30.3...0.30.5) --- updated-dependencies: - dependency-name: uvicorn dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements-base.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-base.txt b/requirements-base.txt index 422b148a79c0..da144d8e330f 100644 --- a/requirements-base.txt +++ b/requirements-base.txt @@ -481,7 +481,7 @@ urllib3==2.0.7 # pdpyras # requests # sentry-sdk -uvicorn==0.30.3 +uvicorn==0.30.5 # via -r requirements-base.in uvloop==0.19.0 # via -r requirements-base.in From 0ac08d863a919d327c1ee297d400c5304f846447 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 9 Aug 2024 11:18:36 -0700 Subject: [PATCH 22/31] chore(deps-dev): bump ruff from 0.5.6 to 0.5.7 (#5056) Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.6 to 0.5.7. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.5.6...0.5.7) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index f7e83af493e5..6b6b3e9524e6 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -86,7 +86,7 @@ python-dateutil==2.9.0.post0 # via faker pyyaml==6.0.1 # via pre-commit -ruff==0.5.6 +ruff==0.5.7 # via -r requirements-dev.in six==1.16.0 # via From 939dcc7f372ceef9b71cf3190e510c6638799f7f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 9 Aug 2024 11:18:44 -0700 Subject: [PATCH 23/31] chore(deps-dev): bump coverage from 7.6.0 to 7.6.1 (#5055) Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.6.0 to 7.6.1. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.6.0...7.6.1) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 6b6b3e9524e6..c0ecf490b796 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -18,7 +18,7 @@ click==8.1.7 # via # -r requirements-dev.in # black -coverage==7.6.0 +coverage==7.6.1 # via -r requirements-dev.in decorator==5.1.1 # via ipython From efbf2f4477ef8f4c2d8c273f9fdbde4e419a5018 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 9 Aug 2024 11:18:52 -0700 Subject: [PATCH 24/31] chore(deps): bump aiohttp from 3.9.5 to 3.10.2 (#5054) Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.9.5 to 3.10.2. - [Release notes](https://github.com/aio-libs/aiohttp/releases) - [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst) - [Commits](https://github.com/aio-libs/aiohttp/compare/v3.9.5...v3.10.2) --- updated-dependencies: - dependency-name: aiohttp dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements-base.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/requirements-base.txt b/requirements-base.txt index da144d8e330f..89c787e06e8a 100644 --- a/requirements-base.txt +++ b/requirements-base.txt @@ -8,7 +8,9 @@ aiocache==0.12.2 # via -r requirements-base.in aiofiles==24.1.0 # via -r requirements-base.in -aiohttp==3.9.5 +aiohappyeyeballs==2.3.5 + # via aiohttp +aiohttp==3.10.2 # via -r requirements-base.in aiosignal==1.3.1 # via aiohttp From b0f74b75eab4a5e575a3c7c298ac2a57732a24bf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 9 Aug 2024 11:18:59 -0700 Subject: [PATCH 25/31] chore(deps-dev): bump faker from 26.0.0 to 26.3.0 (#5053) Bumps [faker](https://github.com/joke2k/faker) from 26.0.0 to 26.3.0. - [Release notes](https://github.com/joke2k/faker/releases) - [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) - [Commits](https://github.com/joke2k/faker/compare/v26.0.0...v26.3.0) --- updated-dependencies: - dependency-name: faker dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index c0ecf490b796..5732b4bc37ef 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -32,7 +32,7 @@ executing==2.0.1 # stack-data factory-boy==3.3.0 # via -r requirements-dev.in -faker==26.0.0 +faker==26.3.0 # via # -r requirements-dev.in # factory-boy From 9700f2d4649007f4dfd2f4cdb09df04319d928f0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 9 Aug 2024 11:19:07 -0700 Subject: [PATCH 26/31] chore(deps-dev): bump @playwright/test in /src/dispatch/static/dispatch (#5052) Bumps [@playwright/test](https://github.com/microsoft/playwright) from 1.45.3 to 1.46.0. - [Release notes](https://github.com/microsoft/playwright/releases) - [Commits](https://github.com/microsoft/playwright/compare/v1.45.3...v1.46.0) --- updated-dependencies: - dependency-name: "@playwright/test" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../static/dispatch/package-lock.json | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/dispatch/static/dispatch/package-lock.json b/src/dispatch/static/dispatch/package-lock.json index 17ef1157755f..a4bad854288a 100644 --- a/src/dispatch/static/dispatch/package-lock.json +++ b/src/dispatch/static/dispatch/package-lock.json @@ -925,12 +925,12 @@ } }, "node_modules/@playwright/test": { - "version": "1.45.3", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.45.3.tgz", - "integrity": "sha512-UKF4XsBfy+u3MFWEH44hva1Q8Da28G6RFtR2+5saw+jgAFQV5yYnB1fu68Mz7fO+5GJF3wgwAIs0UelU8TxFrA==", + "version": "1.46.0", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.46.0.tgz", + "integrity": "sha512-/QYft5VArOrGRP5pgkrfKksqsKA6CEFyGQ/gjNe6q0y4tZ1aaPfq4gIjudr1s3D+pXyrPRdsy4opKDrjBabE5w==", "dev": true, "dependencies": { - "playwright": "1.45.3" + "playwright": "1.46.0" }, "bin": { "playwright": "cli.js" @@ -5382,12 +5382,12 @@ } }, "node_modules/playwright": { - "version": "1.45.3", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.45.3.tgz", - "integrity": "sha512-QhVaS+lpluxCaioejDZ95l4Y4jSFCsBvl2UZkpeXlzxmqS+aABr5c82YmfMHrL6x27nvrvykJAFpkzT2eWdJww==", + "version": "1.46.0", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.46.0.tgz", + "integrity": "sha512-XYJ5WvfefWONh1uPAUAi0H2xXV5S3vrtcnXe6uAOgdGi3aSpqOSXX08IAjXW34xitfuOJsvXU5anXZxPSEQiJw==", "dev": true, "dependencies": { - "playwright-core": "1.45.3" + "playwright-core": "1.46.0" }, "bin": { "playwright": "cli.js" @@ -5400,9 +5400,9 @@ } }, "node_modules/playwright-core": { - "version": "1.45.3", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.45.3.tgz", - "integrity": "sha512-+ym0jNbcjikaOwwSZycFbwkWgfruWvYlJfThKYAlImbxUgdWFO2oW70ojPm4OpE4t6TAo2FY/smM+hpVTtkhDA==", + "version": "1.46.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.46.0.tgz", + "integrity": "sha512-9Y/d5UIwuJk8t3+lhmMSAJyNP1BUC/DqP3cQJDQQL/oWqAiuPTLgy7Q5dzglmTLwcBRdetzgNM/gni7ckfTr6A==", "dev": true, "bin": { "playwright-core": "cli.js" From cdc052d15161e457d5a6f472f3b83b75a74816a1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 9 Aug 2024 11:19:14 -0700 Subject: [PATCH 27/31] chore(deps): bump @vueuse/core in /src/dispatch/static/dispatch (#5051) Bumps [@vueuse/core](https://github.com/vueuse/vueuse/tree/HEAD/packages/core) from 10.11.0 to 10.11.1. - [Release notes](https://github.com/vueuse/vueuse/releases) - [Commits](https://github.com/vueuse/vueuse/commits/v10.11.1/packages/core) --- updated-dependencies: - dependency-name: "@vueuse/core" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../static/dispatch/package-lock.json | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/dispatch/static/dispatch/package-lock.json b/src/dispatch/static/dispatch/package-lock.json index a4bad854288a..c648ee48be60 100644 --- a/src/dispatch/static/dispatch/package-lock.json +++ b/src/dispatch/static/dispatch/package-lock.json @@ -2242,13 +2242,13 @@ } }, "node_modules/@vueuse/core": { - "version": "10.11.0", - "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-10.11.0.tgz", - "integrity": "sha512-x3sD4Mkm7PJ+pcq3HX8PLPBadXCAlSDR/waK87dz0gQE+qJnaaFhc/dZVfJz+IUYzTMVGum2QlR7ImiJQN4s6g==", + "version": "10.11.1", + "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-10.11.1.tgz", + "integrity": "sha512-guoy26JQktXPcz+0n3GukWIy/JDNKti9v6VEMu6kV2sYBsWuGiTU8OWdg+ADfUbHg3/3DlqySDe7JmdHrktiww==", "dependencies": { "@types/web-bluetooth": "^0.0.20", - "@vueuse/metadata": "10.11.0", - "@vueuse/shared": "10.11.0", + "@vueuse/metadata": "10.11.1", + "@vueuse/shared": "10.11.1", "vue-demi": ">=0.14.8" }, "funding": { @@ -2256,9 +2256,9 @@ } }, "node_modules/@vueuse/core/node_modules/@vueuse/shared": { - "version": "10.11.0", - "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-10.11.0.tgz", - "integrity": "sha512-fyNoIXEq3PfX1L3NkNhtVQUSRtqYwJtJg+Bp9rIzculIZWHTkKSysujrOk2J+NrRulLTQH9+3gGSfYLWSEWU1A==", + "version": "10.11.1", + "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-10.11.1.tgz", + "integrity": "sha512-LHpC8711VFZlDaYUXEBbFBCQ7GS3dVU9mjOhhMhXP6txTV4EhYQg/KGnQuvt/sPAtoUKq7VVUnL6mVtFoL42sA==", "dependencies": { "vue-demi": ">=0.14.8" }, @@ -2267,9 +2267,9 @@ } }, "node_modules/@vueuse/core/node_modules/vue-demi": { - "version": "0.14.8", - "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.8.tgz", - "integrity": "sha512-Uuqnk9YE9SsWeReYqK2alDI5YzciATE0r2SkA6iMAtuXvNTMNACJLJEXNXaEy94ECuBe4Sk6RzRU80kjdbIo1Q==", + "version": "0.14.10", + "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.10.tgz", + "integrity": "sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg==", "hasInstallScript": true, "bin": { "vue-demi-fix": "bin/vue-demi-fix.js", @@ -2404,9 +2404,9 @@ } }, "node_modules/@vueuse/metadata": { - "version": "10.11.0", - "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-10.11.0.tgz", - "integrity": "sha512-kQX7l6l8dVWNqlqyN3ePW3KmjCQO3ZMgXuBMddIu83CmucrsBfXlH+JoviYyRBws/yLTQO8g3Pbw+bdIoVm4oQ==", + "version": "10.11.1", + "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-10.11.1.tgz", + "integrity": "sha512-IGa5FXd003Ug1qAZmyE8wF3sJ81xGLSqTqtQ6jaVfkeZ4i5kS2mwQF61yhVqojRnenVew5PldLyRgvdl4YYuSw==", "funding": { "url": "https://github.com/sponsors/antfu" } From ca2dc5ffd2713632f82a4d5a54bc536d69da60c6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 9 Aug 2024 11:19:22 -0700 Subject: [PATCH 28/31] chore(deps): bump vue-router in /src/dispatch/static/dispatch (#5050) Bumps [vue-router](https://github.com/vuejs/router) from 4.4.0 to 4.4.3. - [Release notes](https://github.com/vuejs/router/releases) - [Commits](https://github.com/vuejs/router/compare/v4.4.0...v4.4.3) --- updated-dependencies: - dependency-name: vue-router dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- src/dispatch/static/dispatch/package-lock.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/dispatch/static/dispatch/package-lock.json b/src/dispatch/static/dispatch/package-lock.json index c648ee48be60..d8fed3607003 100644 --- a/src/dispatch/static/dispatch/package-lock.json +++ b/src/dispatch/static/dispatch/package-lock.json @@ -2169,9 +2169,9 @@ } }, "node_modules/@vue/devtools-api": { - "version": "6.5.1", - "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.5.1.tgz", - "integrity": "sha512-+KpckaAQyfbvshdDW5xQylLni1asvNSGme1JFs8I1+/H5pHEhqUKMEQD/qn3Nx5+/nycBq11qAEi8lk+LXI2dA==" + "version": "6.6.3", + "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.6.3.tgz", + "integrity": "sha512-0MiMsFma/HqA6g3KLKn+AGpL1kgKhFWszC9U29NfpWK5LE7bjeXxySWJrOJ77hBz+TBrBQ7o4QJqbPbqbs8rJw==" }, "node_modules/@vue/reactivity": { "version": "3.4.33", @@ -7218,11 +7218,11 @@ } }, "node_modules/vue-router": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-4.4.0.tgz", - "integrity": "sha512-HB+t2p611aIZraV2aPSRNXf0Z/oLZFrlygJm+sZbdJaW6lcFqEDQwnzUBXn+DApw+/QzDU/I9TeWx9izEjTmsA==", + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-4.4.3.tgz", + "integrity": "sha512-sv6wmNKx2j3aqJQDMxLFzs/u/mjA9Z5LCgy6BE0f7yFWMjrPLnS/sPNn8ARY/FXw6byV18EFutn5lTO6+UsV5A==", "dependencies": { - "@vue/devtools-api": "^6.5.1" + "@vue/devtools-api": "^6.6.3" }, "funding": { "url": "https://github.com/sponsors/posva" From e27a259ec7978c2b47247bd22201ab4d606fba18 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 9 Aug 2024 11:19:30 -0700 Subject: [PATCH 29/31] chore(deps): bump vue in /src/dispatch/static/dispatch (#5049) Bumps [vue](https://github.com/vuejs/core) from 3.4.33 to 3.4.37. - [Release notes](https://github.com/vuejs/core/releases) - [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md) - [Commits](https://github.com/vuejs/core/compare/v3.4.33...v3.4.37) --- updated-dependencies: - dependency-name: vue dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../static/dispatch/package-lock.json | 137 ++++++++++-------- 1 file changed, 74 insertions(+), 63 deletions(-) diff --git a/src/dispatch/static/dispatch/package-lock.json b/src/dispatch/static/dispatch/package-lock.json index d8fed3607003..98b0d64d0ca9 100644 --- a/src/dispatch/static/dispatch/package-lock.json +++ b/src/dispatch/static/dispatch/package-lock.json @@ -822,9 +822,9 @@ } }, "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.15", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", - "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", + "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==" }, "node_modules/@json2csv/formatters": { "version": "6.1.3", @@ -2115,57 +2115,68 @@ } }, "node_modules/@vue/compiler-core": { - "version": "3.4.33", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.33.tgz", - "integrity": "sha512-MoIREbkdPQlnGfSKDMgzTqzqx5nmEjIc0ydLVYlTACGBsfvOJ4tHSbZXKVF536n6fB+0eZaGEOqsGThPpdvF5A==", + "version": "3.4.37", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.37.tgz", + "integrity": "sha512-ZDDT/KiLKuCRXyzWecNzC5vTcubGz4LECAtfGPENpo0nrmqJHwuWtRLxk/Sb9RAKtR9iFflFycbkjkY+W/PZUQ==", "dependencies": { "@babel/parser": "^7.24.7", - "@vue/shared": "3.4.33", - "entities": "^4.5.0", + "@vue/shared": "3.4.37", + "entities": "^5.0.0", "estree-walker": "^2.0.2", "source-map-js": "^1.2.0" } }, + "node_modules/@vue/compiler-core/node_modules/entities": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-5.0.0.tgz", + "integrity": "sha512-BeJFvFRJddxobhvEdm5GqHzRV/X+ACeuw0/BuuxsCh1EUZcAIz8+kYmBp/LrQuloy6K1f3a0M7+IhmZ7QnkISA==", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, "node_modules/@vue/compiler-dom": { - "version": "3.4.33", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.33.tgz", - "integrity": "sha512-GzB8fxEHKw0gGet5BKlpfXEqoBnzSVWwMnT+dc25wE7pFEfrU/QsvjZMP9rD4iVXHBBoemTct8mN0GJEI6ZX5A==", + "version": "3.4.37", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.37.tgz", + "integrity": "sha512-rIiSmL3YrntvgYV84rekAtU/xfogMUJIclUMeIKEtVBFngOL3IeZHhsH3UaFEgB5iFGpj6IW+8YuM/2Up+vVag==", "dependencies": { - "@vue/compiler-core": "3.4.33", - "@vue/shared": "3.4.33" + "@vue/compiler-core": "3.4.37", + "@vue/shared": "3.4.37" } }, "node_modules/@vue/compiler-sfc": { - "version": "3.4.33", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.33.tgz", - "integrity": "sha512-7rk7Vbkn21xMwIUpHQR4hCVejwE6nvhBOiDgoBcR03qvGqRKA7dCBSsHZhwhYUsmjlbJ7OtD5UFIyhP6BY+c8A==", + "version": "3.4.37", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.37.tgz", + "integrity": "sha512-vCfetdas40Wk9aK/WWf8XcVESffsbNkBQwS5t13Y/PcfqKfIwJX2gF+82th6dOpnpbptNMlMjAny80li7TaCIg==", "dependencies": { "@babel/parser": "^7.24.7", - "@vue/compiler-core": "3.4.33", - "@vue/compiler-dom": "3.4.33", - "@vue/compiler-ssr": "3.4.33", - "@vue/shared": "3.4.33", + "@vue/compiler-core": "3.4.37", + "@vue/compiler-dom": "3.4.37", + "@vue/compiler-ssr": "3.4.37", + "@vue/shared": "3.4.37", "estree-walker": "^2.0.2", "magic-string": "^0.30.10", - "postcss": "^8.4.39", + "postcss": "^8.4.40", "source-map-js": "^1.2.0" } }, "node_modules/@vue/compiler-sfc/node_modules/magic-string": { - "version": "0.30.10", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.10.tgz", - "integrity": "sha512-iIRwTIf0QKV3UAnYK4PU8uiEc4SRh5jX0mwpIwETPpHdhVM4f53RSwS/vXvN1JhGX+Cs7B8qIq3d6AH49O5fAQ==", + "version": "0.30.11", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.11.tgz", + "integrity": "sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==", "dependencies": { - "@jridgewell/sourcemap-codec": "^1.4.15" + "@jridgewell/sourcemap-codec": "^1.5.0" } }, "node_modules/@vue/compiler-ssr": { - "version": "3.4.33", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.33.tgz", - "integrity": "sha512-0WveC9Ai+eT/1b6LCV5IfsufBZ0HP7pSSTdDjcuW302tTEgoBw8rHVHKPbGUtzGReUFCRXbv6zQDDgucnV2WzQ==", + "version": "3.4.37", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.37.tgz", + "integrity": "sha512-TyAgYBWrHlFrt4qpdACh8e9Ms6C/AZQ6A6xLJaWrCL8GCX5DxMzxyeFAEMfU/VFr4tylHm+a2NpfJpcd7+20XA==", "dependencies": { - "@vue/compiler-dom": "3.4.33", - "@vue/shared": "3.4.33" + "@vue/compiler-dom": "3.4.37", + "@vue/shared": "3.4.37" } }, "node_modules/@vue/devtools-api": { @@ -2174,49 +2185,49 @@ "integrity": "sha512-0MiMsFma/HqA6g3KLKn+AGpL1kgKhFWszC9U29NfpWK5LE7bjeXxySWJrOJ77hBz+TBrBQ7o4QJqbPbqbs8rJw==" }, "node_modules/@vue/reactivity": { - "version": "3.4.33", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.4.33.tgz", - "integrity": "sha512-B24QIelahDbyHipBgbUItQblbd4w5HpG3KccL+YkGyo3maXyS253FzcTR3pSz739OTphmzlxP7JxEMWBpewilA==", + "version": "3.4.37", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.4.37.tgz", + "integrity": "sha512-UmdKXGx0BZ5kkxPqQr3PK3tElz6adTey4307NzZ3whZu19i5VavYal7u2FfOmAzlcDVgE8+X0HZ2LxLb/jgbYw==", "dependencies": { - "@vue/shared": "3.4.33" + "@vue/shared": "3.4.37" } }, "node_modules/@vue/runtime-core": { - "version": "3.4.33", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.33.tgz", - "integrity": "sha512-6wavthExzT4iAxpe8q37/rDmf44nyOJGISJPxCi9YsQO+8w9v0gLCFLfH5TzD1V1AYrTAdiF4Y1cgUmP68jP6w==", + "version": "3.4.37", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.37.tgz", + "integrity": "sha512-MNjrVoLV/sirHZoD7QAilU1Ifs7m/KJv4/84QVbE6nyAZGQNVOa1HGxaOzp9YqCG+GpLt1hNDC4RbH+KtanV7w==", "dependencies": { - "@vue/reactivity": "3.4.33", - "@vue/shared": "3.4.33" + "@vue/reactivity": "3.4.37", + "@vue/shared": "3.4.37" } }, "node_modules/@vue/runtime-dom": { - "version": "3.4.33", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.4.33.tgz", - "integrity": "sha512-iHsMCUSFJ+4z432Bn9kZzHX+zOXa6+iw36DaVRmKYZpPt9jW9riF32SxNwB124i61kp9+AZtheQ/mKoJLerAaQ==", + "version": "3.4.37", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.4.37.tgz", + "integrity": "sha512-Mg2EwgGZqtwKrqdL/FKMF2NEaOHuH+Ks9TQn3DHKyX//hQTYOun+7Tqp1eo0P4Ds+SjltZshOSRq6VsU0baaNg==", "dependencies": { - "@vue/reactivity": "3.4.33", - "@vue/runtime-core": "3.4.33", - "@vue/shared": "3.4.33", + "@vue/reactivity": "3.4.37", + "@vue/runtime-core": "3.4.37", + "@vue/shared": "3.4.37", "csstype": "^3.1.3" } }, "node_modules/@vue/server-renderer": { - "version": "3.4.33", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.4.33.tgz", - "integrity": "sha512-jTH0d6gQcaYideFP/k0WdEu8PpRS9MF8d0b6SfZzNi+ap972pZ0TNIeTaESwdOtdY0XPVj54XEJ6K0wXxir4fw==", + "version": "3.4.37", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.4.37.tgz", + "integrity": "sha512-jZ5FAHDR2KBq2FsRUJW6GKDOAG9lUTX8aBEGq4Vf6B/35I9fPce66BornuwmqmKgfiSlecwuOb6oeoamYMohkg==", "dependencies": { - "@vue/compiler-ssr": "3.4.33", - "@vue/shared": "3.4.33" + "@vue/compiler-ssr": "3.4.37", + "@vue/shared": "3.4.37" }, "peerDependencies": { - "vue": "3.4.33" + "vue": "3.4.37" } }, "node_modules/@vue/shared": { - "version": "3.4.33", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.33.tgz", - "integrity": "sha512-aoRY0jQk3A/cuvdkodTrM4NMfxco8n55eG4H7ML/CRy7OryHfiqvug4xrCBBMbbN+dvXAetDDwZW9DXWWjBntA==" + "version": "3.4.37", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.37.tgz", + "integrity": "sha512-nIh8P2fc3DflG8+5Uw8PT/1i17ccFn0xxN/5oE9RfV5SVnd7G0XEFRwakrnNFE/jlS95fpGXDVG5zDETS26nmg==" }, "node_modules/@vue/test-utils": { "version": "2.4.6", @@ -7168,15 +7179,15 @@ } }, "node_modules/vue": { - "version": "3.4.33", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.4.33.tgz", - "integrity": "sha512-VdMCWQOummbhctl4QFMcW6eNtXHsFyDlX60O/tsSQuCcuDOnJ1qPOhhVla65Niece7xq/P2zyZReIO5mP+LGTQ==", - "dependencies": { - "@vue/compiler-dom": "3.4.33", - "@vue/compiler-sfc": "3.4.33", - "@vue/runtime-dom": "3.4.33", - "@vue/server-renderer": "3.4.33", - "@vue/shared": "3.4.33" + "version": "3.4.37", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.4.37.tgz", + "integrity": "sha512-3vXvNfkKTBsSJ7JP+LyR7GBuwQuckbWvuwAid3xbqK9ppsKt/DUvfqgZ48fgOLEfpy1IacL5f8QhUVl77RaI7A==", + "dependencies": { + "@vue/compiler-dom": "3.4.37", + "@vue/compiler-sfc": "3.4.37", + "@vue/runtime-dom": "3.4.37", + "@vue/server-renderer": "3.4.37", + "@vue/shared": "3.4.37" }, "peerDependencies": { "typescript": "*" From e53e9a9add099e015b73fde9171dfb0cd52da979 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 9 Aug 2024 11:19:38 -0700 Subject: [PATCH 30/31] chore(deps): bump vuetify in /src/dispatch/static/dispatch (#5048) Bumps [vuetify](https://github.com/vuetifyjs/vuetify/tree/HEAD/packages/vuetify) from 3.6.13 to 3.6.14. - [Release notes](https://github.com/vuetifyjs/vuetify/releases) - [Commits](https://github.com/vuetifyjs/vuetify/commits/v3.6.14/packages/vuetify) --- updated-dependencies: - dependency-name: vuetify dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- src/dispatch/static/dispatch/package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dispatch/static/dispatch/package-lock.json b/src/dispatch/static/dispatch/package-lock.json index 98b0d64d0ca9..ce2141a7f0f1 100644 --- a/src/dispatch/static/dispatch/package-lock.json +++ b/src/dispatch/static/dispatch/package-lock.json @@ -7313,9 +7313,9 @@ "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==" }, "node_modules/vuetify": { - "version": "3.6.13", - "resolved": "https://registry.npmjs.org/vuetify/-/vuetify-3.6.13.tgz", - "integrity": "sha512-Gz7jxXAkmff2m6CM0EUWOo/72TM322/3I6aDna++k1nPOW1/hNx4td1MZG4u75fzdn3r+uIe0dbF7SWuhu6DWA==", + "version": "3.6.14", + "resolved": "https://registry.npmjs.org/vuetify/-/vuetify-3.6.14.tgz", + "integrity": "sha512-iSa3CgdTEt/7B0aGDmkBARe8rxDDycEYHu1zNtOf1Xpvs/Tv7Ql5yHGqM2XCY0h7SL8Dme39pJIovzg3q4JLbQ==", "engines": { "node": "^12.20 || >=14.13" }, From 63741cf30ace4f1f62ef0587356f3942ac2ea59e Mon Sep 17 00:00:00 2001 From: Will Sheldon <114631109+wssheldon@users.noreply.github.com> Date: Fri, 9 Aug 2024 11:43:53 -0700 Subject: [PATCH 31/31] bugfix(case/slack): added_by reason none check on participant.added_by (#5047) --- .../dispatch_slack/incident/interactive.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/dispatch/plugins/dispatch_slack/incident/interactive.py b/src/dispatch/plugins/dispatch_slack/incident/interactive.py index 236e67b98c6a..a72d8331ef67 100644 --- a/src/dispatch/plugins/dispatch_slack/incident/interactive.py +++ b/src/dispatch/plugins/dispatch_slack/incident/interactive.py @@ -1009,8 +1009,12 @@ def handle_member_joined_channel( ) participant.added_by = incident.commander - # Message text when someone @'s a user is not available in body, use generic added by reason - participant.added_reason = f"Participant added by {participant.added_by.individual.name}" + if participant.added_by: + # Message text when someone @'s a user is not available in body, use generic added by reason + participant.added_reason = f"Participant added by {participant.added_by.individual.name}" + else: + # We couldn't find a user to attribute the addition to, add generic reason + participant.added_reason = "Participant added by Dispatch" db_session.add(participant) db_session.commit() @@ -1055,8 +1059,12 @@ def handle_member_joined_channel( # We default to the incident commander when we don't know who added the user or the user is the Dispatch bot. participant.added_by = case.assignee - # Message text when someone @'s a user is not available in body, use generic added by reason - participant.added_reason = f"Participant added by {participant.added_by.individual.name}" + if participant.added_by: + # Message text when someone @'s a user is not available in body, use generic added by reason + participant.added_reason = f"Participant added by {participant.added_by.individual.name}" + else: + # We couldn't find a user to attribute the addition to, add generic reason + participant.added_reason = "Participant added by Dispatch" db_session.add(participant) db_session.commit()