71a7a07274
Add DB_VERSION to keep track of DBs versions
...
This will make easy to track compatibility with a certain DB structure across different flavors of YACReader. It will only change when the DB structure changes.
2023-08-06 08:55:55 +02:00
68ece533e1
Replace Q_OS_MAC with Q_OS_MACOS
2023-06-04 20:55:11 +02:00
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
ea38f60c7c
Fix build
2023-04-07 20:58:38 +02:00
f8f25c396f
YACReaderLibraryServer: Print QR code and basic server info on start
2023-04-07 20:24:59 +02:00
9f67bb5e53
Server: Port IP detection and filtering to QNetworkInterface
2023-04-07 20:22:49 +02:00
6d94efac14
Fix yacreaderlibraryserver compiltaion
2023-04-07 11:01:24 +02:00
250c48848c
setAllocationLimit is Qt6 only
2022-12-12 22:07:30 +01:00
7fed222cb7
Format
2022-12-12 21:53:07 +01:00
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
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
97bef77251
Format
2022-10-29 11:25:21 +02:00
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
862c220069
Add libarchive decompression backend
2022-08-31 09:32:23 +02:00
788a3ef434
Update simplified Chinese.
...
Add traditional Chinese (Hong Kong, Taiwan).
2022-07-06 15:54:54 +02:00
b0b0849cbc
Extract DEFINES += NOMINMAX into common config.pri
2021-12-29 09:36:44 +01:00
1c3fd4d16f
Do not pass MSVC arguments to mingw/gcc
2021-11-02 11:02:32 +01:00
f11f3f1858
Use Qt::endl
2021-10-19 00:00:09 +02:00
8bcea9cc8d
Enable core5compat in YACReaderLibraryServer
2021-10-19 00:00:09 +02:00
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
5aa02a19bb
clang-format
2021-10-18 21:56:52 +02:00
0a3ffe4e11
Fix YACReaderLibraryServer build
2021-09-27 17:06:02 +02:00
6f182b2bb3
Extract CONFIG += c++11 into common config.pri
2021-02-18 19:49:43 +01: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
c13ec618d0
Move QsLog to third_party directory
2020-08-20 17:41:56 +02:00
41ccef1060
Fix possible memleaks occuring when passing nonexistent dirs to console library creator. ( #132 )
2020-07-02 20:28:53 +02:00
704a12d6a9
YACReaderLibraryServer: Don't disable Qt debug output.
2019-10-06 16:02:20 +02:00
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
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
607b7b4d6f
Remove QMAKE_MAC_SDK from all projects
2019-08-24 11:11:50 +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
6542162293
Fix YACReaderLibraryServer compilation for v2
2018-04-28 10:24:38 +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
aca67f2b2a
merged - develop
2018-03-03 23:36:29 +01:00
4f779f7e22
yacreaderlibrary_ru.ts
...
Minor corrections in Russian translation.
2018-02-24 18:15:09 +00: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