155 Commits

Author SHA1 Message Date
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ďák
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
dependabot[bot]
fe81370825
build(deps): bump websocket-client from 1.6.0 to 1.6.1 (#1030)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.6.0 to 1.6.1.
- [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.0...v1.6.1)

---
updated-dependencies:
- dependency-name: websocket-client
  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-07-30 12:23:21 -03:00
dependabot[bot]
7cf89aa014
build(deps): bump websocket-client from 1.5.3 to 1.6.0 (#1022)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.5.3 to 1.6.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.5.3...v1.6.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-06-21 16:09:18 -03:00
dependabot[bot]
3b8b8e9c9b
build(deps): bump websocket-client from 1.5.2 to 1.5.3 (#1010)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.5.2 to 1.5.3.
- [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.5.2...v1.5.3)

---
updated-dependencies:
- dependency-name: websocket-client
  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-06-13 13:41:14 -03:00
dependabot[bot]
5d4459ff0b
build(deps): bump requests from 2.30.0 to 2.31.0 (#986)
Bumps [requests](https://github.com/psf/requests) from 2.30.0 to 2.31.0.
- [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.30.0...v2.31.0)

---
updated-dependencies:
- dependency-name: requests
  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-05-23 08:20:58 -06:00
dependabot[bot]
0798ce0737
build(deps): bump websocket-client from 1.5.1 to 1.5.2 (#984)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.5.1 to 1.5.2.
- [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.5.1...v1.5.2)

---
updated-dependencies:
- dependency-name: websocket-client
  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-05-23 08:19:17 -06:00
dependabot[bot]
a77148b603
build(deps): bump pycairo from 1.22.0 to 1.23.0 (#823)
Bumps [pycairo](https://github.com/pygobject/pycairo) from 1.22.0 to 1.23.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.22.0...v1.23.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>
2023-05-14 09:15:44 -06:00
dependabot[bot]
17dd3bb83a
build(deps): bump requests from 2.28.2 to 2.30.0 (#969)
Bumps [requests](https://github.com/psf/requests) from 2.28.2 to 2.30.0.
- [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.28.2...v2.30.0)

---
updated-dependencies:
- dependency-name: requests
  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-05-13 21:53:03 -06:00
dependabot[bot]
7905e4d7fa
build(deps): bump pygobject from 3.42.2 to 3.44.1 (#936)
Bumps [pygobject](https://pygobject.readthedocs.io) from 3.42.2 to 3.44.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>
2023-05-13 21:52:28 -06:00
alfrix
2d8419ca13 fix desktop icon not appearing 2023-03-17 07:50:50 -06:00
Alfredo Monclus
094b90cf86
network: integrate networkmanager (#917)
fixes #881
this should be temporary until an implementation of sdbus-networkmanager
2023-03-11 07:43:10 -06:00
Thijs Triemstra
fc7b8c5304
fix typos (#897) 2023-02-13 21:05:48 -06:00
dependabot[bot]
dcb6d18709
build(deps): bump websocket-client from 1.5.0 to 1.5.1 (#888)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.5.0 to 1.5.1.
- [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.5.0...v1.5.1)

---
updated-dependencies:
- dependency-name: websocket-client
  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-02-06 16:35:20 -06:00
dependabot[bot]
8d8d3bf9af
build(deps): bump requests from 2.28.1 to 2.28.2 (#868)
Bumps [requests](https://github.com/psf/requests) from 2.28.1 to 2.28.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.28.1...v2.28.2)

---
updated-dependencies:
- dependency-name: requests
  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-02-05 10:20:24 -06:00
alfrix
eeffdd26dd mask modemmanager close #857 2023-01-29 15:49:41 -06:00
dependabot[bot]
485c82c53f
build(deps): bump websocket-client from 1.4.2 to 1.5.0 (#877)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.4.2 to 1.5.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.4.2...v1.5.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-01-29 09:43:04 -06:00
Alex Hornung
f6afb4d4ab
install: Fix Xwrapper.config existence test (#846) 2022-12-13 20:04:08 -03:00
alfrix
9fa047eb8b camera: fix libmpv-dev not installing fixes #842 2022-12-12 08:00:38 -03:00
alfrix
d2d2c82041 feat: camera support, using mpv as backend
it should be able to play any video or stream that mpv itself can handle

close #67 close #129
2022-12-11 09:20:06 -03:00
alfrix
701ff35652 installer: if pip fails upgrade and retry once 2022-12-11 09:17:18 -03:00
alfrix
69a7d3defb installer: remove fbturbo always use fbdev most platforms today have issues with fbturbo 2022-11-30 11:00:10 -03:00
alfrix
d6161539a6 Update translation add japanese thanks to yhira1023 2022-11-28 11:57:12 -03:00
dependabot[bot]
7a8fe9f6ac
build(deps): bump pycairo from 1.21.0 to 1.22.0 (#799)
Bumps [pycairo](https://github.com/pygobject/pycairo) from 1.21.0 to 1.22.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.21.0...v1.22.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-27 14:31:00 -03:00
alfrix
fe06b38128 installer: add the new packages needed to build python-networkmanager to moonraker
not every platform has prebuilt bins, so it's necessary for those platforms to have this packages
2022-11-27 14:30:00 -03:00
alfrix
abb1f0d2d2 installer: add packages needed to build python-networkmanager
pass the req file to pip (secuential install was needed for Vext)
fixes #812

some systems don't have wheels and need compilation, the packages are needed for those cases
2022-11-26 15:57:50 -03:00
alfrix
9604c159b5 fix file permissions 2022-11-25 15:50:33 -03:00
alfrix
c630178f0c network: improve NetworkManager support 2022-11-24 14:57:36 -03:00
alfrix
92e899cf56 scripts: update naming and remove unused 2022-11-18 13:38:20 -03:00
mattlalumiere
6cb18816e2
Fixed Xclient scripts and added some examples (#717) 2022-11-18 13:31:41 -03:00
alfrix
a695c68a25 screen: simplify cursor changes 2022-11-12 09:30:43 -03:00
alfrix
ce6158ad91 bed_mesh: improvements an changes:
use current profiles instead of the ones saved in the config file
remove matplotlib and numpy, caused many intall issues, graph was slow and not great for small screens
create a custom 2D graph to show the probed matrix
2022-11-09 10:25:52 -03:00
dependabot[bot]
19506292b5
build(deps): bump websocket-client from 1.4.1 to 1.4.2 (#781)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.4.1 to 1.4.2.
- [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.4.1...v1.4.2)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 17:33:09 -03:00
alfrix
73e4645df0 installer: add input drivers by default close #772 2022-11-02 11:13:16 -03:00
alfrix
1332045128 installer: the workaround for pip 22 should not be needed by now 2022-10-15 18:56:05 -03:00
Nick Douma
1b758b85c6
Add Desktop file to easily start KlipperScreen on a normal Linux desktop (#713)
Co-authored-by: alfrix <alfredomonclus@gmail.com>
2022-09-21 20:18:22 -03:00
dependabot[bot]
c061378e62
build(deps): bump websocket-client from 1.4.0 to 1.4.1 (#721)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.4.0 to 1.4.1.
- [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.4.0...v1.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-21 11:35:06 -03:00
dependabot[bot]
5392b9337d
build(deps): bump pygobject from 3.42.1 to 3.42.2 (#677)
Bumps [pygobject](https://pygobject.readthedocs.io) from 3.42.1 to 3.42.2.

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-02 20:09:04 -03:00
dependabot[bot]
d2fccca2fc
build(deps): bump websocket-client from 1.3.3 to 1.4.0 (#711)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.3.3 to 1.4.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.3.3...v1.4.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-02 20:08:50 -03:00
alfrix
e986e3cd8e fix PEP8 E303 and make the code check more strict 2022-09-02 19:58:35 -03:00
alfrix
ce8762da19 installer: drop matchbox requirement and add an updater note 2022-09-02 19:58:35 -03:00