Commit Graph
194 Commits
Author SHA1 Message Date
Alfredo Monclus 06e69a71f3 installer: ask for network-manager 2024-06-02 06:48:11 -03:00
Alfredo Monclus 67767e3742 deps: cleanup 2024-06-02 06:48:11 -03:00
Bruno d0e9dd0352 KlipperScreen Install Fix (#1385)
Fixed Syntax Error from line 154 when running install script.
2024-05-31 07:45:59 -03:00
Alfredo Monclus 1578665b71 installer: always cleanup old env 2024-05-30 09:01:16 -03:00
Alfredo Monclus 9889f551cc Revert "printer: add pwm tool count to init"
This reverts commit 6aad788018.
2024-05-29 14:28:42 -03:00
Alfredo Monclus 6aad788018 printer: add pwm tool count to init 2024-05-29 14:27:25 -03:00
Alfredo Monclus e39c286f00 deps: requests 2.32 doesn't support 3.7 2024-05-27 22:34:04 -03:00
Alfredo Monclus 6815e9cabc network: improvements in error handling 2024-05-25 23:56:07 -03:00
dependabot[bot] bf4d361403 build(deps): bump requests from 2.31.0 to 2.32.2 in /scripts (#1374)
Bumps [requests](https://github.com/psf/requests) from 2.31.0 to 2.32.2.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.31.0...v2.32.2)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-24 19:17:48 -03:00
Alfredo Monclus a80b881015 network: new NetworkManager backend using sdbus (#1269)
* network: new NetworkManager backend using sdbus

drop support for old methods

* rescan changes

* add wifi on-off
2024-05-24 19:13:35 -03:00
Alfredo Monclus 524aa0e7dc drop python 3.7 support (#1271)
* drop python 3.7 support

start using  PEP 572 assignment expressions

Update FAQ

improve how unsupported versions are informed

this should be clearer on why we refuse to continue

* add more asign-expressions
2024-05-24 19:13:19 -03:00
Alfredo Monclus 564db518da update translation files 2024-05-23 23:38:47 -03:00
dependabot[bot] b4507aef62 build(deps): bump python-mpv from 1.0.5 to 1.0.6 (#1354)
Bumps [python-mpv](https://github.com/jaseg/python-mpv) from 1.0.5 to 1.0.6.
- [Commits](https://github.com/jaseg/python-mpv/compare/v1.0.5...v1.0.6)

---
updated-dependencies:
- dependency-name: python-mpv
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-08 06:17:15 -03:00
dependabot[bot] 2ab8d3f985 build(deps): bump jinja2 from 3.1.3 to 3.1.4 (#1356)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-08 06:14:33 -03:00
alfrix ab658e58f7 installer: fix a dep issue 2024-05-04 18:04:14 -03:00
dependabot[bot] c873ebe261 build(deps): bump websocket-client from 1.6.1 to 1.8.0 (#1349)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.6.1 to 1.8.0.
- [Release notes](https://github.com/websocket-client/websocket-client/releases)
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog)
- [Commits](https://github.com/websocket-client/websocket-client/compare/v1.6.1...v1.8.0)

---
updated-dependencies:
- dependency-name: websocket-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 15:43:47 -03:00
alfrix 9a56026612 installer: explain the options a bit more 2024-04-28 22:37:09 -03:00
alfrix 8b861cd039 deps: drop python3-distutils fixes #1345, also drop virtualenv
distutils was needed previous to the switch to pygobject, now the gobject library marks that package as needed if necessary, so there is no need for adding it explicitly

virtualenv is faster to install packages it was particularly notorious on numpy, but since i've dropped numpy and matplotlib, it doesn't make much difference and adds unnecesary dependencies
2024-04-26 22:58:41 -03:00
Alfredo Monclus 6cd1a8e12f Add an alternative to X close #1289 (#1306)
* Changes to allow using cage-kiosk

Wayland support close #1289

* installer: many improvements

* installer: add notes about wayland status

* deps: don't pull xserver with updates
2024-04-03 14:32:32 -03:00
alfrix e5280b8d7a deps: don't pull in networkmanager with the updates close #1319 2024-04-03 13:56:02 -03:00
alfrix aac1801ceb startup change bash to sh
in debian /bin/sh points to dash which is more lightweight
2024-04-01 11:46:32 -03:00
dependabot[bot] 48b374c73e build(deps): bump pygobject from 3.44.1 to 3.48.1 (#1299)
Bumps [pygobject]() from 3.44.1 to 3.48.1.

---
updated-dependencies:
- dependency-name: pygobject
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-18 08:33:09 -03:00
alfrix 9052481af3 service: fix #1297 2024-03-09 18:37:16 -03:00
alfrix 74e9f61c40 service unit updates 2024-03-04 19:59:43 -03:00
alfrix 8db8df99f0 installer: move all the pkg related to x together 2024-03-03 22:19:13 -03:00
Stephan Wendel 2c778cce7f fix install in chroot fixes #1291
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2024-03-03 21:52:52 -03:00
alfrix 597d4301b6 installer: cleanups 2024-03-02 17:30:03 -03:00
alfrix e0af63774d changes for bookworm 2024-03-02 00:38:02 -03:00
alfrix 0570706bbe installer: fixup polkit permissions 2024-02-29 14:59:15 -03:00
alfrix f0abcfb0b0 Revert "build(deps): bump pycairo from 1.23.0 to 1.26.0 (#1278)"
This reverts commit 4ab595cde8.
2024-02-19 09:50:28 -03:00
dependabot[bot] 4ab595cde8 build(deps): bump pycairo from 1.23.0 to 1.26.0 (#1278)
Bumps [pycairo](https://github.com/pygobject/pycairo) from 1.23.0 to 1.26.0.
- [Release notes](https://github.com/pygobject/pycairo/releases)
- [Changelog](https://github.com/pygobject/pycairo/blob/main/NEWS)
- [Commits](https://github.com/pygobject/pycairo/compare/v1.23.0...v1.26.0)

---
updated-dependencies:
- dependency-name: pycairo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-19 09:49:54 -03:00
dependabot[bot] 9d9235712c build(deps): bump pycairo from 1.23.0 to 1.26.0 (#1272)
Bumps [pycairo](https://github.com/pygobject/pycairo) from 1.23.0 to 1.26.0.
- [Release notes](https://github.com/pygobject/pycairo/releases)
- [Changelog](https://github.com/pygobject/pycairo/blob/main/NEWS)
- [Commits](https://github.com/pygobject/pycairo/compare/v1.23.0...v1.26.0)

---
updated-dependencies:
- dependency-name: pycairo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-18 17:35:01 -03:00
alfrix acb187970f requirements: add known minimum versions for jinja and requests 2024-01-27 13:11:58 -03:00
dependabot[bot] 58d1c04221 build(deps): bump jinja2 from 3.1.2 to 3.1.3 (#1233)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.2...3.1.3)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-13 12:30:27 -03:00
alfrix a0d009e126 installer: provide a fix for fbturbo
some GPIO/SPI screen installer put the config but not the driver, this causes a failure to start, remove said config to allow the more standarized fbdev to work
2024-01-13 12:29:36 -03:00
alfrix 874645614f translations: add widget folder to translations, and fix some string not being recognized 2024-01-12 21:43:12 -03:00
alfrix 2af58ef8ea network: refactors and fixes 2024-01-11 20:54:10 -03:00
alfrix d9aaddb462 installer: ask when installing the service 2024-01-11 20:54:10 -03:00
dependabot[bot] 9f828665b3 build(deps): bump websocket-client from 1.6.1 to 1.7.0 (#1188)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/websocket-client/websocket-client/releases)
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog)
- [Commits](https://github.com/websocket-client/websocket-client/compare/v1.6.1...v1.7.0)

---
updated-dependencies:
- dependency-name: websocket-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-24 12:04:34 -03:00
Alfredo Monclus be972d50d1 Polkit rules to fix #1201 and improve network permissions avoiding the nm workaround (#1205)
* installer: use polkit for permissions

* update dependencies

* docs update
2023-12-23 12:20:58 -03:00
dependabot[bot] d46b5dd21b build(deps): bump python-mpv from 1.0.4 to 1.0.5 (#1179)
Bumps [python-mpv](https://github.com/jaseg/python-mpv) from 1.0.4 to 1.0.5.
- [Commits](https://github.com/jaseg/python-mpv/compare/v1.0.4...v1.0.5)

---
updated-dependencies:
- dependency-name: python-mpv
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-29 19:31:32 -03:00
alfrix 4a14962d35 deps: update pycairo close #1150 2023-10-24 20:51:47 -03:00
alfrix 79b3c7f749 reqs: update websocket-client 2023-10-10 11:22:37 -03:00
alfrix d06231a6b6 installer: call python3 2023-09-28 15:19:58 -03:00
alfrix a3345f78dd installer: call python3 close #1131
i have no taken into account old distros that have python 2 as default since python 2 has not been supported since 2020

keep in mind that python 3.7 is out of support
and i will push KS requeriments to 3.9 when buster enters EOL mid-next year (bullseye has 3.9)
3.8 will be out of support close to buster, it will be skipped

so anyone on legacy distros will not be able to update KS past july 2024
2023-09-28 14:48:06 -03:00
alfrix 685061fc24 update requirements 2023-09-27 23:39:31 -03:00
alfrix 0fada32c4b check requirements in the installer 2023-09-27 23:03:43 -03:00
Blonďákandalfrix af1de12f28 Spoolman support close #1060
Refactor post_requrest
Switching to TreeView
More spool info
redesign toggle buttons
Allow spoolman while printing
Styling checkbox as switch
render Toggle switch-like
Fixed wrong timezones
Filtering spools
Removed translations of Spoolman
Spool image can be overided in theme
Added switch-on/off symbols to toggle
rename iter to i to avoid shadowing built-in function
remove redundant parenthesis
convert spoolcompare to static
merge check and treeview shared props
reduce spacing of buttons very useful for vertical/portrait
fix issue with remainings
add spoolman shortcut to extrude
Using backports.zoneinfo for python < 3.9
use decorators for properties
extract format_date function
change top row
last used sort
rebase on upstream
Fix for never used spools


Co-authored-by: alfrix <alfredomonclus@gmail.com>
2023-08-19 18:43:45 -03:00
alfrix 37e71e17f9 moonraker compat: create system-dependencies 2023-08-18 11:48:37 -03:00
alfrix 168e75059a camera: requirements fix for debian bookworm
this is an indirect fix the correct approach would be checking the version of libmpv and if libmpv 0.33 or above install the newer version, meh
2023-08-18 11:48:37 -03:00