Commit graph

187 commits

Author SHA1 Message Date
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
0d404e3a27
Formatting may be fixed.
It's possible an extra linebreak might be missing.
2026-10-13 15:16:17 -06:00
98915a2a1f
Remove fmt.Print*. 2026-10-13 15:03:35 -06:00
1976078492
Tests now cover Jude 5, 6, and Obadiah 5. 2026-10-13 15:03:15 -06:00
d970aeba19
Fix formatting. 2026-10-13 15:01:28 -06:00
e6e4974ad0
Fix chapter test.
This test content may be moved to a different function.
2026-10-13 13:17:44 -06:00
c0c199320c
Fix parser handling of inline "noteId" objects. 2026-10-13 13:17:07 -06:00
ade2138342
Messy tests.
These are not actually unit tests but rather dummy output to see what
the heck is going on with the parser.

I really dislike USF-JSON.
2026-10-13 09:29:39 -06:00
bf772a9d2f
Partial refactor, discovered bug. 2026-10-13 09:29:22 -06:00
6ce1662497
Added convenience function. 2026-10-13 09:18:59 -06:00
0e6f640554
CreateDatabase -> OpenDatabase refactor. 2026-10-12 20:48:09 -06:00
bc243d4ef2
Rename CreateDatabase to OpenDatabase. 2026-10-12 20:47:53 -06:00
d984e2f599
Identifier should be lowercase. 2026-10-12 20:47:30 -06:00
15e4619de0
Added announcements and anniversaries. 2026-10-12 20:46:55 -06:00
04905d4a1e
Begin work on loader. 2026-10-12 15:37:46 -06:00
21c5b70b6f
Cleanup. 2026-10-09 23:37:01 -06:00
2e8c25a115
Cleanup. 2026-10-09 23:36:13 -06:00
c558be2fb4
Fix datetime and defaults. 2026-10-09 21:39:50 -06:00
7fc76d5416
Added Bible passage reference parser. 2026-10-09 21:39:18 -06:00
6c61618bbe
Added an alias to Philemon. 2026-10-09 21:39:02 -06:00
cd1338d3d7
Ignore SQLite WAL. 2026-10-09 21:38:35 -06:00
cde9b026bc
WIP 2026-10-09 15:38:08 -06:00
7f4e00efd7
Tweak tables. 2026-10-09 14:18:53 -06:00
aa5615814a
Added String() implementation to Bible reference type. 2026-10-09 11:09:57 -06:00
c70bcceeed
Reference type added.
This encapsulates code/book, chapter, and verse.
2026-10-08 22:46:24 -06:00
0d7203884e
go fmt and include reverse alias mapping (code -> full title). 2026-10-08 22:45:47 -06:00
cb3e44a65a
Adding complete KJV USF-JSON.
This is most likely the last "complete" translation that will be added
to the bot.
2026-10-08 22:45:10 -06:00
9b8dcdb276
Additional metadata (e.g. single-chapter books). 2026-10-08 22:43:48 -06:00
9f22eea3b6
Added King James (Authorized) Version. 2026-10-08 21:22:56 -06:00
bb0614c0cb
Added KJV. 2026-10-08 21:22:41 -06:00
79f98369a2
Added KJV.
Eventually this will have to be converted into a proper tool.
2026-10-08 21:22:23 -06:00
23897121d3
Added commands. 2026-10-08 21:22:11 -06:00
a4cdfdad06
Add verse log and birthdays. 2026-10-08 21:21:34 -06:00
29d003cb63
Update mgirations. 2026-10-08 19:35:40 -06:00
5ee49bd90c
Added ID/title. 2026-10-08 17:21:08 -06:00
ebc41a5f8e
Fixed errors. 2026-10-08 17:20:41 -06:00
52e5206988
Remove duplicate verses and fix other tables. 2026-10-08 17:05:22 -06:00
b628f8bf38
Fixed requirements (go mod tidy). 2026-10-08 16:49:12 -06:00
de7ff83066
Bible-related tables. 2026-10-08 15:38:46 -06:00
d4167f191c
WIP database. 2026-10-08 15:38:41 -06:00
8a44c86a83
Dependencies. 2026-10-08 15:38:31 -06:00
8140201588
urfave/cli. 2026-10-08 15:38:25 -06:00
6474c45abb
Added commands for urfave/cli. 2026-10-08 15:38:12 -06:00
98353c6ae2
Added sqlite databases. 2026-10-08 15:37:59 -06:00
c8bb2902cf
Temporary migration. 2026-10-07 19:08:49 -06:00