Commit graph

1012 commits

Author SHA1 Message Date
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
4dfebfaba1
Update changelog (v2.5.3) 2022-12-27 03:06:59 +01:00
Dpeta
8aa6a90f55
Select and remove servers based on index instead of 'server' 2022-12-23 17:10:31 +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
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
440c57226c
Set version to v2.5.3 2022-12-22 17:25:55 +01:00
unknown
86ef71be33 Update changelog (v2.5.2) 2022-12-10 04:24:21 +01:00
unknown
572efa0055 Update workflow to use requirements.txt 2022-12-10 04:24:08 +01:00
unknown
567f40b47b Add requirements.txt with pip freeze to pin PyQt6-Qt6 to 6.4.0 2022-12-10 04:20:52 +01:00
unknown
7ce0e11751 bump up version to v2.5.2 2022-12-10 04:06:23 +01:00
Dpeta
19745b1220 v2.5.1 write-up 2022-12-07 02:23:19 +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
08812b0448 python 3.8 arguments </3 2022-11-19 10:21:13 +01:00
Dpeta
aa78599c0a win7 build + workflow_dispatch 2022-11-19 10:17:27 +01:00
Dpeta
0d5c68075c Fix PyQt5 animated emotes (#105) 2022-11-19 09:53:22 +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
16625ba936 Don't try to get services mood via GETMOOD 2022-11-17 10:31:04 +01:00
Dpeta
2ff1a87901 Reformat with black 2022-11-17 08:44:23 +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
38651d7ca7 Don't allow handles that start with numbers. (#103)
The first character of nicks can't be a digit according to the IRC protcol, compliant servers won't allow it.
2022-11-16 06:41:00 +01:00
Dpeta
8d1bef4db2 Replaced unnecessary use of eval() in usermode icon function.
Don't think this was possible to abuse, but it's probably better to avoid eval anyway since it's a potential security risk.
2022-11-02 20:34:38 +01:00
Dpeta
5cbf2eb917 Check if relevant variables are not None before ping 2022-11-02 03:32:06 +01:00
Dpeta
84f62a11e6
Add a few x64 github actions build tests (#101) 2022-10-30 00:19:35 +02: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
c0760bd519 v2.5 2022-10-08 21:54:05 +02:00
Dpeta
15bd1d5681 Use certifi root certificates when available 2022-10-08 21:04:38 +02: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
5cdfcc53bd
Update README.md 2022-09-09 16:57:54 +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
a3d047350b Color via metadata draft 2022-09-02 02:05:46 +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
cfe4589a64 jikes 2022-07-06 02:02:54 +02:00
Dpeta
b90c258604 Miscellaneous fixes/changes incl. loadingscreen fix (v2.4.1) 2022-07-05 21:45:16 +02:00
Dpeta
66e838ebf4
Update README.md 2022-07-02 15:12:55 +02:00