Commit Graph

16 Commits

Author SHA1 Message Date
Xevion
8537eeced6 Add server-side flag-based thread stopping with socket timeouts 2022-06-12 16:03:31 -05:00
Xevion
64a5dd8c20 Move shared constants, exceptions & helpers.py into /shared/ 2022-06-12 13:17:26 -05:00
Xevion
65b9e3d8b0 Small code beauty/clarity edits & improvements
New code documentation, insignificant code refactors etc.
2021-11-14 13:45:10 -06:00
Xevion
b9df9a9ae6 create baseclass Database and create new ClientDatabase alongside renamed ServerDatabase class, table construction 2021-01-26 12:00:24 -06:00
Xevion
0dcfa234ad fix help command without argument, change from default DEBUG level to individually configured, comments/docs/formatting, improved imports, remove REFRESH CLIENT LIST request 2021-01-22 14:35:54 -06:00
Xevion
53faae4154 improve logging/exceptions for data reception, new exceptions.py file 2021-01-22 09:39:16 -06:00
Xevion
12917edaa4 switch back to threading for global information object access, implement thread-by-thread database connections with thread locking mechanisms 2021-01-22 09:38:46 -06:00
Xevion
3c4d5115f2 message history exchange implementation, include database message IDs with all messages sent 2021-01-21 15:54:27 -06:00
Xevion
4c3870ae70 new sqlite3 database for recording messages by clients and server 2021-01-21 12:00:02 -06:00
Xevion
7185d1d1ae separate some basic client handling functions into BaseClient, remove mention of 'message' in socket data transfer functions 2021-01-21 11:58:02 -06:00
Xevion
303f08b712 command name argument lower, ensure client is properly removed from main.py all_clients 2021-01-20 23:37:06 -06:00
Xevion
76ec0fd75b fix QTextEdit not clearing properly, use minimum contrast in initial client color selection, MINIMUM_CONTRAST constant 2021-01-20 23:36:23 -06:00
Xevion
fd7cf3bdec new Color class replacing bare hex strings, WCAG contrast ratio and relative luminance functions, allow automatic selection of more ideal contrasting colors 2021-01-20 23:24:48 -06:00
Xevion
097f42092e better command processing with CommandHandler, two commands; /Reroll and /Help 2021-01-20 22:35:36 -06:00
Xevion
2bad0e62bb reformat handling to use available broadcast_message functions, split logic into separate functions, send tracebacks to logger 2021-01-10 12:51:17 -06:00
Xevion
8027a80196 reorganizing oserver.py into proper folder, creating client class for organization and clarity 2021-01-10 11:32:19 -06:00