Commit graph

1056 commits

Author SHA1 Message Date
Dpeta
4ff69b300c
Add .pylintrc file 2023-02-13 01:33:47 +01:00
Dpeta
c1dd4bd23c
Fix remaining pylint errors. (and disable a few sillies...) 2023-02-13 01:21:14 +01:00
Dpeta
ca992feb21
Merge pull request #116 from Dpeta/network-integration-testing
Rewrite networking and IRC handling
2023-02-12 22:56:55 +01:00
Dpeta
708d4539b8
Final irc.py linting 2023-02-12 22:43:25 +01:00
Dpeta
639ece578e
Fix away 2023-02-12 21:13:02 +01:00
Dpeta
da8e6ddbf7
Request twitch membership capability 2023-02-12 20:54:41 +01:00
Dpeta
14935a23ce
Add connection password support (+ PASS) 2023-02-12 20:34:17 +01:00
Dpeta
34dacaea70
Fix outdated PesterIRC args (+black) 2023-02-12 18:29:21 +01:00
Dpeta
3326d7af50
Partially revert _mode changes 2023-02-12 17:26:54 +01:00
Dpeta
b5899d3a0c
fix GETMOOD and remove non-functional ctcp quirk disable 2023-02-12 02:28:31 +01:00
Dpeta
9040ad0419
Further IRC linting/formatting 2023-02-12 01:25:06 +01:00
Dpeta
1157e49d9e
Make IRC functions/slots snake_case 2023-02-12 01:12:42 +01:00
Dpeta
8d91b18369
Add documentation to IRC slots 2023-02-12 00:54:11 +01:00
Dpeta
1d4d1dbab6
IRC rewrite continued
- Make functions for handling incoming IRC commands private where possible.
 - Add a few checks for input validation
 - Rewrite CTCP handling.
2023-02-12 00:36:36 +01:00
Dpeta
fbe8f48d63
Split SendIRC, parse_irc_line, and get_ssl_content off into appropriate files 2023-02-10 02:33:01 +01:00
Dpeta
2c278c00fa
Make send method private 2023-02-10 01:48:47 +01:00
Dpeta
c88a58a5a2
Add oyoyo license notice, do further linting 2023-02-10 01:29:23 +01:00
Dpeta
5f50f6420f
Cleanup and remove python 2 QString == str 2023-02-10 00:14:33 +01:00
Dpeta
e8a283ad99
Add documentation to incoming IRC functions 2023-02-09 23:58:03 +01:00
Dpeta
8e2fd225a5
Linting 2023-02-09 21:20:42 +01:00
Dpeta
8f0933ba68
Autoflake irc.py 2023-02-09 21:06:20 +01:00
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