# Change Log ## [3.5.0](https://github.com/JezerM/web-greeter/tree/3.5.0) ~ 07-12-2022 **Added:** * Added multi-monitor support from nody-greeter * Added `greeter_comm` object for cross-window communication * Added `GreeterBroadcastEvent` for listening to greeter_comm messages **Changes:** * Default themes migrated to Typescript * Added background selector to gruvbox theme * `tsc` (typescript compiler) is now a required dependency * `lightdm.batteryData` deprecated in favor of `lightdm.battery_data`. * Command line arguments updated: - Added `--mode` optio - Added `-d` as `--debug`, and `-n` as `--normal` - Updated bash and zsh completions * Added Web Greeter scalable icon * Lot of code refactoring * Lots of improvements * Lots of bugfixes [Full changelog](https://github.com/JezerM/web-greeter/compare/3.4.1...3.5.0) ## [3.4.1](https://github.com/JezerM/web-greeter/tree/3.4.1) ~ 04-10-2022 **Changes:** * Fix build process * Fix typos in README * Handle lightdm_start_session errors * Fix positioning on multiple screens [Full changelog](https://github.com/JezerM/web-greeter/compare/3.4.0...3.4.1) ## [3.4.0](https://github.com/JezerM/web-greeter/tree/3.3.0) ~ 03-22-2022 **Added:** * Added top Menu-bar menus and items * Improve devtools qdock behavior **Changes:** * Bugfixes related to LightDM signals * Fix web-greeter initialization issues * Migrate from utils.sh script to full Makefile * Man-pages updated **Removed:** * Remove python-xlib dependency in favor of python C binding [Full changelog](https://github.com/JezerM/web-greeter/compare/3.3.0...3.4.0) ## [3.3.0](https://github.com/JezerM/web-greeter/tree/3.2.0) ~ 01-28-2022 **Changes:** * Bugfixes related to LightDM signals * Allow --no-sandbox argument * Allowed relative path with theme_utils.dirlist * Added brightness controller to use instead of external programs [Full changelog](https://github.com/JezerM/web-greeter/compare/3.2.1...3.3.0) ## [3.2.1](https://github.com/JezerM/web-greeter/tree/3.2.1) ~ 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 **Changes:** * Default build system reverted to **zippy method** * Battery bugfixes * QWebChannel and Web Greeter bundle merged as one file - LightDM API should be instantly accessible * 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 **Changes:** * Bugfixes, just bugfixes [Full changelog](https://github.com/JezerM/web-greeter/compare/3.1.0...3.1.1) ## [3.1.0](https://github.com/JezerM/web-greeter/tree/3.1.0) ~ 09-15-2021 **Added**: * Devtools implemented as a side view * Build system now uses **cx_freeze** * Improved themes: - Added keyboard layout selector - Added eye password reveal **Changes:** * Brightness and battery are now controlled by signals instead of timers * Old build system (zip build) is still usable with `build_old` and `install_old` **Removed:** * [whither](https://github.com/JezerM/whither) dependency removed [Full changelog](https://github.com/JezerM/web-greeter/compare/3.0.0...3.1.0) ## [3.0.0](https://github.com/JezerM/web-greeter/tree/3.0.0) ~ 07-28-2021 **Added:** * New themes: gruvbox (default) and dracula * Added newer [documentation](https://jezerm.github.io/web-greeter/) * Support for brightness control * Support for battery status * Support for ES2020, as using Chrome 83 * Improved mock.js system * Better debug logging * Custom cursor theme option as `icon_theme` * Vendors added: - **material-icons** added * Tab completion for `web-greeter` command **Changed:** * **lightdm-webkit2-greeter** name changed to **web-greeter** * **Webkit2Gtk** replaced with **PyQtWebEngine** - Migrated from **C** to **Python** * Man-pages updated * Updated API usage for LightDM 1.26.0 * `lightdm.start_session_sync` replaced with `lightdm.start_session` method * `greeterutil` renamed to `theme_utils` * `config` renamed to `greeter_config` * `lightdm-webkit2-greeter.conf` renamed to `web-greeter.yml` * Themes are now installed inside `/usr/share/web-greeter/themes` * Vendors updated: - **js-cookie** updated - **fontawesome** updated, now in `_vendor/fontawesome/` * Previous deprecated methods and properties were removed. **Removed:** * Antergos theme removed * Vendors removed: - **jQuery** removed, as now we are in 2021 - **moment.js** removed. Use **Intl** - **Bootstrap** removed. Include it in theme if needed. * `time_format` config option removed * Transifex removed, sadly [Full Changelog](https://github.com/JezerM/web-greeter/compare/2.2.4...3.0.0) ## [2.2.5](https://github.com/antergos/web-greeter/tree/2.2.5) ~ 04-24-2017 **Fixed:** * Support for webkitgtk 2.16+ [Full Changelog](https://github.com/antergos/web-greeter/compare/2.2.4...2.2.5) ## [2.2.4](https://github.com/antergos/web-greeter/tree/2.2.4) ~ 04-04-2017 **Added:** * Support for webkitgtk 2.16+ [Full Changelog](https://github.com/antergos/web-greeter/compare/2.2.3...2.2.4) ## [2.2.3](https://github.com/antergos/web-greeter/tree/2.2.3) ~ 02-18-2017 **Changed:** * Revert workaround implemented in v2.2.2 for webkit2gtk 2.14.4+. It remains in place for versions in the 2.14.0 series older than 2.14.4. [Full Changelog](https://github.com/antergos/web-greeter/compare/2.2.2...2.2.3) ## [2.2.2](https://github.com/antergos/lightdm-webkit2-greeter/tree/2.2.2) ~ 01-18-2017 **Fixed:** * Implement workaround to prevent the web process from crashing in webkit2gtk 2.14.3 [Full Changelog](https://github.com/antergos/lightdm-webkit2-greeter/compare/2.2.1...2.2.2) ## [2.2.1](https://github.com/antergos/lightdm-webkit2-greeter/tree/2.2.1) ~ 12-26-2016 **Fixed:** * Increased the timeout for the "theme loaded" check to ensure themes are given enough time to load (when running on less powerful systems). (GH #98) * Fixed issue where users' custom .face image failed to load. (GH #98) [Full Changelog](https://github.com/antergos/lightdm-webkit2-greeter/compare/2.2...2.2.1) ## [2.2](https://github.com/antergos/lightdm-webkit2-greeter/tree/2.2) ~ 12-18-2016 **Added:** * The JavaScript API for themes is now [fully documented](https://goo.gl/0iPzA4). * New Theme Error Recovery System that will alert the user when errors are detected during JavaScript execution and give them the option to to load a fallback theme. * New config option: secure_mode (enabled by default). When enabled, only local http requests are allowed in themes. All non-local requests will be blocked. * It is now possible to override the language and format used by the greeter when displaying the current time. See the greeter config file for details. * A new utility method for getting the current localized time is available to themes. * Simple theme now has a fade out exit animation. **Changed:** * Switched build systems from Autotools to Meson. * Updated API usage for LightDM 1.19.2+. * Updated bundled JS & CSS vendor libs to their latest versions. * Updated translations with latest changes contributed by the Antergos Community on Transifex. * Default theme: - Buttons and user list-box items received some minor style enhancements. - Theme is now compatible with the latest jQuery. * Simple theme: - Removed deprecated HTML4 tags. - Improved styles for the input field. **Fixed:** * The ugly default X cursor will no longer be shown after the greeter exits. * Default theme: - The error messages container will now appear correctly (size and position). - It is now once again possible to skip straight to password entry by pressing either the spacebar or the enter key. **Removed:** * Removed the Theme Heartbeat system. [Full Changelog](https://github.com/antergos/lightdm-webkit2-greeter/compare/2.1.6...2.2) ## [2.1.6](https://github.com/antergos/lightdm-webkit2-greeter/tree/2.1.6) ~ 10-17-2016 **Added:** * The greeter is now compatible with LightDM 1.19.2+ [Full Changelog](https://github.com/antergos/lightdm-webkit2-greeter/compare/2.1.5...2.1.6) ## [2.1.5](https://github.com/antergos/lightdm-webkit2-greeter/tree/2.1.5) ~ 10-14-2016 **Fixed:** * Remove old code related to GDKWindow filters as it is no longer necessary and was actually causing issues with webkitgtk 2.14+. [Full Changelog](https://github.com/antergos/lightdm-webkit2-greeter/compare/2.1.4...2.1.5) ## [2.1.4](https://github.com/antergos/lightdm-webkit2-greeter/tree/2.1.4) ~ 04-27-2016 **Added:** * New Theme Heartbeat System to allow the greeter to detect and respond to theme failures. **Changed:** * Updated translations. [Full Changelog](https://github.com/antergos/lightdm-webkit2-greeter/compare/2.1.3...2.1.4) ## [2.1.3](https://github.com/antergos/lightdm-webkit2-greeter/tree/2.1.3) ~ 04-16-2016 **Added:** * New Theme Heartbeat System to allow the greeter to detect and respond to theme failures. **Changed:** * Implemented work-around in default theme for a webkit2gtk bug related to localStorage. * Moved vendor css, js, & font files into new top level `_vendor` directory for easy access from any theme that needs them. **Fixed:** * Default theme: - Fix time format when no value is cached. - Fix empty session dropdown when no session is cached. [Full Changelog](https://github.com/antergos/lightdm-webkit2-greeter/compare/2.1.2...2.1.3) ## 2.1.2 * Allow access to right-click context menu when debug mode is enabled in lightdm-webkit2-greeter.conf. * Add additional debug messages to the default theme to help identify points of failure. * Fix issue with screen blanking functionality when greeter is used as a lockscreen. ## 2.1.1 * Fix default theme initialization failure if config file values are missing. ## 2.1.0 * It is now possible to configure branding including logos and backgrounds in lightdm-webkit2-greeter.conf. * The GTK+ fade-out on-exit animation was removed in favor of allowing themes to handle the animation with webkit (via javascript) as the latter provides a much nicer effect. See the default antergos theme for an implementation example. * Themes Javascript API Improvements: - Themes can now easily query values from lightdm-webkit2-greeter.conf using the new global "config" object: * config.get_str() * config.get_num() * config.get_bool() - A new global object "greeterutil" was added to provide utility functions to themes. Newly added utility functions: * greeterutil.dirlist() - List the contents of a directory. * greeterutil.text2html() - Escape HTML entities in a string. - Themes should now query the config file for the distro logo to use. See the default antergos theme for an implementation example. * Default theme: - Theme is no longer compiled to ES2015 as Webkit2Gtk now supports ES6. - The logo can now be configured in lightdm-webkit2-greeter.conf. - The background images directory can also be configured in lightdm-webkit2-greeter.conf. * Several small bug fixes, enhancements, and code cleanup commits also made it into this release. ## 2.0.0 * Version scheme updated for both the webkit1 and webkit2 greeters as follows: - MAJOR.MINOR.UNIQUE_FIXES * MAJOR: Denotes a major release. Shared by legacy webkit1 and webkit2 greeters. * MINOR: Denotes small changes/fixes. Also shared by webkit 1 and webkit2 greeters. * UNIQUE_FIXES: Denotes fixes unique to either the legacy webkit1 or webkit2 greeters. * Legacy Webkit1 greeter development is officially in maintenance-only mode (bug fixes only). * Webkit2 greeter supersedes the Webkit1 greeter and is the focus of all new development. * Completed API including the guest and auto-login functions. * API is now completely in-line with LightDM API. * Several functional code improvements. * Added Exception handling. * Added man page. * Default theme: - Added translations. - Added confirmation dialogue for system actions. - Theme's script was completely rewritten in ES6. - Use babel to compile ES6->ES5 until webkit catches up. ## 0.2.3 * Add support for getting the lock_hint from lightdm. * Default webkit theme is now antergos. * Code formatting cleanup ## 0.2.1 * Handle tasks that a WM would normally handle. * Code clean-up ## 0.2.0 * Add missing lightdm.set_language function * Fix compile warnings ## 0.1.3 * Port from webkitgtk -> webkit2gtk * Use GTK+ 3.0 ## 0.1.2 * Fix files not being added to tarball * Don't use AC_CONFIG_MACRO_DIR in configure.ac ## 0.1.1 * Update to work with newer LightDM ## 0.1.0 * Split out into separate module from lightdm