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
Luis Ángel San Martín
fef734d132
Merge pull request #155 from YACReader/bidirectional_sync_support
...
Bidirectional sync support
2020-08-25 23:23:41 +02:00
Luis Ángel San Martín
b64ea19e8b
Use an invalid QVariant to set to NULL a value in the DB
...
nullptr causes troubles in some platforms/compiles
2020-08-25 19:45:05 +02:00
Luis Ángel San Martín
f11a757141
Code format
...
I had to update clang-format
2020-08-25 19:13:43 +02:00
Luis Ángel San Martín
8a99e35cf6
Update CHANGELOG
2020-08-25 19:04:43 +02:00
Luis Ángel San Martín
5bc3ad5014
Send back more recent comic status to the client on sync
2020-08-25 19:03:00 +02:00
Luis Ángel San Martín
2b780e23a4
Make updateFromRemoteClient
return more updated comics
...
So they can be sent back to the client.
2020-08-25 19:01:43 +02:00
Luis Ángel San Martín
fe15bc2ba8
Include "last_time_opened" in JSON serialization
2020-08-25 19:01:03 +02:00
Luis Ángel San Martín
c84fc20419
Reset last time opened when setting a comic as unread
2020-08-25 19:00:21 +02:00
Luis Ángel San Martín
30fd5491a4
Merge pull request #154 from selmf/database_leaks
...
Fix object leaks in database code
2020-08-25 18:57:54 +02:00
Felix Kauselmann
4b3042def4
Fix object leaks in database code
...
Qt's database and query model requires that both the queries and the database
objects are out of scope before a database connection can safely be removed.
Solution: Properly encapsulate databases and queries in "{ }" and use a string
to cache the connection name for out-of-scope removal.
2020-08-25 17:34:46 +02:00
Felix Kauselmann
48a0d64837
Add QtWebApp to third party readme
2020-08-20 18:22:57 +02:00
Felix Kauselmann
1b344d70e5
Update server code integration for QtWebApp 1.7.11
...
- Adapt server code for QtWebapp namespace 'stefanfrings'
- Implement custom modifications needed by v1 controller
via template engine
- Unify iphone and ipad templates
2020-08-20 18:22:57 +02:00
Felix Kauselmann
f8a00605c5
Remove unused QtWebApp logging code
...
We're using QsLog, so there is no need for another logger.
2020-08-20 18:22:57 +02:00
Felix Kauselmann
b9c48cc4b6
Update QtWebapp to 1.7.11
2020-08-20 18:22:57 +02:00
Felix Kauselmann
3de099491f
Move QtWebApp sources to third_party
2020-08-20 18:22:57 +02:00
Felix Kauselmann
fc8c1080da
Add a message handler
...
This ensures that Qt debug messages actually end up in our logfiles,
even if we didn't use QsLog to create them.
2020-08-20 17:41:56 +02:00
Felix Kauselmann
56e6f8fdcc
Allow setting YACReader loglevel from console
2020-08-20 17:41:56 +02:00
Felix Kauselmann
ac4d2f4804
Fix QsLog integration in reader too.
2020-08-20 17:41:56 +02:00
Felix Kauselmann
2f9db87f9b
Document QsLog update
2020-08-20 17:41:56 +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
1568a5f253
Update QsLog to 2.1 snapshot 46b643d5bcbc
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
b9acd13120
Fix code format errors due to changes in default coding style. ( #150 )
2020-07-24 21:17:49 +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
Daniel Dennerkrans
868843df37
fix spelling error in readme.md ( #142 )
2020-07-02 20:23:44 +02:00
Luis Ángel San Martín
092611f0cd
Send read status for imported comics
2020-05-09 22:19:00 +02:00
Felix Kauselmann
75e71a434c
Add badges for our Azure CI jobs. ( #131 )
...
* Add badges for our Azure CI jobs.
2020-04-14 10:22:51 +02:00
Luis Ángel San Martín
e6bc8f38a0
Merge pull request #106 from selmf/export-ignore-update
...
Update export-ignore
2020-04-11 22:02:00 +02:00
Felix Kauselmann
45899b6835
Exclude openssl an 7zip from git export so they don't pollute our source tarballs
2020-04-11 21:26:19 +02:00
Luis Ángel San Martín
60441c3c4a
Merge pull request #130 from YACReader/fix/skip_macos_sign_on_prs
...
Skip macos sign on PRs
2020-04-11 20:29:56 +02:00
Luis Ángel San Martín
3a3c6277ab
Skip macos sign on prs
2020-04-11 19:40:52 +02:00
Luis Ángel San Martín
5688303999
Merge pull request #129 from YACReader/feature/azure-update
...
Update azure pipelines to work on forked repos
2020-04-09 20:22:23 +02:00
Luis Ángel San Martín
4aefd4283d
Install QtScript in Windows
2020-04-09 18:35:01 +02:00
Luis Ángel San Martín
7e19dc8e6a
Update azure pipelines to work on forked repos
...
Use macos catalina too
2020-04-09 18:17:17 +02:00
Jeremy Douglass
15c126fda5
Enable unarr 7z support. Closes #113 ( #115 )
...
* Enable unarr 7z support. Closes #113
2020-02-12 08:38:03 +01:00
Jan Beich
65a77daa75
Explicitly include <sys/socket.h>
...
server_config_dialog.cpp:57:30: error: member access into incomplete type 'struct sockaddr'
if (ifa->ifa_addr->sa_family == AF_INET) { // check it is IP4
^
/usr/local/include/qt5/QtNetwork/qhostaddress.h:50:8: note: forward declaration of 'sockaddr'
struct sockaddr;
^
server_config_dialog.cpp:61:27: error: use of undeclared identifier 'AF_INET'
inet_ntop(AF_INET, tmpAddrPtr, addressBuffer, INET_ADDRSTRLEN);
^
server_config_dialog.cpp:64:37: error: member access into incomplete type 'struct sockaddr'
} else if (ifa->ifa_addr->sa_family == AF_INET6) { // check it is IP6
^
/usr/local/include/qt5/QtNetwork/qhostaddress.h:50:8: note: forward declaration of 'sockaddr'
struct sockaddr;
^
server_config_dialog.cpp:68:27: error: use of undeclared identifier 'AF_INET6'
inet_ntop(AF_INET6, tmpAddrPtr, addressBuffer, INET6_ADDRSTRLEN);
^
2019-11-26 19:03:34 +00:00
Felix Kauselmann
27f52df15c
Azure Pipelines: Fix path environment
2019-11-20 15:57:35 +00:00
Felix Kauselmann
d74d1c52ef
Windows: Use Qt 5.12.6 for CI builds
2019-11-20 15:57:35 +00:00
Felix Kauselmann
0ccdc8073a
Azure Pipelines: Fix Qt path for Windows builds
2019-11-20 15:57:35 +00:00
Felix Kauselmann
bc34ff0448
Azure pipelines: rename 'arquitecture' to 'architecture'
2019-11-20 15:57:35 +00:00
Luis Ángel San Martín
36c1cdd2da
Merge pull request #95 from YACReader/feature/improve_file_association_in_macos
...
Improve file association in YACReader Info.plist
2019-10-20 09:49:39 +02:00
Luis Ángel San Martín
eea96f6fa2
Improve file association in YACReader Info.plist
2019-10-20 09:19:49 +02:00
Luis Ángel San Martín
88ccae7280
Merge pull request #93 from selmf/server_default
...
Fix headless server build defaults
2019-10-06 20:47:59 +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
e5f59ae93f
Merge pull request #91 from prantlf/fix-link-to-releases
...
Fix the hyperlink to project releases in README
2019-10-04 12:10:50 +02:00
Ferdinand Prantl
f834be094e
Fix the hyperlink to project releases in README
...
When clicking on the hyperlink at https://github.com/YACReader/yacreader , it leads to a 404.
2019-10-02 09:26:30 +02:00
Luis Ángel San Martín
1f8be886ec
Add new action to create a new instance of the viewer in macos
2019-09-28 16:55:28 +02:00
Luis Ángel San Martín
f65395c11d
Bump version number
2019-09-28 10:15:17 +02:00