Luis Ángel San Martín
756c514712
Do not generate the qr code if the server is off
2023-06-18 10:42:38 +02:00
Luis Ángel San Martín
579281aacc
Add an Android link to the server dialog info
2023-04-29 09:23:30 +02:00
Luis Ángel San Martín
37f1b49164
Remove commented code
2023-04-29 09:22:41 +02:00
Luis Ángel San Martín
76347060c7
Update dialog info when it is shown
2023-04-29 09:06:13 +02:00
Luis Ángel San Martín
9b196a655a
Remove obsolete setting that doesn't have any effect
2023-04-29 08:54:31 +02:00
Luis Ángel San Martín
1a0b9da8d7
Do not accept empty values for the server port in the server settings dialog
2023-04-08 12:31:15 +02:00
Felix Kauselmann
c100edfcd0
Move network interface filtering to separate file
2023-04-07 20:22:49 +02:00
Felix Kauselmann
9f67bb5e53
Server: Port IP detection and filtering to QNetworkInterface
2023-04-07 20:22:49 +02:00
Felix Kauselmann
8f631763ce
Replace libqrencode with nayuki/QR-Code-generator
2023-03-25 11:06:17 +01:00
Luis Ángel San Martín
35466e5080
Fix crash caused by clearing the ip value
...
ip is connected to regenerateQR
2022-11-17 22:53:08 +01:00
Felix Kauselmann
17b0d357b1
QRencode: Add fallback for Linux distros that don't provide unversioned library symlinks
2022-10-15 15:26:19 +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
565bc3a5d0
Replace all uses of devicePixelRatio with devicePixelRatioF
2022-01-14 19:22:50 +01:00
Luis Ángel San Martín
2dbfc6cab5
Simplify connection from QComboBox
...
All we want is the new text after it changes.
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
8173f9f94c
Use setContentsMargins instead of setMargin
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
5aa02a19bb
clang-format
2021-10-18 21:56:52 +02:00
Felix Kauselmann
f1e4396dc5
YACReaderLibrary: Convert a bunch of widgets/dialogs to new slot syntax
2021-06-29 13:53:12 +02:00
Felix Kauselmann
8377de7c3e
Clazy: Use fixits to refactor some old style signal connections
2021-06-29 13:53:12 +02: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
Luis Ángel San Martín
4126fc71c3
Remove unused variables
2019-06-01 16:04:48 +02:00
Luis Ángel San Martín
bb334cfd50
Use auto to avoid duplicating the type name
2019-06-01 16:04:48 +02:00
Luis Ángel San Martín
e3ec56aa43
Format code using clang-format
2019-05-30 19:46:37 +02:00
Felix Kauselmann
d5a11fb16b
Add .gitattributes rules for text and binary handling
2018-07-30 15:04:04 +02:00
Felix Kauselmann
39a626625d
MacOS: Replace qrencode executable with dynamically loaded libqrencode.
2018-03-30 14:40:54 +02:00
Felix Kauselmann
89ed9508ec
Replace qrencode with libqrencode (and do some code cleanup)
2018-03-10 11:22:03 +01:00
Felix Kauselmann
2cbbf8d433
Headless server: simplify system config logger
2018-01-28 13:32:56 +01:00