Commit Graph

26 Commits

Author SHA1 Message Date
555540b85d Fix LibraryCreator instantiation in yacreaderlibraryserver 2022-10-29 09:26:03 +02:00
05a3172012 Rename s to httpServer 2022-10-13 23:30:04 +02:00
be0c0ff341 Rename Startup class to YACReaderHttpServer 2022-10-13 23:24:35 +02:00
f11f3f1858 Use Qt::endl 2021-10-19 00:00:09 +02:00
5aa02a19bb clang-format 2021-10-18 21:56:52 +02:00
64478ca63f Typo 2021-01-28 19:54:10 +01:00
d96d01d963 Fix launch sequence to avoid http port collisions 2021-01-25 15:48:15 +01:00
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
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
251dc92fc4 Use QString for string operations 2019-08-24 11:11:57 +02:00
5e0b1a9f1d Use the build number in code 2019-08-24 11:11:55 +02:00
e3ec56aa43 Format code using clang-format 2019-05-30 19:46:37 +02:00
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
afad6c7ab7 Add parser option for setting loglevel to YACReaderLibrary and YACReaderLibraryServer 2018-08-04 12:31:34 +02:00
d5a11fb16b Add .gitattributes rules for text and binary handling 2018-07-30 15:04:04 +02:00
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
b41884d5db Merge 2018-04-14 10:24:19 +02:00
218f34bf75 YACServer: add help for start command 2018-02-16 15:23:13 +01:00
31c1b95319 Don't use QCoreApplication as a pointer when it can be avoided 2018-02-16 15:16:14 +01:00
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
d99a6cb44f YACReaderLibraryServer: Add help text for 'list-libraries' command 2018-01-28 20:19:30 +01:00
efaccfe9af Headless server: remove redundant argument parsing 2018-01-28 13:56:27 +01:00
660f711cd8 Headless server: no need to create a fresh parser for every option 2018-01-28 13:34:52 +01:00
2cbbf8d433 Headless server: simplify system config logger 2018-01-28 13:32:56 +01:00
f149f314e0 Merge 2017-08-26 16:54:10 +02:00
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