Commit Graph

316 Commits

Author SHA1 Message Date
Benau
d4f7d6baaa Don't show the polling log if currently server 2018-07-20 15:46:07 +08:00
Benau
3b2acf01eb Add m_disable_sending_log to request to hide logging for server polling 2018-07-11 10:56:28 +08:00
Benau
b6edc0d93f Add --disable-polling for hosting multiple servers on 1 machine
Only 1 instance of STK server needs keep polling the addon server,
the rest can be run with the above option
2018-07-07 12:50:04 +08:00
Benau
efd20966e4 Fix #3066 by make sure cert location is handled in main thread 2018-07-07 12:33:30 +08:00
QwertyChouskie
5d34488adc Donate and reset password buttons (#3252)
* First version of donation link and password reset buttons
The register screen still needs to be tweaked, though the GUI engine seems to be limted here.
Maybe dynamicly delete/re-create the widget?

* Fix mingw compilation

* Remove dead code

* minor cleanup

* Error handling, tweaks

* Fix ifdef for macOS

* Disable donate button on Android

* Use stk-config

* Implement LinkHelper::isSupported, fixes
2018-06-19 19:59:54 -04:00
auria.mg
81aedd6582 FIx #2912 2018-06-10 19:09:36 -04:00
Benau
ca039b13ff Add observeExistence for request until porting request to shared_ptr 2018-06-06 13:23:48 +08:00
Benau
b43a5e4d18 Add AES encryption and validation for wan player 2018-06-02 12:28:29 +08:00
Benau
dac7158ce0 Show WAN server owner if it's localhost or friends' 2018-03-23 13:41:07 +08:00
Benau
3bbec8aa27 Initial work on lobby redesign 2018-03-12 00:18:53 +08:00
Benau
d5c1ac30ab Fix signin leaking 2018-03-05 16:34:15 +08:00
Benau
4ab04bc546 Don't overwrite user id and token if using client-server 2018-03-05 13:52:04 +08:00
Benau
18eb0a613a Allow non-saved password user to create wan server 2018-02-28 15:05:34 +08:00
Benau
c5cf87071c Use xmlEncode for proper unicode handling 2018-02-25 14:32:38 +08:00
auria.mg
8d565fba11 Unicode fix 2018-02-24 21:38:31 -05:00
Deve
48d94e10a7 Use separate os name for android stats 2017-10-07 21:37:59 +02:00
deve
fea3b1b3e5 Set curl nosignal option.
It fixes the crash under cygwin and should also fix a crash when c-ares/threaded resolver are not available in curl library.
Fixes #2753
2017-01-25 10:28:48 +01:00
Deve
e707b7a2ea Remove pthread_setcancelstate functions.
This function is not available on android and it is default on other platforms anyway.
It makes easier to port changes from master to android branch.
2016-11-11 14:11:27 +01:00
Nado
25a4aa565a Reduce variables scope when possible, based on the warnings reported by
cppcheck.
2016-10-04 08:55:01 +02:00
auria.mg
894a38f6c7 Fix empty popup when no lan server detected 2016-03-31 20:40:42 -04:00
hiker
68e37c902f Merge remote-tracking branch 'origin/master' into refactor_networking 2015-12-15 22:52:55 +11:00
Benau
7fccddb734 Show "Fribidized" user name and enable input for it 2015-12-14 02:56:42 +08:00
hiker
1969ee0b1f Set a name for each thread in VS. 2015-12-09 08:55:46 +11:00
deve
94d5c19b7f Fixed compiler warnings.
The winsock2.h header should be always included before windows.h header (or we should define WIN32_LEAN_AND_MEAN). It's because windows.h header includes also winsock.h header and there is possible conflict between winsock and winsock2.

I didn't test in on Visual Studio yet. I hope there is no WIN32_LEAN_AND_MEAN redefinition errors...
2015-12-03 14:59:54 +01:00
hiker
af9018ea64 Moved Server and ServersManager into network directory. 2015-11-12 17:52:04 +11:00
hiker
6716dfce97 Removed unnecesary #include. 2015-11-12 12:04:36 +11:00
hiker
5fc830825f Refactoring: Created a separate NetworkConfiguration class which stores
all information to create the STKHost.
2015-11-12 09:53:12 +11:00
hiker
51411a796a Minor refactoring of lan handling, added client's ip address and port
to the answer from the client (which can later be used when the
client requests a connection from a server).
2015-11-10 17:00:47 +11:00
hiker
833c20ceff Added comment. 2015-11-10 08:34:45 +11:00
hiker
8953547305 Store TransportAddress of server in servers data structure. Avoid
copying the currently connected server, instead avoid modifying the
server data structure while while a client is connected to a server.
2015-11-10 08:31:07 +11:00
hiker
3a9576f109 Removed unnecessary #include. 2015-11-10 08:11:03 +11:00
hiker
0074550f57 Fixed typo. 2015-11-10 08:09:05 +11:00
hiker
0a23198be1 Cosmetic changes only. 2015-11-10 08:08:41 +11:00
hiker
453ce8cf60 Added LAN server discovery. 2015-11-09 20:51:00 +11:00
hiker
60f550e9d1 Fixed coding style, removed unnecessary #include in hpp file. 2015-11-06 16:50:58 +11:00
hiker
eab07b31dd Hide RefreshRequest class. 2015-11-02 16:14:38 +11:00
hiker
c0817d29d3 Minor coding style update. 2015-11-02 09:16:09 +11:00
hiker
f0c04a8bef Started to support LAN servers in the GUI (wip). 2015-10-10 12:13:32 +11:00
hiker
a66af6dc91 Cosmetic changes for coding style. 2015-10-09 16:47:18 +11:00
Marianne Gagnon
64b4b7a2f2 Don't try to navigate to another screen when a dialog is open, fixes #2265 2015-08-24 18:56:50 -04:00
hiker
fa1ed0240f Fix #2270 (crash on startup). 2015-08-14 16:50:37 +10:00
Marianne Gagnon
fac5d6550b Fix use-after-free bug in profile management 2015-08-06 19:40:41 -04:00
hiker
8d07d26c25 Updated (c) year to include 2015. 2015-03-30 11:42:50 +11:00
hiker
08b1fc01f0 Fix error if files are downloaded using https (as happened because of
a server misconfiguration). Add details about the certificate if the
URL contains https (and not only if it's not a downloaded file, i.e.
it is a request with an xml answers that is read from memory).
2015-03-03 16:03:38 +11:00
hiker
e56b4e33bc Show login screen with error message if automatic login did not work.
If user has left main menu screen, an error notification message is displayed.
For #1778.
2015-02-23 23:06:29 +11:00
Marianne Gagnon
e6aea6e0b6 Improve tools and usage of XML encoding, fixes #1982 2015-02-14 18:30:23 -05:00
hiker
11f233938d Cherry picked pull request #1917. 2015-02-13 08:26:25 +11:00
hiker
f6542194d8 Fixed line length. 2015-02-13 08:16:38 +11:00
Daniel Butum
769eaf4742 Log API requests that do not return success 2015-02-12 10:47:14 +02:00
Daniel Butum
f18167d345 Fix abortable requests which in turn fixes the sending of the 'client-quit' request to the server when quiting 2015-01-22 17:56:30 +02:00