Gina Häußge
7ca9d56327
Merge branch 'improve/appauth' into maintenance
2018-10-29 11:45:05 +01:00
Gina Häußge
d89ca38ee8
WIP: Docs for appkeys plugin
2018-10-29 10:30:48 +01:00
Gina Häußge
cb969be403
docs: clarify that user name == user id
2018-10-24 09:52:26 +02:00
Gina Häußge
7cb649c303
docs: fix auth message docs on push API
...
Thanks @gdombiak for the heads-up
2018-10-24 09:48:00 +02:00
Gina Häußge
202006149c
forcelogin: documentation, incl. newly added hooks
2018-10-22 17:38:48 +02:00
Ted Timmons
134ee77e4a
spellfix 'sdReleativePath'
...
It's only misspelled in the docs, it is correct in the code.
2018-09-21 08:45:53 -07:00
Gina Häußge
b5a161594d
Fix documentation error
...
We return 403 on a wrong API key, not 401 - 401 causes issues with Basic Auth setups as reported
in #2297 and hence fixed in b1f9e070a4 .
Closes #2706
2018-08-20 14:25:28 +02:00
Gina Häußge
b7a8c29fb4
Add an API endpoint to fetch template order
...
That should make it easier for third party plugins that want to offer
reordering capabilities of tab, sidebar, etc
2018-06-18 19:35:47 +02:00
Gina Häußge
ce5275c91e
docs: Add example for float factors
...
Closes #2663
2018-05-25 14:57:35 +02:00
Gina Häußge
4bbe49ac6d
Sanity check for configured folders
...
* On startup: Check they are writable, if not revert to defaults
* On settings save: Check they are writable, if not return an HTTP 400
* In the settings dialog: Allow quick check of writability via Test
buttons
Should hopefully prevent users from nuking their instance by configuring
some custom folder that isn't writable.
TODO:
Currently simply doesn't close the settings dialog, needs some message
or something (or client side folder validation on clicking the button).
2018-04-27 17:44:07 +02:00
Gina Häußge
1637187c76
Extend URL test to also allow whitelist/blacklist check for the returned content type
2018-04-19 13:10:41 +02:00
Daniele Forsi
1d1191eae0
Fix typos in the docs
2018-04-04 23:13:32 +02:00
Daniele Forsi
6ec8b97ddb
Add missing documentation for GCODE analysis and other small fixes
...
Adds documentation for `dimensions` and `printingArea`; fixes `length`
and `volume`; adds two internal references.
Fixes #2463 .
2018-04-03 20:35:58 +02:00
Gina Häußge
2571d32134
Include children on first level folder listings
...
This allows step-by-step traversal of file listings without the
recursive flag.
Fixes #2496
2018-03-27 15:29:53 +02:00
Daniele Forsi
06f62bd874
Fix a typo in the docs
2018-03-22 00:23:02 +01:00
Gina Häußge
c04fade9a7
docs: Fix two issues pointed out by @dforsi
...
Thanks!
2018-03-19 10:46:20 +01:00
Daniele Forsi
2ecbd9f8c8
Fix typos in docs
2018-03-19 10:43:08 +01:00
Gina Häußge
3fcd5adfbd
Timelapse: Add snapshot imeout & SSL validation settings
...
Implements #2455 & #2362
2018-03-07 15:20:46 +01:00
Gina Häußge
59cbfaf8ff
Introduce Cancelling/Pausing states before full cancel/pause
...
We so far switched immediately to "Operational" state, even while the M400/M114
combo and/or any post switch scripts were still being executed. That was confusing
and as witnessed in #2321 and also #2449 also could cause issues.
2018-03-05 16:12:33 +01:00
Gina Häußge
bb822fb9dd
Logging: add/move docs for the plugin
2018-02-07 14:18:52 +01:00
Gina Häußge
cec8d15b46
Some additions to the docs
...
* Note that api/job is what you want for info about the selected file
as promised in #2251
* Added pause/resume script from
https://gist.github.com/foosel/1c09e269b1c0bb7a471c20eef50c8d3e
as example to the gcode scripts section (with disclaimer)
2017-11-29 19:31:56 +01:00
Gina Häußge
2fcbf49348
Docs: Some small changes as followup to #2176
2017-11-03 11:33:47 +01:00
Peter Backx
a0df4e78b5
Fixing Sphinx warnings during doc generation
2017-11-03 11:11:52 +01:00
Gina Häußge
a9819cc2f9
b/h5 => strong on new reset warnings
2017-10-18 17:19:45 +02:00
Gina Häußge
9c3d7bbbc3
New server subcommand on test API
...
Tests if a host/port combination is reachable via server_reachable.
2017-10-18 17:11:22 +02:00
Gina Häußge
42ac133436
Support full UTF8 file names
...
Files (and folders) are still slugified to ASCII for storage on disk,
but now the original filename is stored alongside in metadata.yaml
and used for display in the file list and print status.
The slicing dialog also inherits that display name for use as base
for the suggested GCODE name.
Internally, everything still depends completely on the slugified
ASCII version.
This implements #2094
2017-10-12 18:08:41 +02:00
ntoff
178131945e
Add possible print distruption warning to shutdown dialog
2017-10-06 09:32:49 +10:00
Gina Häußge
251a1ea4b5
"a couple" => "a few"/"some"
...
Because apparently I was using it wrong, at least for some parts of the
world :)
2017-04-12 14:54:32 +02:00
Gina Häußge
3e5923b21e
Consolidate API Key handling
...
System wide API key now offers a generate button like the user
API keys. Setting the API key directly to a value via the settings API
endpoint is now no longer possible, which should prevent setting it
accidentally thanks to the browser prefilling things where it shouldn't.
No delete button is offered for the system wide API key since it will
get automatically regenerated on server start if not set, so
regeneration is the only functionality here that makes sense.
If no API key is set in the user settings, the "delete" button is now
disabled. If a key is already set and a new one is to be generated, a
confirmation dialog makes sure this is really what the user wants. Same
for deleting an existing API key.
Both the system wide API key and the user specific API keys will now
only display a QRCode if there's actually a value for the key.
2017-03-13 17:09:56 +01:00
Gina Häußge
01cffafe77
Fixed documentation of printer profile API
...
Closes #1732
2017-03-06 14:36:43 +01:00
Gina Häußge
ed46d9967a
Adjusted docs of slicing API to match implementation
...
Follow-up to PR #1748
2017-02-21 14:17:14 +01:00
Gina Häußge
b8cbe02b7a
Fixed docs for config.yaml and settings
2017-02-17 13:52:16 +01:00
Gina Häußge
102727b122
[Docs] Fix missing docs for recursive parameter on file API
...
Solves #1634
2016-12-09 10:50:53 +01:00
Gina Häußge
4e69b260a1
Docs for user API
...
Also some fixes on said API and some fixes in the docs
2016-09-28 11:18:43 +02:00
Gina Häußge
0b551f6b7e
Some more documentation
2016-09-22 22:21:52 +02:00
Gina Häußge
8e8853c9c3
Lots of documentation updates + some related code fixes
2016-09-22 16:27:06 +02:00
Gina Häußge
6f029d6bf4
Docs and minor fixes for printer profile API
2016-09-21 12:05:17 +02:00
Gina Häußge
fc891ac651
Make sure volume.depth for circular beds is forced to width
...
Both width and depth should be the diameter. Adjusted docs
accordingly to reflect this too.
2016-09-21 10:45:40 +02:00
Gina Häußge
b8159cf16f
Docs bug: Maximum feedrate for axes is mm/min
2016-09-20 13:46:47 +02:00
Gina Häußge
b6fbbb353a
Merge branch 'maintenance' into devel
...
# Conflicts:
# CHANGELOG.md
# src/octoprint/filemanager/storage.py
# src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2
2016-09-09 12:31:29 +02:00
Gina Häußge
2b22d26eac
Fixed a small issue with RFC 5987 headers arriving as unicode in parser
...
Also added API docs regarding header encoding, incl support for RFC 5987
for filename fields in Content-Disposition headers in multipart/form-data
parts, incl. an example of an upload request with a utf-8 encoded filename.
2016-09-07 18:44:46 +02:00
Gina Häußge
a13e12bb5e
More work on JS Client documentation
2016-08-26 17:47:38 +02:00
Gina Häußge
aae01fe81b
Merge branch 'maintenance' into devel
...
Conflicts:
CHANGELOG.md
docs/api/fileops.rst
src/octoprint/plugins/virtual_printer/virtual.py
src/octoprint/server/api/files.py
src/octoprint/static/css/octoprint.css
src/octoprint/static/js/app/dataupdater.js
src/octoprint/static/js/app/main.js
src/octoprint/static/js/app/viewmodels/files.js
src/octoprint/static/js/app/viewmodels/settings.js
src/octoprint/templates/sidebar/state.jinja2
src/octoprint/util/comm.py
2016-07-28 15:00:23 +02:00
Gina Häußge
f9cb29ac91
A bunch of documentation fixes and updates
2016-07-28 09:43:41 +02:00
Gina Häußge
0fec3aeca9
Merge branch 'patch-1' of https://github.com/cvignac/OctoPrint into maintenance
2016-07-12 11:52:27 +02:00
cvignac
12fcfda481
Typo correction in slicing.rst
...
In 'Retrieve all slicing profiles' :
'GET /api/slicing/profiles' -> 'GET /api/slicing'
2016-07-10 15:40:24 +03:00
Gina Häußge
294203ffd5
Add absolute jog mode to printer API
2016-07-01 17:54:26 +02:00
Gina Häußge
52d272bd24
More work on the docs
2016-07-01 17:52:40 +02:00
Gina Häußge
72bc30eae5
Merge branch 'devel' into dev/jsclientdocs
...
Conflicts:
src/octoprint/static/js/app/viewmodels/printerstate.js
2016-06-30 13:04:57 +02:00
Gina Häußge
2971c29f10
Merge branch 'improve/pauseApiCommand' into devel
...
Conflicts:
src/octoprint/static/js/app/viewmodels/printerstate.js
2016-06-30 13:01:13 +02:00