Metadata-Version: 2.4
Name: imio.scan_helpers
Version: 0.7.1
Summary: Various script files to handle local scan tool
Author: Stephan Geulette (IMIO)
Author-email: support@imio.be
License: GPL version 3
Project-URL: PyPI, https://pypi.python.org/pypi/imio.scan_helpers
Project-URL: Source, https://github.com/IMIO/imio.scan_helpers
Keywords: Scan Windows
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 3.12
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: Microsoft :: Windows :: Windows 10
Classifier: Operating System :: Microsoft :: Windows :: Windows 11
Requires-Python: >=3.12
License-File: LICENSE
Requires-Dist: pyinstaller
Requires-Dist: requests
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: project-url
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

imio.scan_helpers
=================
Various script files to handle MS Windows scan tool

Installation
------------
Use virtualenv in bin directory destination

Build locally
-------------
bin/pyinstaller -y imio-scan-helpers.spec

GitHub actions
--------------
On each push or tag, the github action will build the package and upload it to the github release page.
https://github.com/IMIO/imio.scan_helpers/releases

Windows installation
--------------------
The zip archive must be decompressed in a directory (without version reference) that will be the execution directory.

Windows usage
-------------
* imio-scan-helpers.exe -h : displays the help
* imio-scan-helpers.exe : updates the software based on version and restarts it
* imio-scan-helpers.exe -r tag_name: updates the software with specific release and restarts it
* imio-scan-helpers.exe -c client_id: stores client_id in configuration file
  (used as identification when sending info to imio)
* imio-scan-helpers.exe -p plone_password: stores webservice password in configuration file
  (used when sending info to imio)
* imio-scan-helpers.exe -nu : runs without update
* imio-scan-helpers.exe --startup : adds the software to the windows startup
* imio-scan-helpers.exe --startup-remove : removes the software from the windows startup
* profiles-backup.exe : backups profiles
* profiles-restore.exe : restores profiles

Changelog
=========

0.7.1 (2026-02-20)
------------------

- Fixed pip-system-cert for inject_truststore() function.
  [chris-adam]
- Fixed get_latest_release_version to iterate over all GitHub pages.
  [chris-adam]
- Added parameter to prevent auto updates.
  [chris-adam]
- Replaced pip-system-certs with truststore to resolve certificate problems.
  [chris-adam]


0.7.0 (2025-09-01)
------------------

- Used `pip-system-certs` to resolve certificate problems.
  [chris-adam]
- Unpinned pyinstaller version.
  [sgeulette]
- Improved send_log_message to avoid timeout.
  [sgeulette]
- Added exception handling when removing profiles directory.
  [chris-adam]

0.6.0 (2024-08-28)
------------------

- Improved version update.
  [sgeulette]
- Added `-tm` parameter (test message).
  [sgeulette]

0.5.2 (2024-08-26)
------------------

- Added version in message sent to webservice.
  [sgeulette]

0.5.1 (2024-08-23)
------------------

- Corrected bug with relative path.
  [sgeulette]
- Added backuped dirs in first message.
  [sgeulette]

0.5.0 (2024-08-22)
------------------

- Added certifi pem file to be sure https certificates can be validated.
  [sgeulette]

0.4.1 (2024-08-22)
------------------

- Added more info in first message.
  [sgeulette]

0.4.0 (2024-08-21)
------------------

- Added optional basic proxy configuration.
  [sgeulette]

0.3.2 (2024-08-21)
------------------

- Corrected `utils.json_request`.
  [sgeulette]

0.3.1 (2024-08-20)
------------------

- Added tests.
  [sgeulette]

0.3.0 (2024-08-14)
------------------

- Corrected version.
  [sgeulette]

0.2.5 (2024-08-14)
------------------

- Called profiles_restore in main.
  [sgeulette]

0.2.4 (2024-08-14)
------------------

- Corrected set_parameter. Added hostname information.
  [sgeulette]

0.2.3 (2024-08-14)
------------------

- Send an info message (no mail) when the product is updated.
  [sgeulette]

0.2.2 (2024-08-13)
------------------

- Added `--is-auto-started` parameter in main, passed when app is auto started.
  [sgeulette]

0.2.1 (2024-08-13)
------------------

- Changed backup directory.
  [sgeulette]
- Improved exception logging.
  [sgeulette]

0.2.0 (2024-08-13)
------------------

- Added profiles_backup script.
  [sgeulette]
- Stored client identification, plone password and webservice url in configuration file.
  [sgeulette]
- Added profiles_restore script.
  [sgeulette]

0.1.1 (2024-07-19)
------------------

- Handled Windows startup add or remove following parameters.
  [sgeulette]

0.1.0 (2024-07-18)
------------------

- Initial release.
  [sgeulette]
