Commit graph

1085 commits

Author SHA1 Message Date
Dpeta
228ced97ef
Fuse into irc.py again 2023-02-09 21:03:18 +01:00
Dpeta
f3cacb849b
Updated black run 2023-02-09 20:52:26 +01:00
Dpeta
3855ef20f5
Kills oyoyo 2023-02-09 20:48:03 +01:00
Dpeta
99ca795df5
Basic working command dict 2023-02-09 20:44:48 +01:00
Dpeta
3afa771326
Commands dict 2023-02-09 20:02:29 +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
9f319b7054
waaa 2023-02-03 21:23:43 +01:00
Dpeta
f99bcf83d9
wip caps are broken?? 2023-02-03 20:39:16 +01:00
Dpeta
8749c9586a
Restructure networking (WIP) 2023-02-03 18:21:14 +01:00
Dpeta
aaec47b96d
Update README.md 2023-01-30 20:33:37 +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
dabfb81b04
Update GPLv3
Replaces outdated links, http:// --> https://, and is Github compliant.
2023-01-29 17:43:17 +01:00
Dpeta
6100afb15f
Version to Alt. v2.6rc1 2023-01-26 22:01:48 +01:00
Dpeta
48e994b9cf
Merge pull request #111 from Dpeta/lint-req
Fix a decent amount of pylint errors, run autoflake + pyupgrade
2023-01-26 21:59:32 +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
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
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