Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate peerprint v0.2.0 #140

Draft
wants to merge 10 commits into
base: rc
Choose a base branch
from
Draft

Integrate peerprint v0.2.0 #140

wants to merge 10 commits into from

Conversation

smartin015
Copy link
Owner

@smartin015 smartin015 commented Oct 20, 2022

Companion PR to smartin015/peerprint#12 - this is the next step towards fully decentralized printing.

  • Moved as much network code as possible into a separate OctoPrint-PeerPrint repository, including
    • Address discovery, configuration, and binding
    • Network name setting
    • Queue creation (in PeerPrint page itself)
    • Fileshare creation and maintenance/cleanup
    • Dependency on peerprint pypi package
  • Additional small tweak to add CSRF protection to blueprint
  • queues.lan renamed to queues.net, and LANQueue to NetworkQueue as it's a generic interface for LAN and WAN queues
  • Optional enable/disable of queues in spinoff plugin
  • Pushes set path resolve() method to all queue implementations, not just LAN
  • storage.lan -> storage.peer, LANResolveError -> ResolveError
  • Convert all .css files to .less and compile them (compiled files significanly increase diffs in this PR)
  • Modifications to JS to show new status info (e.g. lat/lon of peer)
  • Split JS files into several independent files for each tab
  • Split jinja2 files into several distinct files for different tabs in settings, different layers in CPQ tab
  • JobView from_dict -> load_dict
  • Added storage/rank.py stern-brocot ranking algorithm
  • Updated LAN queue docs to be about network queues

…queues/base, refactor database set/job view classes, implement first base tests for WAN queues
@smartin015 smartin015 marked this pull request as draft January 18, 2023 13:39
@smartin015 smartin015 changed the base branch from rc2 to rc February 2, 2023 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant