Gina Häußge
650d54d188
📌 rsa 4.1+ requires python 3
...
I really wish people would adhere to semver...
2020-07-08 10:02:54 +02:00
Gina Häußge
805159b07f
⬆️ Upgrade Sentry
2020-06-26 18:53:02 +02:00
Gina Häußge
c2705a96f1
✨ Bundle file check plugin
...
Will check uploaded files for common issues. Currently only checks
for presence of `{travel_speed}` placeholder in GCODE.
Implements #3410
2020-06-22 18:02:39 +02:00
Gina Häußge
55dafd511b
🐛 Fix auth on tornado endpoints again
...
Broke thanks to a breaking change hidden in the new flask-login version.
Just use semver, people, please!
Fixes #3600
2020-06-12 10:16:51 +02:00
Gina Häußge
86d442a1e3
Merge branch 'master' into maintenance
...
# Conflicts:
# setup.py
2020-06-08 15:30:48 +02:00
Gina Häußge
a819b5d2ca
💚 Fix docs build, part 2
2020-06-08 15:21:52 +02:00
Gina Häußge
379c969a9f
💚 Fix docs build
...
A bundled sphinx extension (silently) broken and caused build issues.
We now require Python 3 to build the docs.
2020-06-08 15:16:08 +02:00
Gina Häußge
207da9cda1
🐛 Vendor bundle awesome-slugify
...
Otherwise there's a namespace clash with python-slugify which now is
required by cookiecutter.
2020-06-05 17:51:53 +02:00
Gina Häußge
80f94946e3
Revert "➕ ➖ Switch from awesome-slugify to python-slugify"
...
This reverts commit 73fbd15b
The change causes a full rescan for renaming on the uploads folder.
Unintended, needs to be looked at closer at a later date.
2020-06-03 18:42:48 +02:00
Gina Häußge
42943050fe
👷♂️ Different approach to be dependabot compatible
2020-06-03 17:51:53 +02:00
Gina Häußge
dac60a6783
Revert "👷♂️ Make setup.py parseable by dependabot"
...
This reverts commit 1a37f020
2020-06-03 17:44:05 +02:00
Gina Häußge
1a37f0209c
👷♂️ Make setup.py parseable by dependabot
...
Hopefully at least...
2020-06-03 17:24:16 +02:00
Gina Häußge
db46b4fb6f
💚 Markdown 3.2* needs py3
2020-06-03 15:27:56 +02:00
Gina Häußge
73fbd15bca
➕ ➖ Switch from awesome-slugify to python-slugify
2020-06-03 15:13:00 +02:00
Gina Häußge
f88b5e8142
⬆️ Upgrade dependencies
2020-06-03 14:49:53 +02:00
Gina Häußge
f016bb1e0c
📝 Reworded code comment
2020-05-06 15:50:59 +02:00
Gina Häußge
85de9d5f45
Merge branch 'pr/3555' into maintenance
2020-05-06 15:49:52 +02:00
Gina Häußge
4ba94c3ce9
📝 Fix code comment
...
In the hopes that #2585 will not rear its ugly head again we update
to the last Tornado version we can use with Py2 and 3.
2020-05-06 15:38:35 +02:00
lachyc
4ddaf350b4
Update setup.py
...
Markupsafe 2.0 install currently fails, Jinja require >= 1.1
2020-05-06 12:54:32 +10:00
Shawn Bruce
8bae5ace0f
Update Tornado to 5.1.1
...
Use tornado.gen.coroutine as tornado.web.asynchronous is now deprecated
tornado.ioloop.PeriodicCallback no longer supports the io_loop argument.
tornado.httputil.HTTPServerRequest.supports_http_1_1 is now depricated use tornado.httputil.HTTPServerRequest.version attribute instead
2020-05-01 13:03:23 -04:00
Flaviu Tamas
65b960f0f0
Add request profiling code
...
To profile a given request, just add ?perfprofile to the url. Instead of
returning the actual results, an HTML presentation of the profiling
results is returned.
This is only enabled when debug mode is enabled.
2020-04-23 19:16:48 -04:00
Gina Häußge
761a0fdb61
♻ Extract printer safety warning into dependency
...
Renamed to firmware check, published to PyPI, on a different release
cycle and version number scheme than core OctoPrint but still considered
bundled via a new mechanism to mark external plugins as such.
This will speed up deployment of new firmware checks in case of new
printers with disabled thermal runaway protection, or stuff like the CBD
firmware.
2020-03-27 15:42:06 +01:00
Gina Häußge
5d1ad5d75d
🐛 Add blinker dependency for flask_principal
...
Was forgotten in 928d62a517
2019-12-10 16:35:07 +01:00
Gina Häußge
928d62a517
♻ Vendoring flask_principal
...
It no longer seems to be maintained and there's an issue in the code
we need fixed.
2019-12-09 19:06:52 +01:00
Gina Häußge
84a99e1b53
⬇ Downgrade readthedocs-sphinx-ext
...
Current versions require jinja2>=2.9 which we can't upgrade to due to
compatibility issues.
2019-11-20 16:02:34 +01:00
Gina Häußge
b7e0e89bb4
⚡ ️ Precompile markdown & remove changelog
...
We already have Github's releases with all the changes, we don't need to
keep everything twice.
Instead of the changelog included in the about dialog there's now a link
to the release list, that should suffice.
Implements #3342
2019-11-20 15:35:44 +01:00
Gina Häußge
d8c3063813
⬆️ Update 3rd party deps
2019-11-20 15:30:36 +01:00
Gina Häußge
8df2a5436b
Merge branch 'maintenance' into devel
...
# Conflicts:
# setup.py
# src/octoprint/filemanager/__init__.py
# src/octoprint/plugins/action_command_prompt/static/js/action_command_prompt.js
# src/octoprint/plugins/forcelogin/__init__.py
# src/octoprint/plugins/forcelogin/templates/forcelogin_index.jinja2
# src/octoprint/plugins/pluginmanager/__init__.py
# src/octoprint/plugins/pluginmanager/static/css/pluginmanager.css
# src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js
# src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js
# src/octoprint/plugins/tracking/__init__.py
# src/octoprint/printer/standard.py
# src/octoprint/server/views.py
# src/octoprint/static/js/app/viewmodels/printerstate.js
# src/octoprint/static/js/app/viewmodels/users.js
# src/octoprint/timelapse.py
# src/octoprint/users.py
# src/octoprint/util/comm.py
2019-09-12 09:30:28 +02:00
Gina Häußge
2c6568acd1
✨ Mimetype guessing for the webcam test
...
Related to #3207
2019-07-01 17:17:34 +02:00
Gina Häußge
6959ce4d38
💚 Try to fix doc build by pinning a dep, 2nd try
2019-06-19 11:52:06 +02:00
Gina Häußge
08bc0082cf
💚 Try to fix doc build by pinning a dep
2019-06-19 11:46:53 +02:00
Gina Häußge
c0096c41a0
Merge branch 'maintenance' into devel
...
# Conflicts:
# setup.py
# src/octoprint/cli/plugins.py
# src/octoprint/events.py
# src/octoprint/filemanager/__init__.py
# src/octoprint/logging/__init__.py
# src/octoprint/plugins/announcements/__init__.py
# src/octoprint/plugins/appkeys/__init__.py
# src/octoprint/plugins/forcelogin/__init__.py
# src/octoprint/plugins/forcelogin/static/js/main.js
# src/octoprint/plugins/forcelogin/templates/forcelogin_index.jinja2
# src/octoprint/plugins/pluginmanager/static/css/pluginmanager.css
# src/octoprint/plugins/printer_safety_check/__init__.py
# src/octoprint/plugins/softwareupdate/__init__.py
# src/octoprint/plugins/virtual_printer/virtual.py
# src/octoprint/printer/__init__.py
# src/octoprint/printer/estimation.py
# src/octoprint/printer/standard.py
# src/octoprint/server/__init__.py
# src/octoprint/server/api/__init__.py
# src/octoprint/server/api/settings.py
# src/octoprint/server/api/system.py
# src/octoprint/server/apps/__init__.py
# src/octoprint/server/util/__init__.py
# src/octoprint/server/util/flask.py
# src/octoprint/server/util/sockjs.py
# src/octoprint/server/views.py
# src/octoprint/settings.py
# src/octoprint/slicing/__init__.py
# src/octoprint/static/js/app/helpers.js
# src/octoprint/static/js/app/main.js
# src/octoprint/static/js/app/viewmodels/settings.js
# src/octoprint/static/js/app/viewmodels/temperature.js
# src/octoprint/templates/dialogs/settings/accesscontrol.jinja2
# src/octoprint/templates/dialogs/settings/api.jinja2
# src/octoprint/templates/initscript.jinja2
# src/octoprint/templates/tabs/control.jinja2
# src/octoprint/timelapse.py
# src/octoprint/users.py
# src/octoprint/util/comm.py
# src/octoprint/util/gcodeInterpreter.py
# src/octoprint/vendor/sockjs/tornado/transports/rawwebsocket.py
# src/octoprint/vendor/sockjs/tornado/transports/websocket.py
# translations/messages.pot
2019-05-10 17:13:55 +02:00
Gina Häußge
9ec3a6ae7a
➖ Remove python-dateutil dependency
...
It's no longer installable from source under OctoPi 0.14 due to an
unpinned setup_requires dependency on setuptools_scm, and since we still
have to support that installation scenario that is a problem. Thankfully
it's only used in the plugin manager for parsing the notice date, and
we can just use datetime.strptime for that.
2019-03-27 14:34:13 +01:00
Gina Häußge
40396847e3
⬆ werkzeug.contrib.cache is now cachelib
2019-03-26 10:12:58 +01:00
Gina Häußge
3d4422021e
⬆ Updated various dependencies
...
Closes #3074
2019-03-22 18:52:16 +01:00
Gina Häußge
99e7824913
🐛 Fix some outdated links to the forum
2019-03-19 15:00:10 +01:00
Gina Häußge
adea0db344
Merge branch 'maintenance' into devel
...
# Conflicts:
# src/octoprint/util/__init__.py
2019-02-22 12:48:52 +01:00
Gina Häußge
0c4f4383e3
♻ Introduce type hints
...
For now we'll only use them to have our IDEs scream at us...
2019-02-22 11:44:45 +01:00
Gina Häußge
9f2821fe96
👷 ALLOW_UNICODE and custom pretty printer in doctests
...
We could also have set ALLOW_UNICODE globally, but this way we might
catch situations where we definitely do not expect mixed results between
py2 and py3.
2019-02-21 15:36:10 +01:00
Gina Häußge
dcc1148863
👷 Switching from nose to pytest
2019-02-21 15:34:07 +01:00
Gina Häußge
25f26170ff
Merge branch 'maintenance' into devel
...
# Conflicts:
# setup.py
# src/octoprint/plugins/printer_safety_check/__init__.py
# tests/filemanager/test_filemanager.py
2019-02-20 15:10:25 +01:00
Gina Häußge
1b876f1cf3
♻ Only depend on chainmap and scandir under py2
2019-02-07 16:31:43 +01:00
Gina Häußge
22f6a38f0a
♻ Universal wheel and related setup.py adjustments
...
Also make sure that our environment specific dependencies get recorded
to the wheel so that we don't have to build in the same environment as
the software will run later (consider this work towards a PyPI release
that might also be backported).
2019-02-07 15:28:01 +01:00
Gina Häußge
5a623b486c
✅ Adding flake8 to CI
2019-02-05 17:28:44 +01:00
Gina Häußge
920283cf87
Merge branch 'devel' into pr/3032
...
# Conflicts:
# src/octoprint/access/groups.py
# src/octoprint/static/css/octoprint.css
2019-02-05 17:08:24 +01:00
Gina Häußge
f59c1ce804
⬆ Upgrade Flask-Login dependency
...
It used to be 0.3.0+, some merge in the past must have broken that.
2019-02-05 15:58:15 +01:00
Matthias Urlichs
f82ec61463
restore setup.py
...
Incompatibility with Jinja 2.10
2019-02-03 19:00:29 +01:00
Matthias Urlichs
49fb0f87d5
Clean up Py2-vs.Py3 imports
2019-02-03 16:32:00 +01:00
Matthias Urlichs
1dacbc35bf
Use unicode_literals __future__
2019-02-03 14:09:57 +01:00
Matthias Urlichs
21d3622c2e
fix dependency (TEMP)
2019-01-28 14:14:23 +01:00