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
Daenyth
347d30a84b
Merge branch 'master' of git://github.com/mbruker/Cockatrice
2013-02-27 12:36:14 -05: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
Daenyth
af09d0d294
Reject more invalid usernames from clients.
...
Specifically this should cover people connecting with a username of
"\u200C"
2012-07-25 00:12:35 -04:00
Max-Wilhelm Bruker
a1e35ccda5
servatrice: create correct game ids when not using a database
2012-07-17 18:47:00 +02:00
Max-Wilhelm Bruker
80439762cf
hide login passwords from server log; call logDebugMessage in S_PH thread instead of Server thread
2012-06-03 19:23:15 +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
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
13b992cf12
show ban duration in client
2012-03-31 12:07:25 +02:00
Max-Wilhelm Bruker
542fd2c5c8
added menu item: game->game information, issue #1 fixed
2012-03-24 22:09:06 +01:00
Max-Wilhelm Bruker
af8e357487
improved code for automatic joining of persistent games; disconnecting + reconnecting works as it should with ISL
2012-03-18 21:57:21 +01: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
c9b66e4239
more ServerNetwork code
2012-03-04 19:23:43 +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
c6c6a970c6
interface & client tab for replay transfer
2012-02-25 19:33:44 +01:00
Max-Wilhelm Bruker
d50d179b2f
server-side replay support
2012-02-20 22:13:48 +01:00
Max-Wilhelm Bruker
ff3eb9b5f4
display reason for ban to banned user
2012-01-01 19:38:52 +01:00
Max-Wilhelm Bruker
c4eb7ba6cf
PB: more client files compile
2011-12-30 22:29:57 +01:00
Max-Wilhelm Bruker
d3b96b1a88
PB: server compiles again, standalone RemoteClient is able to log in
2011-12-30 21:50:25 +01:00
Max-Wilhelm Bruker
1455c093cc
store sessions in database
2011-12-04 13:36:53 +01:00
Max-Wilhelm Bruker
ef42c7518a
added argentina to countries
2011-07-05 12:44:39 +02:00
Max-Wilhelm Bruker
05ebb83ba4
improved banning; added [url] and [card] tags for chat
2011-06-25 21:21:19 +02:00
Max-Wilhelm Bruker
461a62e0c8
LocalServer crash fix
2011-05-08 17:56:52 +02:00
Max-Wilhelm Bruker
38b31681e2
changed leave game shortcut, server cleanups, added max_games_per_user
2011-04-21 01:52:09 +02:00
Max-Wilhelm Bruker
6d5b29395c
mutex and ghost games fixes
2011-03-29 23:54:08 +02:00
Max-Wilhelm Bruker
45890b836b
added send buffer to limit socket operations to one thread
2011-03-22 20:45:18 +01:00
Max-Wilhelm Bruker
57f9e2c3b4
user banning
2011-03-03 01:16:13 +01:00
Max-Wilhelm Bruker
6145d6d524
chat flood protection (yet untested)
2011-03-02 19:39:38 +01:00
Max-Wilhelm Bruker
3bb1d9a1de
force users to log out their unregistered session after logging in with a new registered account
2011-03-02 17:18:44 +01:00
Max-Wilhelm Bruker
0afdbc7222
more work on buddy&ignore
2011-03-01 21:04:45 +01:00
Max-Wilhelm Bruker
102e246c6d
login consistency fix; limit length of user names to 35
2011-02-23 23:46:18 +01:00
Max-Wilhelm Bruker
acac5addd6
initial commit: buddy list, ignore list
2011-02-20 16:47:13 +01:00
Max-Wilhelm Bruker
78d81ae65a
room stuff and minor fixes
2011-01-03 19:01:49 +01:00
Max-Wilhelm Bruker
d8d4563292
initial commit for rooms
2010-12-24 02:21:00 +01:00
Max-Wilhelm Bruker
6b0c644d2f
server status information table
2010-11-16 17:28:14 +01:00
Max-Wilhelm Bruker
e597325ec3
implemented direct chat
2010-09-18 23:47:39 +02:00
Max-Wilhelm Bruker
f9446f9822
generalized user information
2010-09-18 21:05:28 +02:00
Max-Wilhelm Bruker
daf1fa18aa
server shouldn't update client ping in local games
2010-09-09 03:41:01 +02:00
Max-Wilhelm Bruker
5ff099f4bc
more code for local playing
2010-08-14 17:01:14 +02:00
Max-Wilhelm Bruker
befafa28ae
Fixed elevation of spectator rights; added some spectator options; closes bug 0000005
2010-05-26 21:36:54 +02:00
Max-Wilhelm Bruker
5efb92e2d6
game inactivity timeout
2010-01-31 17:29:59 +01:00