Commit Graph

80 Commits

Author SHA1 Message Date
Felix Kauselmann
9f67bb5e53 Server: Port IP detection and filtering to QNetworkInterface 2023-04-07 20:22:49 +02:00
Luis Ángel San Martín
6d94efac14 Fix yacreaderlibraryserver compiltaion 2023-04-07 11:01:24 +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
Felix Kauselmann
a35cb979e4 Unix: Fix regression in translation install target
The introduction of CONFIG+= lrelease introduced a regression in the
installation of translation files on systems using make install targets.

This is fixed by replacing the old translation targets with the target
supplied by lrelease.

Fixes #349
2022-10-31 13:19:50 +01:00
Luis Ángel San Martín
97bef77251 Format 2022-10-29 11:25:21 +02: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
BEN ENGLISCH
862c220069 Add libarchive decompression backend 2022-08-31 09:32:23 +02:00
tuwulin
788a3ef434 Update simplified Chinese.
Add traditional Chinese (Hong Kong, Taiwan).
2022-07-06 15:54:54 +02:00
Igor Kushnir
b0b0849cbc Extract DEFINES += NOMINMAX into common config.pri 2021-12-29 09:36:44 +01:00
Joan Karadimov
1c3fd4d16f Do not pass MSVC arguments to mingw/gcc 2021-11-02 11:02:32 +01:00
Luis Ángel San Martín
f11f3f1858 Use Qt::endl 2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
8bcea9cc8d Enable core5compat in YACReaderLibraryServer 2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
2de4b26b71 Start supporting Qt6
Everything is broken but we want to start fixing as much as possible
2021-10-19 00:00:08 +02:00
Luis Ángel San Martín
5aa02a19bb clang-format 2021-10-18 21:56:52 +02:00
Luis Ángel San Martín
0a3ffe4e11 Fix YACReaderLibraryServer build 2021-09-27 17:06:02 +02:00
Igor Kushnir
6f182b2bb3 Extract CONFIG += c++11 into common config.pri 2021-02-18 19:49:43 +01: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
Felix Kauselmann
c13ec618d0 Move QsLog to third_party directory 2020-08-20 17:41:56 +02:00
Felix Kauselmann
41ccef1060
Fix possible memleaks occuring when passing nonexistent dirs to console library creator. (#132) 2020-07-02 20:28:53 +02:00
Felix Kauselmann
704a12d6a9 YACReaderLibraryServer: Don't disable Qt debug output. 2019-10-06 16:02:20 +02:00
Felix Kauselmann
e0cce99be0 YACReaderLibraryServer: Default to bundled build.
As the headless server is now part of the default build, we need to
default to a bundled build to avoid packaging problems and confusion
on Linux and other systems using make install.
2019-10-06 16:01:00 +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
607b7b4d6f Remove QMAKE_MAC_SDK from all projects 2019-08-24 11:11:50 +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
6542162293 Fix YACReaderLibraryServer compilation for v2 2018-04-28 10:24:38 +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
Luis Ángel San Martín
aca67f2b2a merged - develop 2018-03-03 23:36:29 +01:00
Anon789
4f779f7e22 yacreaderlibrary_ru.ts
Minor corrections in Russian translation.
2018-02-24 18:15:09 +00: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
e8c6f60c13 Merge 2017-11-26 07:39:08 +01:00
Felix Kauselmann
237cb02638 Fix YACReaderLibraryServer service file and service install path. 2017-11-03 08:32:35 +01:00
Felix Kauselmann
2c914d6579 Support Haiku OS specific libs and compile flags in the build system. 2017-11-03 08:15:46 +01:00