Commit graph

84 commits

Author SHA1 Message Date
Dpeta
595252a3d3
Add alternian text 2023-02-23 02:17:32 +01:00
Dpeta
8e3f5410b7
Chain iterators and extend when excluding links from quirks 2023-02-23 01:25:13 +01:00
Dpeta
2398b5a626
Remove most unnecessary str() typecasts. 2023-02-19 21:10:35 +01:00
Dpeta
13f120b029
Use enumerate instead of range+len for loops. 2023-02-17 02:22:50 +01:00
Dpeta
3f7caf73b2
Add force prefix option 2023-02-15 23:41:46 +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
7e782fd5b2
Run lints through black 2023-02-13 01:34:13 +01:00
Dpeta
c1dd4bd23c
Fix remaining pylint errors. (and disable a few sillies...) 2023-02-13 01:21:14 +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
5b6d5d153f
Run all scripts through "pyupgrade --py38-plus" 2023-01-14 23:02:08 +01:00
Dpeta
2ff1a87901 Reformat with black 2022-11-17 08:44:23 +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
Dpeta
38651d7ca7 Don't allow handles that start with numbers. (#103)
The first character of nicks can't be a digit according to the IRC protcol, compliant servers won't allow it.
2022-11-16 06:41:00 +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
2576be41aa PyQt5 --> PyQt6 💚 2022-06-27 04:18:37 +02:00
Dpeta
0eeebe349d recursion check 2022-06-24 05:30:06 +02:00
Dpeta
7c7d406d4f Sort fix,, i forgor 💀 2022-06-24 04:55:18 +02:00
Dpeta
2a413dcc89 Option to exclude smilies/links via split. (Undoes previous change to pesterQuirk.apply) 2022-06-23 19:14:28 +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
5b4673e0dd Rewrote some aspects of channel mode management 2021-08-24 15:49:50 +02:00
Dpeta
475b849049 1/9 2021-03-23 22:36:43 +01: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
illuminatedwax
abe9342c4f Port code to PyQt5 2014-10-29 01:06:21 -05:00
Kiooeht
06be7ae422 Typos 2011-11-06 22:35:19 -08:00
Kiooeht
3570a32912 Code refactoring. Move Mood-type classes into own file 2011-09-15 00:09:56 -07:00
Kiooeht
109ec04422 Bug fix: Don't let mispeller screw up <c> tags. Fixes #5 2011-09-07 21:56:47 -07:00
Kiooeht
3475d464f8 Compress kick exit dumps into one line 2011-08-24 00:10:23 -07:00
Kiooeht
216b404a18 Bug fix: Hopefully finally get Netsplit notification working 2011-08-23 03:58:16 -07:00
Kiooeht
65fd1d0b29 Explain why a chumhandle is invalid 2011-08-23 03:23:59 -07:00
Kiooeht
99b701061b Chum notes 2011-08-22 01:13:43 -07:00
Kiooeht
838c5efcd5 Inform in memos on Netsplit 2011-07-17 01:58:19 -07:00
Kiooeht
cca3f83984 Display message in chat when your quirk gets disabled 2011-07-11 16:55:44 -07:00
Kiooeht
edba3f6fcc Display channel mode changes in memos 2011-07-10 02:13:00 -07:00
Kiooeht
6e3d00f0c6 Bug fix: Don't break random replace on alt characters 2011-07-07 12:09:32 -07:00
Kiooeht
f6b800a482 Bug fix: Exit dumps bluh 2011-07-06 20:46:03 -07:00
Kiooeht
fd8c7881f8 Compress exit dumps into one line 2011-07-02 14:10:59 -07:00