Commit graph

100 commits

Author SHA1 Message Date
Dpeta
5b6d5d153f
Run all scripts through "pyupgrade --py38-plus" 2023-01-14 23:02:08 +01:00
Dpeta
3a78e4f5b8
remove fstring 2023-01-14 22:56:15 +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
d62222d6cd Partial build process rewrite.
- Removes files for package building to avoid PyInstaller package beviour.
 - Removed __main__.py and run_as_subprocess.py for now, calling Python from path is not an acceptable way to mitigate the relative import issue.
 - Renamed pyinstaller.py to pyinst.py to avoid the script being executed when "python -m PyInstaller" is ran.
 - Adds Python 3.8 compatible command-line options to pyinst.py
2022-10-29 21:49:35 +02: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
f78a9f97ac cleanup 2022-08-07 17:38:45 +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
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
a7abd6deb7 more metadata fallbacks 2022-06-06 23:03:12 +02:00
Dpeta
979173c33d PESTERCHUM: via TAGMSG (incl. Client Capability Negotiation + Message Tags) 2022-06-06 02:05:00 +02:00
Dpeta
298dd8eb5d IRC Metadata draft support for moods 2022-06-05 01:08:38 +02:00
Dpeta
5f6cda821b CTCP additions 2022-06-02 23:15:45 +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
5f31a82712 f(*args) fallback 2022-03-17 20:01:20 +00:00
Dpeta
c32e54de7f RPL_CHANNELMODEIS fix 2022-03-17 03:25:27 +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
254e0532b6 Fixed issue with memo stylesheets (ty pyqt5 </3) 2021-04-12 14:50:20 +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
Dpeta
67e544effc Unicode was a mistake </3 2021-04-01 22:15:38 +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
Dpeta
8be8cf9f07 WIP exit & traymenu fix 2021-03-25 21:39:37 +01:00
BuildTools
65d016bd36 Socket SSL attempt (No hostname validation) 2021-03-24 20:51:33 +01:00
Dpeta
ea043c2a94 Fixed quirks & added numeric event because why not 2021-03-23 22:58:58 +01:00
Dpeta
d39caf1488 9/9 2021-03-23 22:41:52 +01:00
Dpeta
fef7db8161 6/9 2021-03-23 22:40:24 +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
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