Commit graph

430 commits

Author SHA1 Message Date
Dpeta
82c7be4516
Timeout capability negotiation after 5 seconds when waiting on SASL. 2023-02-28 23:32:35 +01:00
Dpeta
2a65361c92
Add post-connection SASL authentication (not used rn) 2023-02-25 18:18:19 +01:00
Dpeta
f8c3dd3b35
Add basic pre-registration SASL authentication.
Unfinished, currently breaks nickserv auto-identify when switching handles.
2023-02-25 04:46:59 +01:00
Dpeta
62f3e21bd4
Don't subscript Qt signals (unsubscriptable-object) 2023-02-25 02:34:30 +01:00
Dpeta
595252a3d3
Add alternian text 2023-02-23 02:17:32 +01:00
Dpeta
d3c9b8eedf
Move profileChanged behavior to mainwindow 2023-02-19 21:38:00 +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
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
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
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
05769e4ff2
Fix connecting to wrong server by making the choose gui even worse 2023-02-13 20:57:16 +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
7e782fd5b2
Run lints through black 2023-02-13 01:34:13 +01:00
Dpeta
c1dd4bd23c
Fix remaining pylint errors. (and disable a few sillies...) 2023-02-13 01:21:14 +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
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
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
e8a283ad99
Add documentation to incoming IRC functions 2023-02-09 23:58:03 +01:00
Dpeta
f3cacb849b
Updated black run 2023-02-09 20:52:26 +01:00
Dpeta
d1e9a5e517
Fix conn 2023-02-09 15:46:46 +01:00
Dpeta
9d7ffee465
Pretty functional now!! 2023-02-03 22:46:48 +01:00
Dpeta
17c04b9f12 Move seccomp and no_new_privs into one block. 2023-01-30 19:55:31 +01:00
Dpeta
ee5ec83339 Allow disabling seccomp and update documentation. 2023-01-30 19:55:31 +01:00
Dpeta
7dafe38c72 Split seccomp filters off into low-risk call blacklist and optional whitelist, also set no_new_privs bit on Linux. 2023-01-30 19:55:31 +01:00
Dpeta
a4caa2065d Make the seccomp filter more restrictive :3 2023-01-30 19:55:31 +01:00
Dpeta
6c3d5dbb21 Add seccomp option on Linux via libseccomp Python bindings. 2023-01-30 19:55:31 +01:00
Dpeta
3ae70e4fe0
More aggressive autoflake 2023-01-14 23:10:19 +01:00
Dpeta
30569d4a95
Run autoflake 2023-01-14 23:05:38 +01:00
Dpeta
5b6d5d153f
Run all scripts through "pyupgrade --py38-plus" 2023-01-14 23:02:08 +01:00
Dpeta
7e1b096be5
Reformat with black and move console.py 2023-01-14 22:52:30 +01:00
Dpeta
bc4af153af
Fix Pylint errors and further disable console, as it is unmaintained.
Remove osVer function from ostools

Remove isOSXLeopard

only use chum.handle

Fix bad except error

Comment out console related function

fix fix* except order

fallback if i is not defined for log

fix console

Explicitly define nick() to appease pylint

Comment out connect_cb, it's unused for pchum rn

e is unsubscribable

Explicitly define 'simple' irc commands

fix exceptions part 2

fix send

Explicitly define lastmsg as None on init

iterate through copy or urls

Comment out console for not as it's unmaintained
2023-01-14 22:50:11 +01:00
Dpeta
8aa6a90f55
Select and remove servers based on index instead of 'server' 2022-12-23 17:10:31 +01:00
tautology system
32c4b2ca40
fixing pref bug in macOS version (#107)
* fixing pref bug in macOS version

* Update pesterchum.py
2022-12-22 21:57:10 +01:00
Dpeta
5981a27817 Only send time on JOIN if time isn't CURRENT.
CURRENT/'i' should be taken as the default anyway, and it's much much less spammy like this.
With large memos it's very easy to trigger flood protection if every handle sends a TIME>i whenever someone joins.
2022-11-17 11:34:17 +01:00
Dpeta
c77f585e3a Merge remote-tracking branch 'refs/remotes/origin/main' 2022-11-17 08:42:33 +01:00
Dpeta
340ef73380 Minor linting 2022-11-17 08:42:10 +01:00
unknown
a2648f5be3 Warn if running as admin/root 2022-11-16 09:34:25 +01:00
Dpeta
5cbf2eb917 Check if relevant variables are not None before ping 2022-11-02 03:32:06 +01:00
Dpeta
fc08a442fa Add command-line options to pyinstaller.py for automated building, finish pyqt5 multimedia sound, fix incorrect arguments in pyinstaller.py+setup.py 2022-10-08 14:30:56 +02:00