Gina Häußge
4badf72e18
New section "Note for Upgraders" & corrected a typo
2015-06-12 20:15:22 +02:00
Gina Häußge
5da52b6c57
Preparing release of 1.2.0-rc2
2015-06-12 17:30:32 +02:00
Gina Häußge
c527338cb8
Docs: Updated plugin tutorial to utilize new cookiecutter template
2015-06-11 15:04:27 +02:00
Gina Häußge
46711ce365
pluginmanager: Support installing plugins that need --process-dependency-links
...
This might be necessary when plugins depend on (patched) library versions that are not yet released on PyPI
2015-06-10 19:34:33 +02:00
Gina Häußge
8353c9bdf5
Better fix for #931 , stays backwards compatible to older setuptools versions
...
python-setuptools on OctoPi is quite old and trying to update in a local virtualenv apparently CAN cause problems (we had this with python-serial too a while back), so a backwards compatible solution is better here.
2015-06-10 17:25:23 +02:00
Gina Häußge
6a7a858065
Fix: octoprint_setuptools depends on setuptools==7.0
...
Closes #931
2015-06-10 16:34:12 +02:00
Gina Häußge
2e72b91eaf
Preparing release of 1.2.0-rc1
2015-06-10 10:12:30 +02:00
Gina Häußge
d2cd459f26
Marked deprecated PluginSettings.getInt etc methods as to remove with 1.3.0
2015-06-10 09:43:10 +02:00
Gina Häußge
06fb249f2e
Send frontend translations with javascript mime type
...
Thanks @markwal
2015-06-10 09:14:39 +02:00
Gina Häußge
d9cbf786d5
Fix: Don't depend on presence of String.prototype.startsWith
...
Instead use direct comparison with "divider" (matches docs more closely anyhow)
2015-06-09 22:33:18 +02:00
Gina Häußge
5d5c3d74c1
softwareupdate: re-fetch check data on plugin lifecycle events
...
If plugins get enabled or disabled, the update check configuration needs to be refetched next time it's needed since there might have been changes to plugin implementing the check_info hook.
2015-06-09 19:03:38 +02:00
Gina Häußge
4b86d83465
docs: removed a missing reference
2015-06-09 18:51:14 +02:00
Gina Häußge
592cad5b99
Deprecated AppPlugin mixin and introduced octoprint.accesscontrol.appkey hook instead
...
Plugins implementing the mixin will automatically be migrated to providing the single mixin method as hook handler.
2015-06-09 18:50:55 +02:00
Gina Häußge
228fb21ceb
softwareupdate: Also allow {target} in pip install urls, as a synonym for {target_version}
2015-06-09 17:33:41 +02:00
Gina Häußge
f813e6317b
Updated and bundled german core translation
2015-06-09 15:00:43 +02:00
Gina Häußge
5e1ce30ab2
Updated translations source file
2015-06-09 15:00:27 +02:00
Gina Häußge
51cc994610
softwareupdate: Slight rewording of "current versions" information
2015-06-09 14:59:52 +02:00
Gina Häußge
7ae83a4031
Moved software update plugin into "OctoPrint" settings section
2015-06-09 14:59:09 +02:00
Gina Häußge
8696ce9291
Fix: Bundled plugins always take precedence over external ones
2015-06-09 13:54:21 +02:00
Gina Häußge
2e6240a910
Bundled Software Update Plugin
2015-06-09 13:35:03 +02:00
Gina Häußge
cd390a53af
Updated links in footer
2015-06-09 13:04:29 +02:00
Gina Häußge
ef1c9724c7
Fix: Include all packages for a plugin during setup, not only the topmost one
...
Thanks @Salandora
2015-06-09 12:47:37 +02:00
Gina Häußge
a9d5e1643d
Merge branch 'devel' of github.com:foosel/OctoPrint into devel
2015-06-09 11:00:55 +02:00
Gina Häußge
f00c8bba33
Frontend: All number inputs are now right-aligned
2015-06-09 10:51:59 +02:00
Gina Häußge
d43ead5b34
Frontend: Added option to allow partial settings save with callback
...
That's useful for plugins which only want to allow editing a selected segment of the whole settings set.
2015-06-09 10:51:20 +02:00
Gina Häußge
4b896fc327
Fixed webassets cache method to not hiccup on vanished files
...
Utilizing a monkey patch to catch ENOENT errors when calculating the hash of cached files.
2015-06-09 10:49:59 +02:00
Gina Häußge
be5a5f3c69
Fix: Also take configuration changes into account for update-necessary-check on assets
...
This way, changes to the minify parameter actually change behaviour...
2015-06-08 18:06:45 +02:00
Gina Häußge
fde543f19e
[doc] octoprint.ui.web.templatetypes hook is now documented
2015-06-08 12:05:29 +02:00
Gina Häußge
804d832544
Made name entry for Plugin Manager settings dialog translateable
2015-06-08 08:22:40 +02:00
Gina Häußge
bbba7f2817
Assets are no longer needed in index view renderer
...
They are now bundled via Flask-Assets instead
2015-06-08 08:22:11 +02:00
Gina Häußge
13cda74ebc
Merge pull request #924 from Salandora/systemCommandsDivider
...
Addded possibility to add dividers to System Command Menu
2015-06-05 11:26:42 +02:00
Marc
9753a74db4
Addded possibility to add dividers to System Command Menu
2015-06-05 01:26:45 +02:00
Gina Häußge
a1568c43d3
Bundled german language pack
2015-06-04 10:18:20 +02:00
Gina Häußge
0d7d4cb142
Custom webassets filter that rewrites LESS imports
...
Need to point to ../less folder
2015-06-04 09:06:04 +02:00
Gina Häußge
8d3f933562
Fixed webassets cache method to also allow overwriting files under windows
...
Utilizing a monkey patch to swap os.rename for shutil.move, which also works if the target file already exists.
2015-06-04 09:05:31 +02:00
Gina Häußge
3dc0452a45
Adjusted docs to describe new web asset handling
2015-06-03 20:21:12 +02:00
Gina Häußge
261f6709a3
Depend on Flask-Assets 0.10
...
Compatibility adjustments and version pinning
2015-06-03 19:36:38 +02:00
Gina Häußge
b63f842210
Webassets are now written to ~/.octoprint/generated
...
Same holds true for cache files, so there should be no problem anymore with installs where the static folder is not writable.
Also introduced two new devel config vars to disable merging and minifying of the assets, solved the empty-less-bundle problem and made sure babel knows about the jinja extension.
2015-06-03 18:27:30 +02:00
Gina Häußge
55650cd416
AssetPlugins now necessitate a restart due to utilizing blueprints
2015-06-03 18:25:27 +02:00
Gina Häußge
157b78a052
WIP: Use Flask-Assets to merge js, css and less files
...
Should reduce number of requests and hence load times needed for loading web interface.
TODO: Handling of empty bundles needs to be fixed
2015-06-03 16:42:57 +02:00
Gina Häußge
db980689c8
Fixed GCODE viewer in zoomed out browsers
...
Closes #612
2015-06-03 13:25:30 +02:00
Gina Häußge
b714c59004
Allow specification of known long running commands through settings
...
This should allow users to adjust the behaviour of the communication stack more granularly in case the regular settings which only consider G4, G28, G29, G30, G32 to be real long runners without output are not sufficient.
2015-06-03 12:34:00 +02:00
Gina Häußge
d2bca10ac9
Slight refactoring of API key evaluation in restricted_access decorator
...
Actual test whether key is provided or not happens in before_request handler of flask app, hence the more granular processing in the decorator was unecessary since around november '14. Adjusted to only do the actual processing necessary to replicate login_required behaviour/login users if necessary.
Closes #516 (actually, that was solved since introduction of the before_request handler which took that work off the hands of the decorator, but now it's properly documented too)
2015-06-03 11:55:32 +02:00
Gina Häußge
27dcef3e23
New approach to matching up installed packages with plugins
...
Match against entry_point origins using both package name and package name plus version. If one of those matches (depends on pip version if output will include version or not), it's the plugin we are looking for.
This way we don't need to try to strip a version number from the package name as output by pip without knowing if a version number is included or not.
2015-06-03 10:46:58 +02:00
Gina Häußge
ba5e99c187
Use namedtuple for plugin.origin data structure and include package version
2015-06-03 10:44:27 +02:00
Mark Walker
35f2c6d788
Pip result parsing version numbers and extra lines
...
Some pip invocations return extra info after the Successfully installed
(like "Cleaning up..."). Also, not all packages include a version
number in their package names.
2015-06-02 23:31:03 -07:00
Gina Häußge
b04be6d194
Updated transifex config file to point to new translation directory
2015-06-02 15:50:27 +02:00
Gina Häußge
da58b14124
Display a message when no additional language packs are installed
2015-06-02 14:41:56 +02:00
Gina Häußge
02b7085543
Merge branch 'dev/translationsAsPackages' into devel
...
Conflicts:
src/octoprint/server/__init__.py
2015-06-02 13:58:40 +02:00
Gina Häußge
fb85b228f0
Merge branch 'dev/translationsAsPackages' of github.com:foosel/OctoPrint into dev/translationsAsPackages
...
Conflicts:
src/octoprint/server/__init__.py
src/octoprint/server/util/flask.py
src/octoprint/server/views.py
2015-06-02 13:46:10 +02:00