Commit Graph

1872 Commits

Author SHA1 Message Date
Donkie
7172531386 docs: Fixed parmams typo
Signed-off-by: Daniel Hultgren <daniel.cf.hultgren@gmail.com>
2023-06-26 16:24:41 -04:00
Donkie
e6b3b8ba48 docs: Added section for spoolman
Signed-off-by: Daniel Hultgren <daniel.cf.hultgren@gmail.com>
2023-06-26 16:24:41 -04:00
Donkie
4b9c836743 spoolman: Added basic spoolman integration
Proxies any request to the spoolman server. Records filament usage.

Signed-off-by: Daniel Hultgren <daniel.cf.hultgren@gmail.com>
2023-06-26 16:24:40 -04:00
Eric Callahan
2078287872 github: update linter action
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-06-25 07:44:03 -04:00
Eric Callahan
2b98792657 docs: add zeroconf changes
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-06-25 07:02:12 -04:00
Eric Callahan
1f0fd699ea zeroconf: add support for ssdp discovery
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-06-24 18:08:08 -04:00
Eric Callahan
a55818bb1a app: allow endpoints to define Content Type
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-06-22 16:30:06 -04:00
Eric Callahan
95d5f045db zeroconf: add support for configurable mdns hostnames
Signed-off-by:  Eric Callahan <aksine.code@gmail.com>
2023-06-22 06:18:01 -04:00
Eric Callahan
adc32379da zeroconf: improve mulit-instance handling
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-06-22 06:18:00 -04:00
Eric Callahan
02d66a346d server: add support for instance uuids
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-06-21 11:03:07 -04:00
Eric Callahan
0f4276d9b0 docs: document update_manager changes
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-06-20 11:59:42 -04:00
Eric Callahan
3b62ed4e4f dbus_manager: fix polkit warning
Only warn that polkit is unavailable when a component attempts
to use it to check a permission.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-06-20 11:59:41 -04:00
Eric Callahan
a797dd0b50 update_manager: validate web type installations
Require that "web" installations provide release info to validate
existing installations.  For known web clients provide a fallback
that uses the manifest to validate the installation.

Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2023-06-20 11:59:41 -04:00
Eric Callahan
a7b9e5783d git_deploy: relax validation requirements
Do not report invalid if the remote or branch does not match
the configured values.  In these conditions report them as
"repo_warnings" that frontends may display to the user.

Hard recovery now requires a recovery URL detected from the git
repo's "origin" remote.  This closes a potential security issue where a
malicioius repo could be cloned over an installed repo.

Signed-off-by:  Eric Callahan <arskine.code@gmail.com>
2023-06-20 11:59:40 -04:00
Eric Callahan
35396a5b2a source_info: add within_git_repo method
Check for git files and folders, including those of parents.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-06-20 11:59:40 -04:00
Eric Callahan
86af3a42ff build: update lmdb dependency in pyproject.toml
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-06-17 13:48:50 -04:00
Pedro Lamas
09f9043e9a requirements: bump lmdb to 1.4.1
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
2023-06-17 13:46:24 -04:00
quarkvalk
aa0f89c2a4 docs: fix JSON-RPC typo
Removed trailing comma in the JSON-RPC request example for
"Get Server Config", as that will raise an error.

Signed-off-by: Carl Rothe (carlrothe@gmail.com)
2023-06-08 07:16:28 -04:00
Eric Callahan
1a5cf56532 utils: add direct fallback to load_system_module
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-06-07 19:45:39 -04:00
Eric Callahan
d6231634db history: add modified time check for file existence
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-06-01 05:50:31 -04:00
Eric Callahan
c41c5881c8 git_deploy: fix tag format specifier
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-05-26 14:51:16 -04:00
Eric Callahan
adca664460 loghelper: improve header logging
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-05-26 11:00:16 -04:00
Eric Callahan
cd4fdfb7b6 utils: report additional git repo data
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-05-26 10:49:58 -04:00
Eric Callahan
c609060352 app_deploy: escape pip requirements installed via command line
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-05-26 07:57:09 -04:00
dependabot[bot]
348b7f521f build(deps): bump pymdown-extensions from 9.9.2 to 10.0 in /docs
Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 9.9.2 to 10.0.
- [Release notes](https://github.com/facelessuser/pymdown-extensions/releases)
- [Commits](https://github.com/facelessuser/pymdown-extensions/compare/9.9.2...10.0)

---
updated-dependencies:
- dependency-name: pymdown-extensions
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-25 16:10:24 -04:00
Chris Thornton
b21f177e95 notifier: Add body_format as an option
This lets you format the messages through apprise a little nicer

Signed-off-by: Chris Thornton <cwgthornton@gmail.com>
2023-05-07 05:59:43 -04:00
Eric Callahan
6c7dfe5921 docs: add new fields to webcam documentation
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-04-23 07:30:08 -04:00
Eric Callahan
cf56a1cdcd webcam: add new fields
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-04-23 07:30:07 -04:00
Eric Callahan
ac10b4a3b9 http_client: don't store client in the wrapper
This closes a securitiy vulernability where the client could
be used to download and save a file from any configured
location.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-04-18 08:09:55 -04:00
Eric Callahan
53d9522c06 sensors: measurement request fix
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-04-18 08:09:54 -04:00
Eric Callahan
eff090170c docs: update power configuration documentation
Signed-off-by:  Eric Callaham <arksine.code@gmail.com>
2023-04-14 07:43:29 -04:00
Eric Callahan
204e7ca4ff power: add support for generic http sensors
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-04-14 07:43:28 -04:00
Eric Callahan
d393c89ae0 http_client: add a http request wrapper
This wrapper is an object that may be used to build requests
procedurally rather than submit all request parameters in
a call to "request()", "get()", etc.  This is primarily useful for
usage in a Jinja2 context.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-04-05 06:13:08 -04:00
Eric Callahan
31e589abde job_queue: fix erronous state after start
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-04-04 11:07:16 -04:00
Eric Callahan
6b73da55f8 job_queue: never transition after complete unless auto is enabled
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-04-04 11:03:12 -04:00
SoftFever
110cbd1084 metadata: Add support to extract metadata from g-code files generated by OrcaSlicer
Signed-off-by: Li Jiang <softfeverever@gmail.com>
2023-03-20 06:20:33 -04:00
Eric Callahan
80920dd872 utils: fix dist package check
Older versions of virtualenv include their own "site" module
that does not have the "getsitepackages" method.  Add
a check to verify its presence  before calling it.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-03-05 16:41:21 -05:00
Eric Callahan
c40a3474f4 docs: update changelog
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-03-05 12:30:00 -05:00
Eric Callahan
4cc0e86dc0 build: bump apprise to version 1.3.0
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-03-05 12:28:42 -05:00
Eric Callahan
6ef20d0a1f docs: update notifier documentation
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-03-05 12:28:41 -05:00
Eric Callahan
f29c896c4a notfiier: extend attach option
The "attach" option now accepts templates, such templates
are passed the same context received by the body and title
options.  Additionally it is possible to specify multiple
attachments by separating each attachment with a newline.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-03-05 12:28:41 -05:00
Mikkel Schmidt
40013ec270 module: add ratos-configurator to default services
Adds the RatOS configurator to the default service list in machine.py so future installs of moonraker will allow the ratos configurator service to be managed from frontends.

Signed-off-by: Mikkel Schmidt <mikkel.schmidt@gmail.com>
2023-03-05 12:27:56 -05:00
Eric Callahan
18f5ff4eed build: fix pyproject.toml
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-02-27 10:43:24 -05:00
Eric Callahan
c8767daddf docs: update changelog
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-02-27 06:35:11 -05:00
Eric Callahan
523c1ce423 docs: clarify update_manage documentation
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-02-27 06:23:04 -05:00
Eric Callahan
452aa9a931 klippy_connection: save service info in database
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-02-26 16:52:27 -05:00
Eric Callahan
ead4cc21ce update_manager: fix service restart
On machines running instances of Moonraker and Klipper without
the default service names it is necessary to look up their unit names
using systemd.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-02-26 16:19:38 -05:00
Eric Callahan
fd5ea0c6a4 octoprint_compat: validate web_request args
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-02-24 10:26:16 -05:00
Eric Callahan
6a5a5b50d3 update_manager: validate web_request args
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-02-24 10:26:16 -05:00
Eric Callahan
4281c4d978 machine: validate web_request args
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2023-02-24 10:26:15 -05:00