Commit graph

138 commits

Author SHA1 Message Date
Dpeta
3ae70e4fe0
More aggressive autoflake 2023-01-14 23:10:19 +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
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
2ff1a87901 Reformat with black 2022-11-17 08:44:23 +01:00
Dpeta
340ef73380 Minor linting 2022-11-17 08:42:10 +01:00
Dpeta
8d1bef4db2 Replaced unnecessary use of eval() in usermode icon function.
Don't think this was possible to abuse, but it's probably better to avoid eval anyway since it's a potential security risk.
2022-11-02 20:34:38 +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
a2ce2d09e4 PyQt5 fallback 2022-08-19 13:12:58 +02:00
Dpeta
f78a9f97ac cleanup 2022-08-07 17:38:45 +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
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
e3bdbf77f4 'i' is normal time, no need for a warning 2022-06-10 20:56:04 +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
c070745e26 Timeline overflow conditions + ver. 2022-04-08 07:44:45 +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
Dpeta
8e3c79c4b9 kickmsg* 2022-03-17 19:56:12 +00:00
Dpeta
4571b6dce7 ban/kick message to msgbox 2022-03-17 04:11:52 +00:00
unknown
2fced8122e Attempt at fixing up logging 2021-12-01 18:29:17 +01:00
Dpeta
d231f2f785 Fixed PESTERCHUM:TIME> related crash 2021-09-18 12:39:38 +02:00
unknown
29fa6386e4 Fix up of previous commits 2021-08-24 17:32:47 +02:00
Dpeta
5b4673e0dd Rewrote some aspects of channel mode management 2021-08-24 15:49:50 +02:00
Dpeta
1fd62ef404 Fileconfig + proper handlers for logging module 2021-08-10 22:45:48 +02:00
Dpeta
83343238dd Fixed crash on opening invite-only memo without being invited 2021-07-26 13:59:25 +02:00
BuildTools
7fdd7f3bd9 Changed some depreciated functions & imports 2021-04-22 17:42:24 +02:00
BuildTools
254e0532b6 Fixed issue with memo stylesheets (ty pyqt5 </3) 2021-04-12 14:50:20 +02:00
BuildTools
1aa4e65c7d Logging, soundslider, and mood icon in trollian. 2021-04-11 01:21:21 +02:00
BuildTools
eb8a3e7df8 A lot of theme-related things. 2021-04-11 00:16:53 +02:00
BuildTools
dd2188f515 Floating pesterlog fix #2 2021-03-26 21:08:11 +01:00
BuildTools
70c8b1c1c9 Fixed floating "PESTERLOGS:" in pesterchum theme.
The background was being applied to QMenu for some reason.
2021-03-26 15:14:58 +01:00
Dpeta
fce548adde Fix style 2021-03-25 18:54:41 +01:00
Dpeta
684846a804 style stuff :) 2021-03-25 17:52:43 +01:00
Dpeta
f2a4fab1cb Changed week to microsecond 2021-03-24 16:50:58 +01:00
Dpeta
400eef5371 Fixed mysteryTime crash 2021-03-24 16:46:58 +01:00
Dpeta
4c3a09b226 Fixed self.self (whoops) 2021-03-24 16:03:54 +01:00
Dpeta
d39caf1488 9/9 2021-03-23 22:41:52 +01:00
Dpeta
72cdb844ff 8/9 2021-03-23 22:41:06 +01:00
Dpeta
4f70fda509 7/9 2021-03-23 22:40:47 +01:00
Dpeta
475b849049 1/9 2021-03-23 22:36:43 +01:00
karxi
483af0f1e5 Make default options take focus (in case of mistypes) 2017-01-09 19:26:37 -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
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
75e99db77e Added option to mute and enable highlights/beeps on a PER-MEMO/CHUM basis. It's in the right-click menu, near the OOC toggle. 2016-11-30 07:20:15 -05:00
karxi
eee0e3bd91 Fixed an OOC bug, made OOC detection stricter while doing that. 2016-11-19 13:39:56 -05:00