Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,6 @@ pyrightconfig.json

# direnv files, used by load python venv
.direnv/
.envrc
.envrc
.local.env
.envrc
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,7 @@ A `Makefile` is provided with the following targets:
- `htmlcov` : run the unit tests and generate a full report in htmlcov/

Testing and coverage requires standing up a local testbed. For details, see [Design](docs/design.md).


## Adding `llm-redactor` branch
For the redactor feature.
4 changes: 3 additions & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ services:
- DISCORD_TOKEN=${DISCORD_TOKEN}
- REDMINE_TOKEN=${REDMINE_TOKEN}
- REDMINE_URL=${REDMINE_URL}
volumes:
- ./redaction_queue.json:/app/redaction_queue.json #share queue file
restart: on-failure:1
network_mode: host
network_mode: host
208 changes: 207 additions & 1 deletion data/custom_fields.json
Original file line number Diff line number Diff line change
@@ -1 +1,207 @@
{"custom_fields":[{"id":2,"name":"Discord ID","description":"ID used to link user to their discord account, to enable integration","customized_type":"user","field_format":"string","regexp":"","min_length":null,"max_length":null,"is_required":false,"is_filter":false,"searchable":false,"multiple":false,"default_value":"","visible":true},{"id":4,"name":"syncdata","description":"Metadata used to sync the ticket with external sources.\r\n\r\nCurrent format is thread-id|zulu-timestamp.\r\n\r\nNot recommend to edit.","customized_type":"issue","field_format":"string","regexp":"","min_length":null,"max_length":null,"is_required":false,"is_filter":true,"searchable":false,"multiple":false,"default_value":"","visible":false,"trackers":[{"id":2,"name":"Infra-Field"},{"id":4,"name":"Software-Dev"},{"id":6,"name":"Infra-Config"},{"id":8,"name":"External-Comms-Intake"},{"id":9,"name":"Outreach-Partnerships"},{"id":10,"name":"Admin"},{"id":17,"name":"Research"},{"id":18,"name":"Mutual-Aid-Action"},{"id":19,"name":"SCN-Space"}],"roles":[{"id":3,"name":"Administrator"}]},{"id":5,"name":"To/CC","description":"Contains the To and Cc headers from the email that created the ticket.","customized_type":"issue","field_format":"string","regexp":"","min_length":null,"max_length":null,"is_required":false,"is_filter":false,"searchable":true,"multiple":false,"default_value":"","visible":true,"trackers":[{"id":2,"name":"Infra-Field"},{"id":4,"name":"Software-Dev"},{"id":6,"name":"Infra-Config"},{"id":8,"name":"External-Comms-Intake"},{"id":9,"name":"Outreach-Partnerships"},{"id":10,"name":"Admin"},{"id":13,"name":"Test-Reject"},{"id":17,"name":"Research"},{"id":18,"name":"Mutual-Aid-Action"},{"id":19,"name":"SCN-Space"}],"roles":[]}]}
{
"custom_fields": [
{
"id": 2,
"name": "Discord ID",
"description": "ID used to link user to their discord account, to enable integration",
"customized_type": "user",
"field_format": "string",
"regexp": "",
"min_length": null,
"max_length": null,
"is_required": false,
"is_filter": false,
"searchable": false,
"multiple": false,
"default_value": "",
"visible": true,
"editable": true
},
{
"id": 4,
"name": "syncdata",
"description": "Metadata used to sync the ticket with external sources.\r\n\r\nCurrent format is thread-id|zulu-timestamp.\r\n\r\nNot recommend to edit.",
"customized_type": "issue",
"field_format": "string",
"regexp": "",
"min_length": null,
"max_length": null,
"is_required": false,
"is_filter": true,
"searchable": false,
"multiple": false,
"default_value": "",
"visible": false,
"editable": true,
"trackers": [
{
"id": 2,
"name": "Infra-Field"
},
{
"id": 4,
"name": "Software-Dev"
},
{
"id": 6,
"name": "Infra-Config"
},
{
"id": 8,
"name": "External-Comms-Intake"
},
{
"id": 9,
"name": "Outreach-Partnerships"
},
{
"id": 10,
"name": "Admin"
},
{
"id": 17,
"name": "Research"
},
{
"id": 18,
"name": "Mutual-Aid-Action"
},
{
"id": 19,
"name": "SCN-Space"
}
],
"roles": [
{
"id": 3,
"name": "Administrator"
}
]
},
{
"id": 5,
"name": "To/CC",
"description": "Contains the To and Cc headers from the email that created the ticket.",
"customized_type": "issue",
"field_format": "string",
"regexp": "",
"min_length": null,
"max_length": null,
"is_required": false,
"is_filter": false,
"searchable": true,
"multiple": false,
"default_value": "",
"visible": true,
"editable": true,
"trackers": [
{
"id": 2,
"name": "Infra-Field"
},
{
"id": 4,
"name": "Software-Dev"
},
{
"id": 6,
"name": "Infra-Config"
},
{
"id": 8,
"name": "External-Comms-Intake"
},
{
"id": 9,
"name": "Outreach-Partnerships"
},
{
"id": 10,
"name": "Admin"
},
{
"id": 13,
"name": "Test-Reject"
},
{
"id": 17,
"name": "Research"
},
{
"id": 18,
"name": "Mutual-Aid-Action"
},
{
"id": 19,
"name": "SCN-Space"
}
],
"roles": []
},
{
"id": 6,
"name": "redacted",
"description": "Keys and values for the redacted fields in the ticket.",
"customized_type": "issue",
"field_format": "string",
"regexp": "",
"min_length": null,
"max_length": null,
"is_required": false,
"is_filter": false,
"searchable": false,
"multiple": false,
"default_value": "",
"visible": false,
"editable": true,
"trackers": [
{
"id": 2,
"name": "Infra-Field"
},
{
"id": 4,
"name": "Software-Dev"
},
{
"id": 6,
"name": "Infra-Config"
},
{
"id": 8,
"name": "External-Comms-Intake"
},
{
"id": 9,
"name": "Outreach-Partnerships"
},
{
"id": 10,
"name": "Admin"
},
{
"id": 13,
"name": "Test-Reject"
},
{
"id": 17,
"name": "Research"
},
{
"id": 18,
"name": "Mutual-Aid-Action"
},
{
"id": 19,
"name": "SCN-Space"
}
],
"roles": [
{
"id": 3,
"name": "Administrator"
}
]
}
]
}
Loading
Loading