Commit Graph
36 Commits
Author SHA1 Message Date
mikiher a4d4f1bc2e Merge branch 'advplyr:master' into nfo-metadata 2023-11-21 09:09:12 +02:00
mikiher d990e5b909 Add NFO metadata source 2023-11-12 13:30:23 +00:00
mikiher ecba67da6d Add Istanbul coverage (nyc) 2023-11-10 10:02:02 +00:00
mikiher ea05e1f559 Remove test/ from .gitigore (now contains unit tests) 2023-11-10 09:58:30 +00:00
mikiher e8c14dbb58 Test BookFinder.js using mocha 2023-11-09 19:58:51 +00:00
mikiher d1671f0ddc Cleanup commented out tests 2023-11-08 16:37:12 +00:00
mikiher 2730486ba5 Add tests for AuthorCandidates and search() in BookFinder 2023-11-08 16:24:08 +00:00
mikiher 49e4515785 Add stripRedudantSpaces 2023-11-08 16:21:20 +00:00
mikiher 819c524f51 Pass audnexus to AuthorCandidates constructor directly 2023-11-08 16:19:24 +00:00
mikiher ba60fc7581 Add tests for TitleCanidates 2023-11-06 05:33:06 +00:00
mikiher 89055f8655 Remove unnecessary includesAuthorDiff from sorting 2023-11-05 16:14:26 +00:00
mikiher 5a3d450482 Refactor diff declarations in title candidate sorting 2023-11-05 15:13:42 +00:00
mikiher 047e7a72f2 Make position an internal property of titleCandidates 2023-11-05 14:56:20 +00:00
mikiher 3a9d09ea63 Add jest to dev dependencies 2023-11-05 14:33:56 +00:00
mikiher ee3d3808ef Refactor removing author from title candidate 2023-11-05 14:31:36 +00:00
mikiher 8f5a6b7c95 Move utility functions to module scope 2023-11-05 14:17:26 +00:00
mikiher 567e1c46db Fix handling of single mefia file updates 2023-11-04 11:06:54 +00:00
mikiher e054b9a54c Add API to update a path on a watched library folder 2023-10-24 13:35:43 +00:00
mikiher 976ae502bb Fix incorrect subpath checks 2023-10-23 21:48:34 +00:00
mikiher f8f555b4b6 Remove some unused code in AuthorCandidates.add 2023-10-07 21:30:37 +00:00
mikiher f44b7ed1d0 [enhancement] If no valid authors, use clean author field 2023-10-05 18:41:18 +00:00
mikiher b0b7a0a618 [enhancement] Reduce spurious matches in validateAuthor 2023-10-05 18:27:52 +00:00
mikiher bf9f3895db [enhancement] Treat underscores as title part separators 2023-10-05 17:53:54 +00:00
mikiher f3555a12ce [enhancement] Handle initials in author normalization 2023-10-05 14:50:16 +00:00
mikiher b2acdadcea [enhancement] Added a couple title transformers 2023-10-05 14:29:40 +00:00
mikiher 9eff471afa [enhancement] AuthorCandidates, author validation 2023-10-05 12:05:30 +00:00
mikiher 8979586404 [enhancement] Improve candidate sorting 2023-10-05 10:28:55 +00:00
mikiher 752bfffb11 [enhamcement] Only add title candidate before and after all transforms 2023-10-04 14:53:12 +00:00
mikiher 10f5bc8cbe [cleanup] Make original title/author check with more readable 2023-10-04 05:26:16 +00:00
mikiher 5d7c197c89 [fix] Add back toLowerCase to cleanAuthor/Title (required by other uses) 2023-10-03 19:43:37 +00:00
mikiher 46b0b3a6ef [cleanup] Refactor candidates logic to separate class 2023-10-01 08:42:47 +00:00
mikiher 1d3ad38187 [cleanup] refactor OpenLib sort into getOpenLibResult 2023-09-30 18:08:03 +00:00
mikiher 6eab985b1e Use encodeURIComponent for text inputs 2023-09-20 11:25:21 +00:00
mikiher 81a9b8d158 Merge branch 'advplyr:master' into Fuzzy-Matching 2023-09-20 13:12:18 +03:00
mikiher 67bbe21513 Make quick-match more conservative 2023-09-15 09:24:19 +00:00
mikiher ac746f199b Fuzzy Matching V1 2023-09-14 21:32:20 +00:00