Commit Graph
2073 Commits
Author SHA1 Message Date
Gina Häußge 5dc0333580 First couple of print statements for debugging a Heisenbug 2014-08-06 10:18:23 +02:00
Gina Häußge f2092ee89c Merge branch 'devel' into dev/largeFileUpload 2014-08-05 19:59:05 +02:00
Gina Häußge d4e7c2e1b1 We actually do want to run the configured system commands on the shell, so set shell to True
Also includes a workaround for sarge bug no. 21

Closes #489
2014-08-05 19:03:04 +02:00
Gina Häußge 9d69951faa Fixed double file request after file upload causing autoscrolling to uploaded file to not work 2014-08-05 12:33:08 +02:00
Gina Häußge 2d68b6e589 Get default max body size from settings too 2014-08-05 11:37:50 +02:00
Gina Häußge b4af85f405 Finalizing upload streaming support
Major refactoring of octoprint.server.util (divided into smaller submodules), extended Tornado to allow for request-specific max content lengths, introduced settings parameters to configure maximum upload size, maximum request body size and file suffixes

See #455
2014-08-05 11:26:13 +02:00
Gina Häußge e9ca09da87 Introduced UploadStorageFallbackHandler which rewrites multipart file upload forms to store the contained files in temporary files (like nginx-upload), made the file upload API in OctoPrint utilize this 2014-08-04 14:45:46 +02:00
Gina Häußge d770c20b5a Working streaming file upload for now 2014-08-03 18:53:10 +02:00
Gina Häußge 1ef9c617b3 Trying to get large file uploads to work 2014-08-02 10:24:41 +02:00
Gina Häußge 48dc27e106 Update CONTRIBUTING.md 2014-08-01 14:23:11 +02:00
Gina Häußge 8aab0ee318 Should fix #529 2014-08-01 14:20:11 +02:00
Gina Häußge f9d1086062 UI now displays last print time as approx. total print time if available, otherwise uses estimated print time if available
Closes #523
2014-07-31 18:16:53 +02:00
Gina Häußge 5e8a04e54d Merge pull request #481 from Salandora/bugFixes
Bug fixes
2014-07-31 10:10:21 +02:00
Gina Häußge 32a38af4f7 Update CONTRIBUTING.md 2014-07-27 16:18:30 +02:00
Gina Häußge 8c8059db30 Protocol and Transport classes are now detected automatically and the one to use can be specified by config, also made standard control commands part of the protocol interface 2014-07-24 14:24:04 +02:00
Gina Häußge be99c59725 Properly handle exceptions other than a non-zero return code for slicing and timelapse rendering
Closes #508
2014-07-17 15:34:00 +02:00
Gina Häußge f6e2a59008 Correctly handle GET requests on /api/printer/{tool|bed} when printer is not operational
Closes #515
2014-07-17 13:02:00 +02:00
Gina Häußge fa586426fa Connection handshake should now be more error resilient 2014-07-12 19:55:13 +02:00
Gina Häußge 60a1bf0d43 Merge branch 'devel' into commRefactoring
Conflicts:
	src/octoprint/printer.py
2014-07-12 19:37:38 +02:00
Gina Häußge f7f7d5c4f0 We want the year in the docs to always be current 2014-06-30 11:18:22 +02:00
Gina Häußge 85fc2b2666 Let's see if fetching the version from the octoprint module works on rtd... 2014-06-30 11:13:47 +02:00
Gina Häußge 65624ed77e Also update the metadata correctly when an analysis finishes
Closes #476 for good
2014-06-23 18:54:45 +02:00
Gina Häußge 6a3241fa0b Another try at fixing #476 2014-06-23 16:22:57 +02:00
Gina Häußge ff22ab0026 Submit login form upon enter in password field, switch to password field upon enter in username field 2014-06-23 13:55:49 +02:00
Gina Häußge 907f5051e1 Version resource on API with API and software version 2014-06-23 13:31:31 +02:00
Gina Häußge 76a9e94aed Added clean command to setup.py 2014-06-23 13:09:54 +02:00
Gina Häußge 772ebd198a Fixed setup.py to correctly work with versioneer
(cherry picked from commit de7808d)
2014-06-23 10:36:30 +02:00
Gina Häußge de7808d42b Fixed setup.py to correctly work with versioneer 2014-06-23 10:35:59 +02:00
Gina Häußge 55b24c6a45 Removed left overs from old VERSION tracking
(cherry picked from commit 603f667)
2014-06-22 01:15:53 +02:00
Gina Häußge 603f667f93 Removed left overs from old VERSION tracking 2014-06-22 01:15:31 +02:00
Gina Häußge 18162cf110 Versioning by versioneer: https://github.com/warner/python-versioneer/
(cherry picked from commit 285f464)
2014-06-22 01:12:06 +02:00
Gina Häußge f693f26ffc Insert src folder at first position of sys.path
(cherry picked from commit fa564c6)
2014-06-22 01:09:22 +02:00
Gina Häußge 4cc1dc405f v1.1.0-rc1 1.1.0-rc1 2014-06-22 01:06:39 +02:00
Gina Häußge 12a4cbef46 Merge branch 'master' into devel
Conflicts:
	setup.py
2014-06-22 00:55:18 +02:00
Gina Häußge f9a9a405cd About time to declare this as a stable version, should have done this ages
ago...
1.0.0
2014-06-22 00:42:03 +02:00
Gina Häußge 285f464b43 Versioning by versioneer: https://github.com/warner/python-versioneer/ 2014-06-22 00:41:03 +02:00
Gina Häußge 585bfba850 Merge branch 'master' into devel
Conflicts:
	src/octoprint/server/ajax/control.py
2014-06-21 20:19:49 +02:00
Gina Häußge fa564c6029 Insert src folder at first position of sys.path 2014-06-21 20:16:53 +02:00
Gina Häußge fd632fc63b Insert src folder at first position of sys.path 2014-06-21 20:11:04 +02:00
Gina Häußge d8f1387703 Renamed a file 2014-06-08 16:54:17 +02:00
Gina Häußge 522eb40808 Documented SockJS interface, deprecated /api/state 2014-06-08 16:52:28 +02:00
Gina Häußge 587053b26c Forgot to git add image newly added to documentation 2014-06-07 18:23:55 +02:00
Gina Häußge fa8d4eff0f Merge branch 'jonnor/api-allow-cors' into devel 2014-06-07 18:00:49 +02:00
Gina Häußge 666a9ef0fa ACCESS_CONTROL_REQUEST_HEADERS => Access-Control-Request-Headers
While flask internally translates that just right back, this makes the implementation more readable since it matches the standard header name
2014-06-07 17:49:55 +02:00
Jon Nordby 014ea3eadc API: Clarify Access-Control-Request-Header handling
'headers' was a way too generic name, and the code structure implied
it was used in place of 'resp.headers' or 'request.headers', which is not the case.
Also add comment about the purpose of this code.
2014-06-07 14:42:58 +02:00
Gina Häußge f7e1b39af9 Added checkbox to the settings dialog for CORS, also slight changes in the documentation 2014-06-07 13:21:54 +02:00
Jon Nordby 33005ea243 API: Add documentation for newly added cross-origin config option 2014-06-07 01:27:07 +02:00
Jon Nordby 651a9d30ce API: Only allow cross-origin requests if explicitly enabled
To enable, set the key "allowCrossOrigin" under "api" in config.yml
No user interface for this option yet
2014-06-07 01:04:32 +02:00
Jon Nordby 0bd6005cb9 API: Allow cross-origin requests
When a REST API is called from within a browser page from a different domain,
the server needs to explicitly allow this. This makes the OctoPrint
API available also to other webapps, for instance those hosted on same network in hackerspace.
2014-06-07 00:27:19 +02:00
Gina Häußge 3ee745d79c Always send commands with checksum when printing 2014-06-05 21:23:07 +02:00