Commit Graph

32 Commits

Author SHA1 Message Date
Xevion
82a408072d fix message adding/removing with textBox total refresh, compiled message formats, add proper html escaping, separate ReceiveWorker into worker.py 2021-01-22 11:19:22 -06:00
Xevion
35bff4b320 greatly improve client logging with dict/signal based inter-thread communication, better exception handling via try/except, attempt to improve window closing 2021-01-22 09:59:05 -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
da5d7597fe improve message recording, use try/finally cur cursor closing, on-demand cursor creation 2021-01-21 15:52:00 -06:00
Xevion
aa0b37cdaf improve message data extraction and recording, improve connection refreshing/message history processing after nickname sent 2021-01-21 15:51:08 -06:00
Xevion
25b1f9f92a update .gitignore for database, update requirements.txt for webcolors 2021-01-21 12:00:31 -06:00
Xevion
4c3870ae70 new sqlite3 database for recording messages by clients and server 2021-01-21 12:00:02 -06:00
Xevion
50ddf83ed7 switch to multiprocessing, attempt to improve KeyboardInterrupt handling (or add it, actually) 2021-01-21 11:59:11 -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
c3bb1f1fee improve constants file documentation 2021-01-20 23:02:45 -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
51f22ddd48 cleanup and remove unusued/old files 2021-01-10 12:41:17 -06:00
Xevion
92c53aa8a8 improve nickname dialog (add text, placeholder), fix > 3 letters check, close dialog with window properly 2021-01-10 12:41:03 -06:00
Xevion
b517d9d775 fix launch, adjust how main.py starts 2021-01-10 12:40:07 -06:00
Xevion
065a4dc313 create improved server/client commandline launching method 2021-01-10 11:44:31 -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
Xevion
eacc839ce9 add custom logging with clients marked via thread name 2021-01-09 17:13:08 -06:00
Xevion
1baf1b9cd9 fix order of command processing, add helper function for sending messages 2021-01-09 15:08:56 -06:00
Xevion
7c8d1c0d67 add LICENSE 2021-01-09 13:19:38 -06:00
Xevion
67236d2aa8 Improved formatting of users with colors, distinguishing of server messages, more message info 2021-01-09 13:16:32 -06:00
Xevion
ab1c14adb5 commit rest of old client/server fixes 2021-01-08 18:52:25 -06:00
Xevion
b792d9cb9c switch to type/request based JSON messages, improve GUI, add proper nickname dialog 2021-01-08 18:42:03 -06:00
Xevion
390595c0e2 small reorganization to old client/server, client fixed and sending messages to server 2021-01-08 15:06:52 -06:00
Xevion
4dc14d118b nearly finished client GUI with listening support 2021-01-08 14:28:01 -06:00
Xevion
e754221aac modified versions of text based server/client that handle extremely large messages 2021-01-08 14:26:43 -06:00
Xevion
9167dde1d7 repo init 2021-01-08 11:19:01 -06:00