Commit graph

3989 commits

Author SHA1 Message Date
Nicanor Romero Venier
fd788e737f Added support for CuraEngine 15.06 2015-07-17 13:56:45 +02:00
Gina Häußge
f8e1e9badf Improved wizard for initial CuraEngine setup
Added profile is now set as default and UI is a bit more visually pleasing.

 Next step is to find some way to mark wizard completion as "please ignore"...
2015-07-16 18:38:32 +02:00
Gina Häußge
f352f8ff29 New method on slicingManager to set default slicing profile 2015-07-16 18:37:00 +02:00
Nicanor Romero Venier
dab328527a Added settings to specify server commands.
Added commands for system shutdown and restart and
for server restart.
2015-07-16 16:01:47 +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
c2eb8828de Merge pull request #973 from Voxel8/jm/more-longRunningCommands
Add M400 and M226 to longRunningCommands
2015-07-16 12:16:01 +02:00
Gina Häußge
82fc7d7b79 Merge pull request #972 from markwal/fixtranspose
fix rotation of timelapse to match web view
2015-07-16 12:15:07 +02:00
Jack Minardi
466195b067 add M400 and M226 to longRunningCommands 2015-07-15 17:24:48 -04:00
Mark Walker
bdb55e0efc transpose=2 is counter clockwise, plus filter order should be rotation
last to match the css application order
2015-07-15 12:59:07 -07:00
Nicanor Romero Venier
6d24a46e88 Fixed form field truncation in upload requests
(cherry picked from commit 1f6c852)
2015-07-15 10:35:59 +02:00
Gina Häußge
db866d2310 Finally added a proper AUTHORS file
Also adjusted contribution guidelines to ask people to include themselves when filing
a PR.
(cherry picked from commit 1b594b2)
2015-07-15 10:35:38 +02:00
Nicanor Romero Venier
1f6c85228b Fixed form field truncation in upload requests 2015-07-15 10:29:26 +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
1409b79ab5 Path testing shall only continue if path is not None 2015-07-14 11:56:15 +02:00
Gina Häußge
bb7e15be84 Fixed a typo in the docs
logger => loggers in logging.yaml
(cherry picked from commit d0733d8)
2015-07-14 09:26:30 +02:00
Gina Häußge
7a007a6417 Stop RepeatedTimers on server shutdown by default
daemon flag was missing, leading to the timer staying active even when a shutdown
 was triggered. Added new daemon flag to timer constructor, defaulting to true, that
 fixes that behaviour.
(cherry picked from commit 48fe23b)
2015-07-14 09:26:25 +02:00
Gina Häußge
96aad9d34f Better resilience against errors within plugins
(cherry picked from commit 75992ef)
2015-07-14 09:26:20 +02:00
Gina Häußge
d0733d8769 Fixed a typo in the docs
logger => loggers in logging.yaml
2015-07-14 09:10:14 +02:00
Gina Häußge
48fe23b1f1 Stop RepeatedTimers on server shutdown by default
daemon flag was missing, leading to the timer staying active even when a shutdown
 was triggered. Added new daemon flag to timer constructor, defaulting to true, that
 fixes that behaviour.
2015-07-14 09:09:29 +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
a65ad50898 Better command line interface 2015-07-13 13:51:36 +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
4d3334caf1 Updated README 2015-07-10 09:58:20 +02:00
Gina Häußge
2745f49d28 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.
(cherry picked from commit a18cbf7)
2015-07-09 21:52:59 +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