Commit Graph

701 Commits

Author SHA1 Message Date
Hunter Miller
3a8d9ad266 ops: don't let upload error block glob 2023-08-14 15:46:53 -05:00
Hunter Miller
fc6b16e922
Merge pull request #214 from tloncorp/hm/kernel-deploy
ops: allow kernel update deploys for testing
2023-08-10 15:02:20 -05:00
Hunter Miller
3be3838e3f ops: allow kernel update deploys for testing 2023-08-10 14:27:11 -05:00
Hunter Miller
676168bf43 ops: make new action instead 2023-08-10 14:23:38 -05:00
Hunter Miller
792c5f407e ops: fix bad yaml 2023-08-10 14:16:09 -05:00
Hunter Miller
21223b86ee ops: allow targeting other moons, like bosdev 2023-08-10 14:14:26 -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
james acklin
d7d0527d4c
Merge pull request #213 from tloncorp/james-m/land-747-landscape-link-back-to-hosting 2023-08-09 06:33:39 -04:00
James Muturi
2ea0ae8eaf
landscape: modify tlon hosting linkback from /login -> /dashboard 2023-08-09 08:50:59 +03:00
github-actions
b28ba0c9ba update glob: [skip actions] 2023-08-08 19:33:01 +00:00
Hunter Miller
0e07c0ccd3
Merge pull request #212 from tloncorp/james/land-747-landscape-link-back-to-hosting
landscape: add tlon hosting linkback
2023-08-08 14:30:57 -05:00
jamesacklin
521d84abdb version bump: 1 15 0 [skip actions] 2023-08-08 19:22:58 +00:00
James Acklin
e26f941892 landscape: add tlon hosting linkback 2023-08-08 14:40:31 -04: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
Zach Alberico
ddf7ab9206
Merge pull request #210 from tloncorp/m/bark-on-thread
bark: correctly handle save-summary thread results
2023-08-02 13:47:12 -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
Hunter Miller
a7f306b005
Merge pull request #207 from tloncorp/land-498-show-spinner-while-loading-storage-settings
storage: show loading spinner while loading storage settings
2023-07-25 10:15:05 -05:00
Daniel Tischenko
756bce9feb Show loading spinner while loading storage settings (to make it clear that the fields are disabled) 2023-07-25 15:35:53 +03: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
fang
b7437f5069
Merge pull request #27 from tloncorp/m/new-summaries
bark: new summaries, save to mailchimp
2023-07-24 20:22:55 +02:00
github-actions
7881436fd9 update glob: [skip actions] 2023-07-21 17:13:37 +00:00
james acklin
b781bda1ad
Merge pull request #205 from tloncorp/update-wayfinding
update wayfinding to reference Tlon Local
2023-07-21 13:11:30 -04: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
Daniel O'Sullivan
105d849fd3 update wayfinding to reference Tlon Local 2023-07-20 22:30:59 -05: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