Eric Callahan
10ac044485
scripts: add a --root argument to set-policykit-rules.sh
...
If a user specifies this then root is allowed to run the script.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-01-30 15:20:49 -05:00
Eric Callahan
5ec98cf0ba
scripts: workaround pip 22.0 issues
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-01-30 14:08:13 -05:00
Eric Callahan
13591d0a5b
scripts: do not allow set-policykit-rules.sh to run as root
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-01-29 14:07:15 -05:00
Eric Callahan
7c8c0e715f
scripts: update set-policykit-rules.sh
...
Check for the moonraker-admin Supplementary group
in the moonraker service file and add it if necessary.
For PolKit versions > 0.106 make sure that the process
is launched with the moonraker-admin group before
granting any polkit permissions.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-01-28 18:00:21 -05:00
Eric Callahan
468ea36bba
scripts: update install-moonraker.sh
...
Add the "moonraker-admin" supplementary group to the service unit
file. Check if polkit rules are available after installation, if not
advise the user that they may wish to run set-polkit-rules.sh.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-01-28 18:00:21 -05:00
Eric Callahan
4d473969db
scripts: add packagekit dependency to install script
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-01-28 18:00:21 -05:00
Eric Callahan
a92847771d
scripts: add set-policykit-rules.sh
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-01-28 18:00:21 -05:00
Eric Callahan
744f14d6f9
scripts: add pk-enum-converter.py
...
This is added to distrubute the changes made to "enum-converter.py"
taken from the original PackageKit repo.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-01-28 18:00:21 -05:00
Eric Callahan
be338ad039
machine: add systemd dbus provider implmentation
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-01-28 18:00:21 -05:00
Richard Mitchell
5f54a23f3e
Richardjm/wled serial asyncio ( #332 )
...
wled: Use pyserial-asyncio for wled
Signed-off-by: Richard Mitchell <richardjm+moonraker@gmail.com>
2022-01-15 14:22:49 -05:00
dependabot[bot]
60f2e3e1c7
build(deps): bump pillow from 8.3.2 to 9.0.0 in /scripts
...
Bumps [pillow](https://github.com/python-pillow/Pillow ) from 8.3.2 to 9.0.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases )
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst )
- [Commits](https://github.com/python-pillow/Pillow/compare/8.3.2...9.0.0 )
---
updated-dependencies:
- dependency-name: pillow
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-13 05:53:30 -05:00
Pedro Lamas
9d7baa1eb6
utils: fixes minor typo
...
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
2021-12-28 14:13:27 -05:00
Eric Callahan
2142d344dd
template: add support for Jinja2 template evaluation
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-12-14 17:51:12 -05:00
Frank Tackitt
2216e85fef
Bump preprocess-cancellation to 0.1.6
...
This fixes a bug that caused retraction moves to be included in bounding box calculations.
2021-12-09 14:26:45 -05:00
Stephan Wendel
f22e16d8cc
FIX: sudo_fix.sh not working on armbian
...
According to https://github.com/Arksine/moonraker/issues/241
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2021-12-05 06:51:30 -05:00
Eric Callahan
ea6c78773e
scripts: add preprocess-cancellation dependency
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-12-05 06:45:06 -05:00
Clifford Roche
4e8e4f7d14
zeroconf: add module for zeroconf discovery
...
Signed-off-by: Clifford Roche <clifford.roche@gmail.com>
2021-11-22 15:03:33 -05:00
Eric Callahan
f9372f3638
scripts: remove Klipper check in install script
...
Moonraker no longer requires that Klipper be installed and started prior to launch.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-31 06:11:06 -04:00
Eric Callahan
21305853ce
scripts: add liblmdb-dev and libjpeg-dev to dependencies
...
These packages can be required on systems that need to build python wheels.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-31 06:03:56 -04:00
Eric Callahan
b1f122beec
scripts: update service to start after the network is brought online
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-08 08:07:03 -04:00
Eric Callahan
4e2bbde829
scripts: remove nginx dependency
...
Moonraker itself does not depend on nginx and it
is no longer required to install clients on the host.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-09-29 17:22:26 -04:00
Eric Callahan
00c6072274
workflows: update Klipper's repo location
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-09-24 12:22:45 -04:00
Eric Callahan
46a8723566
scripts: add libcurl4-openssl-dev dependency
...
This dependency is also require to build the pycurl wheel.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-09-21 14:02:09 -04:00
Eric Callahan
233be2e889
scripts: add libssl-dev dependency
...
This is required for operating systems that need to build
the pycurl wheel
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-09-21 13:08:27 -04:00
Eric Callahan
73d3eae8ae
scripts: add pycurl dependency
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-09-21 08:23:32 -04:00
dependabot[bot]
8ca953f55c
build(deps): bump pillow from 8.2.0 to 8.3.2 in /scripts
...
Bumps [pillow](https://github.com/python-pillow/Pillow ) from 8.2.0 to 8.3.2.
- [Release notes](https://github.com/python-pillow/Pillow/releases )
- [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst )
- [Commits](https://github.com/python-pillow/Pillow/compare/8.2.0...8.3.2 )
---
updated-dependencies:
- dependency-name: pillow
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 05:34:32 -04:00
Eric Callahan
a1cf02231a
scripts: add --allow-releaseinfo-change option to apt-get in install-moonraker.sh
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-08-24 06:41:45 -04:00
Eric Callahan
2c47064d79
scripts: add release build scripts
...
Add a script that can build zipped releases to be distributed by Moonraker's Update Manager.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-07-06 19:25:10 -04:00
Eric Callahan
5379e4b4bd
scripts: remove version.txt
...
This file is no longer required for moonraker, the version info will either be stored in the pex file or retreived from git.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-07-06 19:25:10 -04:00
Eric Callahan
6b03c4600d
scripts: minor install script fixes
...
Fix the systemd unit description. Make the launch command variable.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-07-06 19:25:10 -04:00
Eric Callahan
7ed54a166b
scripts: provide a log path option in install-moonraker.sh
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-07-06 19:25:10 -04:00
Arksine
03892a517e
update_manger: move module into its own package
...
This includes its specific configuration file.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-07-06 19:25:10 -04:00
Arksine
7ccb455174
metadata: move extract_metadata.py to components
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-07-06 19:25:10 -04:00
Eric Callahan
331be63c9e
scripts: add paho-mqtt dependency
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-06-22 08:21:26 -04:00
Eric Callahan
d3df568aec
extract_metadata: don't remove ufp files after failed extraction
...
Cura writes ufp files in chunks, closing the file after each chunk is written. This will result in a failed extraction, and removing the file will result in corruption.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-06-18 06:15:54 -04:00
dependabot[bot]
d9d3739118
build(deps): bump pillow from 8.1.2 to 8.2.0 in /scripts
...
Bumps [pillow](https://github.com/python-pillow/Pillow ) from 8.1.2 to 8.2.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases )
- [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst )
- [Commits](https://github.com/python-pillow/Pillow/compare/8.1.2...8.2.0 )
---
updated-dependencies:
- dependency-name: pillow
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-08 19:20:15 -04:00
Eric Callahan
108d0578a2
scripts: update moonraker python requirements
...
Remove python jose and cryptography. Add pynacl.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-06-03 05:46:14 -04:00
Arksine
e4e58f6d97
scripts: add python-jose python dependency
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-05-23 09:09:53 -04:00
Arksine
c83d91eea7
extract_metadata: add annotations
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-05-19 06:59:38 -04:00
Arksine
43fcca5ffa
scripts: add inotify-simple dependency
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-05-18 19:12:54 -04:00
Arksine
db0eb8f22b
extract_metadata: remove base64 data from metadata
...
The previously deprecated "data" field has now been removed. The "size" field now reports the size of the png. Clients may use the "relative_path" field to retrieve thumbnail png files.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-05-18 19:12:54 -04:00
Arksine
eaf35ded0c
extract_metadata: add support for ufp file extraction
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-05-18 19:12:54 -04:00
Arksine
ecbf663b18
file_manager: make the thumbs directory hidden
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-05-18 19:12:54 -04:00
Arksine
52f08eda08
extract_metdata: fix whitespace errors
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-05-09 08:17:24 -04:00
Arksine
24eaff6951
machine: add distribution to system info
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-04-26 12:08:52 -04:00
Arksine
3627331527
scripts: update to lmdb 1.2.1
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-04-20 06:03:42 -04:00
Arksine
64e794f1b5
scripts: add fetch-apikey helper script
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-04-19 20:46:17 -04:00
Arksine
5bba0fc2fa
scripts: bump lmdb version to 1.2.0
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-04-19 20:46:17 -04:00
th33xitus
4d69a1f1c6
extract_metadata: parse filament_total and filament_total_weight for Slic3r
...
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2021-04-17 06:06:53 -04:00
th33xitus
f203567381
extract_metadata: add Cura filament weight parsing
...
Adds a simple implementation for parsing filament weight from Cura g-code with help of a custom start-g-code comment.
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2021-04-17 06:06:53 -04:00