Commit graph

1062 commits

Author SHA1 Message Date
Dpeta
e233a86436
Enforce select pylint messages 2023-02-13 20:26:05 +01:00
Dpeta
b6cc63a0df
Rename 'profile.py' to avoid conflict with the standard library 'profile' module. 2023-02-13 17:43:48 +01:00
Dpeta
bd292b4d80
Fix kicking/banning not working 2023-02-13 16:36:44 +01:00
Dpeta
ee0ca6f7ed
Merge pull request #117 from Dpeta/linting-two-and-knuckles
Add pylint workflow (errors-only) and fix remaining pylint errors
2023-02-13 02:52:55 +01:00
Dpeta
076735cbb0
Add pylint workflow 2023-02-13 02:46:31 +01:00
Dpeta
7e782fd5b2
Run lints through black 2023-02-13 01:34:13 +01:00
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