Commit graph

231 commits

Author SHA1 Message Date
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
083a364e57
Added go/embedder. 2026-10-14 15:35:49 -06:00
d2a01453a7
KJV translation contains paragraph markers. Nuke them. 2026-10-14 15:35:33 -06:00
33ed9d9566
Added aliases for Judges. 2026-10-14 15:29:50 -06:00
6a02e2f4fe
Add chat management.
Presently this only allows adding a chat to the bot.
2026-10-14 14:26:18 -06:00
d8ee0f8c16
Add documentation note to --random. 2026-10-14 14:11:58 -06:00
48cbce1b9e
Added verse list command. 2026-10-14 14:08:49 -06:00
d197831ecf
Added unique constraint to book, chapter, verse start/stop. 2026-10-14 13:08:30 -06:00
ea847aadb3
Handle previously added verses and fix ref bug. 2026-10-14 13:08:14 -06:00
eb73a8ead8
Handle SQLite3 ErrConstraintUnique errors sensibly. 2026-10-14 13:07:43 -06:00
bcf996a1d6
Added FromRef to accept BibleRef structs.
Eventually, FromRef and Reference will be renamed.
2026-10-13 15:46:42 -06:00
b6a9cdd35b
"bot verse add" now prompts for the requested verse before adding. 2026-10-13 15:44:10 -06:00
d650a613a8
Fix primary keys. 2026-10-13 15:19:21 -06:00
9c1c183ce1
Added Genesis 1:1-2 to parsing tests. 2026-10-13 15:16:47 -06:00