Fabio Bas
0f58e8bcde
Servatrice: reuse prepared statements
2015-01-29 13:47:55 +01:00
Michael Callahan
3a0c86938c
Clean up a small pile of compiler warnings.
2014-12-30 15:54:38 -07:00
woogerboy21
3c513b4bfc
moved code logic to callling function & indent fix
2014-11-18 16:55:19 -05:00
woogerboy21
44a302a2d6
added trusted sources to servatrice
2014-11-18 15:39:11 -05:00
wcollins
da98d24d8c
added trusted sources to servatrice
2014-11-18 15:09:21 -05:00
Fabio Bas
22af789c9e
Servatrice: log to console authentication method on startup
2014-10-07 17:04:22 +02:00
Fabio Bas
15555c16fd
Fix servatrice's regonly mode
2014-10-06 22:56:09 +02:00
Fabio Bas
0d9eec4b64
Servatrice: added authentication type "password"
2014-10-04 17:50:01 +02:00
Fabio Bas
b348068369
Servatrice: Add a default option for every config value
...
add an empty room swell, if none had been defined in the config (or we
are running with no config at all)
2014-10-02 23:11:49 +02:00
Fabio Bas
a1b6600fe1
Servatrice: group all the use of QSettings in a single file
...
and add a method to guess the path of servatrice.ini
2014-10-02 22:37:50 +02:00
woogerboy21
021f0911c4
Merge remote-tracking branch 'upstream/master' into registered-user-only-server
...
Conflicts:
common/server.cpp
common/server_protocolhandler.cpp
servatrice/src/servatrice.cpp
2014-07-18 23:46:56 -04:00
Fabio Bas
d894c53265
Servatrice: fix handling of incoming connections on qt5
2014-07-08 22:05:06 +02:00
woogerboy21
0a1fe7f5a8
Requested Cleanup
...
Corrected tab to 4 space (per request)
Moved regonly option under authentication ini location (per request)
2014-07-02 22:27:05 -04:00
woogerboy21
d246fa39fe
Registered Only Server
...
Implemented the ability to set the server to only allow registered
users. Also updated client to reflect the log-in rejection as well as
put a check in place for the server to not start if db connection is not
available yet registration is required.
2014-07-02 20:52:22 -04:00
Fabio Bas
2953c6ba2a
Ported servatrice
2014-06-24 18:42:46 +02:00
Mark Morschhäuser
05f46011eb
Fix toLatin1() changes from 6fa94dd to toUtf8().
2014-06-20 18:16:46 +02:00
Mark Morschhäuser
6fa94dd475
Qt5: toAscii() and fromAscii() Methods are deprecated
2014-06-20 16:55:26 +02:00
Max-Wilhelm Bruker
ae01144547
added thread names
2013-01-27 16:40:30 +01:00
Max-Wilhelm Bruker
c65f327e71
server crash fixes
2013-01-27 15:15:27 +01:00
Max-Wilhelm Bruker
d5ccda49a1
server code cleanup
2013-01-23 11:51:59 +01:00
Max-Wilhelm Bruker
43d7cf6a1a
removed recursive lock in server; moved object serialisation to worker thread
2012-10-14 13:19:03 +02:00
Max-Wilhelm Bruker
e326f9613a
added numberPools=0 option to make server unthreaded
2012-06-24 23:49:10 +02:00
Max-Wilhelm Bruker
d7e7606104
fixed 'open deck in deck editor' option in game, fixed freeze when closing local game
2012-05-28 19:34:07 +02:00
Max-Wilhelm Bruker
9d0133bae6
fix for older Qt versions
2012-05-28 19:01:29 +02:00
Max-Wilhelm Bruker
520300dc86
made server threaded, fixing issue #51
2012-05-28 18:51:58 +02:00
Max-Wilhelm Bruker
b328c1ed4d
database interface separated from server, multiple concurrent database connections are now possible
2012-05-28 16:32:45 +02:00
Max-Wilhelm Bruker
981db47f9e
initial commit for connection pools
2012-05-20 18:47:28 +02:00
Max-Wilhelm Bruker
b9087715bf
fixed issue #42 : make 'client deprecated' message work for v13 client <-> v14 server
2012-05-09 23:13:23 +02:00
Max-Wilhelm Bruker
f7975d8ace
fixed issue #50 : ensure that tcp_nodelay is set
2012-05-09 21:57:06 +02:00
Max-Wilhelm Bruker
7c8b3fc5e3
fixed #45 : Terminate servatrice if critical error in e.g. listen() happens during initialization
2012-05-01 10:58:08 +02:00
Max-Wilhelm Bruker
f553fd7456
some token code
2012-04-05 11:48:13 +02:00
Max-Wilhelm Bruker
13b992cf12
show ban duration in client
2012-03-31 12:07:25 +02:00
Max-Wilhelm Bruker
5db0fcd6ae
cleanups, games work with ISL, now we just need to clean up better when the ISL connection dies
2012-03-18 18:48:14 +01:00
Max-Wilhelm Bruker
c9a8429044
always get next game/replay id from database to avoid id collisions in multi-server mode
2012-03-17 23:01:56 +01:00
Max-Wilhelm Bruker
9706ecd98a
added mutex for RNG, moved game command implementation from S_PH to S_Player in preparation for forwarding of game commands via tunneling interface
2012-03-17 22:26:12 +01:00
Max-Wilhelm Bruker
c23af44749
changed a lot of thread locking code in the server, rooms are working with ISL now
2012-03-17 16:09:00 +01:00
Max-Wilhelm Bruker
572e4eaafa
more ISL code, mutex fixes
2012-03-12 00:36:44 +01:00
Max-Wilhelm Bruker
0ae18d7b2e
more ISL code: join, leave, and userMessage work on both sides
2012-03-11 17:25:45 +01:00
Max-Wilhelm Bruker
5963c2239c
renamed servernetwork to ISL (inter-server link), join/leave is working
2012-03-10 19:02:15 +01:00
Max-Wilhelm Bruker
decf1c04bd
switched NetworkServerThread to new thread creation method, SSL is working
2012-03-10 16:16:31 +01:00
Max-Wilhelm Bruker
0719d4c6ed
client-side SSL works, thread initialization needs fixing
2012-03-04 23:15:39 +01:00
Max-Wilhelm Bruker
c9b66e4239
more ServerNetwork code
2012-03-04 19:23:43 +01:00
Max-Wilhelm Bruker
6bbc76af2b
Merge branch 'devel' into servernetwork
2012-03-04 12:23:22 +01:00
Max-Wilhelm Bruker
a876a0bf5f
tell logged in clients about new replays
2012-03-03 18:10:16 +01:00
Max-Wilhelm Bruker
8481e61e8f
Replays split up, one for each subgame
2012-03-02 20:45:04 +01:00
Max-Wilhelm Bruker
50e53fbe53
initial commit for server network support
2012-02-26 21:00:05 +01:00
Max-Wilhelm Bruker
c6c6a970c6
interface & client tab for replay transfer
2012-02-25 19:33:44 +01:00
Max-Wilhelm Bruker
89bb8e72ee
use 'git describe' to generate version info for the about box and servatrice. fixes issue #20
2012-02-21 01:08:16 +01:00
Max-Wilhelm Bruker
d50d179b2f
server-side replay support
2012-02-20 22:13:48 +01:00
Max-Wilhelm Bruker
eb06d6b4ea
when banning an ip address, terminate the connection of everyone with that address
2012-01-29 20:55:24 +01:00