Commit graph

194 commits

Author SHA1 Message Date
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
03886013cb
Moving bot code into app. 2026-10-16 00:14:05 -06:00
f31e69ce44
Typo. 2026-10-15 15:12:48 -06:00
8ab6dc63cd
Most verse-related features have been implemented. 2026-10-15 15:12:22 -06:00
de7b2091a9
Implement rotation/random features, including simulation. 2026-10-15 15:12:02 -06:00
06fc2668c8
Added deletion feature for verse_rotation. 2026-10-15 15:11:40 -06:00
bf6fb1f685
Table updates. 2026-10-15 14:33:47 -06:00
f8f64be3b5
Temp assignment to bypass syntax warnings. 2026-10-15 08:25:54 -06:00
bd1467ed21
Placeholder. 2026-10-14 23:57:56 -06:00
06557c021e
Report chats that already exist; do not panic. 2026-10-14 23:57:40 -06:00
d2659f9afc
Handle AddChat errors from SQLite. 2026-10-14 23:57:16 -06:00
f3bb7b7494
Normalize "no rows" SQL error. 2026-10-14 23:56:48 -06:00
33bc94ed5d
Added verse random 2026-10-14 23:56:06 -06:00
043dedf2db
Further irregularity testing for inline (SkipLineBreaks) formatting. 2026-10-14 19:33:08 -06:00
811df2d520
Further insanity.
Due to the irregularities in how USF-JSON data structures are and the
subsequent annoyances with attempting to render it from a
paragraph-centric format to an inline format (e.g. quoting singular
verses), I'm seriously tempted to contrive my own.
2026-10-14 19:31:58 -06:00
f7d5803945
Added translation type to verses table.
At present this isn't using the foreign keys associated with the
translation table and is therefore somewhat denormalized. This is
intentional but may change in the future.
2026-10-14 18:56:18 -06:00
cafedf6d03
Verses now track their translation. 2026-10-14 18:56:02 -06:00
0b829bd30d
Handle translation specification. 2026-10-14 18:55:46 -06:00
324d0a2c07
Updated format to include a default Bible selection. 2026-10-14 18:55:25 -06:00
b74e6e51ae
Tests cleanup (partial).
Additional formatting tests have been added, especially for cases where
SkipLineBreaks is enabled (for inline quotes).
2026-10-14 18:54:44 -06:00
96512d8de1
More insane post-processing... 2026-10-14 18:54:18 -06:00
195d58165a
Allow using different translations. 2026-10-14 15:37:21 -06:00
de6ea75756
Added embedder support (currently broken upstream). 2026-10-14 15:36:58 -06:00
76f65aac90
Needs refactoring. 2026-10-14 15:36:41 -06:00
e3a75369ae
Added flags for verse add. 2026-10-14 15:36:24 -06:00
3ef97b6c2d
Added embedder assets (currently broken upstream). 2026-10-14 15:36:05 -06:00