Commit Graph

310 Commits

Author SHA1 Message Date
Syer10
6d66b5df98 Remove old Koreader options 2025-12-06 13:00:03 -05:00
Syer10
55640f144c ServeConversions and UseHikariConnectionPool 2025-11-12 16:38:10 -05:00
Mitchell Syer
884ddcedf1 Add CBZ mime type setting (#194) 2025-10-24 21:54:22 -04:00
Mitchell Syer
0f06bbaf3c Add auto-backup settings (#190) 2025-10-14 20:01:18 -04:00
robo
23518c3677 fix downloadConversions (#178)
match an optional curly brace
2025-09-14 21:11:56 -04:00
Constantin Piber
b0f237ae1e Perl: Use lazy matching (#177) 2025-09-14 16:11:51 -04:00
Syer10
7511623c60 Add updated KOReader variables 2025-09-10 12:17:56 -04:00
Mitchell Syer
9b66814d96 Add more fixes to config management (#167) 2025-09-08 12:20:59 -04:00
Syer10
ccf642ff49 Fix quotes on flavor 2025-09-04 15:17:01 -04:00
Mitchell Syer
4ce1538636 Fix enum quotes (#163)
* Fix enum quotes

* Try this one

* Use stars
2025-09-04 15:14:00 -04:00
Mitchell Syer
f5dce5a890 Fix Enums Without Quotes (#161)
* Fix enums without quotes

* Fix underline
2025-09-02 16:09:39 -04:00
Mitchell Syer
a8d8475de0 Database Configuration (#160) 2025-09-02 12:54:06 -04:00
Syer10
5c6ea7286f Add new JWT variables 2025-08-20 18:39:37 -04:00
are-are-are
253f34cf98 Fix koreaderSyncPercentageTolerance has type STRING rather than NUMBER (#156)
If restart Docker Suwayomi Preview. The issue is caused by line 94 server.conf will become server.koreaderSyncPercentageTolerance = "0.0000000000001" instead of 0.00000000000001
2025-08-20 07:05:19 -04:00
Syer10
d263d1ef55 Fix wrapping of values 2025-08-19 17:20:00 -04:00
Syer10
9568818ce3 Show contents of server.conf for testing 2025-08-19 17:13:09 -04:00
Syer10
79a85c83ec Fix KOReaderSyncServerUrl format 2025-08-19 17:04:58 -04:00
Syer10
fd7a1d92c7 Add new KOReader variables and missing existing ones 2025-08-19 15:30:16 -04:00
github-actions[bot]
56af7c95be Update stable version 2025-07-31 18:33:24 +00:00
Constantin Piber
f4e7901eba Remove CEF lock on startup (#151) 2025-07-15 16:09:35 -04:00
Mitchell Syer
9370334fa6 Add downloadConversions (#149) 2025-07-14 18:24:34 -04:00
Constantin Piber
7717a13190 [skip ci] [#147] Update badges (#148)
* [#147] Update badges

* [#147] Update version on stable release
2025-07-13 15:24:19 -04:00
Mitchell Syer
e4a8a7d841 Fix sed for new variables (#144)
* Minor change

* Add echo ""
2025-07-06 13:43:25 -04:00
Constantin Piber
caeaff6196 Move command to correct branch (#143) 2025-07-06 12:54:20 -04:00
Constantin Piber
ea7a79e50a Switch to xvfb-run instead of manually calling Xvfb (#141)
This should ensure it always finds a display number. It also makes sure
to properly kill `Xvfb`, which we did not do before.
2025-07-06 12:48:38 -04:00
Syer10
fe65ce8873 Add support for new auth variables 2025-07-06 12:48:19 -04:00
Constantin Piber
1e7c775741 Remove lock of dead Xvfb instances on start (#139)
When restarting the container, `Xvfb` is killed quite rudely, so it doesn't have time to clean up the lock. This means that on subsequent starts (without recreating the container), `Xvfb` refuses to start and thus the WebView fails.
2025-07-02 13:20:04 -04:00
Constantin Piber
5aa35914a5 C: handler for abort (#135)
* C: handler for abort

CEF will kill the thread if the GPU process cannot be created. This
brings down Suwayomi with it, so instead just kill the thread and inform
Java about the exception.

* Two-stage build to download an build catch_abort

Building JNI extensions requires JDK, but we don't need it at runtime,
so create a build-step based on JDK, then copy the built binary over

* Add catch handler to github action
2025-06-21 12:29:59 -04:00
Constantin Piber
eb9e13a432 Startup: Attempt to make JCEF executable on start (#136) 2025-06-21 08:59:50 -04:00
Constantin Piber
55715f4f85 Fix: don't try to link KCEF when it's not downloaded (#134) 2025-06-20 19:22:50 -04:00
Constantin Piber
9844dbcde3 Download JCEF at docker build step (#132)
* Add `LD_PRELOAD` to startup script

Closes #131

* Script to download and extract a JCEF release

Closely mirrors what KCEF does, but written in glorious AWK

* Call kcef_download and link downloaded JCEF where Suwayomi expects it

The script downloads JCEF into /opt. Link this folder at runtime into
the data folder where Suwayomi expects it. This allows us to easily
bundle the predownloaded release without modifying Suwayomi startup.
Move `LD_PRELOAD` down a bit to avoid warnings about preloading
libcef.so before the symlink exists.

* Add KCEF url to workflow to embed JCEF into container
2025-06-20 12:38:23 -04:00
Constantin Piber
d037f190e7 Merge builds again, use BUILDPLATFORM to decide KCEF (#130)
* Merge builds again, use BUILDPLATFORM to decide

* BUILDPLATFORM -> TARGETPLATFORM
2025-06-12 15:11:36 -04:00
Constantin Piber
db1d8b99a1 Remove KCEF from unsupported containers (#129)
* Introduce Build arg to include KCEF or not

* GH CI separate containers where KCEF is not supported
2025-06-12 14:26:16 -04:00
Constantin Piber
25c619a9fe Support KCEF (#127)
* Support KCEF

Install native dependencies required by JCEF
Sets up JNI libraries as required by the browser process
Launch Suwayomi in a XVFB environment to fake X11

* Copy libraries to home folder instead

Otherwise, other architectures are not supported

Search path is :
[/usr/java/packages/lib/libnativewindow_awt.so, /usr/lib64/libnativewindow_awt.so, /usr/lib64/libnativewindow_awt.so, /usr/lib/libnativewindow_awt.so, /usr/lib/libnativewindow_awt.so, /home/suwayomi/libnativewindow_awt.so, /home/suwayomi/natives/linux-amd64/libnativewindow_awt.so]
2025-06-12 11:37:54 -04:00
Mitchell Syer
bfc3b6cbfe opdsUseBinaryFileSizes 2025-05-27 01:06:20 +00:00
Mitchell Syer
161c09a025 Opds 2025-05-22 23:55:05 +00:00
Mitchell Syer
1a86648df9 Remove GQL_DEBUG 2024-11-18 02:10:54 +00:00
Mitchell Syer
7ccf93ed15 Ignore Reuploads (#97)
* Ignore Reuploads

* Add Test
2024-04-06 23:51:48 -04:00
schroda
7b672f8a99 Fix/overwriting settings with comments with extension variables (#95)
* Overwrite config settings with comments correctly

Comments were either removed or broke the setting value due to incorrect formatting

* Fix "webUIEnabled" env var name

* Delete container only after receiving its logs

Due to the "-rm" option when starting the container, it was immediately deleted after it was stopped.
This prevented the workflow from getting the containers logs since it didn't exist anymore at this point of time and instead an error was raised

* Print container logs in case of failure

* Add a workflow step to test the container with passing env vars
2024-03-10 19:22:57 -04:00
Madray Haven
7260f8ac6b fix: #92 (#93) 2024-02-24 12:18:22 -05:00
Syer10
382209be67 Fix BackupTime attempt 3 2024-02-19 11:29:25 -05:00
Mitchell Syer
53a6222007 Fix BackupTime attempt 2 2024-02-19 11:26:43 -05:00
Mitchell Syer
0e25faaaef Fix BackupTime 2024-02-19 11:20:43 -05:00
Mitchell Syer
a22f42b610 Download new chapters (#91) 2024-02-17 11:38:42 -05:00
schroda
a2dcd0eda8 Handle overwriting config setting with unescaped falresolverr url in env var (#84) 2024-01-28 22:55:26 -05:00
Mitchell Syer
20faf4f3b6 [skip ci] Add FlareSolverSession (#82) 2024-01-24 21:11:19 -05:00
Syer10
d924caaf27 Retry FlareSolverr url fix 2 2024-01-23 20:27:58 -05:00
Syer10
e33afc16c2 Retry FlareSolverr url fix 2024-01-23 20:13:12 -05:00
Syer10
ee9b536106 Revert "Revert fix unescaped urls"
This reverts commit 59a299522a.
2024-01-23 20:04:08 -05:00
Syer10
59a299522a Revert fix unescaped urls 2024-01-23 20:03:18 -05:00