Compare commits

..

20 commits

Author SHA1 Message Date
90f47fa9d6 match incoming mail to event 2024-12-05 00:30:05 +01:00
d18fa897a0 add simple issue templates 2024-12-05 00:30:05 +01:00
48a0f3819c deploy: Simple protection for metrics endpoint 2024-12-05 00:30:05 +01:00
80558a241d cicd: run on every pull request, but only deploy on testing 2024-12-05 00:30:05 +01:00
d9729a68ff cicd: Run tests automatically 2024-12-05 00:30:05 +01:00
f3550d7dc0 cicd: Deploy testing automatically 2024-12-05 00:30:05 +01:00
e023f87b35 change the ticket.state in the backend too 2024-12-05 00:30:05 +01:00
706d80c2c8 ticket state changes to pending_open on first view 2024-12-05 00:30:04 +01:00
6ac300d737 train spam on state change to 'closed_spam' 2024-12-05 00:30:04 +01:00
737aa69024 add functions to train mails as spam/ham 2024-12-05 00:30:04 +01:00
e9c8f1049e save raw_mails as file 2024-12-05 00:30:04 +01:00
38a24e4e06 add docker env for integration testing 2024-12-05 00:30:04 +01:00
9f5b420095 Add django standard metrics 2024-12-05 00:30:04 +01:00
031e146499 fixed race contidion on ticket view loading 2024-12-05 00:30:04 +01:00
00c01ac934 enforce startup order in docker-compose.yml 2024-12-05 00:30:04 +01:00
df345e36a1 Add dev environment using docker 2024-12-05 00:30:04 +01:00
43802196ca cleanup admin 'dashboard' 2024-12-05 00:30:04 +01:00
413a18a5d0 add event mail addresses to the /events endpoints 2024-12-05 00:30:04 +01:00
f94e2d8191 extract the search box into its own component 2024-12-05 00:30:04 +01:00
bd00f03411 use an 'AsyncButton' that waits for completion of an async onClick handler for mail replies and comments in tickets 2024-12-05 00:29:52 +01:00

View file

@ -104,15 +104,18 @@ export default {
}, },
}, },
methods: { methods: {
...mapActions(['sendMail', 'postComment']), ...mapActions(['fetchShippingVouchers']),
sendMailAndClear: async function () { sendMailAndClear: function () {
await this.sendMail(this.newMail); this.$emit('sendMail', this.newMail);
this.newMail = ""; this.newMail = "";
}, },
addCommentAndClear: async function () { addCommentAndClear: function () {
await this.postComment(this.newComment); this.$emit('addComment', this.newComment);
this.newComment = ""; this.newComment = "";
} }
},
mounted() {
this.fetchShippingVouchers();
} }
}; };
</script> </script>