woogerboy21
17392f1ae5
Moved the RegOnlyRequirement functions out of the Database interface into the proper Server block of code.
2015-08-08 16:24:37 -04:00
woogerboy21
bc99024e4f
Added server side setting to allow the requirement of a client id from clients.
2015-08-08 08:52:19 -04:00
woogerboy21
94942e1a92
Commit to resolve requests made by @Daenyth discussed after the commit.
...
See https://github.com/Cockatrice/Cockatrice/pull/1340 for details.
2015-08-08 08:52:19 -04:00
woogerboy21
52db13a1ca
Initial release of client ID generation.
2015-08-05 10:15:49 -04:00
Fabio Bas
471f6371b5
More work
...
* Refactored code out of common/ into servatrice/
* added smtp client library
* disable registration when connected
* validate email address
* send activation token via email
2015-05-24 23:02:51 +02:00
Fabio Bas
ff1aed717e
Added token generation, user activation command and response.
2015-05-24 00:37:45 +02:00
Fabio Bas
16d9534757
fix for -Werror=unused-parameter
2015-05-23 21:09:29 +02:00
Fabio Bas
5ace0dd892
Almost completed registration
...
* added missing bits of serverside code;
* added fronted in client;
* removed demo python scripts;
2015-05-23 20:13:03 +02:00
Gavin Bises
735fcbf311
Add first draft of protocol extension for registration
...
Stub for registration command handling in server
First draft of handling registration requests
WIP (will be rebased)
clean up bad imports (rebase this later)
Finish checkUserIsBanned method
Add username validity check
Check servatrice registration settings
WIP
Finish(?) server side of registration
Needs testing
Fix switch case compile failure
I have no idea why I have to do this
WIP for registration testing python script
Stub register script initial attempt
Rearrange register script
First try at sending reg
register.py sends commands correctly now
Add more debug to register.py
Pack bytes the right way - servatrice can parse py script sends now
register.py should be working now
Parse xml hack correctly
Log registration enabled settings on server start
Insert gender correctly on register
Show tcpserver error message on failed gameserver listen
Fail startup if db configured and can't be opened.
TIL qt5 comes without mysql by default in homebrew...
2015-05-22 18:55:51 +02:00
Fabio Bas
cd69bc8f9d
Add configuration options to enable database logging
2015-01-01 15:48:53 +01:00
Fabio Bas
c875054fb5
Log messages from rooms, games and chats
2014-12-13 18:43:59 +01:00
Fabio Bas
15555c16fd
Fix servatrice's regonly mode
2014-10-06 22:56:09 +02:00
woogerboy21
6b8ca1e8a2
Cleaned up potential memory leak
2014-08-10 15:48:15 -04: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
arxanas
4e8ba699d2
Tabs to spaces.
2014-07-08 22:53:02 -04: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
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
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
7157963204
removed usleep() call to enable compilation on Windows again
2012-06-02 19:38:31 +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
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
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
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
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
5963c2239c
renamed servernetwork to ISL (inter-server link), join/leave is working
2012-03-10 19:02:15 +01:00
Max-Wilhelm Bruker
dda78661ea
added missing table unlock command
2012-03-10 16:38:00 +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
c6c6a970c6
interface & client tab for replay transfer
2012-02-25 19:33:44 +01:00
Max-Wilhelm Bruker
0c9a2b061c
deck storage is fully working again, cleaned up some unnecessarily large messages
2012-01-02 15:46:14 +01:00
Max-Wilhelm Bruker
ff3eb9b5f4
display reason for ban to banned user
2012-01-01 19:38:52 +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
632e9bbff3
improved banning and deck hashing
2011-11-01 22:44:51 +01:00
Max-Wilhelm Bruker
f38c5f50ef
server crash fix
2011-08-03 16:51:14 +02:00