Commit Graph

  • 5050a1154f Improve main thread logging, commit stop_flag master Xevion 2022-06-12 16:11:14 -05:00
  • 7cdafc7eb0 Improve and document ClientHandler.receive function Xevion 2022-06-12 16:07:41 -05:00
  • 8537eeced6 Add server-side flag-based thread stopping with socket timeouts Xevion 2022-06-12 16:03:31 -05:00
  • 66dd219b78 Improve README with build/development details Xevion 2022-06-12 15:27:54 -05:00
  • bcf852d5aa Handle KeyboardInterrupt properly in server mainthread Xevion 2022-06-12 15:27:13 -05:00
  • 64a5dd8c20 Move shared constants, exceptions & helpers.py into /shared/ Xevion 2022-06-12 13:17:26 -05:00
  • 724c0f9c4d Create makefile for building executable Xevion 2022-06-12 13:07:42 -05:00
  • 87003032f7 Switch from requirements.txt to pipenv Xevion 2022-06-12 12:22:55 -05:00
  • 88012d50a9 Ignore all *.db files Xevion 2022-06-12 12:21:51 -05:00
  • 65b9e3d8b0 Small code beauty/clarity edits & improvements Xevion 2021-11-14 13:45:10 -06:00
  • 5a6824f3a9 Simplify SQLite database table creation Xevion 2021-05-30 16:30:14 -05:00
  • 0aa78628de Update README Xevion 2021-05-30 13:13:24 -05:00
  • a49b2fe903 Move pyqt5 generated UI classes into ./client/ui/ Xevion 2021-02-21 13:14:19 -06:00
  • c51e573155 change GUI label to statusbar, imports/docs cleanup Xevion 2021-01-27 11:40:47 -06:00
  • 7410dbb01d implement ABC classes getting rid of duplicate code Xevion 2021-01-27 09:14:51 -06:00
  • 6bb302d2fc attepting to add promoted qstatusbar, auto-trigger validation on nickname input Xevion 2021-01-26 14:15:20 -06:00
  • b9df9a9ae6 create baseclass Database and create new ClientDatabase alongside renamed ServerDatabase class, table construction Xevion 2021-01-26 12:00:24 -06:00
  • ce0c17b827 requirements.txt update Xevion 2021-01-25 12:11:53 -06:00
  • 5f2b2aa733 update dialog to accept faker default nickname launch sys.argv, prepare_json fix typehint/arg name, commit sizeof helper func, update launch.py for new client/main.py Xevion 2021-01-25 12:11:41 -06:00
  • 9c3bc4378a docs and TODO, remove old nickname dialog code, cleanup, remove refresh_connections timer/func, logging setLevel change, server.main use constants DEFAULT IP/PORt Xevion 2021-01-25 12:06:58 -06:00
  • 66d85369e1 add test connection button disabling, fix DEFAULT port constant, fix gui closeEvent issues, test launching after connectionDialog Xevion 2021-01-25 12:05:02 -06:00
  • 628aaea937 fix QStatusBar not updating, ConnectionOptions namedtuple settings func, Connect button basic logic, DEFAULT_IP/PORT Xevion 2021-01-25 11:36:23 -06:00
  • 9f317f3b96 new ConnectionDialog for managing server settings, nickname and password profile with input validation, statusbar tips Xevion 2021-01-25 11:25:58 -06:00
  • 0dcfa234ad fix help command without argument, change from default DEBUG level to individually configured, comments/docs/formatting, improved imports, remove REFRESH CLIENT LIST request Xevion 2021-01-22 14:35:54 -06:00
  • e862540e14 data transfer stats, remove status bar, change all client.send to custom in-between method Xevion 2021-01-22 12:06:30 -06:00
  • 82a408072d fix message adding/removing with textBox total refresh, compiled message formats, add proper html escaping, separate ReceiveWorker into worker.py Xevion 2021-01-22 11:19:22 -06:00
  • 35bff4b320 greatly improve client logging with dict/signal based inter-thread communication, better exception handling via try/except, attempt to improve window closing Xevion 2021-01-22 09:59:05 -06:00
  • 53faae4154 improve logging/exceptions for data reception, new exceptions.py file Xevion 2021-01-22 09:39:16 -06:00
  • 12917edaa4 switch back to threading for global information object access, implement thread-by-thread database connections with thread locking mechanisms Xevion 2021-01-22 09:38:46 -06:00
  • 3c4d5115f2 message history exchange implementation, include database message IDs with all messages sent Xevion 2021-01-21 15:54:27 -06:00
  • da5d7597fe improve message recording, use try/finally cur cursor closing, on-demand cursor creation Xevion 2021-01-21 15:52:00 -06:00
  • aa0b37cdaf improve message data extraction and recording, improve connection refreshing/message history processing after nickname sent Xevion 2021-01-21 15:51:08 -06:00
  • 25b1f9f92a update .gitignore for database, update requirements.txt for webcolors Xevion 2021-01-21 12:00:31 -06:00
  • 4c3870ae70 new sqlite3 database for recording messages by clients and server Xevion 2021-01-21 12:00:02 -06:00
  • 50ddf83ed7 switch to multiprocessing, attempt to improve KeyboardInterrupt handling (or add it, actually) Xevion 2021-01-21 11:59:11 -06:00
  • 7185d1d1ae separate some basic client handling functions into BaseClient, remove mention of 'message' in socket data transfer functions Xevion 2021-01-21 11:58:02 -06:00
  • 303f08b712 command name argument lower, ensure client is properly removed from main.py all_clients Xevion 2021-01-20 23:37:06 -06:00
  • 76ec0fd75b fix QTextEdit not clearing properly, use minimum contrast in initial client color selection, MINIMUM_CONTRAST constant Xevion 2021-01-20 23:36:23 -06:00
  • fd7cf3bdec new Color class replacing bare hex strings, WCAG contrast ratio and relative luminance functions, allow automatic selection of more ideal contrasting colors Xevion 2021-01-20 23:24:48 -06:00
  • c3bb1f1fee improve constants file documentation Xevion 2021-01-20 23:02:45 -06:00
  • 097f42092e better command processing with CommandHandler, two commands; /Reroll and /Help Xevion 2021-01-20 22:35:36 -06:00
  • 2bad0e62bb reformat handling to use available broadcast_message functions, split logic into separate functions, send tracebacks to logger Xevion 2021-01-10 12:51:17 -06:00
  • 51f22ddd48 cleanup and remove unusued/old files Xevion 2021-01-10 12:41:17 -06:00
  • 92c53aa8a8 improve nickname dialog (add text, placeholder), fix > 3 letters check, close dialog with window properly Xevion 2021-01-10 12:41:03 -06:00
  • b517d9d775 fix launch, adjust how main.py starts Xevion 2021-01-10 12:40:07 -06:00
  • 065a4dc313 create improved server/client commandline launching method Xevion 2021-01-10 11:44:31 -06:00
  • 8027a80196 reorganizing oserver.py into proper folder, creating client class for organization and clarity Xevion 2021-01-10 11:32:19 -06:00
  • eacc839ce9 add custom logging with clients marked via thread name Xevion 2021-01-09 17:13:08 -06:00
  • 1baf1b9cd9 fix order of command processing, add helper function for sending messages Xevion 2021-01-09 15:08:56 -06:00
  • 7c8d1c0d67 add LICENSE Xevion 2021-01-09 13:19:38 -06:00
  • 67236d2aa8 Improved formatting of users with colors, distinguishing of server messages, more message info Xevion 2021-01-09 13:16:32 -06:00
  • ab1c14adb5 commit rest of old client/server fixes Xevion 2021-01-08 18:52:25 -06:00
  • b792d9cb9c switch to type/request based JSON messages, improve GUI, add proper nickname dialog Xevion 2021-01-08 18:42:03 -06:00
  • 390595c0e2 small reorganization to old client/server, client fixed and sending messages to server Xevion 2021-01-08 15:06:52 -06:00
  • 4dc14d118b nearly finished client GUI with listening support Xevion 2021-01-08 14:28:01 -06:00
  • e754221aac modified versions of text based server/client that handle extremely large messages Xevion 2021-01-08 14:26:43 -06:00
  • 9167dde1d7 repo init Xevion 2020-12-28 11:19:01 -06:00