Commit graph

1068 commits

Author SHA1 Message Date
Dpeta
ccf462d8a8
Merge pull request #119 from Dpeta/refactoring
Enforce more pylint messages (mainly refactoring)
2023-02-15 17:52:50 +01:00
Dpeta
64538b2644
Use isinstance() for typechecks. 2023-02-15 17:01:27 +01:00
Dpeta
370685f6b3
Remove AttrDict and enable pylint typecheck message category.
The AttrDict class had Python 2 leftovers which the linter flagged and isn't really necessary anyway, plus it wasn't licensed under the GPL.
2023-02-15 16:34:48 +01:00
Dpeta
9ec4dbd088
Apply the following pylint messages:
- use-list-literal
 - use-dict-literal
 - consider-using-in
 - consider-using-from-import
2023-02-14 19:55:23 +01:00
Dpeta
05769e4ff2
Fix connecting to wrong server by making the choose gui even worse 2023-02-13 20:57:16 +01:00
Dpeta
1d872f89bd
Merge pull request #118 from Dpeta/lint-warnings
Enforce select pylint messages
2023-02-13 20:30:18 +01:00
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