Commit graph

50 commits

Author SHA1 Message Date
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
afac304821
Prefer certifi provided certificates (#108)
Sets the SSL context to use the certifi provided root certificate bundle by default, unless the certifi module is older than a year.

If the system-provided root certificate bundle is empty, certifi certs are always loaded.
2022-12-22 22:03:26 +01:00
Dpeta
25e8deb7f7 Use certifi certificates if default cert store is empty.
Previous behavior was to always load both the certifi certificates and system-provided certificates when availible, now it's strictly a fallback.
2022-12-07 02:01:43 +01:00
Dpeta
15bd1d5681 Use certifi root certificates when available 2022-10-08 21:04:38 +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
ef0898e8c7 getopt --> argparse, redid logging, code cleanup 2022-09-06 13:26:14 +02:00
Dpeta
a906b6a98e Validate certificates when using SSL/TLS 2022-09-02 05:34:37 +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
b90c258604 Miscellaneous fixes/changes incl. loadingscreen fix (v2.4.1) 2022-07-05 21:45:16 +02:00
Dpeta
b18d4c9aee further pyqt6 changes, version, linux/macos color fix 2022-06-29 01:50:08 +02:00
Dpeta
1b479031fd minor network/socket changes 2022-06-16 20:25:24 +02:00
Dpeta
5c4d21640d recv/send excepts + disconnect reasons 2022-06-13 04:03:39 +02:00
Dpeta
979173c33d PESTERCHUM: via TAGMSG (incl. Client Capability Negotiation + Message Tags) 2022-06-06 02:05:00 +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
cb1e2e051e Access parent, fixes for last few commits 2022-03-18 13:50:35 +00:00
Dpeta
c13c05f51d experimenting with sockets 2022-03-18 09:55:01 +00:00
Dpeta
e6ad257479 Attonement for massacring this library (wip) 2022-03-17 03:14:46 +00:00
unknown
2fced8122e Attempt at fixing up logging 2021-12-01 18:29:17 +01:00
Dpeta
5b4673e0dd Rewrote some aspects of channel mode management 2021-08-24 15:49:50 +02:00
BuildTools
7fdd7f3bd9 Changed some depreciated functions & imports 2021-04-22 17:42:24 +02:00
BuildTools
8122133244 _datadir is now defined in client.py 2021-04-11 15:16:37 +02:00
BuildTools
8f6121ea90 Moved a few files to _datadir : ) 2021-04-09 02:38:34 +02:00
BuildTools
bed5581187 Theme changes, mostly. 2021-04-09 01:14:54 +02:00
Dpeta
fb1ad83e92 w.i.p. server prompt
also fixed command-line overrides :)
2021-04-06 19:06:51 +02:00
BuildTools
dbe018e9e1 ssl.CERT_NONE so ssl is usable for most people :) 2021-03-26 16:02:31 +01:00
Dpeta
e07e685522 Changed the way Pesterchum quits + TLS fix. 2021-03-25 23:08:08 +01:00
BuildTools
65d016bd36 Socket SSL attempt (No hostname validation) 2021-03-24 20:51:33 +01:00
Dpeta
475b849049 1/9 2021-03-23 22:36:43 +01:00
karxi
3a48cf204b General cleanup. Stopped using older 'except Error, var' syntax. 2016-11-29 15:20:41 -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
Stephen Dranger
be18980fa5 dsfa 2011-02-21 13:07:59 -06:00
Stephen Dranger
90e3a4155b der[ 2011-02-19 20:38:06 -06:00
Stephen Dranger
3cbfc193b4 derp 2011-02-19 17:06:54 -06:00
Stephen Dranger
fececa45ba derp 2011-02-18 20:02:54 -06:00
Stephen Dranger
6899ab97e8 derp 2011-02-18 16:17:25 -06:00
Stephen Dranger
f50c617d6d bugfixes 2011-02-18 02:17:13 -06:00
Stephen Dranger
5bae56ddbd alpha 4 2011-02-16 05:11:09 -06:00
Stephen Dranger
b548c7ed40 oyoyo 2011-02-15 11:10:57 -06:00
Stephen Dranger
5de02c65b5 failed twisted integration....just stick w/oyoyo for now 2011-02-15 03:44:33 -06:00
Stephen Dranger
db64c53bfb bluh 2011-02-14 15:15:32 -06:00
Stephen Dranger
f345ecb8fc sda 2011-02-14 14:04:57 -06:00
Stephen Dranger
f6a2ba4c1d fds 2011-02-14 11:39:26 -06:00
Stephen Dranger
3bafa1e48a more memo work 2011-02-04 18:50:56 -06:00
Stephen Dranger
7f76b9bb94 first commit 2011-01-21 04:18:22 -06:00