Mike Lang
bbee33afb2
It's ben
2 weeks ago
Mike Lang
941050aea9
end of run memes
2 weeks ago
Mike Lang
cb08f49003
pubbot: update total var before sending to zulip
...
so if zulip is down it still saves
2 weeks ago
Mike Lang
5012c2cee2
prizebot: fix urls
2 weeks ago
Mike Lang
8ccb6a6e60
pubbot: Post prize names
2 weeks ago
Mike Lang
e794b0cf7d
prizebot fixes
2 weeks ago
Mike Lang
968e6ec273
make prizebot work with new website
2 weeks ago
Mike Lang
3b1c837bfa
Import prizebot
2 weeks ago
Mike Lang
f0fb2fb281
pubbot: Don't send updates with 0 increase
...
These double messages happen occasionally, we want to just ignore them.
3 weeks ago
Mike Lang
e161e97bb4
pubbot: Flush log, fix type, fetch current total on start
3 weeks ago
Mike Lang
e7983b8cf7
pubbot: trying again...
3 weeks ago
Mike Lang
a051f8f6fc
pubbot: fix giveaways code
3 weeks ago
Mike Lang
0c871b7f6c
fix dollars vs cents
3 weeks ago
Mike Lang
cf9abeb307
pubbot typo
3 weeks ago
Mike Lang
27c6abfca9
pubbot: Re-add giveaway support
3 weeks ago
Mike Lang
6bb3edab41
schedulebot: Fix having hour as float
3 weeks ago
Mike Lang
69d3892101
pubbot: Get channel ids from config and handle prizes in the new website
3 weeks ago
Mike Lang
653f651491
schedulebot: Use correct division for calculating hour
...
int() is truncation, // is floor
3 weeks ago
Mike Lang
a56f7e7ecb
blogbot: can't hash strings
3 weeks ago
Mike Lang
2a12687473
blogbot: need to save the string version of the html
3 weeks ago
Mike Lang
a648dee902
Fix typo in blogbot
3 weeks ago
Mike Lang
fbbe37ca9e
blogbot: Save blog contents by hash when seen
...
For every unique hash of the blog html, it will save a copy.
Blogs are saved as JSON files in {segments_dir}/blogs
3 weeks ago
Mike Lang
ce9a8309a2
blogbot: Changes to integrate into wubloader repo
4 weeks ago
Mike Lang
2618cc076d
blogbot changes to work with 2024 website
4 weeks ago
Mike Lang
de52f7dbff
Import blogbot from previous years
4 weeks ago
Hubbe
3ba01dda11
Don't check for active giveaways
...
The old API is no more, so we can't check for active giveaway. Simply disable it for now.
4 weeks ago
Mike Lang
f2a6420634
pubbot: only listen on this year's channel
...
the other one was last year's
4 weeks ago
Mike Lang
177fad17e2
pubbot: listen on both "total" channels we've seen
...
The difference? No idea.
4 weeks ago
Thomas Chick
f15dcaf545
fix message parsing bug with donation total
4 weeks ago
Mike Lang
211036a4d4
pubbot: try to get correct new url for db total
4 weeks ago
Mike Lang
4cd0ef1327
schedulebot: Take creds as a file
...
Avoids needing to put the creds in docker-compose.jsonnet.
The existing "import" trick didn't work due to the way we run jsonnet in docker.
1 month ago
Mike Lang
3fb6676fbe
pubbot: Add more detail to logging
...
Wrap raw pubnub messages in a metadata object containing:
- time
- our hostname
- our pid
- any inferred information
Plus make a message-less log write on startup so we know where there might be gaps.
Also do more error handling so that we don't completely lose messages on error.
2 months ago
Mike Lang
9b19c12a53
Add pubnub-watching zulip bot
...
Which also records all pubnub messages for archival to a file SEGMENTS/pubnub-log.json.
We ran this for most of last year, but not as part of wubloader.
2 months ago
ZeldaZach
e7a839c6cd
Remove need to download twice on startup
4 months ago
ZeldaZach
07fc84e85e
Relabel Comment to show new config values
4 months ago
ZeldaZach
8bbc72184c
Support hot reload of Zulip Schedule
...
- Move sheets API into common dir, since multi use
- Live download from Google Sheets using Config
- Falls back on old schedule if new one can't be downloaded for some reason
4 months ago
Mike Lang
859852fc50
memes
1 year ago
Mike Lang
b9b7a6ca27
more schedulebot formatting
1 year ago
Mike Lang
4786154bca
One more schedulebot format tweak
1 year ago
Mike Lang
7637633936
fix typo
1 year ago
Mike Lang
d338c785ff
schedulebot: formatting changes
1 year ago
Mike Lang
f63e68f609
schedulebot: List all currently active people by role (except shift sup)
1 year ago
Mike Lang
e7c402c5e2
schedulebot: Make user ids case-insensitive
1 year ago
Mike Lang
0164f9def8
schedulebot: Don't set groups before the run starts
...
This is mainly a problem with groups_by_shift which will be set
even for negative hours that aren't on the schedule.
This causes notification spam as people move in and out of groups.
1 year ago
Mike Lang
51a2ef35cc
schedulebot: Extend group-by-shift to allow multiple group members
1 year ago
Mike Lang
d13a014bab
schedulebot: Accept start timestamp with a trailing Z
1 year ago
Mike Lang
5a8bf99d12
schedulebot: Add ability to hard-code a group membership by shift
...
This feature is intended for implementing a "current wub wrangler" group, which:
a) Isn't on the schedule
b) Can't be put on the schedule as it would overlap with other duties
c) We don't want to announce in "starting/ending shift" messages.
1 year ago
Mike Lang
8220c87258
Fix zulip_bots bugs to get them working in package
1 year ago
Mike Lang
de521c4da9
schedulebot: Take timestamp string instead of epoch
1 year ago
Mike Lang
627eda5e74
schedulebot: Remove memes
1 year ago