]> jaekl.net Git - quanlib.git/log
quanlib.git
4 months agoMerge branch 'master' of ssh://192.168.41.11/var/lib/git/quanlib
Chris Jaekl [Thu, 27 Jun 2024 02:21:02 +0000 (22:21 -0400)]
Merge branch 'master' of ssh://192.168.41.11/var/lib/git/quanlib

4 months agoRefactor `Scanner::Opf` to reduce complexity
Chris Jaekl [Thu, 27 Jun 2024 02:19:56 +0000 (22:19 -0400)]
Refactor `Scanner::Opf` to reduce complexity

5 months ago(Minor cleanup after rebase)
Chris Jaekl [Mon, 24 Jun 2024 18:55:16 +0000 (14:55 -0400)]
(Minor cleanup after rebase)

5 months ago(Re-apply change from 959451f9d4862c43b0fe9a7b27f302ace982f7a4)
Chris Jaekl [Mon, 24 Jun 2024 18:47:57 +0000 (14:47 -0400)]
(Re-apply change from 959451f9d4862c43b0fe9a7b27f302ace982f7a4)

5 months agoMerge branch 'master' of ssh://192.168.41.11/var/lib/git/quanlib
Chris Jaekl [Mon, 24 Jun 2024 18:47:39 +0000 (14:47 -0400)]
Merge branch 'master' of ssh://192.168.41.11/var/lib/git/quanlib

5 months agoIntroduces a new class Scanner and subclasses Epub and Pdf.
Chris Jaekl [Mon, 24 Jun 2024 18:42:13 +0000 (14:42 -0400)]
Introduces a new class Scanner and subclasses Epub and Pdf.

This enables us to split out some of the (overly-large) class Book
into separate files, moving us toward more, smaller, classes.

5 months agoClean up some glitches from the RuboCop-cleanup
Chris Jaekl [Sun, 23 Jun 2024 03:07:44 +0000 (23:07 -0400)]
Clean up some glitches from the RuboCop-cleanup

5 months agoAddress the low-hanging-fruit RuboCop advisories
Chris Jaekl [Sat, 22 Jun 2024 22:51:39 +0000 (18:51 -0400)]
Address the low-hanging-fruit RuboCop advisories

This leaves 50 "offenses" still to be examined.  Most of those are complaints about code complexity, and will require some thought before attempting a refactor.

5 months agoRemove OCLC classification client code
Chris Jaekl [Sat, 22 Jun 2024 15:37:41 +0000 (11:37 -0400)]
Remove OCLC classification client code

OCLC discontinued their open-access classify service in January 2024.
Thus, there's no point in maintaining this code anymore.

5 months agoWiden author columns to accommodate longer sets of names
Chris Jaekl [Sat, 22 Jun 2024 02:41:33 +0000 (22:41 -0400)]
Widen author columns to accommodate longer sets of names

5 months agoNow that we have unit tests in place, clean up style
Chris Jaekl [Sat, 22 Jun 2024 02:38:13 +0000 (22:38 -0400)]
Now that we have unit tests in place, clean up style

5 months agoAdd SeriesTest
Chris Jaekl [Sat, 22 Jun 2024 02:27:40 +0000 (22:27 -0400)]
Add SeriesTest

5 months agoAdd unit test for WalkDir
Chris Jaekl [Sat, 22 Jun 2024 01:42:31 +0000 (21:42 -0400)]
Add unit test for WalkDir

5 months agoAdd unit test for Classification, and fix bug that that uncovered
Chris Jaekl [Fri, 21 Jun 2024 23:49:12 +0000 (19:49 -0400)]
Add unit test for Classification, and fix bug that that uncovered

5 months agoAugment unit test for Book class
Chris Jaekl [Fri, 21 Jun 2024 23:19:18 +0000 (19:19 -0400)]
Augment unit test for Book class

5 months agoAdd unit test for Author, and new testcase for Book
Chris Jaekl [Thu, 20 Jun 2024 17:54:39 +0000 (13:54 -0400)]
Add unit test for Author, and new testcase for Book

5 months agoClean up indendation and unused variables
Chris Jaekl [Thu, 20 Jun 2024 15:45:02 +0000 (11:45 -0400)]
Clean up indendation and unused variables

5 months agoSwitch from rspec to minitest
Chris Jaekl [Thu, 20 Jun 2024 15:41:02 +0000 (11:41 -0400)]
Switch from rspec to minitest

Also adds a Rakefile, and pulls in Rubocop while we're at it.

2 years agoAdd `arrived` attribute (file creation timestamp) to books table.
Chris Jaekl [Mon, 24 Jan 2022 04:23:30 +0000 (23:23 -0500)]
Add `arrived` attribute (file creation timestamp) to books table.

3 years agoMulti-thread the parsing of books to speed up loading.
Chris Jaekl [Wed, 30 Dec 2020 23:46:15 +0000 (18:46 -0500)]
Multi-thread the parsing of books to speed up loading.

4 years agoAdd support to cross-reference books against list of award-winners.
Chris Jaekl [Sat, 4 Apr 2020 20:36:15 +0000 (16:36 -0400)]
Add support to cross-reference books against list of award-winners.

4 years agoAdd language to book data.
Chris Jaekl [Sun, 29 Mar 2020 19:07:46 +0000 (15:07 -0400)]
Add language to book data.

4 years agoRework book using attr_accessor
Chris Jaekl [Sat, 28 Mar 2020 20:23:43 +0000 (16:23 -0400)]
Rework book using attr_accessor

4 years agoAdd a simple test for Book
Chris Jaekl [Sat, 14 Mar 2020 00:33:53 +0000 (20:33 -0400)]
Add a simple test for Book

4 years agoHousekeeping: remove commented-out code.
Chris Jaekl [Sat, 14 Mar 2020 00:32:47 +0000 (20:32 -0400)]
Housekeeping:  remove commented-out code.

4 years agoHousekeeping.
Chris Jaekl [Sat, 14 Mar 2020 00:04:25 +0000 (20:04 -0400)]
Housekeeping.

Update Gemfile to use https instead of http.
Switch require to require_relative.

5 years agoRework store_test.rb using rspec
Chris Jaekl [Fri, 12 Jul 2019 23:43:35 +0000 (19:43 -0400)]
Rework store_test.rb using rspec

5 years agoUse attr_reader for Cover.path.
Chris Jaekl [Tue, 9 Jul 2019 00:07:08 +0000 (20:07 -0400)]
Use attr_reader for Cover.path.

5 years agoAdd extract.rb: extract library books to .txt (for indexing).
Chris Jaekl [Mon, 8 Jul 2019 23:48:07 +0000 (19:48 -0400)]
Add extract.rb: extract library books to .txt (for indexing).

5 years agoHandle a few extra edge cases when parsing epubs.
Chris Jaekl [Mon, 8 Jul 2019 23:45:48 +0000 (19:45 -0400)]
Handle a few extra edge cases when parsing epubs.

Also, remove trailing white space.

6 years agoTrack SQL statement execution times, so that they can be profiled.
Chris Jaekl [Tue, 5 Dec 2017 13:24:49 +0000 (22:24 +0900)]
Track SQL statement execution times, so that they can be profiled.

As it happens, this revealed one missing index (primary key on the
EFS table was not declared).  Fixing that offers a modest speed-up.

6 years agoMinor change to oclc lookup heuristic.
Chris Jaekl [Tue, 5 Dec 2017 08:29:42 +0000 (17:29 +0900)]
Minor change to oclc lookup heuristic.

7 years agoMake db params and path configurable via quanlib.ini.
Chris Jaekl [Sun, 19 Nov 2017 12:23:29 +0000 (21:23 +0900)]
Make db params and path configurable via quanlib.ini.

7 years agoImproves handling of non-fiction classification data.
Chris Jaekl [Fri, 7 Jul 2017 12:54:38 +0000 (21:54 +0900)]
Improves handling of non-fiction classification data.

7 years agoAdd DDC and LCC info to book headers in page display.
Chris Jaekl [Tue, 4 Jul 2017 13:22:34 +0000 (22:22 +0900)]
Add DDC and LCC info to book headers in page display.
Also, drop duplicate PDF and EPUB holdings, preferring EPUB.

7 years agoAdd support for classification of non-fiction books.
Chris Jaekl [Wed, 28 Jun 2017 09:05:20 +0000 (18:05 +0900)]
Add support for classification of non-fiction books.

7 years agoAdd support for PDF (with .jpeg cover).
Chris Jaekl [Sat, 24 Jun 2017 11:11:45 +0000 (20:11 +0900)]
Add support for PDF (with .jpeg cover).

7 years agoRefactors navigation page generation. Adds navigation by Series.
Chris Jaekl [Sun, 11 Jun 2017 06:34:52 +0000 (15:34 +0900)]
Refactors navigation page generation.  Adds navigation by Series.

7 years agoAdds support for tracking series and generating pages based on them.
Chris Jaekl [Fri, 9 Jun 2017 14:48:09 +0000 (23:48 +0900)]
Adds support for tracking series and generating pages based on them.

7 years agoRefactor page generations, and add hard-coded series naming.
Chris Jaekl [Wed, 31 May 2017 14:04:56 +0000 (23:04 +0900)]
Refactor page generations, and add hard-coded series naming.

7 years agoStart support for reading data back from the database.
Chris Jaekl [Fri, 26 May 2017 23:07:08 +0000 (08:07 +0900)]
Start support for reading data back from the database.

7 years agoFixes minor bug with html output of author's name.
Chris Jaekl [Tue, 16 May 2017 09:37:39 +0000 (18:37 +0900)]
Fixes minor bug with html output of author's name.

7 years agoStores book metadata to PostgreSQL database.
Chris Jaekl [Mon, 15 May 2017 12:22:06 +0000 (21:22 +0900)]
Stores book metadata to PostgreSQL database.

7 years agoImprove metadata extraction from epubs, and clean up the display of popups in the...
Chris Jaekl [Tue, 28 Feb 2017 14:40:07 +0000 (23:40 +0900)]
Improve metadata extraction from epubs, and clean up the display of popups in the output html.

7 years agoImprove HTML formatting. Handle more variants of EPUB.
Chris Jaekl [Sat, 25 Feb 2017 11:42:52 +0000 (20:42 +0900)]
Improve HTML formatting.  Handle more variants of EPUB.

7 years agoCreate a basic html output, to validate that we're loading data correctly.
Chris Jaekl [Fri, 24 Feb 2017 15:20:41 +0000 (00:20 +0900)]
Create a basic html output, to validate that we're loading data correctly.

7 years agoParse .epub files to extract metadata and cover image.
Chris Jaekl [Fri, 24 Feb 2017 14:23:31 +0000 (23:23 +0900)]
Parse .epub files to extract metadata and cover image.

7 years agoAdd README
Chris Jaekl [Thu, 23 Feb 2017 13:25:37 +0000 (22:25 +0900)]
Add README

7 years agoTrack filename in book
Chris Jaekl [Thu, 23 Feb 2017 13:09:15 +0000 (22:09 +0900)]
Track filename in book

7 years agoInitial commit
Chris Jaekl [Thu, 23 Feb 2017 13:01:04 +0000 (22:01 +0900)]
Initial commit