Commit Graph

262 Commits

Author SHA1 Message Date
hiker
e1c07b3e2c Fixed memory leak. 2014-12-14 12:30:21 +11:00
hiker
c0c4357331 Switch from IP address to addons.supertuxkart.net (including new
certificate).
2014-12-10 23:53:47 +11:00
hiker
f0ddaa50a5 Removed option to disable CURLOPT_SSL_VERIFYPEER, since it's not needed
anymore.
2014-12-10 12:55:32 +11:00
hiker
93b4aa15c2 Disable CURLOPT_SSL_VERIFYHOST on OSX, since it doesn't work (with
osx's curl version at least).
2014-12-10 12:23:35 +11:00
hiker
83f49ec319 Merge remote-tracking branch 'origin/master' into new_server
Conflicts:
	src/online/http_request.cpp
2014-12-10 11:25:16 +11:00
hiker
48593534a5 Added certificate for our vps. 2014-12-05 13:57:27 +11:00
hiker
60cde7e63d Added option to disable peer verification in curl. This might help
on some platforms (osx) with authentication problems.
2014-12-04 16:43:57 +11:00
hiker
d1fc8d53f4 Added error checking when setting the certificate to connect to our server. 2014-12-04 11:39:56 +11:00
Flakebi
46f3fa5f74 Merge branch 'upstream/master' into perPlayerDifficulties
Conflicts:
	data/gui/options_ui.stkgui
	src/graphics/stkmesh.cpp
	src/states_screens/options_screen_ui.cpp
2014-10-26 17:47:29 +01:00
hiker
3372d06759 Removed unused files. 2014-10-24 10:22:27 +11:00
Flakebi
57afd1d585 Merge remote-tracking branch 'origin/master' into perPlayerDifficulties, this time the right branch...
Conflicts:
	data/gui/user_screen.stkgui
	data/gui/user_screen_tab.stkgui
	src/graphics/glwrap.cpp
	src/graphics/weather.cpp
	src/states_screens/user_screen.cpp
2014-10-20 22:36:54 +02:00
hiker
17fd8df935 Fixed assert statement. 2014-10-08 08:25:42 +11:00
hiker
d5bc5ec110 Fix #1605: crash when downloading friends and achievements at the same time. 2014-10-08 08:00:58 +11:00
hiker
b2e6a4387a Fixed linux compilation. 2014-10-07 23:15:27 +11:00
hiker
ed7a114f5f Fix #1583: flushing entries from the online profile cache would
make friend lists of other progiles incomplete. Also increased cache
size to 100.
2014-10-07 16:52:18 +11:00
Flakebi
47da30dd24 Merge remote-tracking branch 'upstream/master' into perPlayerDifficulties 2014-09-30 19:22:18 +02:00
hiker
6cdce11fb7 Fix #1576 (crash when viewing other online user's friends). 2014-09-29 22:42:51 +10:00
hiker
48d99086f1 Fix $1569 (allow adjusting of polling interval from server via news.xml
or polling response data).
2014-09-25 17:04:36 +10:00
Flakebi
2cf9707294 Merge branch 'upstream/master' into perPlayerDifficulties
Conflicts:
	src/states_screens/kart_selection.cpp
I hope I got everything
2014-09-24 17:58:12 +02:00
hiker
c28728d903 Removed more compiler warnings for 64 bit windows compilation. 2014-09-23 16:23:22 +10:00
Flakebi
a31ec772ff Replace accidently placed tabs 2014-09-02 03:57:48 +02:00
hiker
fe62df253d Exit quicker if a request is being executed when stk is quit. 2014-08-18 22:43:26 +10:00
hiker
b2a936c8cd Fix crash caused when downloading requests for icons were still
executing at game end.
2014-08-18 22:42:27 +10:00
hiker
40224a85f6 For old server change actions change-password to change_password
and 'recover' to 'recovery'. Removed unused API::VERSION.
2014-08-11 21:56:13 +10:00
hiker
93fcb9a2a7 Added server-version configuration, which supports the GSOC server (version 2).
Made version 1 compatible with the 0.8.1 stkaddon server (i.e. all commands
are sent to client-user.php, and receive the actual command as 'action' parameter).
2014-08-11 14:10:01 +10:00
Daniel Butum
28f7a45664 Do not show password_confirm field in the output when registering 2014-08-05 19:40:56 +03:00
Daniel Butum
c6c0c6e590 Rename some API calls 2014-08-05 19:12:56 +03:00
Daniel Butum
c10ca31452 Use new API paths when calling the stk server 2014-08-04 21:55:56 +03:00
Daniel Butum
b3f9f9f407 Refactor online namespace. Define api php file names from a single place 2014-08-04 18:41:47 +03:00
Vincent Lejeune
bd7babe11f Rename cpp2011.h 2014-07-29 00:35:43 +02:00
konstin
ce7da4b237 running whitespace.py 2014-07-08 20:59:34 +02:00
hiker
6231e618d8 Added new message system to show achievements in race (and not as a
dialog later). Work in progress ... it doesn't look particulary nice yet ;)
2014-06-23 09:13:44 +10:00
hiker
a50177c96a Removed messages.?pp files (and used the strings directly where they
are needed).
2014-06-16 22:05:50 +10:00
hiker
6425befc5e Synchronise achievements from a local account to an online account. 2014-06-13 23:27:52 +10:00
Flakebi
de4e45280b Remember password better 2014-06-06 11:31:52 +02:00
Flakebi
cd8c27cbec Save 'remember-password' setting per user 2014-06-05 22:07:00 +02:00
hiker
e3513b10c6 Merge branch 'master' of https://github.com/Flakebi/stk-code into Flakebi-master 2014-06-05 08:23:47 +10:00
hiker
8960b79181 Wait for request_manager to be ready to be deleted (i.e. current request
have been properly aborted, and sign out done). Also shut down more of
STK after signaling the request manager to shut down, so that the user does
not notice the time for the sign out. Also added docs.
2014-06-05 07:56:51 +10:00
Flakebi
af6c121a22 Run whitespaces.py 2014-06-04 15:10:20 +02:00
hiker
49a9ac54d5 Added a 'non-abortable' flag to the signout request. Re-enabled cancelling
ongoing downloads to allow for a quicker exit of STK.
2014-06-04 17:05:35 +10:00
hiker
b18d7e75ac Rewrote insertionSort to only require operator< (no >),
and removed the unnecessary operators.
2014-05-28 21:41:07 +10:00
hiker
0494cc3164 1) Fixed saving of sessions ('save-session=1' was sent instead of
'save-session=true').
2) Made logout request same priority as stk-quit request, which means
that the logout request will executed before the quit, resulting
in players properly being marked as logged out.
2014-05-27 23:44:25 +10:00
hiker
36d705f021 Added 'always-show-login-screen' option, moved 'remember-password'
option from UI-options to UserScreen.
2014-05-27 15:36:44 +10:00
hiker
63bbf6e092 Converted files to standard unix format. 2014-05-24 12:00:25 +10:00
hiker
de8c6ac8b8 When a player logs in with an online account, reset any other saved
session for this online account (since these token are now invalid).
2014-05-22 08:21:41 +10:00
hiker
f4688fa621 Added support to change the online account for the same player. 2014-05-22 08:12:55 +10:00
hiker
498c6b46db Removed m_save_session, some code cleanup. 2014-05-22 07:44:26 +10:00
hiker
8441dbbd32 Fixed saving login credentials. It's now possible to switch
user (and automatically a logout and login is triggered).
2014-05-20 22:13:26 +10:00
hiker
40564534d2 Fixed callbacks in case of using the tabbed version of the UserScreen. 2014-05-17 12:17:19 +10:00
hiker
6f4579d55d Only auto-login player if last time they played they were online. 2014-05-17 12:05:49 +10:00