Commit graph

219 commits

Author SHA1 Message Date
c85a59d2ad
Added announcement support and list migrations. 2026-10-26 15:27:46 -06:00
5e0963042f
migratory reads the directory; move base.
I forgot about this feature. Oops.
2026-10-26 15:27:06 -06:00
da30d99c73
Add rebased migration.
go/migratory will, eventually, be updated to support this manner of
rebasing with a version specifier.
2026-10-26 15:06:13 -06:00
3378b0cc6c
Remove "day" in output to avoid confusion. 2026-10-26 10:11:18 -06:00
8aafad32d0
Make emoji symmetrical. 2026-10-25 22:36:57 -06:00
3eda29af9d
Order by month and day rather than identifier. 2026-10-25 22:36:14 -06:00
e91413a238
Bug fixes, rendering fixes, and added list all/add birthdays. 2026-10-24 14:10:24 -06:00
91d49f65ec
Added remarks about zero birthdays. 2026-10-23 23:41:11 -06:00
0c132657ff
Cleanup, add scheduler.
This will eventually be rolled up into the announcements subsystem.
2026-10-23 23:27:24 -06:00
ff6aba11c6
Birthday implementation (mostly working!). 2026-10-23 23:26:48 -06:00
ab0c96b33f
Added birthdays weekly and birthdays today commands. 2026-10-23 21:29:01 -06:00
7b7e29b6fb
Fixed assignment issue. 2026-10-23 21:28:38 -06:00
93f39c7bf8
Add birthdays. 2026-10-23 21:28:16 -06:00
3086da9284
WIP birthdays. 2026-10-23 20:26:26 -06:00
82cfcc7ce2
Added birthdays for the week/day derived from month/day only.
Not tested with leap year birthdays (and probably won't work for obvious
reasons).

This query is a bit crazy.
2026-10-23 18:06:28 -06:00
e26f39a823
Initial birthday model. 2026-10-23 15:26:40 -06:00
4690ad0cd8
Fixed unique constraint violation. 2026-10-23 14:34:58 -06:00
6495d3d103
Verse load/translation load refactoring. 2026-10-23 14:21:50 -06:00
ba53d2cc1c
Added default translation. 2026-10-23 11:09:12 -06:00
7ec2dee744
Translations configuration defaults. 2026-10-23 11:09:01 -06:00
94774e8f83
Table updates. 2026-10-23 11:08:43 -06:00
d702ec1b44
Update defaults. 2026-10-23 10:57:45 -06:00
c916fd9ed9
I *think* commands have to be repeated per-scope. 2026-10-23 10:57:28 -06:00
52dfb1bf08
Retrieve random verse exactly once and send to multiple chats. 2026-10-23 10:56:58 -06:00
80ab4b4476
Use sensible defaults. 2026-10-23 09:07:39 -06:00
3a0c1f87d4
Cleanup. 2026-10-23 00:00:04 -06:00
8e0da2b1ac
Remove chatid from random verses and force translation. 2026-10-22 23:47:49 -06:00
0f3bf8b87d
Added migrate up which is just a passthrough for what the installer
does (for now).

Eventually, this will be turned into a proper migration channel.
2026-10-22 21:23:35 -06:00
723da36d02
Substantial table updates.
Requires synchronization with model code.
2026-10-22 21:22:29 -06:00
6a55aa5ca0
Change default logger for telego and use register instead of clear. 2026-10-21 19:45:01 -06:00
3523ffeba7
Replace "clear" with "register." 2026-10-21 19:44:38 -06:00
216ec90646
WIP.
Long-polling errors seem to be due to tthe dev server crashes earlier.
2026-10-20 22:36:00 -06:00
58a01bff56
WIP. 2026-10-20 20:17:29 -06:00
098201418b
Cleanup. 2026-10-20 20:17:07 -06:00
3dc73e3572
Temporary implementation of scripture send. 2026-10-20 15:34:03 -06:00
a459018095
Chat ID is an int64 (telego). 2026-10-20 15:33:45 -06:00
8c1816a3d2
Chat ID should be int64. 2026-10-20 15:33:29 -06:00
e90dd53bae
Cache chats, simplify errors. 2026-10-20 15:23:28 -06:00
49fed21990
Further app-ifying app. 2026-10-20 15:17:16 -06:00
ab9cfe7393
Command Host initialization signature changed. 2026-10-20 15:17:00 -06:00
da076321ad
List chats implements. 2026-10-20 15:16:47 -06:00
ccb838714a
Database type now accepts a context for its first argument when created
with NewDatabase.
2026-10-20 15:16:21 -06:00
5ed34450d6
Pass context where appropriate. 2026-10-20 15:15:50 -06:00
b5593475c6
Command update.
For some reason, the admin scope commands are not showing up to
administrators.
2026-10-19 23:15:12 -06:00
2c2d6af7eb
More spacing-related weirdness. 2026-10-16 00:16:02 -06:00
5a52bf6de6
Verse log table already sets posted to a default value. 2026-10-16 00:15:39 -06:00
9200170059
Added App(). 2026-10-16 00:15:19 -06:00
a3671d03da
App-related cruft WIP. 2026-10-16 00:15:03 -06:00
823c114db0
dotenv handling moved, rename run -> start 2026-10-16 00:14:43 -06:00
7ccf2b2073
Add bot command settings. 2026-10-16 00:14:24 -06:00