Commit graph

115 commits

Author SHA1 Message Date
Dpeta
ec0c6cdaf9
Finish up IRC compatibility & force-valid-prefix toggle 2023-02-16 23:45:55 +01:00
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
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
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
3855ef20f5
Kills oyoyo 2023-02-09 20:48:03 +01:00
Dpeta
9f319b7054
waaa 2023-02-03 21:23:43 +01:00
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
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
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
cfe4589a64 jikes 2022-07-06 02:02:54 +02:00
Dpeta
b90c258604 Miscellaneous fixes/changes incl. loadingscreen fix (v2.4.1) 2022-07-05 21:45:16 +02:00
Dpeta
2576be41aa PyQt5 --> PyQt6 💚 2022-06-27 04:18:37 +02:00
Dpeta
0a6669d555 More options for preserving links/smileys (regexp, gradient quirk) 2022-06-21 21:50:48 +02:00
Dpeta
1cc5b9f245 Smiley/Link exclude for simple replace and misspell 2022-06-17 05:23:52 +02:00
Dpeta
082c0c9c2b 🧹🪣 Mostly pyflakes recommendations. 2022-04-11 05:57:13 +02: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
8114feccac Pyinstaller build ready. 2021-05-03 17:22:23 +02:00
BuildTools
044370be5f Logging fixes. 2021-04-11 14:46:11 +02:00
BuildTools
1aa4e65c7d Logging, soundslider, and mood icon in trollian. 2021-04-11 01:21:21 +02:00
Dpeta
4ae5f7d25d Made it so handle and ident are passed to _max_msg_len 2021-04-04 06:03:50 +02: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
475b849049 1/9 2021-03-23 22:36:43 +01:00
karxi
63c684c291 Reenabled CTCP (when not in Low-Bandwidth mode - restart after setting to see effects) 2016-12-10 21:22:19 -05:00
karxi
dd0d306acb Fixed a bug that prevented the quirk testing window from actually testing quirks. 2016-12-07 17:40:37 -05:00
karxi
0c2ef90f94 Fixed a bug that prevented the quirk testing window from actually testing quirks. 2016-12-07 17:21:53 -05:00
karxi
c019e45c7a Lexer modifications. Still not quite ready for primetime - incoming messages use the old one. 2016-12-06 20:04:19 -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
3a48cf204b General cleanup. Stopped using older 'except Error, var' syntax. 2016-11-29 15:20:41 -05:00
karxi
e40aac88ac Another small parser fix. 2016-11-29 05:43:01 -05:00
karxi
b09870bb03 Another small parser fix. 2016-11-29 05:31:41 -05:00
karxi
7e521c0019 Small parser fix. 2016-11-28 19:44:10 -05:00
karxi
eadf433d80 Brought into line with the other code. 2016-11-19 13:49:40 -05:00
karxi
eee0e3bd91 Fixed an OOC bug, made OOC detection stricter while doing that. 2016-11-19 13:39:56 -05:00
karxi
876e06f217 Merged in some new lexer code. Older code will be phased out over time.
This code should split things more neatly than the current Pesterchum
code, thus fixing a number of irritating bugs. Ideally, when finished,
it will be easier and cleaner to work with as well.
2016-11-18 03:37:22 -05:00
karxi
bf0bf78696 Added framework/a better way to determine message length. 2016-11-13 19:54:41 -05:00
karxi
ca50342e88 Disabled bold, italics and underline recognition due to lack of use/common version differences. 2016-11-13 17:14:24 -05:00
karxi
d3b95ebff1 Made the "www." URL detection less grab-happy.
It shouldn't keep trying to match on things like "Awwww...." now.
2016-11-13 01:40:20 -05:00
karxi
d653af0fa4 Revert "Port code to PyQt5"
This reverts commit abe9342c4f.

That is to say, it reverts the PyQt5 port.
2016-11-13 01:14:39 -05:00
karxi
5d839aae47 Revert "python 2 to 3 first shot"
This reverts commit 7bc57b8b7d.

Practically speaking, this reverts the Python 3 changes, since they're
broken.
2016-11-13 01:12:58 -05:00
illuminatedwax
7bc57b8b7d python 2 to 3 first shot 2014-10-29 02:57:49 -05:00