Commit graph

2720 commits

Author SHA1 Message Date
Gina Häußge
f352f8ff29 New method on slicingManager to set default slicing profile 2015-07-16 18:37:00 +02:00
Gina Häußge
3dfb2b2989 Adjusted CuraPlugin for new wizard capabilities 2015-07-16 14:01:28 +02:00
Gina Häußge
681def9d6c Wizard fetches details and saves enqueued setting on finish
Plugins may implement onWizardDetails, onWizardBeforeFinish and
onWizardFinish to react to wizard events.
2015-07-16 14:00:53 +02:00
Gina Häußge
af4566375d SettingsViewModel now allows enqueuing data for saving
New method "enqueueForSaving" allows continously building up a settings
dict to be persisted, new method "saveEnqueued" finally allows saving it.
2015-07-16 13:59:44 +02:00
Gina Häußge
f2b9337fae WizardPlugins can now report back more details
In case a wizard plugin needs to communicate more info with its frontend,
such as which kind of information is missing, this is now possible through
a new API endpoint that will collect such information from the plugins
and provide it to callees.
2015-07-16 13:58:28 +02:00
Gina Häußge
3f147c9272 WIP to make cura plugin capable of displaying a wizard pane 2015-07-14 20:22:02 +02:00
Gina Häußge
33cbd3dcbd Only show wizard when firstRun is true or user is admin 2015-07-14 20:21:31 +02:00
Gina Häußge
c7e602d342 Only inject wizard templates if plugin reports they are required 2015-07-14 20:21:07 +02:00
Gina Häußge
03c2439efe New plugin mixin "WizardPlugin" 2015-07-14 20:20:25 +02:00
Gina Häußge
4193aa4d41 Migrated access control setup to wizard framework 2015-07-13 18:35:27 +02:00
Gina Häußge
85edac8191 Added overwrite option to user manager addUser method 2015-07-13 18:34:47 +02:00
Gina Häußge
ac1e2e8ad4 First work on a (first run) wizard, also usable by plugins 2015-07-12 11:51:19 +02:00
Gina Häußge
75992ef837 Better resilience against errors within plugins 2015-07-10 11:46:51 +02:00
Gina Häußge
1c806eb618 Merge branch 'maintenance' into devel
Conflicts:
	.versioneer-lookup
	CHANGELOG.md
2015-07-09 21:52:23 +02:00
Gina Häußge
a18cbf71bd Fixed white panes in settings dialog on Safari 8
Absolute positioning caused panes to sometimes not render when being
selected. Switching to static positioning again makes the dialog look a bit
weird, but that's probably still preferable to no content showing. It seems
to be a browser bug that not's present with Safari 7, more tests to pinpoint
what exactly is causing this are probably necessary, but this at least is a
functional workaround for now.
2015-07-09 21:49:51 +02:00
Gina Häußge
5470aaaa3a Set no-cache headers on page while firstRun is True
(cherry picked from commit f1afb70)
2015-07-09 09:45:35 +02:00
Gina Häußge
f89cbc9133 Allow to not cache responses that set no-cache headers
(cherry picked from commit 163100b)
2015-07-09 09:45:29 +02:00
Gina Häußge
5dfffc36e3 maintenance branch is now 1.2.4-dev 2015-07-09 09:44:51 +02:00
Gina Häußge
f1afb70b47 Set no-cache headers on page while firstRun is True 2015-07-09 09:28:31 +02:00
Gina Häußge
163100bd44 Allow to not cache responses that set no-cache headers 2015-07-09 09:27:38 +02:00
Gina Häußge
3761995aff Removed unneeded parameter and added missing semicolon
(cherry picked from commit 29b3b62)
2015-07-08 17:42:47 +02:00
Gina Häußge
e62cef590b Fixed preventDefault issues also for files search
(cherry picked from commit 4894c6e)
2015-07-08 17:42:41 +02:00
Mark Walker
677e583345 pluginmanager: case handling and submit binding
- Convert query term to lower case so that it is case insensitive both ways
    - Knockout submit binding takes the form element as parameter and return
    value determines whether the form submit occurs. See http://knockoutjs.com/documentation/submit-binding.html
(cherry picked from commit 4a2cc53)
2015-07-08 17:42:35 +02:00
Gina Häußge
abbf937e7f Preparing release of 1.2.3 2015-07-08 17:22:18 +02:00
Gina Häußge
8d14ea6093 Rewrite urls in packed css and less files
See also #962
(cherry picked from commit 7ea2ee2)
2015-07-08 16:46:46 +02:00
Gina Häußge
97826b2f3b Fix: More resilience against missing plugin assets
Two changes:

  * Asset existence will now be checked before they get included
    in the assets to bundle by webassets, logging a warning if a
    file isn't present.
  * Monkey-patched webassets filter chain to not die when a file
    doesn't exist, but to log an error instead and just return
    an empty file instead.
(cherry picked from commit 2a5ec33)
2015-07-08 16:46:38 +02:00
Gina Häußge
6abd7e27ce Forgot a changelog entry earlier 2015-07-08 16:45:12 +02:00
Gina Häußge
7ea2ee2aa1 Rewrite urls in packed css and less files
See also #962
2015-07-08 16:34:42 +02:00
Gina Häußge
2a5ec3364e Fix: More resilience against missing plugin assets
Two changes:

  * Asset existence will now be checked before they get included
    in the assets to bundle by webassets, logging a warning if a
    file isn't present.
  * Monkey-patched webassets filter chain to not die when a file
    doesn't exist, but to log an error instead and just return
    an empty file instead.
2015-07-08 16:32:25 +02:00
Gina Häußge
377607cf12 Added button to cura settings to check validity of engine path 2015-07-08 13:36:56 +02:00
Gina Häußge
e2894c25b5 New util resource for testing paths and urls from the frontend 2015-07-08 13:36:29 +02:00
Gina Häußge
29b3b62c0d Removed unneeded parameter and added missing semicolon 2015-07-08 08:45:36 +02:00
Gina Häußge
4894c6ec44 Fixed preventDefault issues also for files search 2015-07-08 08:45:10 +02:00
Gina Häußge
02b68e2912 Merge branch 'pluginmanagersearch' of https://github.com/markwal/OctoPrint into pr/markwal/pluginmanagersearch
Conflicts:
	src/octoprint/translations/de/LC_MESSAGES/messages.mo
	src/octoprint/translations/de/LC_MESSAGES/messages.po
	translations/de/LC_MESSAGES/messages.mo
	translations/de/LC_MESSAGES/messages.po
	translations/messages.pot
2015-07-08 08:35:11 +02:00
Mark Walker
4a2cc5382d pluginmanager: case handling and submit binding
- Convert query term to lower case so that it is case insensitive both ways
    - Knockout submit binding takes the form element as parameter and return
    value determines whether the form submit occurs. See http://knockoutjs.com/documentation/submit-binding.html
2015-07-07 14:24:27 -07:00
Gina Häußge
1b594b2ec3 Finally added a proper AUTHORS file
Also adjusted contribution guidelines to ask people to include themselves when filing
a PR.
2015-07-07 22:43:36 +02:00
Gina Häußge
a1e0078ce5 Updated translation
(cherry picked from commit 7d43bca)
2015-07-07 19:00:11 +02:00
Gina Häußge
a5bf3c3be1 Log serial write exceptions to octoprint.log
(cherry picked from commit 367ba06)
2015-07-07 18:39:54 +02:00
Gina Häußge
19a5613e59 Made "Software Update" and "CuraEngine" translateable
Also fixed a typo in a notification.
(cherry picked from commit 430e47d)
2015-07-07 18:39:47 +02:00
Gina Häußge
ced286854c Fixed sorting by size of file list
(cherry picked from commit 6906584)
2015-07-07 18:39:06 +02:00
Gina Häußge
7d43bca840 Updated translation 2015-07-07 18:37:55 +02:00
Gina Häußge
367ba06a83 Log serial write exceptions to octoprint.log 2015-07-07 18:30:27 +02:00
Gina Häußge
430e47d20f Made "Software Update" and "CuraEngine" translateable
Also fixed a typo in a notification.
2015-07-07 18:26:06 +02:00
Gina Häußge
22d12ac54c Allow hiding plugins from Plugin Manager 2015-07-07 15:33:26 +02:00
Gina Häußge
1eb3f84bce Also handle partial timelapse settings gracefully
Server startup could fail if for whatever reason the timelapse settings
had lost their type value, since the dict was not merged with the
default values upon retrieval.
2015-07-06 17:06:30 +02:00
Gina Häußge
6906584892 Fixed sorting by size of file list 2015-07-06 17:04:55 +02:00
Gina Häußge
ea53fd368a settings().get(..) => settings().getBoolean(..) 2015-07-06 17:03:36 +02:00
Gina Häußge
3441431cdf Do only allow machinecode files for selection/printing 2015-07-06 10:49:24 +02:00
Gina Häußge
811ffc760f Added "pollWatched" setting to UI
(cherry picked from commit b8cf5ef)
2015-07-06 10:21:21 +02:00
Gina Häußge
549b60edb1 Allow polling for changes in watched folder
Some underlying file systems might not trigger change events (e.g.
mounted remote file systems). Added a feature flag to allow for
switching to a (less performant) polling method.
(cherry picked from commit f2df174)
2015-07-06 10:20:57 +02:00