@duckduckgo/autoconsent 10.10.0 → 10.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/ci/asana-create-tasks.js +15 -5
- package/data/coverage.json +1126 -997
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/rules.json +29 -0
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/rules.json +29 -0
- package/dist/autoconsent.playwright.js +1 -1
- package/dist/autoconsent.unit.js +29 -0
- package/package.json +1 -1
- package/rules/autoconsent/zentralruf-de.json +17 -0
- package/rules/rules.json +29 -0
- package/tests/zentralruf-de.spec.ts +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
# v10.11.0 (Mon Jul 01 2024)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- Add zentralruf-de [#461](https://github.com/duckduckgo/autoconsent/pull/461) ([@seia-soto](https://github.com/seia-soto))
|
|
6
|
+
|
|
7
|
+
#### 🐛 Bug Fix
|
|
8
|
+
|
|
9
|
+
- Monthly Coverage data update [#454](https://github.com/duckduckgo/autoconsent/pull/454) (dax@duckduckgo.com [@sammacbeth](https://github.com/sammacbeth))
|
|
10
|
+
|
|
11
|
+
#### Authors: 3
|
|
12
|
+
|
|
13
|
+
- Dax the Deployer (dax@duckduckgo.com)
|
|
14
|
+
- HoJeong Go ([@seia-soto](https://github.com/seia-soto))
|
|
15
|
+
- Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
1
19
|
# v10.10.0 (Mon Jun 03 2024)
|
|
2
20
|
|
|
3
21
|
#### 🚀 Enhancement
|
package/ci/asana-create-tasks.js
CHANGED
|
@@ -107,17 +107,21 @@ const asanaCreateTasks = async () => {
|
|
|
107
107
|
.replace(/<(h3|h4)>/ig, '<h2>').replace(/<\/(h3|h4)>/ig, '</h2>')
|
|
108
108
|
|
|
109
109
|
// Updating task and moving to Release section...
|
|
110
|
-
console.error(JSON.stringify(updatedNotes))
|
|
111
|
-
await asana.tasks.updateTask(new_task.gid, {html_notes: updatedNotes})
|
|
110
|
+
console.error('Updated notes:', JSON.stringify(updatedNotes))
|
|
111
|
+
let updateTaskResult = await asana.tasks.updateTask(new_task.gid, {html_notes: updatedNotes})
|
|
112
|
+
console.error('updateTaskResult:', updateTaskResult)
|
|
112
113
|
|
|
113
|
-
await asana.tasks.addProjectForTask(new_task.gid, { project: autoconsentProjectGid, section: releaseSectionGid })
|
|
114
|
+
const addProjectResult = await asana.tasks.addProjectForTask(new_task.gid, { project: autoconsentProjectGid, section: releaseSectionGid })
|
|
115
|
+
console.error('addProjectResult:', addProjectResult)
|
|
114
116
|
|
|
115
117
|
// The duplicateTask job returns when the task itself has been duplicated, ignoring the subtasks.
|
|
116
118
|
// We want to wait that the job completes so that we can fetch all the subtasks correctly.
|
|
117
|
-
await waitForJobSuccess(duplicateTaskJobGid)
|
|
119
|
+
const duplicateTaskResult = await waitForJobSuccess(duplicateTaskJobGid)
|
|
120
|
+
console.error('duplicateTaskResult:', duplicateTaskResult)
|
|
118
121
|
|
|
119
122
|
// Getting subtasks...
|
|
120
123
|
const { data: subtasks } = await asana.tasks.getSubtasksForTask(new_task.gid, {opt_fields: 'name,html_notes,permalink_url'})
|
|
124
|
+
console.error('subtasks:', subtasks)
|
|
121
125
|
|
|
122
126
|
// Updating subtasks and moving to appropriate projects...
|
|
123
127
|
for (const subtask of subtasks) {
|
|
@@ -138,9 +142,11 @@ const asanaCreateTasks = async () => {
|
|
|
138
142
|
html_notes.replace(projectExtractorRegex, '')
|
|
139
143
|
.replace('[[notes]]', updatedNotes)
|
|
140
144
|
|
|
145
|
+
console.error(`updating task ${gid} with name ${newName} and notes ${subtaskNotes}`)
|
|
141
146
|
await asana.tasks.updateTask(gid, { name: newName, html_notes: subtaskNotes })
|
|
142
147
|
|
|
143
148
|
if (extractedProjects) {
|
|
149
|
+
console.error(`adding projects ${extractedProjects} to task ${gid}`)
|
|
144
150
|
for (const projectGidAndSection of extractedProjects.split(',')) {
|
|
145
151
|
const [projectGid, sectionGid] = projectGidAndSection.split(':')
|
|
146
152
|
await asana.tasks.addProjectForTask(gid, { project: projectGid, section: sectionGid })
|
|
@@ -153,7 +159,9 @@ const asanaCreateTasks = async () => {
|
|
|
153
159
|
.replace('<li>[[pr_url]]</li>', version)
|
|
154
160
|
.replace('<li>[[extra_content]]</li>', version)
|
|
155
161
|
|
|
156
|
-
|
|
162
|
+
console.error('finalNotes:', finalNotes)
|
|
163
|
+
updateTaskResult = await asana.tasks.updateTask(new_task.gid, {html_notes: finalNotes})
|
|
164
|
+
console.error('updateTaskResult:', updateTaskResult)
|
|
157
165
|
|
|
158
166
|
const jsonString = JSON.stringify(platforms)
|
|
159
167
|
return {stdout: jsonString}
|
|
@@ -161,6 +169,8 @@ const asanaCreateTasks = async () => {
|
|
|
161
169
|
|
|
162
170
|
asanaCreateTasks()
|
|
163
171
|
.then((result) => {
|
|
172
|
+
// this log is for visibility in Github web interface
|
|
173
|
+
console.error('stage result:', result.stdout)
|
|
164
174
|
// The log is needed to read the value from the bash context
|
|
165
175
|
console.log(result.stdout)
|
|
166
176
|
})
|