Commit graph

23 commits

Author SHA1 Message Date
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
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
unknown
a2648f5be3 Warn if running as admin/root 2022-11-16 09:34:25 +01: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
ef0898e8c7 getopt --> argparse, redid logging, code cleanup 2022-09-06 13:26:14 +02:00
Dpeta
a2ce2d09e4 PyQt5 fallback 2022-08-19 13:12:58 +02:00
unknown
263e125aa8 AppLocalDataLocation 2022-06-29 02:40:30 +02:00
Dpeta
2576be41aa PyQt5 --> PyQt6 💚 2022-06-27 04:18:37 +02:00
Dpeta
082c0c9c2b 🧹🪣 Mostly pyflakes recommendations. 2022-04-11 05:57:13 +02:00
Dpeta
9d0f074bbe Changes to imports, contants, shebang, luaquirks, pynotify, oyoyo.
- Removed unnecessary imports.
    - Reorganized import order.
    - Removed legacy import conditions.
    - Added python3 shebang to pesterchum.py
    - Set QString to always be str, Python 2 is not supported.
    - Depreciated luaquirks.
    - Added ValueError to write exception block
    - Set "pynotify" to always be none, even if pynotify succesfully imported, since pynotify implementation is broken.
2022-03-20 00:48:19 +01:00
Dpeta
475b849049 1/9 2021-03-23 22:36:43 +01:00
karxi
d653af0fa4 Revert "Port code to PyQt5"
This reverts commit abe9342c4f.

That is to say, it reverts the PyQt5 port.
2016-11-13 01:14:39 -05:00
karxi
5d839aae47 Revert "python 2 to 3 first shot"
This reverts commit 7bc57b8b7d.

Practically speaking, this reverts the Python 3 changes, since they're
broken.
2016-11-13 01:12:58 -05:00
illuminatedwax
7bc57b8b7d python 2 to 3 first shot 2014-10-29 02:57:49 -05:00
illuminatedwax
abe9342c4f Port code to PyQt5 2014-10-29 01:06:21 -05:00
Kiooeht
9e4b1a4d32 Possible temporary fix for non-ascii usernames 2012-02-15 22:29:57 -08:00
Stephen Dranger
24fbb6c7d3 str() -> unicode()
Conflicts:

	pesterchum.py
2011-12-20 19:06:23 -08:00
Kiooeht
b4518a225c Fix for non-ascii usernames 2011-12-06 11:23:23 -08:00
Kiooeht
3de6d8b397 Use data directory on all OSs 2011-11-28 21:15:19 -08:00
Lexi
7c530aaf7a Hopefully made it so leopard users can actually use Pesterchum. 2011-09-24 17:36:21 +08:00
Kiooeht
884a736c23 Get OS version, stop conflict between sys.platform and platform module 2011-08-23 02:28:58 -07:00
Lexi
c0d590759b Made animated smilies show up as static in OSX bundles so they actually show up 2011-08-11 09:59:51 +01:00
Lexi
98b681fa56 Created ostools module to unify OSX integration and made everything use it. 2011-08-11 09:17:53 +01:00