Commit Graph

12 Commits

Author SHA1 Message Date
fang
245503f5e7
bark: clear bark data on-opt-out
We shouldn't leave stale data in the mailchimp database, but rather wipe
any data we've collected for users that are explicitly opting out.
2023-10-05 10:24:31 +02:00
fang
7bd7e4f54b
bark: small tweaks to threads
The json serialization logic hadn't been updated correctly. We leave a
better comment for easier reference. And we want more details to look at
in the case something errors out.
2023-10-04 11:00:33 +02:00
Hunter Miller
539e468e49 threads: reference correct desk 2023-08-14 17:27:34 -05:00
Zach Alberico
9ce8b0e8c5
Merge pull request #208 from tloncorp/m/bark-unhark
bark: remove /sur/hark dependency from thread
2023-08-02 13:47:38 -07:00
fang
63396625df
bark: don't crash on no-mail summary saving
Instead, give a %no-mail response message. It's not entirely unexpected
to encounter ships that don't have a hosting account email address
associated with them, so it shouldn't be a reason to crash.

The crash is particularly problematic because as of the previous
commits, we now actually show the trace of thread crashes.
2023-07-28 21:22:17 +02:00
fang
cfaca77569
bark: remove /sur/hark dependency from thread
The "save summary" thread still had hark flagged as one of its dependencies,
but doesn't actually use that for anything anymore.

Here we simply remove the import.
2023-07-28 20:34:41 +02:00
fang
aca4e32f91
bark: remove debug printf 2023-07-20 18:57:26 +02:00
fang
312ee60dc9
bark: assume deployment into the garden desk 2023-07-20 15:21:03 +02:00
fang
3945cc1f5f
bark: store mailchimp list-id in bark
Alongside the mailchimp api key, we now store the list-id for the
contacts lists which we're updating.
2023-07-18 23:31:30 +02:00
fang
244ad7e7c5
bark: fix compilation error in merge fields thread
We had removed the %hark case, but not the codepaths dealing with it.
2023-07-18 23:29:18 +02:00
fang
f2fec50b50
bark: stop handling old summary response types
Growl isn't actually live on any ships yet, so we do not need to account
for this case.
2023-07-14 19:30:58 +02:00
fang
f5e32a54d0
bark: accept new-style summaries
And use the -save-summary thread to add the received details to our
mailchimp contact database.
2023-07-14 18:04:23 +02:00