Commit Graph

40 Commits

Author SHA1 Message Date
Luis Ángel San Martín
89d7d76080 Typo 2025-05-04 15:14:45 +02:00
Luis Ángel San Martín
8f84fc7902 Log libraries validation when YACReaderLibrary and YACReaderLibraryServer start 2025-03-30 22:24:17 +02:00
Luis Ángel San Martín
97601282b8 Call LibrariesUpdateCoordinator::init in YACReaderLibraryServer 2024-12-24 10:44:34 +01:00
Luis Ángel San Martín
1c48f05398 Add support for printing more information in diagnosis log
Also yacreaderlibraryserver can now print this with the --system-info option

This will help when giving support to users.
2024-09-05 17:48:48 +02:00
Luis Ángel San Martín
39ba4efcd2 Add rescan-xml-info command to YACReaderLibraryServer 2023-08-26 14:09:18 +02:00
Luis Ángel San Martín
a0dff3a03b Fix LibrariesUpdateCoordinator instantiation in YACReaderLibraryServer 2023-08-24 11:56:25 +02:00
Luis Ángel San Martín
5b4205a19b Print some more help in yacreaderlibraryserver's description 2023-08-14 18:20:47 +02:00
Luis Ángel San Martín
42f2771b3f Setup LibrariesUpdateCoordinator in yacreaderlibraryserver 2023-08-14 18:19:24 +02:00
Luis Ángel San Martín
68ece533e1 Replace Q_OS_MAC with Q_OS_MACOS 2023-06-04 20:55:11 +02:00
Felix Kauselmann
0ead759364 QRCode: Use UTF8 chars for code generation
QString.append() expects UTF8 chars, but this is not standard on all platforms.
2023-04-22 20:11:21 +02:00
Felix Kauselmann
f8f25c396f YACReaderLibraryServer: Print QR code and basic server info on start 2023-04-07 20:24:59 +02:00
Luis Ángel San Martín
250c48848c setAllocationLimit is Qt6 only 2022-12-12 22:07:30 +01:00
Luis Ángel San Martín
7fed222cb7 Format 2022-12-12 21:53:07 +01:00
Luis Ángel San Martín
fc1f48aaa5 Remove image allocation limit
This commit fixes this error: QImageIOHandler: Rejecting image as it exceeds the current allocation limit of 128 megabytes
2022-12-12 18:37:29 +01:00
Luis Ángel San Martín
555540b85d Fix LibraryCreator instantiation in yacreaderlibraryserver 2022-10-29 09:26:03 +02:00
Luis Ángel San Martín
05a3172012 Rename s to httpServer 2022-10-13 23:30:04 +02:00
Luis Ángel San Martín
be0c0ff341 Rename Startup class to YACReaderHttpServer 2022-10-13 23:24:35 +02:00
Luis Ángel San Martín
f11f3f1858 Use Qt::endl 2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
5aa02a19bb clang-format 2021-10-18 21:56:52 +02:00
Luis Ángel San Martín
64478ca63f Typo 2021-01-28 19:54:10 +01:00
Luis Ángel San Martín
d96d01d963 Fix launch sequence to avoid http port collisions 2021-01-25 15:48:15 +01:00
Felix Kauselmann
4a654c38c0 Headless server: Add support for setting a port from commandline
Manual editing of a config file for setting a port is not ideal.
Solution: add a set-port command to save a port and also a
--port option to allow setting a temporary port during startup
2020-08-29 18:21:06 +02:00
Felix Kauselmann
1af613663c Fix QsLog setup in Library and LibraryServer
The calls changed, so we need to adapt them.
2020-08-20 17:41:56 +02:00
Luis Ángel San Martín
251dc92fc4 Use QString for string operations 2019-08-24 11:11:57 +02:00
Luis Ángel San Martín
5e0b1a9f1d Use the build number in code 2019-08-24 11:11:55 +02:00
Luis Ángel San Martín
e3ec56aa43 Format code using clang-format 2019-05-30 19:46:37 +02:00
Felix Kauselmann
0e9a3a6407 Stop QtWebApp from eating out debug messages
QtWebapp installs a custom logger/message handler which reroutes all
debug messages to it's custom logger class.

As the default logging level for QtWebApp's logger is set to "critical"
this means that all debug messages are sent to nirvana. Solution:
Replace QtWebApp's messageHandler with our own (using QsLog).
2018-08-04 12:31:34 +02:00
Felix Kauselmann
afad6c7ab7 Add parser option for setting loglevel to YACReaderLibrary and YACReaderLibraryServer 2018-08-04 12:31:34 +02:00
Felix Kauselmann
d5a11fb16b Add .gitattributes rules for text and binary handling 2018-07-30 15:04:04 +02:00
Luis Ángel San Martín
c593e3570d Add the ability to update libraries to new versions in the headless server
It checks the libraries on the start up. It will block the app until everyting it is ready. C
2018-04-28 10:24:10 +02:00
Luis Ángel San Martín
b41884d5db Merge 2018-04-14 10:24:19 +02:00
Felix Kauselmann
218f34bf75 YACServer: add help for start command 2018-02-16 15:23:13 +01:00
Felix Kauselmann
31c1b95319 Don't use QCoreApplication as a pointer when it can be avoided 2018-02-16 15:16:14 +01:00
Felix Kauselmann
f9ed9b19b5 Code cleanup for main.cpp files
Remove ancient OS detection code, unneeded includes and ugly workarounds.
2018-02-12 22:30:19 +01:00
Felix Kauselmann
d99a6cb44f YACReaderLibraryServer: Add help text for 'list-libraries' command 2018-01-28 20:19:30 +01:00
Felix Kauselmann
efaccfe9af Headless server: remove redundant argument parsing 2018-01-28 13:56:27 +01:00
Felix Kauselmann
660f711cd8 Headless server: no need to create a fresh parser for every option 2018-01-28 13:34:52 +01:00
Felix Kauselmann
2cbbf8d433 Headless server: simplify system config logger 2018-01-28 13:32:56 +01:00
Luis Ángel San Martín
f149f314e0 Merge 2017-08-26 16:54:10 +02:00
Luis Ángel San Martín
d6898e9a4e Fixed data base info retrieving through DBHelper, value(QString) should never be used because it is really slow. All items sorting should be done at db level or using std::sort. 2017-08-26 16:16:11 +02:00