Dpeta
7c8e682c36
Merge pull request #122 from Dpeta/str_typecasts_and_qstring
...
Remove most unnecessary str() typecasts and just use 'str' for Qt slots/signals
2023-02-19 21:20:12 +01:00
Dpeta
2398b5a626
Remove most unnecessary str() typecasts.
2023-02-19 21:10:35 +01:00
Dpeta
69f409b9d1
Remove most unnecessary str typecasts from pesterchum.py
2023-02-19 20:06:59 +01:00
Dpeta
f6c5c1e804
Replace QString with str
2023-02-19 19:36:53 +01:00
Dpeta
70ea19e839
"QString" --> str
2023-02-19 19:04:16 +01:00
Dpeta
a7f266c382
Still request caps in IRC compatibility mode
2023-02-17 20:45:09 +01:00
Dpeta
756099f753
Revert "Check if audio device is output"
...
This reverts commit 7f63c09141
.
2023-02-17 20:29:37 +01:00
Dpeta
7f63c09141
Check if audio device is output
2023-02-17 20:21:29 +01:00
Dpeta
ed87c797ba
Fix PyQt5 compatibility
2023-02-17 19:41:13 +01:00
Dpeta
1d4e34d9e0
Add option for choosing audio output device.
2023-02-17 19:23:59 +01:00
Dpeta
13f120b029
Use enumerate instead of range+len for loops.
2023-02-17 02:22:50 +01:00
Dpeta
ab614f636e
Chain iterators in gradient.py and add comments to quirks/ scripts
2023-02-17 00:50:30 +01:00
Dpeta
129d26532f
Comment out broken tag types.
...
( Fixes a possible remote exception trigger :"3 )
2023-02-17 00:12:34 +01:00
Dpeta
7172db6151
Merge pull request #120 from Dpeta/irc-mode2
...
- Adds an "IRC compatibility mode" toggle in settings, which stops the clients from sending any Pesterchum-unique syntax/commands. This replaces low latency mode as they both result in leaving the #pesterchum channel.
- Adds a toggle to force valid initials on all incoming messages, this breaks doc scratch roleplayer text without initials if enabled.
- Renames the 'Connection' tab in options to 'IRC'.
Enabling both of these should make chatting on a normal IRC server with Pesterchum manageable.
2023-02-16 23:55:16 +01:00
Dpeta
ec0c6cdaf9
Finish up IRC compatibility & force-valid-prefix toggle
2023-02-16 23:45:55 +01:00
Dpeta
3f7caf73b2
Add force prefix option
2023-02-15 23:41:46 +01:00
Dpeta
938cf69b85
Add IRC compatibility mode (only disables things for now . . .)
2023-02-15 23:41:45 +01:00
Dpeta
ccf462d8a8
Merge pull request #119 from Dpeta/refactoring
...
Enforce more pylint messages (mainly refactoring)
2023-02-15 17:52:50 +01:00
Dpeta
64538b2644
Use isinstance() for typechecks.
2023-02-15 17:01:27 +01:00
Dpeta
370685f6b3
Remove AttrDict and enable pylint typecheck message category.
...
The AttrDict class had Python 2 leftovers which the linter flagged and isn't really necessary anyway, plus it wasn't licensed under the GPL.
2023-02-15 16:34:48 +01:00
Dpeta
9ec4dbd088
Apply the following pylint messages:
...
- use-list-literal
- use-dict-literal
- consider-using-in
- consider-using-from-import
2023-02-14 19:55:23 +01:00
Dpeta
05769e4ff2
Fix connecting to wrong server by making the choose gui even worse
2023-02-13 20:57:16 +01:00
Dpeta
1d872f89bd
Merge pull request #118 from Dpeta/lint-warnings
...
Enforce select pylint messages
2023-02-13 20:30:18 +01:00
Dpeta
e233a86436
Enforce select pylint messages
2023-02-13 20:26:05 +01:00
Dpeta
b6cc63a0df
Rename 'profile.py' to avoid conflict with the standard library 'profile' module.
2023-02-13 17:43:48 +01:00
Dpeta
bd292b4d80
Fix kicking/banning not working
2023-02-13 16:36:44 +01:00
Dpeta
ee0ca6f7ed
Merge pull request #117 from Dpeta/linting-two-and-knuckles
...
Add pylint workflow (errors-only) and fix remaining pylint errors
2023-02-13 02:52:55 +01:00
Dpeta
076735cbb0
Add pylint workflow
2023-02-13 02:46:31 +01:00
Dpeta
7e782fd5b2
Run lints through black
2023-02-13 01:34:13 +01:00
Dpeta
4ff69b300c
Add .pylintrc file
2023-02-13 01:33:47 +01:00
Dpeta
c1dd4bd23c
Fix remaining pylint errors. (and disable a few sillies...)
2023-02-13 01:21:14 +01:00
Dpeta
ca992feb21
Merge pull request #116 from Dpeta/network-integration-testing
...
Rewrite networking and IRC handling
2023-02-12 22:56:55 +01:00
Dpeta
708d4539b8
Final irc.py linting
2023-02-12 22:43:25 +01:00
Dpeta
639ece578e
Fix away
2023-02-12 21:13:02 +01:00
Dpeta
da8e6ddbf7
Request twitch membership capability
2023-02-12 20:54:41 +01:00
Dpeta
14935a23ce
Add connection password support (+ PASS)
2023-02-12 20:34:17 +01:00
Dpeta
34dacaea70
Fix outdated PesterIRC args (+black)
2023-02-12 18:29:21 +01:00
Dpeta
3326d7af50
Partially revert _mode changes
2023-02-12 17:26:54 +01:00
Dpeta
b5899d3a0c
fix GETMOOD and remove non-functional ctcp quirk disable
2023-02-12 02:28:31 +01:00
Dpeta
9040ad0419
Further IRC linting/formatting
2023-02-12 01:25:06 +01:00
Dpeta
1157e49d9e
Make IRC functions/slots snake_case
2023-02-12 01:12:42 +01:00
Dpeta
8d91b18369
Add documentation to IRC slots
2023-02-12 00:54:11 +01:00
Dpeta
1d4d1dbab6
IRC rewrite continued
...
- Make functions for handling incoming IRC commands private where possible.
- Add a few checks for input validation
- Rewrite CTCP handling.
2023-02-12 00:36:36 +01:00
Dpeta
fbe8f48d63
Split SendIRC, parse_irc_line, and get_ssl_content off into appropriate files
2023-02-10 02:33:01 +01:00
Dpeta
2c278c00fa
Make send method private
2023-02-10 01:48:47 +01:00
Dpeta
c88a58a5a2
Add oyoyo license notice, do further linting
2023-02-10 01:29:23 +01:00
Dpeta
5f50f6420f
Cleanup and remove python 2 QString == str
2023-02-10 00:14:33 +01:00
Dpeta
e8a283ad99
Add documentation to incoming IRC functions
2023-02-09 23:58:03 +01:00
Dpeta
8e2fd225a5
Linting
2023-02-09 21:20:42 +01:00
Dpeta
8f0933ba68
Autoflake irc.py
2023-02-09 21:06:20 +01:00