Browse Source

Some bugfixes

sisyphus
JezerM 3 years ago
parent
commit
3eccf416d9
No known key found for this signature in database
GPG Key ID: 66BBC5D01388C6B5
  1. 10
      NEWS.md
  2. 6
      build/DEBIAN/control
  3. 8
      dist/web-greeter.appdata.xml
  4. 3
      web-greeter/browser/browser.py
  5. 4
      web-greeter/config.py

10
NEWS.md

@ -1,5 +1,13 @@
# Change Log # Change Log
## [3.2.1](https://github.com/JezerM/web-greeter/tree/3.2.0) ~ 12-11-2021
**Changes:**
* Bugfixes related to older Qt versions
[Full changelog](https://github.com/JezerM/web-greeter/compare/3.2.0...3.2.1)
## [3.2.0](https://github.com/JezerM/web-greeter/tree/3.2.0) ~ 12-08-2021 ## [3.2.0](https://github.com/JezerM/web-greeter/tree/3.2.0) ~ 12-08-2021
**Changes:** **Changes:**
@ -10,6 +18,8 @@
- LightDM API should be instantly accessible - LightDM API should be instantly accessible
* Lots of bugfixes * Lots of bugfixes
[Full changelog](https://github.com/JezerM/web-greeter/compare/3.1.1...3.2.0)
## [3.1.1](https://github.com/JezerM/web-greeter/tree/3.1.1) ~ 10-27-2021 ## [3.1.1](https://github.com/JezerM/web-greeter/tree/3.1.1) ~ 10-27-2021
**Changes:** **Changes:**

6
build/DEBIAN/control

@ -1,14 +1,14 @@
Package: web-greeter Package: web-greeter
Version: 3.2.0 Version: 3.2.1
Provides: lightdm-greeter Provides: lightdm-greeter
Replaces: lightdm-webkit-greeter Replaces: lightdm-webkit-greeter
Section: x11 Section: x11
Priority: optional Priority: optional
Homepage: https://github.com/JezerM/web-greeter Homepage: https://github.com/JezerM/web-greeter
Installed-Size: 15088 Installed-Size: 15068
Architecture: all Architecture: all
Maintainer: JezerM <amyuki4@gmail.com> Maintainer: JezerM <amyuki4@gmail.com>
Depends: liblightdm-gobject-1-0, liblightdm-gobject-1-dev, python3, python3-gi, python3-pyqt5, libqt5webengine5 Depends: liblightdm-gobject-1-0, liblightdm-gobject-1-dev, python3, python3-gi, python3-pyqt5, pyqt5-dev, libqt5webengine5, python3-pyqt5.qtwebengine, python3-ruamel.yaml, python3-xlib
Description: A modern, visually appealing greeter for LightDM. Description: A modern, visually appealing greeter for LightDM.
Web Greeter utilizes themes built with HTML/CSS/JavaScript for it's login screen. Web Greeter Web Greeter utilizes themes built with HTML/CSS/JavaScript for it's login screen. Web Greeter
themes provide modern, visually appealing, and feature-rich login screens. Two themes are themes provide modern, visually appealing, and feature-rich login screens. Two themes are

8
dist/web-greeter.appdata.xml vendored

@ -44,6 +44,14 @@
--> -->
<releases> <releases>
<release date="2021-12-11" version="3.2.1">
<description>
<p>Changes:</p>
<ul>
<li>Bugfixes related to older Qt versions</li>
</ul>
</description>
</release>
<release date="2021-12-08" version="3.2.0"> <release date="2021-12-08" version="3.2.0">
<description> <description>
<p>Changes:</p> <p>Changes:</p>

3
web-greeter/browser/browser.py

@ -236,7 +236,10 @@ class Browser(Application):
self._initialize_devtools() self._initialize_devtools()
if web_greeter_config["config"]["greeter"]["secure_mode"]: if web_greeter_config["config"]["greeter"]["secure_mode"]:
if (hasattr(QWebEngineProfile, "setUrlRequestInterceptor")):
self.profile.setUrlRequestInterceptor(self.interceptor) self.profile.setUrlRequestInterceptor(self.interceptor)
else: # Older Qt5 versions
self.profile.setRequestInterceptor(self.interceptor)
self.page.setBackgroundColor(QColor(0, 0, 0)) self.page.setBackgroundColor(QColor(0, 0, 0))
self.window.setStyleSheet("""QMainWindow, QWebEngineView { self.window.setStyleSheet("""QMainWindow, QWebEngineView {

4
web-greeter/config.py

@ -68,10 +68,10 @@ web_greeter_config = {
"debug_mode": False, "debug_mode": False,
"theme_dir": "/usr/share/web-greeter/themes/", "theme_dir": "/usr/share/web-greeter/themes/",
"version": { "version": {
"full": "3.2.0", "full": "3.2.1",
"major": 3, "major": 3,
"minor": 2, "minor": 2,
"micro": 0, "micro": 1,
}, },
} }
} }

Loading…
Cancel
Save