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
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
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
8aa6a90f55
Select and remove servers based on index instead of 'server'
2022-12-23 17:10:31 +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
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
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
5cbf2eb917
Check if relevant variables are not None before ping
2022-11-02 03:32:06 +01: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
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
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
b90c258604
Miscellaneous fixes/changes incl. loadingscreen fix (v2.4.1)
2022-07-05 21:45:16 +02:00
Dpeta
4e2035408c
Error when failing to join memo, services notices, no toast icon fill by default
2022-06-30 09:59:34 +02:00
Dpeta
6ffcc59b91
Exception hook overwrite
2022-06-30 04:24:56 +02:00
Dpeta
b18d4c9aee
further pyqt6 changes, version, linux/macos color fix
2022-06-29 01:50:08 +02:00
Dpeta
2576be41aa
PyQt5 --> PyQt6 💚
2022-06-27 04:18:37 +02:00
Dpeta
5f6cda821b
CTCP additions
2022-06-02 23:15:45 +02:00
unknown
8a3ebd1d3f
Window manager compliant window moving (required for Wayland) + hardcoded logging.ini file
2022-05-04 22:36:42 +02:00
Dpeta
2dda129701
* a :"3
2022-04-13 15:29:42 +02:00
Dpeta
082c0c9c2b
🧹 🪣 Mostly pyflakes recommendations.
2022-04-11 05:57:13 +02:00
Shou
b2856467f3
:"3
2022-03-26 00:37:01 +01:00
Dpeta
a82d460da4
Fixed smiley-related file descriptor/handle leak ( hopefully. . . . ;w; )
2022-03-23 05:10:06 +01:00
Dpeta
9d0f074bbe
Changes to imports, contants, shebang, luaquirks, pynotify, oyoyo.
...
- Removed unnecessary imports.
- Reorganized import order.
- Removed legacy import conditions.
- Added python3 shebang to pesterchum.py
- Set QString to always be str, Python 2 is not supported.
- Depreciated luaquirks.
- Added ValueError to write exception block
- Set "pynotify" to always be none, even if pynotify succesfully imported, since pynotify implementation is broken.
2022-03-20 00:48:19 +01:00
Dpeta
cb1e2e051e
Access parent, fixes for last few commits
2022-03-18 13:50:35 +00:00
Dpeta
72f6b32668
Another error message for broken profile
2022-03-18 03:09:48 +00:00
Dpeta
8e9b696a1c
profile fallbacks & backup
2022-03-18 01:05:14 +00:00
Dpeta
0c58a01ab4
pesterchum.js fallbacks
2022-03-17 22:30:04 +00:00
Dpeta
e6ad257479
Attonement for massacring this library (wip)
2022-03-17 03:14:46 +00:00