Fabio Bas
5463255516
Added whitelist for game commands
2015-03-19 10:50:46 +01:00
Fabio Bas
0e437cf13b
Anti flood for game commands
2015-03-14 19:44:32 +01:00
Fabio Bas
c875054fb5
Log messages from rooms, games and chats
2014-12-13 18:43:59 +01: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
Daenyth
347d30a84b
Merge branch 'master' of git://github.com/mbruker/Cockatrice
2013-02-27 12:36:14 -05:00
Max-Wilhelm Bruker
7a30b827c8
changed Server_Room::gamesMutex to QReadWriteLock
2013-02-11 15:43:31 +01:00
Max-Wilhelm Bruker
00029eeeb4
Server_Room optimisation
2013-02-11 15:29:19 +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
2789116d03
fixed cmdDeckSelect (2)
2013-01-12 16:33:29 +01:00
Max-Wilhelm Bruker
cc3760a7df
fixed deadlock condition
2012-11-16 21:42:17 +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
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
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
295cc65dce
minor fix wrt issue #42
2012-05-09 23:25:29 +02:00
Max-Wilhelm Bruker
f6f8ad82b2
server code cleanup
2012-05-01 12:48:59 +02:00
Max-Wilhelm Bruker
e5a0a08569
fixed #43 : add delete button to local dir view in deck storage tab and in remote dir view in replays tab
2012-05-01 12:08:09 +02:00
Max-Wilhelm Bruker
ae19d3dc4b
fixed game list update bug, minor optimizations, restrict client protocol output to QT_DEBUG mode
2012-04-06 17:52:23 +02:00
Max-Wilhelm Bruker
7417236c3a
preliminary AlwaysRevealTopCard support related to issue #31 , server code cleanup (finally removed getGameState)
2012-03-31 21:47:30 +02:00
Max-Wilhelm Bruker
13b992cf12
show ban duration in client
2012-03-31 12:07:25 +02:00
Max-Wilhelm Bruker
adbb607700
Revealing a library to a player now grants that player permission to drag cards out of that library onto his own table. This permission is revoked by shuffling the library. The zone view window tracks content changes of the zone for as long as the permission lasts so that card ID changes are kept track of. This hopefully fixes issues #5 and #12 .
2012-03-24 17:48:25 +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
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
671214c60e
mutex fixes, server shutdown works again
2012-03-17 19:05:22 +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
c9b66e4239
more ServerNetwork code
2012-03-04 19:23:43 +01:00
Max-Wilhelm Bruker
acb03c2bf2
replays expire after two weeks, lock can be toggled to prevent that
2012-03-04 11:35:56 +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
a2778ab129
fixed bug #21 : Players can't draw arrow to avatar icons any more
2012-02-16 21:22:46 +01:00
Max-Wilhelm Bruker
5692addf54
don't send useless information in getGameState; fixed bug that caused an attached card to have undefined coordinates when its parent card was destroyed by conceding or leaving
2012-01-30 00:21:47 +01:00
Max-Wilhelm Bruker
4895f2b4fd
server code cleanup, changed in-game ping event to not use any bandwidth as long as nothing changes
2012-01-29 13:36:43 +01:00
Max-Wilhelm Bruker
16541141bd
Cleaned up decklist code
2012-01-21 16:41:46 +01:00
Max-Wilhelm Bruker
609e3fc41d
converted SetCardAttr attr_name to enum
2012-01-02 20:20:31 +01:00
Max-Wilhelm Bruker
d4aaf9fff5
minor cleanups, server-side deck storage code is working again
2012-01-02 00:11:33 +01:00
Max-Wilhelm Bruker
ff3eb9b5f4
display reason for ban to banned user
2012-01-01 19:38:52 +01:00
Max-Wilhelm Bruker
6344b987de
fixed pw loyalty in oracle, PB code working
2012-01-01 18:15:32 +01:00
Max-Wilhelm Bruker
d5c628966f
PB: everything compiles except for deck storage
2012-01-01 02:48:24 +01:00
Max-Wilhelm Bruker
695fde7541
PB: enough for today
2011-12-31 00:12:46 +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
10018280e5
more PB
2011-12-30 02:03:26 +01:00
Max-Wilhelm Bruker
c5509db251
reasonable defaults
2011-12-19 00:03:05 +01:00
Max-Wilhelm Bruker
f115342e47
local mode is working again
2011-12-18 23:30:53 +01:00
Max-Wilhelm Bruker
38e4781624
fixed packet length calculation bug, re-enabled deck selection
2011-12-18 19:10:47 +01:00
Max-Wilhelm Bruker
314f17091d
protobuf client->server communication almost working
2011-12-18 18:35:14 +01:00
Max-Wilhelm Bruker
4eb9dfc5bf
server-side part of client -> server commands almost converted to ProtocolBuffers. not usable yet
2011-12-04 23:21:31 +01:00
Max-Wilhelm Bruker
1455c093cc
store sessions in database
2011-12-04 13:36:53 +01:00
Max-Wilhelm Bruker
c7ef61f750
moderators can override game restrictions and kick players when spectating; game host privileges shift when host leaves
2011-11-13 13:13:41 +01:00
Max-Wilhelm Bruker
632e9bbff3
improved banning and deck hashing
2011-11-01 22:44:51 +01:00
unknown
0bb4ef8bb8
added deck hashing
2011-10-04 16:55:18 +02:00
unknown
da467468d5
improved facedown moving
2011-09-15 14:19:29 +02:00
unknown
1047ab08e8
added facedown to ServerInfo_Card
2011-09-15 12:24:33 +02:00
unknown
e105c42580
preliminary: moved auto-rejoin code back to login
2011-09-13 16:09:42 +02:00
Max-Wilhelm Bruker
b38f0e2100
extra logging; minor server crash fix
2011-07-11 23:49:54 +02:00
Max-Wilhelm Bruker
c8813bb2aa
extra server logging, server memory leak fixed, m12
2011-07-11 23:01:59 +02:00
Max-Wilhelm Bruker
f10d9c9bec
strip newlines from msg in cmdRoomSay; improved i18n in MessageLogWidget
2011-07-06 18:45:56 +02:00
Max-Wilhelm Bruker
6a77e765a7
Merge branch 'experimental' of git://cockatrice.git.sourceforge.net/gitroot/cockatrice/cockatrice
2011-07-05 01:49:43 +02:00
Max-Wilhelm Bruker
c4a2229ae4
added debug stuff
2011-07-05 01:49:15 +02:00
Max-Wilhelm Bruker
83e2e3666a
server memory leak fixed
2011-07-04 17:14:48 +02:00
Max-Wilhelm Bruker
fd171fa260
servatrice Qt 4.4 compile fix
2011-07-03 17:10:24 +02:00
Max-Wilhelm Bruker
898623f1ba
filter running games; minor server code cleanup
2011-07-03 16:45:52 +02:00
Max-Wilhelm Bruker
abd5425796
finished getGamesOfUser function
2011-07-02 16:43:19 +02:00
Max-Wilhelm Bruker
d5de76ec4a
Merge branch 'master' of ssh://129.217.164.162/home/brukie/cockatrice
2011-07-02 14:36:36 +02:00
Max-Wilhelm Bruker
be12a0b3a9
preliminary showGamesOfUser support
2011-07-02 14:36:10 +02:00
Max-Wilhelm Bruker
a86f6ba5b8
minor change
2011-07-02 02:14:08 +02:00
Max-Wilhelm Bruker
d0e832b069
limit game name length to 50 characters
2011-06-27 14:42:57 +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
4b84168bda
client/server version bump; eventConnectionStateChanged
2011-06-25 17:50:28 +02:00
Max-Wilhelm Bruker
d892d320ea
dynamic compression support
2011-06-25 15:58:38 +02:00
Max-Wilhelm Bruker
a4c3d48389
server shutdown function
2011-06-24 18:45:39 +02:00
Max-Wilhelm Bruker
04a96be84a
fixed doesntUntap bug (with protocol change)
2011-05-27 21:56:16 +02:00
Max-Wilhelm Bruker
808d2a3c01
Event context for mulligans, German translation
2011-05-21 23:48:46 +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
d0b8c6ebd9
changed mutex lock
2011-04-19 04:13:23 +02:00
Max-Wilhelm Bruker
69fce1fb5d
thread fixes
2011-04-18 18:55:35 +02:00
Max-Wilhelm Bruker
9933b219a9
game list mutex in S_PH
2011-04-17 16:31:03 +02:00
Max-Wilhelm Bruker
2d8b12a576
reduced game selector minimum height; server race conditions fixed
2011-04-17 15:46:47 +02:00
Max-Wilhelm Bruker
42ad959220
Merge branch 'master' into experimental
2011-04-06 15:49:20 +02:00
Max-Wilhelm Bruker
6c5dd0b3d1
attach fix
2011-04-05 17:56:40 +02:00
Max-Wilhelm Bruker
6d5b29395c
mutex and ghost games fixes
2011-03-29 23:54:08 +02:00
Max-Wilhelm Bruker
eca941201d
more mutexes
2011-03-22 22:46:15 +01: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
81a5d58d70
more mutexes
2011-03-22 19:37:56 +01:00
Max-Wilhelm Bruker
4548841a93
server crash fix
2011-03-22 18:31:26 +01:00
Max-Wilhelm Bruker
fd7593edc1
improved logging, improved server multithreading
2011-03-22 17:55:20 +01:00
Max-Wilhelm Bruker
29c4c80ddf
server crash fix
2011-03-11 15:35:31 +01:00
Max-Wilhelm Bruker
349a60fb58
concede fix
2011-03-09 15:46:33 +01:00
Max-Wilhelm Bruker
731dfcad5c
kick users out of games
2011-03-03 17:05:44 +01:00
Max-Wilhelm Bruker
d6083a85c7
improved packet loss handling
2011-03-03 02:09:29 +01:00
Max-Wilhelm Bruker
657f97680a
drop disconnected spectators from games instead of keeping them alive
2011-03-03 01:25:11 +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