Commit graph

57 commits

Author SHA1 Message Date
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
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
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
1b479031fd minor network/socket changes 2022-06-16 20:25:24 +02:00
Dpeta
0e1f676acc Fixed only 'text' logs getting fsynced on write
(html & bbcode were only being writen on closing the memo window)
2022-06-10 21:53:56 +02:00
Dpeta
082c0c9c2b 🧹🪣 Mostly pyflakes recommendations. 2022-04-11 05:57:13 +02:00
Dpeta
ee7a1fc043 Close log file descriptors after write (low ulimit platform) 2022-03-23 18:32:59 +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
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
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
8f6121ea90 Moved a few files to _datadir : ) 2021-04-09 02:38:34 +02:00
BuildTools
bed5581187 Theme changes, mostly. 2021-04-09 01:14:54 +02:00
Dpeta
fb1ad83e92 w.i.p. server prompt
also fixed command-line overrides :)
2021-04-06 19:06:51 +02:00
BuildTools
65d016bd36 Socket SSL attempt (No hostname validation) 2021-03-24 20:51:33 +01:00
Dpeta
475b849049 1/9 2021-03-23 22:36:43 +01:00
BuildTools
64d46a881f Added irc. subdomain to pesterchum.xyz
Because it's more convenient :3
2021-03-02 17:40:42 +01:00
BuildTools
70b1c102b8 Fixed nickServ auto-identify KeyError 2021-02-25 19:51:05 +01:00
BuildTools
0d36d73eee Missing defaultprofile error fix attempt. 2021-02-14 01:47:06 +01:00
Hi
a8b82f7473 Changed the way the chosen server is communicated. (Still not ideal,
please do tell me if anyone knows how to do this properly.)
Commented part of code related to updates.
2020-11-22 18:43:03 +01:00
Dpeta
5f5341f96d
Moved server promt to main thread
This is also not a perfect or very pretty solution, especially as configparser is now a dependency. But this is still an improvement over how it was before, as this doesn't seem to cause crashes.
2020-10-04 18:28:43 +00:00
Dpeta
2f1f47f9a9
Changed dialogue text slightly 2020-10-04 17:48:06 +00:00
Dpeta
96b9529dee
Incorrectly added functionality to choose server
There really has to be a better way, but I don't know how qt works. .w.
2020-10-04 17:41:14 +00:00
karxi
1cf0926e9f Minor source cleanup, pending rewrites 2017-01-02 13:49:54 -05:00
karxi
0d4edc4e57 Fixed Autoidentify (note that it's set on a per-handle basis) 2016-12-12 15:11:50 -05:00
karxi
3a48cf204b General cleanup. Stopped using older 'except Error, var' syntax. 2016-11-29 15:20:41 -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
illuminatedwax
abe9342c4f Port code to PyQt5 2014-10-29 01:06:21 -05:00
Kiooeht
186aab8163 Fix for passwd.js not existing 2014-03-17 23:07:26 -07:00
Kiooeht
1a2ddcf553 Auto-join memos 2014-01-12 17:50:01 -08:00
Kiooeht
f63d224c66 Don't save empty NickServ passwords 2014-01-12 17:49:18 -08:00
Kiooeht
db9caf210e Auto-identify with NickServ 2014-01-12 00:21:23 -08:00
Kiooeht
73f66789da Pesterdunk Ghostchum!! 2012-06-08 02:02:12 -07:00
Stephen Dranger
24fbb6c7d3 str() -> unicode()
Conflicts:

	pesterchum.py
2011-12-20 19:06:23 -08:00
Stephen Dranger
22fa9bf78e oops misnamed variable 2011-12-02 02:36:16 -06:00
Kiooeht
4db76724d0 Merge remote-tracking branch 'origin/3.41rc' 2011-11-30 21:40:45 -08:00
unknown
f3857bda1b if log file cannot be opened, warn usr 2011-11-30 21:13:37 -06:00
Kiooeht
829fedcba5 Use data directory on all OSs 2011-11-28 23:46:37 -06:00
Kiooeht
3de6d8b397 Use data directory on all OSs 2011-11-28 21:15:19 -08:00
Kiooeht
e9e97ab49c Manually rearrange chumroll 2011-11-25 18:45:20 -08:00