Commit graph

411 commits

Author SHA1 Message Date
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
MiguelX413
a51e4dd69e
Reformat codebase (#97)
* Reformat codebase with black

* Create black.yml and add black style badge to README.md
2022-10-07 22:51:40 +02:00
Dpeta
c8a8097673 Prefer PyQt6 QtMultimedia as an audio backend + misc. log/comment/doc corrections 2022-10-03 15:39:13 +02:00
Dpeta
82c0d38a3b System time change check, cli fallback, ":distraughtfirman" --> ":distraughtfirman:" 2022-09-10 15:27:21 +02:00
Dpeta
2ea1ceaeee working directory fix 2022-09-07 12:23:04 +02:00
Dpeta
ef0898e8c7 getopt --> argparse, redid logging, code cleanup 2022-09-06 13:26:14 +02:00
Dpeta
45320c9bea Update color field 2022-09-06 00:11:45 +02:00
Dpeta
a906b6a98e Validate certificates when using SSL/TLS 2022-09-02 05:34:37 +02:00
Dpeta
b549645a50 replaced sys.modules checks with try: PyQt6, except: PyQt5 2022-09-01 06:55:08 +02:00
unknown
3f267898d4 Missing folder warning 2022-08-19 16:52:43 +02:00
Dpeta
a2ce2d09e4 PyQt5 fallback 2022-08-19 13:12:58 +02:00
Dpeta
085efda62b Refresh userlist on nick change 2022-08-17 11:24:50 +02:00
Dpeta
3d740658b0 App-level keepalive 2022-08-14 20:44:28 +02:00
Dpeta
f78a9f97ac cleanup 2022-08-07 17:38:45 +02:00
Dpeta
1419c4985e QtMultimedia for audio + .pos fix 2022-07-08 22:36:23 +02:00
Dpeta
39aaa1a49f .pos() --> .position().toPoint() & ver. 2022-07-08 10:54:22 +02:00
Dpeta
b90c258604 Miscellaneous fixes/changes incl. loadingscreen fix (v2.4.1) 2022-07-05 21:45:16 +02:00
Dpeta
4e2035408c Error when failing to join memo, services notices, no toast icon fill by default 2022-06-30 09:59:34 +02:00
Dpeta
6ffcc59b91 Exception hook overwrite 2022-06-30 04:24:56 +02:00
Dpeta
b18d4c9aee further pyqt6 changes, version, linux/macos color fix 2022-06-29 01:50:08 +02:00