Commit Graph

274 Commits

Author SHA1 Message Date
~midsum-salrux
bf1d254ce0 Small formatting changes 2023-10-11 15:08:09 -04:00
~midsum-salrux
8d6148ab9e %genuine agent 2023-10-11 14:29:56 -04:00
github-actions
66a0b47d73 update glob: [skip actions] 2023-10-10 17:43:26 +00:00
~midsum-salrux
a73d500096 Remove src.bowl check for public endpoint 2023-10-10 13:06:03 -04:00
jamesacklin
86979e5d45 version bump: 1 18 2 [skip actions] 2023-10-06 20:58:24 +00:00
github-actions
d31eb41962 update glob: [skip actions] 2023-10-06 20:51:55 +00:00
jamesacklin
deb800ab29 version bump: 1 18 1 [skip actions] 2023-10-06 18:46:26 +00:00
fang
a3f689f2ea
growl: rename %default to %initialize 2023-10-06 20:29:54 +02:00
fang
bde54ec4e3
growl: don't scry during +on-load
The upgrade from %0 to %1 was calling into +on-init, which issues a
scry. In some cases, that might not be able to complete successfully,
aborting the whole event that triggered the load.

Here, we move this "set flag based on settings" logic into a %default
poke command, and change the +on-load logic to set a timer that calls
that instead, defering the scry to the next event.
2023-10-06 20:20:05 +02:00
jamesacklin
509f381b61 version bump: 1 18 0 [skip actions] 2023-10-06 10:06:37 +00:00
james acklin
5679138a7c
Merge pull request #224 from tloncorp/m/re-growl 2023-10-06 04:51:14 -04:00
github-actions
6fc2b36ad1 update glob: [skip actions] 2023-10-06 08:49:26 +00:00
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
fang
f254e9c294
growl: don't fumble the activity logging consent
Previous logic for reading %settings-event facts was a little to eager
in declaring explicit non-consent. It would also set the flag to false
in cases where we received updates not matching what we were looking
for.

Now, it's not entirely certain that this was a problem, but we did
observe "disabled growl" on ships that had the setting toggle on the
frontend set to true, and this seemed like the only viable cause of
that.

We also update +on-load to re-set the flag from the current settings
value, to correct any lingering mismatching states.
2023-10-04 10:55:20 +02:00
github-actions
150ad47228 update glob: [skip actions] 2023-09-29 14:42:03 +00:00
Hunter Miller
2eea6d9e99
Merge pull request #221 from tloncorp/hm/bad-docket-base
docket: bad base
2023-09-27 14:11:53 -05:00
Hunter Miller
3f31c0210f docket: bad base 2023-09-27 12:15:09 -05:00
github-actions
7f910505d1 update glob: [skip actions] 2023-09-26 16:32:17 +00:00
arthyn
183c67bb36 version bump: 1 17 1 [skip actions] 2023-09-26 16:12:50 +00:00
github-actions
1c9ef62236 update glob: [skip actions] 2023-09-26 16:10:12 +00:00
Hunter Miller
dd897c7ad9 hark: bad copy 2023-09-22 17:06:25 -05:00
github-actions
e3b2657cc7 update glob: [skip actions] 2023-09-21 22:33:30 +00:00
github-actions
0ada30446b update glob: [skip actions] 2023-09-20 17:21:21 +00:00
Hunter Miller
b404ca91dc Merge branch 'master' into hm/desk-renaming 2023-09-20 12:09:35 -05:00
Hunter Miller
539e468e49 threads: reference correct desk 2023-08-14 17:27:34 -05:00
Hunter Miller
6132606dcf ui: manually globbed for kernel integration testing 2023-08-10 12:48:55 -05:00
Hunter Miller
19504208ea meta: 412 compat 2023-08-10 12:41:48 -05:00
github-actions
3c20415967 update glob: [skip actions] 2023-08-09 10:35:44 +00:00
github-actions
b28ba0c9ba update glob: [skip actions] 2023-08-08 19:33:01 +00:00
jamesacklin
521d84abdb version bump: 1 15 0 [skip actions] 2023-08-08 19:22:58 +00:00
Hunter Miller
11eeb54975 Merge branch 'master' into hm/desk-renaming 2023-08-04 15:14:42 -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
Zach Alberico
9e972fe116
Merge pull request #209 from tloncorp/m/bark-safer-summary
lib: avoid crash during activity summarization
2023-08-02 13:47:30 -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
1f0456d08b
bark: correctly handle save-summary thread results
We weren't accounting for the different wire used for this, causing us
to spill our spaghetti and redirect processing to +on-fail, which wasn't
very graceful.

Now, we can actually properly notify on failed thread runs.
2023-07-28 21:05:03 +02:00
fang
e3bb719986
bark: don't crash during +on-fail 2023-07-28 21:04:40 +02:00
fang
3b3797135a
lib: avoid crash during activity summarization
There is a (somewhat poorly understood) case where the group associated
with a chat may not actually contain that chat in its channels listing.

Here, instead of assuming the channel is always present, we ask for it
more gently, and simply skip to the next-most-active channel if it turns
out to be missing.

We also remove a stray debug printf, and add a trace print in case
anything else goes wrong here.
2023-07-28 20:43:13 +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
jamesacklin
9b0d62e511 version bump: 1 14 0 [skip actions] 2023-07-25 17:54:27 +00:00
james acklin
b04dfc7a3c
Merge pull request #206 from tloncorp/m/bark-growl
bark, growl: activity summary logging
2023-07-25 13:38:34 -04:00
github-actions
192adcff2b update glob: [skip actions] 2023-07-25 15:17:37 +00:00
fang
7455e2d778
bark, growl: activity summary logging
Includes the bark/growl system for sharing activity summaries. The growl
agent respects the "activity logging" consent flag used by groups,
defaults to not sharing if that flag is not set, and only shares with
the "bark host" when prompted. (The bark host, in turn, currently only
stores responses for hosted ships.)

Also includes all the groups-side dependencies this has, which it needs
for the chats & groups types. Hard-including those files will save us
some run-around during deploy.

Co-authored-by: midsum-salrux <nathan@tlon.io>
2023-07-24 22:27:29 +02:00
fang
166f70578d
various: remove unused /sur/hark dependency 2023-07-24 21:44:06 +02:00
github-actions
7881436fd9 update glob: [skip actions] 2023-07-21 17:13:37 +00:00
fang
70b102c818
growl: en/disable based on logActivity setting 2023-07-21 18:42:51 +02:00
fang
ba534b31cd
growl: correct defaults 2023-07-21 18:42:19 +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
2e429f86f2
bark: update summary mark for recent changes 2023-07-19 20:23:56 +02:00
fang
6d61042794
bark: minimally viable fake-mark handling 2023-07-19 20:23:39 +02:00
fang
102c439b75
bark: clarify mandrill vs mailchimp api key
Sending on-demand emails requires a Mandrill API key, not a Mailchimp
one. (They're part of the same company/suite now, but still use
different keys and endpoints. Mandrill and Mailchimp keys are also
called "mailchimp" and "marketing" keys respectively. Yes, in that
order.)
2023-07-18 23:33:15 +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
fa5cc3546d
lib: clarify magic numbers in /lib/summarize 2023-07-18 22:50:47 +02:00
fang
8b6d268745
bark: automatically run daily summary generation 2023-07-14 19:57:28 +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
7cfff00218
growl: use /lib/summarize to give better summaries 2023-07-14 18:08:16 +02:00
fang
2b1e185469
lib: dumb summarization utilities for groups
Helps us retrieve simple numerical summaries of groups (in)activity,
such as number of messages sent, amount of unreads, most active group,
etc.
2023-07-14 18:06:57 +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
fang
e29b6d5cdd
api: add thread for saving mailchimp merge fields
This lets us associate simple data with our mailchimp contacts.
2023-07-14 18:02:39 +02:00
Hunter Miller
22604e8659 kelvin: accidental change from testing 2023-07-13 12:54:33 -05:00
Hunter Miller
e7f0afa7b3 landscape: fixing urls 2023-07-13 12:46:44 -05:00
Hunter Miller
f2ae94b67d hark,contacts: updating from groups 2023-07-13 12:46:25 -05:00
github-actions
d12895c594 update glob: [skip actions] 2023-07-12 21:52:11 +00:00
Patrick O'Sullivan
3970ace734 notify on long-running app install, use react-query for docket
- Adds a mutation to create a yarn from the frontend.
- Adds a new zustand state for tracking actions that could take a while (WatcherStore).
- Switches docket over to react-query (added a new scry endpoint as part of this).
2023-07-11 18:08:04 -05:00
Hunter Miller
edda1fcf45 Merge branch 'master' into hm/desk-renaming 2023-07-11 17:01:51 -05:00
github-actions
a7de1fcccd update glob: [skip actions] 2023-07-05 23:44:53 +00:00
github-actions
ff8b71819e update glob: [skip actions] 2023-06-30 11:16:03 +00:00
jamesacklin
ddf3770b8f version bump: 1 13 0 [skip actions] 2023-06-29 18:47:50 +00:00
github-actions
a62990209d update glob: [skip actions] 2023-06-29 16:32:04 +00:00
Patrick O'Sullivan
929509f2d3
Merge pull request #201 from tloncorp/hm/fix-storage
storage: use correct keys
2023-06-29 11:29:43 -05:00
Hunter Miller
a137ab6451 storage: use correct keys 2023-06-29 11:08:16 -05:00
github-actions
4ba9731339 update glob: [skip actions] 2023-06-28 22:19:43 +00:00
Hunter Miller
f91323fe9f Merge branch 'master' into hm/vitals-integration 2023-06-23 16:19:57 -05:00
Hunter Miller
733ce51ea8 vitals: add new connection check to frontend and improve treaty fetch 2023-06-22 16:08:48 -05:00
Hunter Miller
0bbc4a4b70
Merge pull request #197 from tloncorp/as/vitals
vitals: initial commit of connectivity check agent
2023-06-21 14:24:02 -05:00
Alex Shelkovnykov
cf68c3d742
Update desk/mar/vitals/result.hoon
Co-authored-by: Hunter Miller <svarty1@gmail.com>
2023-06-21 15:19:12 -04:00
jamesacklin
35caa316a1 version bump: 1 12 0 [skip actions] 2023-06-20 20:12:00 +00:00
Alex Shelkovnykov
ff3c55e6a2 vitals: initial commit of connectivity check agent 2023-06-16 12:11:52 -04:00
github-actions
8df8908d51 update glob: [skip actions] 2023-06-14 11:24:41 +00:00
github-actions
edd8d90c9e update glob: [skip actions] 2023-06-05 18:31:08 +00:00
jamesacklin
121701c994 version bump: 1 11 0 [skip actions] 2023-06-05 12:43:15 +00:00
github-actions
17fd2c4f5c update glob: [skip actions] 2023-06-02 17:53:32 +00:00
github-actions
eb5ff83e0e update glob: [skip actions] 2023-05-25 17:20:27 +00:00
~midsum-salrux
cb9b9651ed Update reel set-ship URL 2023-05-25 13:04:32 -04:00
github-actions
88203b3585 update glob: [skip actions] 2023-05-24 17:57:47 +00:00
github-actions
55366c3ba9 update glob: [skip actions] 2023-05-18 14:09:52 +00:00
Hunter Miller
4940392a68
Merge pull request #114 from MarcusMiguel/mm/docket-handle-spaces
docket: handle filename with spaces
2023-05-18 09:07:43 -05:00
github-actions
7a9323bcfc update glob: [skip actions] 2023-05-18 13:28:34 +00:00
github-actions
832a149258 update glob: [skip actions] 2023-05-17 20:17:31 +00:00
jamesacklin
c61de85474 version bump: 1 10 0 [skip actions] 2023-05-17 17:00:56 +00:00
github-actions
b10ac51aee update glob: [skip actions] 2023-05-17 16:58:51 +00:00
github-actions
ce9e0de0fd update glob: [skip actions] 2023-05-17 15:04:58 +00:00
github-actions
2298cbbb41 update glob: [skip actions] 2023-05-17 11:24:15 +00:00
github-actions
b62d060160 update glob: [skip actions] 2023-05-16 17:35:55 +00:00
github-actions
3c481da765 update glob: [skip actions] 2023-05-12 16:03:24 +00:00
github-actions
0c570e286d update glob: [skip actions] 2023-05-12 15:48:48 +00:00
github-actions
b54dc6cc4c update glob: [skip actions] 2023-05-12 15:40:32 +00:00
github-actions
1e2c5038c9 update glob: [skip actions] 2023-05-12 14:57:54 +00:00