34c1604d8c
关闭更新管理中指定节点的配置
2024-12-03 14:33:32 +08:00
d3355361dc
Merge remote-tracking branch 'origin/develop' into develop
2024-11-29 10:04:34 +08:00
9c00be2f4e
gcode文件切片信息显示适配CreatWare切片软件
2024-11-29 08:57:23 +08:00
333a789469
修复z高度保存的精度问题
2024-11-26 18:03:29 +08:00
ccfa8c7356
修改一处大小写错误
2024-11-15 17:14:46 +08:00
b77bc2faed
优化程序的更新管理
2024-11-15 16:40:58 +08:00
9374daaa4e
完善断电续打是否暂停状态和当前激活挤出机变量的保存
2024-11-15 16:18:55 +08:00
9e9faf726d
实现断电续打功能的保存数据部分
2024-10-29 16:19:29 +08:00
9f32f0704a
添加开始打印的宏命令
2024-10-18 16:40:42 +08:00
caed3a1659
添加软件更新信息
2024-09-12 09:35:33 +08:00
c70f8d208d
添加触发急停后系统关机
2024-09-12 09:35:19 +08:00
a438d33fdb
实现断电检测GPIO检测到断电信号 触发机器急停
2024-09-04 11:31:28 +08:00
de6850a202
添加配置文件
2024-08-16 14:31:33 +08:00
7081bba5fd
更新提示优化
...
(cherry picked from commit defb4580255f96b5aa6b81f7c7188afe304bf7b1)
2024-08-15 15:32:52 +08:00
966cb8cc96
python-periphery库版本修改为2.4.0 修复gpio无法添加边沿触发问题
2024-06-27 11:06:49 +08:00
Eric Callahan
346a3d7c9d
history: fix default for unknown filename during migration
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-06-02 07:37:05 -04:00
Eric Callahan
f2f2c93aa1
history: check for null values during database migration
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-06-02 07:17:15 -04:00
Eric Callahan
4fe89d5571
database: don't warn on UUID mismatch
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-28 18:07:18 -04:00
Eric Callahan
7f89bd7d62
git_deploy: limit corruption detection
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-28 16:13:13 -04:00
Eric Callahan
3b1c21a72d
database: attempt to install lmdb if missing
...
When attempting a conversion, install the lmdb package if its missing.
This should resolve issues with containers or new installations that
want to migrate a previous db to sqlite.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-28 06:11:42 -04:00
Eric Callahan
5332eab258
database: skip invalid values when migrating namespaces
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-27 10:49:34 -04:00
Eric Callahan
c9581205d3
docs: add pinned commit documentation
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-25 12:30:56 -04:00
Eric Callahan
fa1dc438fa
git_deploy: add support for pinned commits
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-25 12:30:56 -04:00
Eric Callahan
bc34ebdff9
filelock: fix lockfile cleanup
...
Python 3.7 does not support the "missing_ok" argument
in pathlib.unlink().
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-21 06:18:46 -04:00
Eric Callahan
e41a934f74
database: support legacy sqlite_master table
...
Sqlite versions older than 3.33.0 store schema information in the
sqlite_master table rather than the sqlite_schema table.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-21 06:18:46 -04:00
Eric Callahan
7e16dded0b
docs: add sqlite documentation
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-21 06:18:46 -04:00
Eric Callahan
6b31076a43
machine: skip validation for new installs
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-21 06:18:46 -04:00
Eric Callahan
3f62bb6fb4
database: add backup, restore, and compact endpoints
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-21 06:18:46 -04:00
Eric Callahan
64ffe22545
build: dependency updates
...
Remove lmdb python and system dependencies. Bump
streaming-form-data to 1.15.0 and remove smart_open
as the issue import issue has been resolved.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-21 06:18:46 -04:00
Eric Callahan
0b1fce8a6d
file_manager: minor type checking fixes
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-21 06:18:46 -04:00
Eric Callahan
bb0266f5c4
app: replace dict with UserInfo throughout Moonraker
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-21 06:18:46 -04:00
Eric Callahan
eddf47e4a3
authorization: use SQL tables to store user info
...
Add a UserInfo class which provides type annotations for each member.
This class easily converts to a dict or tuple, simplifying conversion
for usage in SQL statements.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-21 06:18:46 -04:00
Eric Callahan
3f0d20ed8c
history: use tables for history and totals storage
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-21 06:18:46 -04:00
Eric Callahan
80c762074f
database: migrate from lmdb to sqlite
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-18 08:03:47 -04:00
Eric Callahan
9d0d09de80
eventloop: add low level eventloop property
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-18 08:03:47 -04:00
dependabot[bot]
73df63db1f
build(deps): bump jinja2 from 3.1.3 to 3.1.4
...
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
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-18 08:02:28 -04:00
Eric Callahan
fca0cf3027
docs: update sensor documentation
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-15 07:31:57 -04:00
Eric Callahan
76704feee4
sensor: add support for parameter configuration
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-15 07:31:57 -04:00
Eric Callahan
c5bf6e77a7
confighelper: type checking fix
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-14 20:08:40 -04:00
Eric Callahan
9c6048a759
confighelper: store deep copies of parsed options
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-14 18:05:19 -04:00
Eric Callahan
ba9428558a
docs: add uhubctl documentation
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-06 07:56:42 -04:00
Eric Callahan
ddc0e76ffc
power: add support for uhubctl devices
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-06 06:46:53 -04:00
Eric Callahan
326d23a509
docs: document history additions
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-05 06:29:21 -04:00
Eric Callahan
81899e04fd
sensor: add history field options
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-05 06:29:21 -04:00
Eric Callahan
b60e6dc311
spoolman: add history field tracking spool ids
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-04 08:16:37 -04:00
Eric Callahan
531028ef4f
history: report user in job history
...
When possible record the name of the user that requested the
job. The klippy_api's component now takes an optional user
argument in its "start_print" method. This user is broadcast
in an event after a print request successfully returns.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-04 08:16:37 -04:00
Eric Callahan
1dfbffb422
history: add support for auxiliary fields
...
Allow other components to register custom fields tracked and reported
in job history.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-04 08:16:37 -04:00
Eric Callahan
b6896c7c0a
common: add common history tracking implementation
...
The HistoryDataField class can be instantiated by any
component. It can then be used to register additional fields
tracked in the job history.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-04 08:16:37 -04:00
Eric Callahan
e7d3f3e961
job_state: track and store most recent Job Event
...
Signed-off-by: Eric Callahan <arksine.codee@gmail.com>
2024-05-03 08:22:41 -04:00
Eric Callahan
4b1a3b8792
sensor: minor refactoring
...
Remove dataclasses, refactor for consistency with
other components.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-05-03 08:22:41 -04:00