Merge branch 'py3_pyqt5' of https://github.com/Dpeta/pesterchum-alt-servers into py3_pyqt5
|
@ -1,12 +1,16 @@
|
|||
# Changelog
|
||||
(This document uses YYYY-MM-DD as per ISO 8601)
|
||||
|
||||
## [v2.1.3] - 2021-5-3
|
||||
## [v2.1.3] - 2021-7-16
|
||||
|
||||
### Added
|
||||
- pyinstaller.py script to make building with pyinstaller more convenient.
|
||||
- Themes by cubicSimulation.
|
||||
|
||||
### Fixed
|
||||
- Crash when opening invite-only memo. (My bad-)
|
||||
- Random encounters occasionally not being disabled when switched off. (RE bot is now updated after connect and on profile switch.)
|
||||
|
||||
### Changed
|
||||
- Honk emote now only triggers when typing ':honk:' instead of on every 'honk'.
|
||||
|
||||
|
|
1
memos.py
|
@ -12,6 +12,7 @@ from parsetools import convertTags, addTimeInitial, timeProtocol, \
|
|||
lexMessage, colorBegin, colorEnd, mecmd, smiledict
|
||||
import parsetools
|
||||
from logviewer import PesterLogViewer
|
||||
import logging
|
||||
|
||||
try:
|
||||
QString = unicode
|
||||
|
|
|
@ -1420,6 +1420,16 @@ class PesterWindow(MovingWindow):
|
|||
|
||||
self.chooseServerAskedToReset = False
|
||||
self.chooseServer()
|
||||
|
||||
# Update RE bot
|
||||
try:
|
||||
if self.userprofile.getRandom():
|
||||
code = "+"
|
||||
else:
|
||||
code = "-"
|
||||
self.sendNotice.emit(code, RANDNICK)
|
||||
except:
|
||||
logging.warning("No randomEncounter set in userconfig?")
|
||||
|
||||
@QtCore.pyqtSlot(QString, QString)
|
||||
def updateMsg(self, ver, url):
|
||||
|
@ -2996,7 +3006,16 @@ class PesterWindow(MovingWindow):
|
|||
if ret == QtWidgets.QMessageBox.Cancel:
|
||||
return
|
||||
self.changeProfile()
|
||||
@QtCore.pyqtSlot()
|
||||
# Update RE bot
|
||||
try:
|
||||
if self.userprofile.getRandom():
|
||||
code = "+"
|
||||
else:
|
||||
code = "-"
|
||||
self.sendNotice.emit(code, RANDNICK)
|
||||
except:
|
||||
logging.warning("No randomEncounter set in userconfig?")
|
||||
|
||||
def aboutPesterchum(self):
|
||||
if hasattr(self, 'aboutwindow') and self.aboutwindow:
|
||||
return
|
||||
|
|
31
setup.py
|
@ -38,13 +38,28 @@ build_exe_options = {
|
|||
## "re",
|
||||
## "oyoyo",
|
||||
## "ssl"],
|
||||
"excludes": ["collections.sys",
|
||||
"collections._sre",
|
||||
"collections._json",
|
||||
"collections._locale",
|
||||
"collections._struct",
|
||||
"collections.array",
|
||||
"collections._weakref"],
|
||||
"excludes": ['collections.sys',
|
||||
'collections._sre',
|
||||
'collections._json',
|
||||
'collections._locale',
|
||||
'collections._struct',
|
||||
'collections.array',
|
||||
'collections._weakref',
|
||||
'PyQt5.QtMultimedia',
|
||||
'PyQt5.QtDBus',
|
||||
'PyQt5.QtDeclarative',
|
||||
'PyQt5.QtHelp',
|
||||
'PyQt5.QtNetwork',
|
||||
'PyQt5.QtSql',
|
||||
'PyQt5.QtSvg',
|
||||
'PyQt5.QtTest',
|
||||
'PyQt5.QtWebKit',
|
||||
'PyQt5.QtXml',
|
||||
'PyQt5.QtXmlPatterns',
|
||||
'PyQt5.phonon',
|
||||
'PyQt5.QtAssistant',
|
||||
'PyQt5.QtDesigner',
|
||||
'PyQt5.QAxContainer',],
|
||||
"include_files": includefiles,
|
||||
"include_msvcr": True
|
||||
}
|
||||
|
@ -94,7 +109,7 @@ bdist_msi_options = {'data': msi_data,
|
|||
'keywords': "Pesterchum"},
|
||||
'upgrade_code': "{86740d75-f1f2-48e8-8266-f36395a2d77f}",
|
||||
'add_to_path': False, # !!!
|
||||
'all_users': True,
|
||||
'all_users': False,
|
||||
'install_icon': "pesterchum.ico"}
|
||||
|
||||
setup(
|
||||
|
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 528 B |
Before Width: | Height: | Size: 261 B After Width: | Height: | Size: 377 B |
Before Width: | Height: | Size: 243 B After Width: | Height: | Size: 366 B |
Before Width: | Height: | Size: 245 B After Width: | Height: | Size: 362 B |
Before Width: | Height: | Size: 231 B After Width: | Height: | Size: 358 B |
Before Width: | Height: | Size: 245 B After Width: | Height: | Size: 367 B |
Before Width: | Height: | Size: 472 B After Width: | Height: | Size: 364 B |
Before Width: | Height: | Size: 271 B After Width: | Height: | Size: 383 B |
Before Width: | Height: | Size: 262 B After Width: | Height: | Size: 375 B |
Before Width: | Height: | Size: 275 B After Width: | Height: | Size: 379 B |
Before Width: | Height: | Size: 241 B After Width: | Height: | Size: 360 B |
Before Width: | Height: | Size: 185 B After Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 263 B After Width: | Height: | Size: 381 B |
Before Width: | Height: | Size: 300 B After Width: | Height: | Size: 313 B |
Before Width: | Height: | Size: 244 B After Width: | Height: | Size: 364 B |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 353 B |
Before Width: | Height: | Size: 228 B After Width: | Height: | Size: 237 B |
Before Width: | Height: | Size: 266 B After Width: | Height: | Size: 382 B |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 359 B |
Before Width: | Height: | Size: 261 B After Width: | Height: | Size: 382 B |
Before Width: | Height: | Size: 205 B After Width: | Height: | Size: 359 B |
Before Width: | Height: | Size: 205 B After Width: | Height: | Size: 356 B |
Before Width: | Height: | Size: 205 B After Width: | Height: | Size: 359 B |
Before Width: | Height: | Size: 204 B After Width: | Height: | Size: 360 B |
Before Width: | Height: | Size: 220 B After Width: | Height: | Size: 390 B |
Before Width: | Height: | Size: 244 B After Width: | Height: | Size: 364 B |
Before Width: | Height: | Size: 280 B After Width: | Height: | Size: 299 B |
Before Width: | Height: | Size: 250 B After Width: | Height: | Size: 368 B |
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 250 B After Width: | Height: | Size: 368 B |
Before Width: | Height: | Size: 264 B After Width: | Height: | Size: 375 B |
Before Width: | Height: | Size: 240 B After Width: | Height: | Size: 361 B |
Before Width: | Height: | Size: 242 B After Width: | Height: | Size: 363 B |
Before Width: | Height: | Size: 407 B After Width: | Height: | Size: 378 B |
Before Width: | Height: | Size: 266 B After Width: | Height: | Size: 369 B |
Before Width: | Height: | Size: 279 B After Width: | Height: | Size: 378 B |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 353 B |
Before Width: | Height: | Size: 288 B After Width: | Height: | Size: 395 B |
Before Width: | Height: | Size: 242 B After Width: | Height: | Size: 359 B |
|
@ -123,7 +123,7 @@
|
|||
"text": "" },
|
||||
"currentMood": [18, 249]
|
||||
},
|
||||
"defaultwindow": { "style": "background: #22222; font-family:'Courier';font:bold;selection-background-color:#F1F1F1; "
|
||||
"defaultwindow": { "style": "background: #222222; font-family:'Courier';font:bold;selection-background-color:#F1F1F1; "
|
||||
},
|
||||
"addchum": { "style": "background: rgba(255, 255, 0, 0%); border:2px solid #000000; font: bold; color: rgba(0, 0, 0, 0%); font-family:'Courier';",
|
||||
"pressed" : "background: rgb(255, 255, 255, 30%);",
|
||||
|
@ -298,4 +298,4 @@
|
|||
"systemMsgColor": "#646464",
|
||||
"op": { "icon": "$path/op.png" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Before Width: | Height: | Size: 249 B After Width: | Height: | Size: 367 B |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 456 B |
Before Width: | Height: | Size: 195 B After Width: | Height: | Size: 332 B |
Before Width: | Height: | Size: 292 B After Width: | Height: | Size: 396 B |
Before Width: | Height: | Size: 260 B After Width: | Height: | Size: 260 B |
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 726 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 719 B |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 858 B |
Before Width: | Height: | Size: 120 B After Width: | Height: | Size: 279 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 732 B |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 348 B |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 685 B |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 688 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 715 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 703 B |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 689 B |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 351 B |
Before Width: | Height: | Size: 301 B After Width: | Height: | Size: 334 B |
Before Width: | Height: | Size: 239 B After Width: | Height: | Size: 375 B |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 349 B |
Before Width: | Height: | Size: 235 B After Width: | Height: | Size: 298 B |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 706 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 847 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 690 B |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 986 B |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 951 B |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 963 B |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 933 B |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 1,019 B |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 993 B |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 933 B |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 983 B |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 981 B |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 950 B |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 1,009 B |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 973 B |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 573 B |
Before Width: | Height: | Size: 342 B After Width: | Height: | Size: 384 B |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 704 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 732 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 732 B |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 646 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 603 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 713 B |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 348 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 726 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 732 B |
Before Width: | Height: | Size: 327 B After Width: | Height: | Size: 419 B |
Before Width: | Height: | Size: 544 B After Width: | Height: | Size: 445 B |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 4 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 4 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 732 B |