Commit graph

122 commits

Author SHA1 Message Date
Dpeta
3f7caf73b2
Add force prefix option 2023-02-15 23:41:46 +01:00
Dpeta
938cf69b85
Add IRC compatibility mode (only disables things for now . . .) 2023-02-15 23:41:45 +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
e233a86436
Enforce select pylint messages 2023-02-13 20:26:05 +01:00
Dpeta
f3cacb849b
Updated black run 2023-02-09 20:52:26 +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
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
0d5c68075c Fix PyQt5 animated emotes (#105) 2022-11-19 09:53:22 +01: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
ef0898e8c7 getopt --> argparse, redid logging, code cleanup 2022-09-06 13:26:14 +02:00
Dpeta
b549645a50 replaced sys.modules checks with try: PyQt6, except: PyQt5 2022-09-01 06:55:08 +02:00
Dpeta
a2ce2d09e4 PyQt5 fallback 2022-08-19 13:12:58 +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
2576be41aa PyQt5 --> PyQt6 💚 2022-06-27 04:18:37 +02:00
Dpeta
fe53f1bf7b Explicitly set color since default differs on some platforms 2022-04-17 14:21:08 +02:00
Dpeta
082c0c9c2b 🧹🪣 Mostly pyflakes recommendations. 2022-04-11 05:57:13 +02:00
Dpeta
fb955f5980 Fixed logviewer from memo/convo 2022-03-23 18:38:59 +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
unknown
2fced8122e Attempt at fixing up logging 2021-12-01 18:29:17 +01:00
Dpeta
1fd62ef404 Fileconfig + proper handlers for logging module 2021-08-10 22:45:48 +02:00
BuildTools
7fdd7f3bd9 Changed some depreciated functions & imports 2021-04-22 17:42:24 +02:00
BuildTools
02c0b9e47b Fixes for botnames, chumroll & dm colors. 2021-04-16 15:37:38 +02:00
BuildTools
254e0532b6 Fixed issue with memo stylesheets (ty pyqt5 </3) 2021-04-12 14:50:20 +02:00
BuildTools
eb8a3e7df8 A lot of theme-related things. 2021-04-11 00:16:53 +02:00
Dpeta
4ae5f7d25d Made it so handle and ident are passed to _max_msg_len 2021-04-04 06:03:50 +02:00
BuildTools
c4808063b1 "Fixed" crash when closing certain windows.
Only seemed to happen on mac and linux installations with older versions of
glibc.
2021-04-02 17:19:18 +02:00
Dpeta
475b849049 1/9 2021-03-23 22:36:43 +01:00
BuildTools
6be0487b6c Commented out "Submit to Pesterchum QDB". 2021-02-22 18:36:13 +01:00
karxi
bf68bc5911 Minor organization shifts 2017-03-07 22:28:15 -05:00
karxi
3a1581a27a Made PgUp/PgDown pass to super again 2017-01-09 05:20:48 -05:00
karxi
dcab587f33 Fix text area implicit scrolling 2017-01-09 02:25:49 -05:00
karxi
c1d03887b4 Update various UI aspects
Minor menu/UI tweaks, with the addition of some shortcuts.
Reconnecting in the middle of typing shouldn't kill the whole client
now.
It still needs to account for the "reconnecting" window (this will
likely be made to loop back into the query window for now).
2017-01-09 01:18:59 -05:00
karxi
c7755899a3 Make right-clicked tabs open convo context menus 2017-01-02 16:02:53 -05:00
karxi
9f6ee05d43 Fixed idle messages (again) 2017-01-02 13:46:42 -05:00
karxi
dabd2b46c1 Added a rudimentary console for easier interaction with Pesterchum's code. Still WIP. 2016-12-22 15:29:13 -05:00
karxi
0b36b45ddb Fixed some mistakes pertaining to Pesterchum's inheritance structure. 2016-12-22 11:19:16 -05:00
karxi
951c6681fa Cleanup and type realignment. I'll be working on adjusting the Pester/Memo frames. 2016-12-21 18:26:26 -05:00
karxi
5c9615cd4c Fixed some bugs pertaining to bot detection. Later, this should be unified (when the class structure is readjusted) or at least turned into a proper mix-in. 2016-12-19 20:23:45 -05:00
karxi
54b42e0189 Minor idle cleanup 2016-12-10 20:38:24 -05:00
karxi
7b018e0906 Minor idle cleanup 2016-12-10 19:49:58 -05:00
karxi
e8de29b1db Fixed IDLE, stopped it from IDLING at NickServ and co. 2016-12-09 19:41:11 -05:00
karxi
6efac5cd07 Separated the idle timer from the idle checkbox. Having the latter active doesn't break the former, and the former won't deactivate the latter when you come back. 2016-12-09 07:55:03 -05:00
karxi
02e1e0e012 Inverted tab change direction for pgup/dn - I have a feeling the old one would be irritating. 2016-12-05 10:22:51 -05:00
karxi
c1dad65f56 Minor cleanup. 2016-12-05 10:17:03 -05:00