Commit Graph

21057 Commits

Author SHA1 Message Date
James Le Cuirot
e1601b1ae0
CMake: Add option to use system Squish library
The system version was preferred before but it wasn't possible to
explicitly disable it, making its use automagic, which is bad for
packaging.
2019-05-13 22:52:33 +01:00
Benau
86bc8bd877 Add country code info to submit ranking 2019-05-14 01:04:20 +08:00
Benau
07e490c038 Make sure protocol only started once 2019-05-14 00:25:01 +08:00
Benau
8027df6373 Fix possible enet packet leaking 2019-05-14 00:07:40 +08:00
Benau
7ee774118b Move validation checking to sendPacketToAllPeersWith 2019-05-13 15:41:15 +08:00
Benau
bb65ba927e Always discard unknown synchronous message instead of keeping it
Synchronous message can only be EVENT_TYPE_MESSAGE anyway
2019-05-13 14:02:04 +08:00
Benau
fff6c1d51f Add success status to player who reports 2019-05-13 13:25:43 +08:00
Benau
5b6b38346c Clean up protocol manager 2019-05-13 12:02:21 +08:00
Benau
0912758d0e Get a copied list of protocols to prevent long time locking 2019-05-12 15:43:11 +08:00
Benau
b0695b08a5 Use mono time for event arrival time 2019-05-12 14:33:48 +08:00
Benau
d7bffa4ade Check again for max players if it's pending connection
Should fix #3874
2019-05-12 13:39:16 +08:00
Benau
4fe2fc5f58 Add last session player info if sqlite supports window functions 2019-05-12 13:04:43 +08:00
Benau
21322fdf9e Allow showing full country info in views 2019-05-11 10:16:38 +08:00
Benau
d47cdac279 Fix server only build 2019-05-11 08:27:24 +08:00
Benau
b3bbe934d4 Sort full stats with connected_time
So newest connection come first in sql viewer
2019-05-11 07:53:38 +08:00
Benau
480ce07ae0 Show player location if available from server 2019-05-11 01:47:45 +08:00
Benau
1b5c0fbabe Add localized country name handling 2019-05-11 01:11:48 +08:00
Benau
b2ad140a78 Add tools to generate localized country name 2019-05-11 01:06:48 +08:00
Benau
81dafa44d2 Use sqlite3_busy_handler to allow writing lock waiting 2019-05-10 20:14:36 +08:00
Benau
b10b2948c3 Fix copy and paste typo 2019-05-10 16:49:38 +08:00
Benau
f54af02b45 Use sqlite3_open_v2 with SQLITE_OPEN_SHAREDCACHE 2019-05-10 16:16:09 +08:00
Benau
66c34c7443 Always call sqlite3_finalize to avoid deadlock 2019-05-10 15:35:02 +08:00
Benau
21a23dc9e6 Add optional ip geolocation table support 2019-05-10 11:35:04 +08:00
Benau
005418d611 Use sqlite3_bind_text to allow special characters in text 2019-05-10 09:30:02 +08:00
Benau
ef9b80e5af Add server uid to player reports table 2019-05-10 01:31:38 +08:00
Benau
44618c2a52 Rename to country code for a better name 2019-05-10 00:43:21 +08:00
Benau
a569d1f823 Clear expired player reports if necessary 2019-05-09 16:23:07 +08:00
Benau
bf3466d4d1 Write report info to table 2019-05-09 15:45:02 +08:00
Benau
65e53f19e5 Add framework for reporting player 2019-05-09 14:36:47 +08:00
Benau
fce5827c7d Allow using empty ban table name to disable its functionality 2019-05-09 13:09:50 +08:00
Benau
c90d32e35d Add easySQLQuery for simple sql query 2019-05-09 12:29:29 +08:00
Benau
c38278fbc1 Add report_player network capabilities 2019-05-09 11:22:19 +08:00
Benau
bb3566ac81 Add report player function in dialog 2019-05-09 10:04:19 +08:00
Benau
e97e84f194 Fix #3907 2019-05-08 14:19:49 +08:00
Benau
7113c4bcec Fix typo 2019-05-08 13:04:12 +08:00
Benau
a2b951d769 Add per minute database cleanup 2019-05-08 12:51:50 +08:00
Benau
569042afa4 Fix powerup zipper fire missing in remote karts 2019-05-07 16:17:28 +08:00
auria.mg
e0d7e58bda Add credit for donator who wishes to be listed in the credits 2019-05-06 19:43:38 -04:00
Alayan
83d5c07046 Cleaner sorting code for 3SB kart rank 2019-05-06 20:56:19 +02:00
Benau
6f8d0892a2 Fix sign of time with mono clock 2019-05-06 16:41:29 +08:00
Benau
ebf95ee958 Use monotonic clock to avoid system time changes 2019-05-06 15:17:19 +08:00
Benau
2bfa7dd5f8 Add first and last played time to player stats view 2019-05-06 14:45:11 +08:00
Benau
ab9e8b7dcf Add some useful default view from stats table 2019-05-06 12:52:29 +08:00
Benau
f34e0e9dc0 Hide rewind queue warnings if not connection debug 2019-05-06 12:26:11 +08:00
Benau
9e06fe9b6f Add current query to error log message 2019-05-06 01:16:27 +08:00
Benau
932b17a7e5 Don't show verbose player info in log if database management 2019-05-06 00:52:11 +08:00
Benau
f6e8ff2936 Add server stats table and writing handling 2019-05-06 00:46:29 +08:00
Benau
f397064850 Remove old ban list 2019-05-06 00:20:30 +08:00
Benau
bcc3aef4c8 Add sqlite3 for ip / online id ban table 2019-05-06 00:19:58 +08:00
Benau
7d19ccaad8 Make controller events conditional wait to avoid being stalled 2019-05-05 15:46:59 +08:00