Commit Graph
69 Commits
Author SHA1 Message Date
mikiher 21d0d43edc Add SocketAuthority.close() 2023-12-27 15:33:33 +02:00
mikiher 3051b963ef Merge branch 'advplyr:master' into binary-manager 2023-12-27 06:44:22 +02:00
mikiher 209847d98a Add a SIGINT handler for proper server shutdown 2023-12-25 09:25:04 +02:00
mikiher 8f7a420cca Fix directory writable check (fs.access not working on Windows) 2023-12-14 09:47:18 +02:00
mikiher 0282a0521b Sort audible match results by duration difference 2023-12-09 00:33:06 +02:00
mikiher b6c789dee6 Merge branch 'advplyr:master' into bookfinder-improvements 2023-12-08 14:07:25 +02:00
mikiher 6afb8de3dd Remove ffbinaries local cache 2023-12-08 00:53:53 +02:00
mikiher 0e62ccc7aa Merge branch 'binary-manager' of https://github.com/mikiher/audiobookshelf into binary-manager 2023-12-07 23:51:33 +02:00
mikiher 09282a9a62 Remove all callbacks and refactor spaghetti code in downloadUrls 2023-12-07 23:49:46 +02:00
mikiher 699a658df9 Remove debug printing from libs/ffbinaries 2023-12-07 08:50:45 +02:00
mikiher 67ccd2c1fb Fix test after switching to libs/ffbinaries 2023-12-06 13:45:28 +02:00
mikiher 898b072e68 Merge branch 'advplyr:master' into binary-manager 2023-12-06 09:27:17 +02:00
mikiher c074c835d4 Remove semicolons from test 2023-12-05 22:18:37 +02:00
mikiher 2e989fbe83 Add BinaryManager 2023-12-05 21:19:17 +02:00
mikiher b1b325d00b Add ffbinaries dependency 2023-12-05 21:18:30 +02:00
mikiher 281de48ed4 Fix "et al" cleanup 2023-11-30 21:49:24 +02:00
mikiher 3c6d6bf688 Merge branch 'advplyr:master' into bookfinder-improvements 2023-11-30 21:37:01 +02:00
mikiher 8ac0ce399f Remove "et al[.]" in author cleanup 2023-11-30 21:17:13 +02:00
mikiher 80458e24bd "[un]abridged" in title candidate generation 2023-11-30 21:15:25 +02:00
mikiher 3ff41f2b43 Cache HTTP headers and status 2023-11-25 23:49:56 +02:00
mikiher 288a32cc1e Merge branch 'caching' of https://github.com/mikiher/audiobookshelf into caching 2023-11-25 08:14:54 +02:00
mikiher 26fc3a1966 Remove currently unused time measurement utils 2023-11-25 08:14:45 +02:00
mikiher ab19e25586 Remove unnecessary timing measurements 2023-11-23 09:56:37 +02:00
mikiher 07d7d16418 Use a single router.get for API cache middleware 2023-11-23 09:55:55 +02:00
mikiher 5e1e748c71 Add ApiCacheManager unit test 2023-11-23 09:53:52 +02:00
mikiher d944ecaa21 Merge branch 'caching' of https://github.com/mikiher/audiobookshelf into caching 2023-11-22 19:10:29 +02:00
mikiher 5aeb6ade72 Merge branch 'caching' of https://github.com/mikiher/audiobookshelf into caching 2023-11-22 19:00:11 +02:00
mikiher 107b4b83c1 Add cache middleware to most /libraries get requests 2023-11-22 18:40:42 +02:00
mikiher 781d4f570f Add test for parseNfoMetadata 2023-11-21 09:12:37 +02:00
mikiher a4d4f1bc2e Merge branch 'advplyr:master' into nfo-metadata 2023-11-21 09:09:12 +02:00
mikiher 4299627f5f Add lru-cache dependency 2023-11-17 08:54:16 +02:00
mikiher 6a722102c5 Use ApiCacheManager & timing middleware 2023-11-17 08:49:40 +02:00
mikiher f22f3361d5 Add timing utils 2023-11-17 08:48:09 +02:00
mikiher 4dec8c265d Add ApiCacheManager 2023-11-17 08:47:40 +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