Eyal Soha
6b2f28240e
Ignore a leading v or V in github release tags.
...
This fixes foosel/OctoPrint#1723 .
(cherry picked from commit f1c3829)
2017-01-24 11:38:46 +01:00
Gina Häußge
507ddde9dd
Improved error resilience in plugin repository handling
2017-01-19 12:33:43 +01:00
Gina Häußge
4ed0ed5f99
Fix working dialog of pgmr and swu being closeable while active
...
Only the close button should work now
2016-11-23 15:11:35 +01:00
Gina Häußge
5c39e9a8a3
Demote pip upgrade message from stderr to stdout in client output
...
Having that output stay on stderr and hence in shiny red looks way
too alarming considering that it's only a pip update that is not THAT
critical usually (and we don't want to do it automatically anyhow
considering how often that appears to break stuff).
2016-11-23 14:28:50 +01:00
donovan6000
1b9bfc6d04
Inapplicable pip arguments can be blacklisted when installing or uninstalling a package
2016-11-22 14:58:39 +01:00
Gina Häußge
07bbbff038
Fix error border after successfull install of plugin archive
...
Was caused by incorrectly resetting the uploadFilename.
2016-11-21 16:25:53 +01:00
Gina Häußge
c9c2946db2
Allow closing of all pmgr notifications & remove on server disconnect
2016-11-21 16:14:09 +01:00
Gina Häußge
97bf331307
Add safe mode that disables all third party plugins
...
Can be enabled either through new --safe command line
parameter or through server.startOnceInSafeMode in
config.yaml
When running in safe mode the plugin manager will
only allow to disable or uninstall third party plugins. Enabling
third party plugins or installing new plugins is disabled.
That will hopefully allow for more straightforward recovery
in case of a misbehaving plugin.
2016-11-18 13:02:16 +01:00
Gina Häußge
4724153637
Restrict upload dialogs for plugins and language packs to supported extensions
2016-10-17 11:33:23 +02:00
Gina Häußge
9de78001dd
Merge branch 'maintenance' into devel
...
# Conflicts:
# CHANGELOG.md
# docs/plugins/concepts.rst
# src/octoprint/__init__.py
# src/octoprint/server/__init__.py
# src/octoprint/templates/javascripts.jinja2
# src/octoprint/timelapse.py
Merge branch 'devel' into dev/wizard
# Conflicts:
# octoprint_octobullet/__init__.py
# octoprint_octobullet/templates/octobullet_settings.jinja2
Merge branch 'devel' into dev/wizard
# Conflicts:
# octoprint_octobullet/__init__.py
# octoprint_octobullet/templates/octobullet_settings.jinja2
2016-10-13 14:22:40 +02:00
Gina Häußge
688a998dd2
Use CleaningTimedRotatingFileHandler in bundled plugins
2016-10-11 10:54:16 +02:00
Gina Häußge
bccc706329
First throw at caching of API methods
...
Most caching is left to the client, by utilizing ETag and Last-Modified headers.
Where it was easily achievable, an additional server side miniature cache of intermediary
results was introduced (e.g. for the files). The regular cached decorator was not used
since it targets caching full responses, and the responses in question already contained
client request specific data. Caching "one step earlier" allows better usage of the cache here.
Also introduced a dependency on the scandir module, to get a bit of a performance boost
on os.walk and os.listdir (which have been replaced with scandir.walk and scandir.listdir
respectively). See https://github.com/benhoyt/scandir#background on why that made
sense.
2016-08-30 19:02:30 +02:00
MirceaDan
c33a9f9aa2
from __future__ import absolute_import, division, print_function
...
changed the behavior to import division and print to be consistent
across all app and similar with python 3.x
2016-07-15 00:16:58 -07:00
Gina Häußge
3322714a8a
Merge branch 'maintenance' into devel
...
Conflicts:
CHANGELOG.md
2016-05-09 10:29:20 +02:00
Gina Häußge
5a8c3654c4
We leave the About dialog untranslated for now
2016-05-04 09:51:50 +02:00
Gina Häußge
76b4a45495
Merge branch 'maintenance' into devel
...
Conflicts:
THIRDPARTYLICENSES.md
setup.py
src/octoprint/server/__init__.py
src/octoprint/server/views.py
src/octoprint/settings.py
src/octoprint/static/css/octoprint.css
2016-05-03 10:48:26 +02:00
Gina Häußge
7c6b9eac48
Added externalize_links filter for jinja2
...
Links from documents (like changelog, licenses etc) should
also be target blank & rel noopener/noreferrer
2016-05-03 09:59:37 +02:00
Gina Häußge
62aee50701
rel="noopener noreferrer" for external links
2016-05-02 11:48:08 +02:00
Gina Häußge
73d981ed6b
Show - instead of None in About dialog if plugin has no license set
2016-05-02 10:10:27 +02:00
Gina Häußge
e0b888b2d0
First throw at an "About" dialog
...
(cherry picked from commit f2c07e8 )
2016-04-19 16:41:30 +02:00
Gina Häußge
b2391322d4
Removed sudo stuff from plugin manager, don't display full pip command
2016-02-11 09:38:35 +01:00
Gina Häußge
7a7b0e7c68
Have the plugin manager use the LocalPipCaller
...
We don't need user-definable pip command paths here,
that will only lead to tears when the pip command belongs
to a wrong Python environment and nothing installs as
expected.
2016-02-04 13:55:10 +01:00
Gina Häußge
780794c466
Merge branch 'development' of https://github.com/bwgan/OctoPrint into pr/bwgan/development
...
Conflicts:
src/octoprint/daemon.py
2016-01-29 09:04:58 +01:00
bwgan
f8c0df4e78
Typo and spelling fixes
...
Fixes various spelling issues and typos.
2016-01-28 18:59:38 +00:00
Gina Häußge
1e5cc9b086
Merge branch 'fix/knockout3.4' into devel
...
Conflicts:
src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js
src/octoprint/static/js/app/viewmodels/files.js
src/octoprint/static/js/app/viewmodels/firstrun.js
src/octoprint/static/js/app/viewmodels/loginstate.js
2016-01-27 17:37:31 +01:00
Gina Häußge
7f1394a8d6
Migrated ko.computed to ko.pureComputed where it made sense
2016-01-27 17:33:03 +01:00
Gina Häußge
7232df686a
Merge branch 'fix/compatibilityCheck' into devel
...
Conflicts:
src/octoprint/plugins/pluginmanager/__init__.py
2015-12-14 14:24:30 +01:00
Gina Häußge
eae68f04ca
Use PEP440 compatible version compatibility check
...
Also make sure that if we have a pkg_resources version that returns
tuples we not only remove any intermediary version parts if the base
version is requested, but we also append "*final" to the tuple afterwards,
otherwise the compatibility check will fail.
2015-12-14 14:14:44 +01:00
Gina Häußge
365c852769
Merge branch 'fix/fasterUpdateCheck' into devel
...
Conflicts:
src/octoprint/plugins/pluginmanager/__init__.py
src/octoprint/plugins/softwareupdate/__init__.py
2015-12-14 09:57:20 +01:00
Salandora
e8bd29ef99
Replace get_versions() calls with octoprint.server.VERSION, to get some time improvment
2015-12-09 10:29:24 +01:00
Salandora
68e78c93ea
Fixed a misarranged closing tag and wrapped it into a dropdown div
...
Thanks @BillyBlaze
2015-10-27 15:02:47 +01:00
Gina Häußge
60ce959909
Merge branch 'fix/atomicWrites' into devel
2015-10-06 18:41:04 +02:00
Gina Häußge
f83d5aa89f
Fix: Use atomic writes for all save processes
...
That includes uploaded files, profiles, caching files, settings and user
directories.
2015-10-05 18:07:43 +02:00
Gina Häußge
085ab77c57
Added system API to client lib and migrated users to it
2015-10-01 14:57:41 +02:00
Gina Häußge
8875f257ea
Merge branch 'devel' into dev/clientlib
...
Conflicts:
src/octoprint/server/api/__init__.py
src/octoprint/static/js/app/viewmodels/navigation.js
2015-10-01 14:22:15 +02:00
Gina Häußge
1837c74e8e
PMGR: Show restart button on notification if restart command is configured
...
This will directly offer a "Restart Now" button on the "a restart is required" notification
for plugins which cannot be directly enabled/disabled without a restart, but only if
the restart command is configured on the server.
On click a confirmation dialog will be shown.
2015-10-01 14:20:37 +02:00
Gina Häußge
982f24fe31
PMGR: Better wording of "pip unavailable" message
2015-09-30 15:59:08 +02:00
Gina Häußge
b432496b7f
Merge branch 'devel' into dev/clientlib
2015-09-30 14:40:46 +02:00
Gina Häußge
2926b5c8d5
PMGR: only mark as pending (un)installed if restart is needed
2015-09-30 14:30:10 +02:00
Gina Häußge
2eb80c550f
PMGR: Disable plugin remove button if plugin is not managable
2015-09-30 13:44:58 +02:00
Gina Häußge
ca587454df
PMGR: Fixed marking of plugins
...
Plugins can now (again) show if they are pending installation,
uninstallation and also if they are managable at all.
2015-09-30 13:37:27 +02:00
Gina Häußge
e64975c85c
PMGR: Debug output in frontend to indicate venv
2015-09-30 13:36:45 +02:00
Gina Häußge
4a97864e01
PMGR: Added option to force use of --user flag
2015-09-30 13:36:00 +02:00
Gina Häußge
62478fd98f
More pip data in plugin manager front end
2015-09-29 14:51:58 +02:00
Gina Häußge
705f0706fd
Merge branch 'fix/pmgrPipWithSudo' into devel
...
Conflicts:
src/octoprint/util/pip.py
2015-09-28 20:21:40 +02:00
Gina Häußge
fce7b40b51
pip: Use string representation of version for display in UI
2015-09-28 20:20:56 +02:00
Gina Häußge
697affc62d
Merge branch 'fix/pmgrPipWithSudo' into devel
...
Conflicts:
src/octoprint/plugins/pluginmanager/__init__.py
src/octoprint/util/pip.py
2015-09-28 19:57:05 +02:00
Gina Häußge
1178fe9e95
Support sudo for installing plugins, but warn about it
2015-09-28 19:53:30 +02:00
Gina Häußge
c5f0ccdb94
Migrated client to module factory pattern
...
This should _hopefully_ also make it compatible to AMD implementations,
but I have to admit that I haven't tried that yet...
2015-09-28 17:07:37 +02:00
Gina Häußge
eafca5d77a
Some bug fixing of client migration
2015-09-25 17:09:07 +02:00