Commit Graph

24 Commits

Author SHA1 Message Date
Michal Čihař bbc600b0b1 Retain ticket ownership 2020-12-30 13:43:06 +01:00
Michal Čihař d32e9859f7 Simplify ticket subject 2020-12-30 13:42:48 +01:00
Michal Čihař b3383c542a Share code for creating tickets 2020-12-30 13:30:22 +01:00
Michal Čihař ab0f3f843a Fix creating owned tickets 2020-12-30 13:14:41 +01:00
Michal Čihař b06e01a774 Fix old ticket URL 2020-12-30 13:14:33 +01:00
Michal Čihař 33d2cbf533 Fix tag assignment 2020-12-30 11:58:40 +01:00
Michal Čihař 086dce8fb6 Black code 2020-12-30 09:45:36 +01:00
Michal Čihař 891bccf892 Fix assigning tags to tickets 2020-12-30 09:18:57 +01:00
Michal Čihař 63dedabe63 Fix syntax error 2020-12-30 08:59:58 +01:00
Michal Čihař 773084f504 Allow to provide default for user attributes
For some reason roles is missing in some cases.
2020-09-02 11:39:54 +02:00
Michal Čihař 3be167144a Add support for injecting additional data when creating user 2020-09-02 11:37:23 +02:00
Michal Čihař 160e7bfa71 Avoid using chown for agents
Otherwise the private comments will not work for them.
2020-08-18 13:23:01 +02:00
Michal Čihař 056b5009ac Allow to map usernames 2020-08-18 13:22:21 +02:00
Michal Čihař a6845330bc Make range configurable 2020-08-18 13:22:10 +02:00
Michal Čihař 27251d7801 Better handle merged tickets 2020-08-18 13:08:50 +02:00
Michal Čihař 57d039703b Improve automated commets 2020-08-18 13:00:37 +02:00
Michal Čihař bc0dd8301e Cache zammad instances
Otherwise we end up with too many open files error.
2020-08-18 11:25:48 +02:00
Michal Čihař 0f8696adbb Fix importing non owner comments
Temporarily chaning ownership of the ticket allows to post comment by any customer.
2020-08-18 11:09:23 +02:00
Michal Čihař af7d142da1 Revert "Switch to token auth for Zammad"
This reverts commit 7fef65b66b.
2020-08-18 10:46:41 +02:00
Michal Čihař 7fef65b66b Switch to token auth for Zammad 2020-08-18 10:25:54 +02:00
Michal Čihař 8c3b7a3c86 Remove not needed attribute
Signed-off-by: Michal Čihař <michal@cihar.com>
2019-05-27 13:19:28 +02:00
Michal Čihař 4a0a453236 Properly handle uppercase emails
Signed-off-by: Michal Čihař <michal@cihar.com>
2019-05-27 13:19:16 +02:00
Michal Čihař 88bdfc53f8 Add actuall migration code
Signed-off-by: Michal Čihař <michal@cihar.com>
2019-05-27 11:56:19 +02:00
Michal Čihař 43d48c71e2 Rename script 2019-05-27 09:17:05 +02:00