Commit graph

144 commits

Author SHA1 Message Date
Florian Bach
2f40289a84 Ignore cert errors during book download
Some checks failed
Build binaries / build (push) Has been cancelled
Build binaries / test-python3 (3.10) (push) Has been cancelled
Build binaries / test-python3 (3.11) (push) Has been cancelled
Build binaries / test-python3 (3.12) (push) Has been cancelled
Build binaries / test-python3 (3.6) (push) Has been cancelled
Build binaries / test-python3 (3.7) (push) Has been cancelled
Build binaries / test-python3 (3.8) (push) Has been cancelled
Build binaries / test-python3 (3.9) (push) Has been cancelled
Build binaries / test-python2 (push) Has been cancelled
Build binaries / test-ubuntu-2004 (push) Has been cancelled
Build binaries / test-ubuntu-2204-oscrypto (push) Has been cancelled
Build binaries / test-ubuntu-2204-oscrypto-fork (push) Has been cancelled
Build binaries / test-windows (push) Has been cancelled
Build binaries / test-mac (push) Has been cancelled
Fixes #97
2024-09-17 19:21:56 +02:00
Florian Bach
2dcf26be18 Force plugin to use TLS v1.2 instead of v1.3.
This is needed due to a change on Adobe's end, breaking
Python > 3.7.16.

Fixes #105.
2024-09-17 19:15:25 +02:00
Florian Bach
6c29c42581 Fix deprecated CI stuff
Some checks failed
Build binaries / build (push) Has been cancelled
Build binaries / test-python3 (3.10) (push) Has been cancelled
Build binaries / test-python3 (3.11) (push) Has been cancelled
Build binaries / test-python3 (3.12) (push) Has been cancelled
Build binaries / test-python3 (3.6) (push) Has been cancelled
Build binaries / test-python3 (3.7) (push) Has been cancelled
Build binaries / test-python3 (3.8) (push) Has been cancelled
Build binaries / test-python3 (3.9) (push) Has been cancelled
Build binaries / test-python2 (push) Has been cancelled
Build binaries / test-ubuntu-2004 (push) Has been cancelled
Build binaries / test-ubuntu-2204-oscrypto (push) Has been cancelled
Build binaries / test-ubuntu-2204-oscrypto-fork (push) Has been cancelled
Build binaries / test-windows (push) Has been cancelled
Build binaries / test-mac (push) Has been cancelled
2024-08-07 09:54:40 +02:00
Florian Bach
0b228edf15 Fix plugin when libcrypto override variable is not set 2024-08-07 09:46:30 +02:00
Florian Bach
963d42f785 More PDF oddities, see #89 2024-08-07 09:43:06 +02:00
Florian Bach
f2e9e69df3 Fix UTF8 test for python2 2024-08-07 09:34:43 +02:00
Florian Bach
92a969c123 Make sure to use UTF-8 for credentials instead of latin-1.
Fixes #93
2024-08-07 09:30:31 +02:00
Nydragon
25a395f128 feat: make libcrypto and libssl paths overrideable
Some checks are pending
Build binaries / build (push) Waiting to run
Build binaries / test-python3 (3.10) (push) Waiting to run
Build binaries / test-python3 (3.11) (push) Waiting to run
Build binaries / test-python3 (3.12) (push) Waiting to run
Build binaries / test-python3 (3.6) (push) Waiting to run
Build binaries / test-python3 (3.7) (push) Waiting to run
Build binaries / test-python3 (3.8) (push) Waiting to run
Build binaries / test-python3 (3.9) (push) Waiting to run
Build binaries / test-python2 (push) Waiting to run
Build binaries / test-ubuntu-2004 (push) Waiting to run
Build binaries / test-ubuntu-2204-oscrypto (push) Waiting to run
Build binaries / test-ubuntu-2204-oscrypto-fork (push) Waiting to run
Build binaries / test-windows (push) Waiting to run
Build binaries / test-mac (push) Waiting to run
It is necessary to properly use this plugin on NixOS and also allows
overriding for testing & other purposes.
2024-08-07 06:32:41 +02:00
Florian Bach
27bd9531c4 Remove CI for python2 tests for MacOS.
macos-11 image is deprecated and will be removed next month,
macos-12 image doesn't have python2,
and actions/setup-python has removed python2 as well.

No longer running tests on MacOS on Python2.
2024-05-12 11:29:05 +02:00
Florian Bach
7f89a9c6d1 Fix pipeline again 2024-05-12 11:26:23 +02:00
Florian Bach
633768ed51 Fix deprecations in CI pipeline 2024-05-12 11:22:52 +02:00
Dave Vasilevsky
5a4d25e91d Portability improvements in scripts
* Not all systems have GNU sed, so don't assume `sed -i` works
* Not all systems have /bin/bash, so use `env` to find bash
2024-05-12 11:08:44 +02:00
Florian Bach
64aaca3fbe Update oscrypto again 2023-12-19 06:56:26 +01:00
Florian Bach
cbc4c7e873 Fix broken tests 2023-09-02 20:41:37 +02:00
Florian Bach
acca75c03c Update oscrypto fork 2023-09-02 20:04:49 +02:00
Florian Bach
a519a4ab09
Update FUNDING.yml 2023-05-20 19:18:18 +02:00
Florian Bach
7eb50b9306 Add CI for older Python3 versions 2023-05-14 15:48:45 +02:00
Florian Bach
d767857f16 Fix standalone scripts 2023-05-14 15:07:43 +02:00
Florian Bach
53c1d76224 Fix books not being added to loan list 2023-05-12 08:22:18 +02:00
Florian Bach
a7013047d2 Add more CI testing 2023-05-06 18:19:17 +02:00
Florian Bach
f5e19f4391 Bunch of fixes
Fix #48
Fix SingleInstance in Calibre 4
Make plugin run in Calibre 3.48
2023-05-06 12:24:26 +02:00
Florian Bach
6a53617fde Try to get rid of failing CI 2023-05-06 11:28:42 +02:00
Florian Bach
999354dde9 Try to fix parallel fulfillment issues 2023-05-06 11:08:44 +02:00
Florian Bach
ff2d9cf2a7 Add copyright note to all files 2023-02-24 14:11:15 +01:00
Florian Bach
a9519fbd20 Fix loan list for nameless books 2023-02-20 17:14:23 +01:00
Florian Bach
93d732f0d6 Update tests 2023-02-20 17:13:36 +01:00
Florian Bach
91a0154d23 Update bug_report.yml 2023-01-25 21:09:44 +01:00
Florian Bach
c508280319 Try to support PDFs with weird spacing in Encrypt blob
Some PDFs apparently use nonstandard spacing in the /Encrypt
blob which my parser didn't like. Hopefully this fixes it?
Related to #44
2022-12-13 22:16:51 +01:00
Florian Bach
4dfc7af7b8 Add setting to choose between parallel or sequencial fulfillment 2022-10-23 10:19:55 +02:00
Florian Bach
3bd4d28936 Fix GUI extension with non-English Calibre 2022-10-23 10:06:54 +02:00
Florian Bach
f641a1e72d Bunch of cleanup 2022-10-23 10:04:26 +02:00
Florian Bach
7a31e54024 Fix deprecation warnings in CI 2022-10-18 19:54:23 +02:00
Florian Bach
b05e631418 Experimental code to hopefully fix #37 2022-10-17 13:53:30 +02:00
Florian Bach
6c6a313849 More helpful error message if the license cert wasn't downloaded 2022-10-17 13:44:31 +02:00
Florian Bach
97a6b51cec Add test case for XML nodes >32k 2022-10-09 17:13:54 +02:00
Florian Bach
294f600ebd Some cleanup 2022-10-09 17:13:19 +02:00
Florian Bach
8b7e680362 Add more error checking to migration code 2022-10-09 11:31:14 +02:00
Florian Bach
7e9153e294 Fix Python2 bugs in GUI code 2022-10-09 10:56:44 +02:00
Florian Bach
69329fe09a Fix CI for the migration plugin 2022-10-09 10:24:59 +02:00
Florian Bach
81da7bd6f9 Fix all the bugs added with the last commit 2022-10-08 18:33:18 +02:00
Florian Bach
6c94e7237d Fix for loan list issue mentioned in #31 2022-10-08 18:03:45 +02:00
Florian Bach
79be3e3d87 BETA: Migration code from DeACSM to ACSM Input
Do not use this version yet unless you have a backup of your account data
2022-10-08 17:52:47 +02:00
Florian Bach
2bb0d0334f Unstable BETA v0.0.17 2022-09-05 19:08:42 +02:00
Florian Bach
d6b87d7413 Force-exit during plugin migration 2022-09-05 19:01:57 +02:00
Florian Bach
2904e187c4 Add GUI, rename to "ACSM Input" 2022-09-05 18:34:40 +02:00
Florian Bach
9be0d5e55d Ensure loan record is rewritten during re-fulfillment 2022-09-04 12:20:23 +02:00
Florian Bach
c6b9e5c59b Update loanID generation code
Should fix #31. Apparently I implemented the loanID code
wrong, that sometimes caused book returns to fail (or even
worse, return the wrong book) if you had multiple active
loans from the same distributor.
Also adds a test case to catch this bug should it ever
occur again.
2022-09-04 11:13:53 +02:00
Florian Bach
396f0cfad0 Add debugging and readme note for LoanReturn on ACS6 servers 2022-09-03 19:06:46 +02:00
Florian Bach
4448963fff Fix random issue with submodule loading 2022-09-03 19:06:12 +02:00
Florian Bach
e65985be7f Prepare release v0.0.16 2022-07-31 11:06:21 +02:00