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

Maintenance #1

Closed
wants to merge 704 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
704 commits
Select commit Hold shift + click to select a range
ea28a4d
🐛 Enable CORS on asset plugins
foosel May 4, 2023
67719d9
✨ virtual printer: Support generating M115 area report (#4799)
0r31 May 4, 2023
9ba981a
🔖 Preparing release of 1.9.0rc6
foosel May 8, 2023
ec4e75e
🔖 staging/maintenance is now 1.9.0rc7.dev
foosel May 8, 2023
e4d3803
Merge branch 'staging/maintenance' into maintenance
foosel May 8, 2023
460fc83
Merge branch 'maintenance' of github.com:OctoPrint/OctoPrint into mai…
foosel May 8, 2023
423d3d9
🐛 swu: fix httpheader check type
foosel May 15, 2023
0c966ef
🐛 Fix folder sorting
foosel May 15, 2023
498eeb2
Merge branch 'rc/maintenance'
foosel May 22, 2023
93e495f
🔖 Preparing release of 1.9.0
foosel May 22, 2023
2a50c10
Merge branch 'staging/bugfix' into maintenance
actions-user May 23, 2023
0753c1e
🔖 staging/bugfix is now 1.9.1.dev
foosel May 23, 2023
2397867
🐛 Fix treating of `None` sorting value
foosel Jun 1, 2023
afaf80f
Merge branch 'staging/bugfix' into maintenance
foosel Jun 5, 2023
cb8aa9b
🐛 swu: refuse OctoPrint update under Windows
foosel Jun 5, 2023
b0a1884
🚸 Enable deferring M20 by default
foosel Jun 5, 2023
c168877
Merge branch 'staging/bugfix' into maintenance
actions-user Jun 6, 2023
168ba50
📝improve pause gcode (#4823)
danielkucera Jun 6, 2023
da3ab33
👷 Include staging/bugfix in pr validation
foosel Jun 7, 2023
89dac1c
Merge branch 'master' into maintenance
actions-user Jun 8, 2023
100cb87
when basedir has double slash in path deleting a timelpase will not d…
jneilliii Jun 14, 2023
9366760
📝 Fix docs of set_temperature (#4815)
CMR-DEV Jun 14, 2023
fc19f5b
✨ Log print head and file position on pause and cancel (#4820)
danielkucera Jun 19, 2023
9d94889
🐛 gcv: Fix URL for skipuntil check
foosel Jun 19, 2023
f5e3588
Merge branch 'staging/bugfix' into maintenance
actions-user Jun 20, 2023
388e45a
🐛 Fix context variables in GCODE scripts from multiple plugins (#4757)
kaenguruhs Jun 20, 2023
c0c6b68
🐛 Ensure subscription changes cause a history message (#4752)
crysxd Jun 20, 2023
e3c0956
🐛 Gcode viewer: Fix loading on tab change (#4834)
JoveToo Jun 22, 2023
fb75e91
🐛 Gcode Viewer: Fix reload button
foosel Jun 22, 2023
c847ed9
🐛 Gcode viewer: reset some analysis outputs
foosel Jun 22, 2023
a39be1d
Merge branch 'staging/bugfix' into maintenance
actions-user Jun 23, 2023
d08393d
:bug: Reduce intersection observer threshold (#4824)
cp2004 Jun 26, 2023
584483a
🔖 Preparing release of 1.9.1
foosel Jun 26, 2023
1d519a2
Merge branch 'staging/bugfix'
foosel Jun 26, 2023
dd3ce4e
Merge branch 'staging/bugfix' into maintenance
actions-user Jun 27, 2023
ed4db24
🔖 staging/bugfix is now 1.9.2.dev
foosel Jun 27, 2023
3dce6ae
Merge branch 'master' into maintenance
foosel Jun 27, 2023
ec13ebb
✅ Update node-qunit-puppeteer version
foosel Jun 27, 2023
c32677c
Merge branch 'staging/bugfix' into maintenance
actions-user Jun 28, 2023
b7c0a4c
🌐 Make some display text translateable that wasn't yet (#4830)
bigfoxtail Jun 29, 2023
731fa83
🐛 GCV: Fix filename in rendering warning dialog (#4842)
jneilliii Jul 3, 2023
c2515f6
🩹 Fix deprecated service script example (#4840)
mad73923 Jul 3, 2023
fba5f90
🐛 logging: Fix runtime setting of level
foosel Jul 3, 2023
78cacf6
✨ Add M115 output to octoprint.log
foosel Jul 3, 2023
7a8ebdf
✨ Add reconstructed M115 output to systeminfo bundle
foosel Jul 3, 2023
e9f5b93
🚸 Improve first run wizard re safety hints (#4833)
foosel Jul 5, 2023
b366ab4
Merge branch 'master' into staging/bugfix
foosel Jul 18, 2023
fd1c6b2
⬆️ Upgrade PyYaml to 6.0.1
foosel Jul 18, 2023
c4fab1b
🐛 swu: fix httpheader check type
foosel May 15, 2023
cf86f08
🥅 Workaround for faulty argon2 hashes on aarch64 (#4780)
cperrin88 Mar 29, 2023
f027aaa
🔖 Preparing release of 1.9.2
foosel Jul 18, 2023
c59c161
🔖 staging/bugfix is now 1.9.3.dev
foosel Jul 18, 2023
ceb85d3
Merge branch 'master' into maintenance
foosel Jul 18, 2023
fc53dab
♻️ Use file instead of config for incomplete startup flag
foosel Jul 18, 2023
35ec968
Merge branch 'staging/bugfix' into maintenance
actions-user Jul 19, 2023
ed4a264
Update bug_report.yml
foosel Jul 31, 2023
58305dc
Merge branch 'master' into maintenance
actions-user Aug 1, 2023
2e34dc6
✂️ Remove repeating words (#4868)
eumiro Aug 7, 2023
ac5b320
🐛 Don't trigger drop zone w/o files
foosel Aug 7, 2023
4302769
🚸 Make drag and drop an optional feature (enabled by default) (#4853)
jneilliii Aug 7, 2023
76bff10
🚸 Fix event manager plugin UI for multiple plugins (#4851)
jneilliii Aug 7, 2023
9b2faaa
🐛 Switch to dedicated webcam snapshot handler
foosel Aug 10, 2023
d4b1317
🐛 config cli: Init plugin settings if needed
foosel Aug 10, 2023
415f912
🐛 Don't fail settings get on lack of default
foosel Aug 10, 2023
97f54f2
✨ classicwebcam: Support configured aspect ratio on video
foosel Aug 10, 2023
7d03689
🚸 New thermal kill error message for Marlin (#4874)
thinkyhead Aug 28, 2023
87bea3c
🐛 Fix extrusion rate not being converted to int (#4860)
srLinux Aug 28, 2023
e2d1074
Merge branch 'staging/bugfix' into maintenance
actions-user Aug 29, 2023
2b6e93e
🐛 Fix octoprint systeminfo .
foosel Aug 30, 2023
49f282b
🚸 Improve UX of systeminfo CLI
foosel Aug 30, 2023
9712dec
✨ Add refresh button for webcam feed
foosel Aug 31, 2023
3bde48a
🔒️ Use sandboxed jinja env for gcode scripts
foosel Aug 31, 2023
75aaf48
🚸 Make invalid base folders visible through popup
foosel Sep 5, 2023
b8fffef
🐛 Fix a wrong settings fetch
foosel Sep 6, 2023
cf13131
⚡️ Improve settings performance
foosel Sep 6, 2023
36e08c9
🔊 Add performance timer to getters
foosel Sep 6, 2023
d166847
Merge branch 'improve/settings_perf' into maintenance
foosel Sep 6, 2023
dd4dae7
🐛 Fix a logic error detected by a unit test
foosel Sep 6, 2023
25d9c44
Bump actions/checkout from 3 to 4 (#4884)
dependabot[bot] Oct 2, 2023
59aa6f1
✨ Ability to ignore Printer Notifications based on regex (#4886)
jatin-47 Oct 2, 2023
4773e9c
🧪 Add unit tests for chainmap prefix caching
foosel Oct 4, 2023
bd8d14d
✅ Make unit tests for chainmap prefix caching pass
foosel Oct 4, 2023
e203d88
Merge branch 'master' into maintenance
foosel Oct 4, 2023
4437067
♻️ Minor code shifting while debugging #4879
foosel Oct 4, 2023
bfc3b39
🚨 Fix some warnings in vendored awesome-slugify
foosel Oct 4, 2023
a922ff8
✨ Support for Python 3.12
foosel Oct 4, 2023
0718dfb
💚 Fix 3.12 unit tests
foosel Oct 4, 2023
1e6a915
👷 Run E2E against min and max python version
foosel Oct 4, 2023
aba8d21
🐛 Make sure setuptools is part of the deps
foosel Oct 4, 2023
579bfcc
♻️ Replace versioneer with a custom tool
foosel Oct 5, 2023
5ca7f07
👷 Include server run in test install workflow
foosel Oct 9, 2023
7bfd77d
Merge branch 'master' into staging/bugfix
foosel Oct 9, 2023
2b7c015
📌 Pin pydantic to 1.10.12
foosel Oct 9, 2023
d0072cf
Merge branch 'bug/gcode_script_vuln' into staging/bugfix
foosel Oct 9, 2023
506648c
🔖 Preparing release of 1.9.3
foosel Oct 9, 2023
8365b47
🔖 staging/bugfix is now 1.9.4.dev
foosel Oct 9, 2023
2813baa
Merge branch 'staging/bugfix' into maintenance
foosel Oct 9, 2023
4e00d20
⚗️ Try to fix the build error in CI
foosel Oct 10, 2023
713045d
🐛 Fallback to unknown on shallow checkout
foosel Oct 10, 2023
aabb13e
🥅 Improve error resilience
foosel Oct 10, 2023
5a9f998
🐛 Change method of version validation
foosel Oct 11, 2023
74990e8
👷 Add bookworm python 3 version to test matrix
foosel Oct 12, 2023
df257ec
👷 Fix a typo
foosel Oct 12, 2023
f325791
⏪ Revert the addition of 3.11.2 to test install matrix
foosel Oct 12, 2023
8f7dff1
Merge branch 'master' into maintenance
actions-user Oct 13, 2023
fb7fa0b
Merge branch 'improve/replace_versioneer' into maintenance
foosel Oct 16, 2023
d825eef
🥅 plugin_version could be None
foosel Oct 17, 2023
dfe2893
💸 Update FUNDING.yml
foosel Oct 18, 2023
1a40b7a
Merge branch 'master' into maintenance
actions-user Oct 19, 2023
8a4db71
Merge branch 'maintenance' of github.com:OctoPrint/OctoPrint into mai…
foosel Oct 19, 2023
523d4aa
✨ Add progress to Print(Failed|Cancelled|Paused) events
foosel Oct 23, 2023
4830ac5
✨ Add operation to FileRemoved event
foosel Oct 23, 2023
5b4b029
🚸 More visible funding request in wizard
foosel Oct 24, 2023
406c8d8
✨ Add funding banner to About dialog
foosel Oct 24, 2023
628e8d6
✨ Add funding link to footer
foosel Oct 24, 2023
4b7cd98
📌 Remove upper pin from argon2-cffi (#4899)
hynek Oct 27, 2023
35b12fd
🌐 Correct Model vs Modell typos (#4897)
cociweb Oct 27, 2023
5ab0786
📝 Add note about settings vs data folder
foosel Nov 20, 2023
a1f43ce
🥅 Protect offset code against empty temps
foosel Nov 20, 2023
395a82b
🥅 Logging in case of temp parsing errors
foosel Nov 20, 2023
bfd7199
🔥 Get rid of unmaintained scripts folder
foosel Nov 20, 2023
3953f63
📝 logViewModel -> logsViewModel
foosel Nov 21, 2023
fcc99bd
👷 Publish release artifacts as release assets
foosel Nov 21, 2023
2480fcd
📝 Update plugin tutorial
foosel Nov 22, 2023
b141f79
👷 Bump actions/github-script from 6 to 7 (#4909)
dependabot[bot] Nov 22, 2023
a93b4d3
👷 Bump dessant/lock-threads from 4 to 5 (#4910)
dependabot[bot] Nov 22, 2023
8bcebb7
🚸 Add axis labels to model size dimensions (#4898)
evanwurden Nov 22, 2023
3fae295
🚸 Add APIKey details to user settings so QRCode can be viewed. (#4895)
credomane Nov 22, 2023
8b4e40a
Merge branch 'master' into maintenance
actions-user Nov 23, 2023
12833a3
⚡️ Make WSGIContainer use threads for async handling
foosel Nov 23, 2023
95f979f
Revert "⚡️ Make WSGIContainer use threads for async handling"
foosel Nov 23, 2023
817a881
⬆️ Upgrade Playwright
foosel Nov 24, 2023
703ec2d
⚡️ Make WSGIContainer use threads for async handling
foosel Nov 23, 2023
33525e4
🧑‍💻 virtual: Configuration of simulated errors
foosel Nov 27, 2023
fb27d5b
🥅 virtual: recalculate wait timeout after gcode eval
foosel Nov 28, 2023
734ce07
🐛 discovery: fix ssdp on vlans
foosel Nov 28, 2023
6a75fb6
🚸 Keep tool change control enabled while printing
foosel Nov 28, 2023
6349ce8
⬆️ Upgrade zeroconf
foosel Nov 28, 2023
72bd8bf
🐛 Fix wrong initial field in printer state
foosel Nov 30, 2023
9da4b35
🚸 Set fixed labels on temperature graph
foosel Nov 30, 2023
172b962
🐛 Fix snapshotTimeout & SSL validation settings
foosel Nov 30, 2023
474c792
🐛 Fix double response on POST/PUT/etc
foosel Dec 4, 2023
89240d3
♻️ Modernize custom tornado stuff slightly
foosel Dec 4, 2023
c837cb6
⬆️ Update playwright dependencies
foosel Dec 4, 2023
6e57ab6
✅ Fix JS Unit tests & add one
foosel Dec 4, 2023
8426ffb
✨ New modal for known firmware errors
foosel Dec 5, 2023
7557482
✅ Let's personalize a unit test a bit ;)
foosel Dec 6, 2023
5229564
🐛 Normalize paths returned by split_path/join_path
foosel Dec 6, 2023
3e62a2a
🐛 Normalize paths in file manager
foosel Dec 6, 2023
ee9ac90
📝 Clarify how to reconfigure log formatters
foosel Dec 11, 2023
9c999cd
✨ Improve new firmware error modal
foosel Dec 11, 2023
098606b
💚 Fix unit tests
foosel Dec 11, 2023
63b1734
🍱 Update funding icon
foosel Dec 12, 2023
6d44400
🚧 First steps towards an achievement plugin
foosel Oct 19, 2023
726593e
🐛 Use typing.Dict instead of dict
foosel Oct 19, 2023
a0d7eb0
✨ Track plugin install from repo vs from plain URL
foosel Oct 23, 2023
1f82e7b
🚧 Add several more achievements, styling etc
foosel Oct 23, 2023
55c9649
🐛 Fix plugin installation
foosel Oct 24, 2023
6c8f527
🐛 files_removed -> files_deleted
foosel Oct 24, 2023
b09bd43
✨ Add Achievements to footer
foosel Oct 24, 2023
2df8135
💄 Work on Achievements dialog styling
foosel Oct 24, 2023
591f6ba
🚧 Styling, logos, even more achievements, ...
foosel Oct 25, 2023
4106952
🚧 more achievements, link to achievements in popup
foosel Oct 26, 2023
b42bef6
🚧 Support configurable timezone & add some more achievements
foosel Dec 12, 2023
745984e
🐛 Don't try to use empty string as timezone
foosel Dec 12, 2023
a2e5558
🔥 Achievements: Get rid of some debug code
foosel Dec 13, 2023
aa02750
🐛 Make sure to sort folder list
foosel Jan 8, 2024
3e94574
🐛 virtual: remove wrong assertion
foosel Jan 8, 2024
0a3e19a
✨ virtual: Implement basic M524 support
foosel Jan 8, 2024
ee4a4b1
♿️ Add dashed lines for target temperatures (#4918)
mintsoft Jan 10, 2024
a0c8c9f
✨ Add temperature chart markings for connect/disconnect
foosel Jan 10, 2024
cd3b24e
🐛 Keep graph updating even if disconnected
foosel Jan 11, 2024
b053c5e
💄 Slight tuning of webcam container style for better compatibility (#…
neod123 Jan 22, 2024
2083084
🚸 Further accessibility improvements (#4928)
dawidpieper Jan 23, 2024
f57a478
💬 Reword webcam access control warning
foosel Jan 23, 2024
fd57203
🔒️ Further protect user management with reauthentication
foosel Jan 24, 2024
4e6c0ec
🚸 Recheck for reauthentication on submit
foosel Jan 25, 2024
66bde4b
♻️ Put default reauthentication timeout into constants
foosel Jan 25, 2024
d8e9fc8
🔒️ Require reauthentication for installing plugins
foosel Jan 25, 2024
4346677
🔒️ Keep keys hidden unless recently reauthenticated
foosel Jan 25, 2024
50cfd43
✨ achievements: Add yearly stats collection
foosel Jan 25, 2024
a66970a
🔧 Make reauthentication timeout configurable
foosel Jan 25, 2024
773c2a0
🐛 achievements: Fix data model
foosel Jan 25, 2024
8e57438
💚 Fix unit tests
foosel Jan 25, 2024
f1f278e
🐛 Fix "file exists" dialog
foosel Jan 29, 2024
6bb2149
🔥 Remove unneeded variable
foosel Jan 30, 2024
152a608
📝 Fix a comment
foosel Jan 30, 2024
f23cda3
✨ Add an rsplit helper to frontend code
foosel Jan 31, 2024
406d722
✨ Add reauthentication option to login dialog
foosel Jan 31, 2024
6cb7b67
✨ Add forceReauthentication helper to frontend
foosel Jan 31, 2024
ad2f28d
🔒️ appkeys: Further tighten down reauthentication
foosel Jan 31, 2024
1f66d4a
🔒️ Require fresh authentication for recovery dialog
foosel Jan 31, 2024
4581bb3
📝 Document reauthentication requirements
foosel Jan 31, 2024
1729d16
Merge branch 'fix/reauthenticate' into maintenance
foosel Jan 31, 2024
3854473
🔖 Preparing release of 1.10.0rc1
foosel Jan 31, 2024
1477618
⬇️ blinker 1.7+ drops support for Py3.7
foosel Jan 31, 2024
1446e88
⬇️ tornado 6.3+ requires Python 3.8+
foosel Jan 31, 2024
6ae8822
⬇️ More downgrades for Python 3.7 compatibility
foosel Jan 31, 2024
f1e7f32
🐛 Achievements: Fix a bug in achievement count display
foosel Jan 31, 2024
f041ee6
🔖 staging/maintenance is now 1.10.0rc2.dev
foosel Jan 31, 2024
f4a3391
🔖 maintenance is now 1.11.0.dev
foosel Jan 31, 2024
4aaeca2
👷 Create git archive on release as source tarball
foosel Feb 1, 2024
8735435
🐛 bash isn't C
foosel Feb 1, 2024
21f60a3
👷 Adjust sha512sum step
foosel Feb 1, 2024
eefd0b9
⬆️ Bump actions/setup-python from 4 to 5 (#4917)
dependabot[bot] Feb 1, 2024
55880db
Merge branch 'master' into staging/maintenance
foosel Feb 1, 2024
0575f4b
⬆️ Bump actions/{up|down}load-artifact from 3 to 4
foosel Feb 1, 2024
65a5533
⬆️ Bump actions/cache from 3 to 4 (#4934)
dependabot[bot] Feb 1, 2024
ede4ec4
Merge branch 'master' into staging/maintenance
foosel Feb 1, 2024
0d3f440
💚 Include matrix value in playwright report name
foosel Feb 1, 2024
4858672
🐛 Make octoprint._version.get_versions work again
foosel Feb 1, 2024
7e43e98
💚 Use --output instead of > for archive creation
foosel Feb 2, 2024
64446d9
🐛 Fix drag'n'drop initialization
foosel Feb 5, 2024
4159c8c
🐛 Fix syntax under Python 3.7 & 3.8
foosel Feb 5, 2024
779ffe3
🧪 Add test for #4942
foosel Feb 5, 2024
cebb088
🐛 Fix handling of setting empty dict on config
foosel Feb 5, 2024
311faeb
🐛 Fix fetching of file details for existence check
foosel Feb 5, 2024
429bbe4
🐛 Achievements: Fix total duration w/o finished prints
foosel Feb 5, 2024
faf79f2
✨ Add permission_and_fresh_credentials_validator helper
foosel Feb 6, 2024
81ae1b4
🐛 Translate werkzeug to tornado errors
foosel Feb 6, 2024
d728895
🔒️ Backup: Require reauth for download & restore
foosel Feb 6, 2024
370b61c
🔥 Remove unused API key line from user overview
foosel Feb 7, 2024
7eb7ada
♻️ Move to importlib for plugin core
foosel Feb 7, 2024
f4fbe91
🐛 Fix filament_diameter parsing in BambuStudio & OrcaSlicer
foosel Feb 7, 2024
43f8a15
🐛 Fix handling of empty/unset module_name
foosel Feb 8, 2024
d68dfd0
Merge branch 'master' into maintenance
foosel Feb 8, 2024
1ea3664
Merge branch 'staging/maintenance' into maintenance
foosel Feb 8, 2024
78e5427
👷 Use latest supported Python for build where possible
foosel Feb 8, 2024
f194f54
👷 Don't forget to install setuptools
foosel Feb 8, 2024
c8bd98c
🔖 Prepare release of 1.10.0rc2
foosel Feb 12, 2024
28b8ec0
🔖 staging/maintenance is now 1.10.0rc3.dev
foosel Feb 12, 2024
4dcb352
Merge branch 'staging/maintenance' into maintenance
foosel Feb 12, 2024
411e850
💚 Don't attempt to upload source & sums to pypi
foosel Feb 12, 2024
8e554b8
♿️ Use aria-label and role instead of sr-only headings
foosel Feb 12, 2024
025a168
✨ Add data-octoprint-version to body tag
foosel Feb 12, 2024
7fc826f
🚸 Reload popup instead of overlay on plugin/settings change
foosel Feb 15, 2024
7563fe3
🐛 Keep config hash in sync after connect
foosel Feb 15, 2024
aceda13
🐛 self.config_hash -> self._configHash
foosel Feb 15, 2024
ac5772c
🚸 Include reason for reload prompt
foosel Feb 15, 2024
98f1b22
🐛 Fix handling of reauth for external users
foosel Mar 12, 2024
c4ab90f
🐛 Remote users can't log out either, reflect that
foosel Mar 12, 2024
c7551c9
🐛 Fix filter logic
foosel Mar 12, 2024
b14edb9
🐛 Fix firstrun wizard behaviour
foosel Mar 12, 2024
8a9478c
⬆️ Bump websocket-client to 1.6.1
foosel Mar 12, 2024
e8337f7
🚸 Reload popup instead of overlay on plugin/settings change
foosel Feb 15, 2024
83f0cea
🔒️ Improve filename sanitization in download_file function (#4964)
jacopotediosi Mar 12, 2024
ca72924
🔒️ Improve filename sanitization in download_file function (#4964)
jacopotediosi Mar 12, 2024
f569b19
Merge branch 'staging/maintenance' into maintenance
foosel Mar 12, 2024
6516435
⬆️ Upgrade Font Awesome to 6.5.1
foosel Mar 12, 2024
4b2c667
🐛 Fix Font Awesome includes on standalone pages
foosel Mar 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .codespell_ignore_words
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
managable
commitish
matchs
medias
44 changes: 4 additions & 40 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -1,40 +1,4 @@
overrides:
- files:
- "src/octoprint/static/js/app/**"
env:
browser: true
jquery: true
parserOptions:
ecmaVersion: 5
rules:
es5/no-arrow-functions: error
es5/no-binary-and-octal-literals: error
es5/no-block-scoping: error
es5/no-classes: error
es5/no-computed-properties: error
es5/no-default-parameters: error
es5/no-destructuring: error
es5/no-exponentiation-operator: error
es5/no-for-of: error
es5/no-generators: error
es5/no-modules: error
es5/no-object-super: error
es5/no-rest-parameters: error
es5/no-shorthand-properties: error
es5/no-spread: error
es5/no-template-literals: error
es5/no-typeof-symbol: error
es5/no-unicode-code-point-escape: error
es5/no-unicode-regex: error
- files:
- "tests/cypress/**"
env:
node: true
es6: true
cypress/globals: true
extends:
- "plugin:cypress/recommended"

plugins:
- eslint-plugin-es5
- cypress
env:
browser: true
jquery: true
es2018: true
1 change: 1 addition & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# pre-commit version updates
b4f265d9f67508677e1697e74e248b895da7f43c
2231e81efd32d649798f7a58cdb1755e34902d8a

# Switch to black formatting
1f93b2355a2816918e11a55e61b42010d15a6720
Expand Down
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ src/octoprint/static/less/bootstrap/* linguist-vendored
src/octoprint/static/less/font-awesome.less linguist-vendored
src/octoprint/static/less/mixins.less linguist-vendored
src/octoprint/static/less/variables.less linguist-vendored
versioneer.py linguist-vendored

docs/* linguist-documentation
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# These are supported funding model platforms

github: [foosel]
ko_fi: OctoPrint
patreon: foosel
liberapay: foosel
custom: https://octoprint.org/support-octoprint/
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ body:
required: true
- type: input
attributes:
label: If you could not test in safe mode, please state why
label: If you could not test in safe mode, please state why ("currently printing" is NOT an excuse!)
description: >-
Issues caused by a third party plugin are a major cause of bugs reported here, so we really need to
rule out that a plugin is at fault here. [Safe mode](https://docs.octoprint.org/en/master/features/safemode.html) is an easy way to do that. Only skip safe mode
if your particular problem *absolutely requires* third party plugins to be enabled. "It would take
too long" is **not** a reason to skip testing in safe mode, neither is "I do not know how to
too long" or "I have a long print running right now" are **not** a reason to skip testing in safe mode, neither is "I do not know how to
enable it" as you can find info on that [here](https://docs.octoprint.org/en/master/features/safemode.html).

If you really *cannot* test in safe mode, leave a short explanation as to why.
If you really *cannot* test in safe mode at all, leave a short explanation as to why. If you can but just not right now, then wait with reporting until you can!
- type: markdown
attributes:
value: |
Expand Down
20 changes: 10 additions & 10 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!--
Thank you for your interest into contributing to OctoPrint, it's
Thank you for your interest in contributing to OctoPrint, it's
highly appreciated!

Please make sure you have read the "guidelines for contributing" as
linked just above this form, there's a section on Pull Requests in there
as well that contains important information.
as well which contains important information.

As a summary, please make sure you have ticked all points on this
checklist:
Expand All @@ -16,25 +16,25 @@ checklist:
made sure your changes don't interfere with current development by
talking it through with the maintainers, e.g. through a
Brainstorming ticket
* [ ] Your PR targets OctoPrint's devel branch if it's a completely
new feature, or maintenance if it's a bug fix or improvement of
* [ ] Your PR targets OctoPrint's `devel` branch if it's a completely
new feature, or `maintenance` if it's a bug fix or improvement of
existing functionality for the current stable version (no PRs
against master or anything else please)
against `master` or anything else please)
* [ ] Your PR was opened from a custom branch on your repository
(no PRs from your version of master, maintenance or devel please),
e.g. dev/my_new_feature or fix/my_bugfix
(no PRs from your version of `master`, `maintenance`, or `devel`
please), e.g. `dev/my_new_feature` or `fix/my_bugfix`
* [ ] Your PR only contains relevant changes: no unrelated files,
no dead code, ideally only one commit - rebase and squash your PR
if necessary!
* [ ] Your changes follow the existing coding style
* [ ] If your changes include style sheets: You have modified the
.less source files, not the .css files (those are generated with
lessc)
`.less` source files, not the `.css` files (those are generated
with `lessc`)
* [ ] You have tested your changes (please state how!) - ideally you
have added unit tests
* [ ] You have run the existing unit tests against your changes and
nothing broke
* [ ] You have added yourself to the AUTHORS.md file :)
* [ ] You have added yourself to the `AUTHORS.md` file :)

<!--
Describe your PR further using the template provided below. The more
Expand Down
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
# Check for updates to GitHub Actions every week
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
11 changes: 9 additions & 2 deletions .github/fixtures/with_acl/config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
accessControl:
salt: zXmvzI3uWuTLkSPOEfA2ZLwn3f3sGUNS
devel:
enableRateLimiter: false
enableCsrfProtection: false
plugins:
virtual_printer:
enabled: true
softwareupdate:
checks:
octoprint:
disabled: true
tracking:
enabled: false
virtual_printer:
enabled: true
server:
firstRun: false
onlineCheck:
Expand Down
3 changes: 3 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ meta:
ci/cd:
- ".github/fixtures/**/*"
- ".github/workflows/*"
- ".github/dependabot.yml"
- ".github/issue-validation.yml"
- ".github/labeler.yml"
- ".github/pr-validation.yml"

docker:
- ".github/workflows/trigger_docker.yml"
Expand Down
12 changes: 10 additions & 2 deletions .github/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,17 @@ approve_label: "approved"
problem_label: "needs some work"
ignore_label: "skip validation"

allowed_targets: ["maintenance", "devel", "staging/maintenance", "staging/devel"]
allowed_targets:
["maintenance", "devel", "staging/bugfix", "staging/maintenance", "staging/devel"]
forbidden_sources:
["master", "maintenance", "devel", "staging/maintenance", "staging/devel"]
[
"master",
"maintenance",
"devel",
"staging/bugfix",
"staging/maintenance",
"staging/devel"
]

labels:
docs:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/add_to_backlog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Add issues/PRs to backlog automatically

on:
issues:
types:
- opened
- transferred
pull_request_target:
types:
- opened

jobs:
add-to-project:
name: Add issue or PR to OctoPrint Backlog project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@main
with:
project-url: https://github.com/orgs/OctoPrint/projects/6
github-token: ${{ secrets.BACKLOG_PROJECT_ACCESS }}
Loading