John Lewin
72deb94de3
Better convey that ChangeID expects a deviceToken param
...
- Avoid recovery - use PrinterSettings.LoadFile rather than ProfileManager.LoadProfile
2016-08-12 13:29:22 -07:00
Lars Brubaker
dd09f3dd25
Merge pull request #1277 from larsbrubaker/master
...
Defaulted resume failed print to off
2016-08-11 16:38:45 -07:00
Lars Brubaker
0511859f83
merge
2016-08-11 16:12:39 -07:00
Lars Brubaker
261b613689
Made resume failed print able to be turned on and off
...
Made show if set have an & operator
Made a new test for parsing the show if set parameter
2016-08-11 16:09:45 -07:00
Matt Moening
5b42eac301
Fixed import to not rely on layer_height validation
...
- Import preset no longer checks for slicer and will validate import on weather or not any settigns were valid
- calling Import from MenuOptionFIle will cause the same error message as importing a printer form the settings import page
- Import to new printer now attempts to load values and validates success on importing a valid setting
2016-08-11 14:59:33 -07:00
Matt Moening
5b8ff5cd29
Changed TryGetValue to ContainsKey for clarity
2016-08-11 13:01:34 -07:00
Matt Moening
bdf3e8f2a5
Importing a printer/settings from a file will now notify the user if the file contains no valid user settings
...
- ImportFomEisting now returns a bool of whether or not it succeeded
- PrinterSettings now has a Contains method
- merging or importing quality/material settings check to make sure at least one setting was importable and notifies user if not
2016-08-10 16:39:08 -07:00
Lars Brubaker
b18f8fc889
Made the name save in settings editor
...
changed layername to a settings key
2016-08-10 14:04:33 -07:00
John Lewin
e29bf11631
Skip migrations if DocumentVersion missing
...
- Disable old migrations
- Issue MatterHackers/MCCentral#252
2016-08-04 08:57:14 -07:00
Lars Brubaker
1c12b620fb
Moved quoted settings to SettingsKey
2016-07-28 16:45:45 -07:00
John Lewin
43e94f6ed4
DownloadPrinterProfile should return an instance of PrinterSettings
...
- Persistence of profile moves to caller
- Rename to GetPrinterProfileAsync
- Expose PrinterSettings.Save for use in external assemblies
- Issue MatterHackers/MCCentral#227 , MatterHackers/MCCentral#242
2016-07-28 09:46:12 -07:00
John Lewin
4ece8d18a7
Make LoadCacheable collector return instance of T rather than string
...
- Issue #1195 , #1188
2016-07-26 13:22:24 -07:00
Lars Brubaker
a3c0cdcea5
Refactored PrinterActionRow
...
made show_reset_connection a SettingsKey
Made the show_reset_connection less expensive to change
2016-07-26 09:30:12 -07:00
Greg
3e91f6447e
Created M109 test
...
- issue #939
2016-07-25 16:14:19 -07:00
John Lewin
3e79fb6590
Make DownloadPrinterProfile async, move to MHWebServices
...
- Issue MatterHackers/MCCentral#218
- Rename function to DownloadPublicProfileAsync
2016-07-25 14:39:23 -07:00
John Lewin
135b4df7ad
Refactor for clarity, conciseness
2016-07-24 08:24:47 -07:00
John Lewin
063ac60ec9
Assign current theme to new printers
...
- Issue #1158
2016-07-24 07:48:42 -07:00
John Lewin
1e57909497
Migrate active_theme_index to SettingsKey
2016-07-24 07:45:33 -07:00
John Lewin
6f394c7c1f
Make LoadCacheable async
...
- Collector func<string> becomes async
- Propagate async to LoadCacheable callers
2016-07-22 14:09:25 -07:00
Lars Brubaker
e7279aa32f
Put in the ability to set how much the perimeter overlap is set to
2016-07-22 14:02:39 -07:00
Lars Brubaker
92a572e5f2
Changed upload to sync
...
Go to driver install rather than not
Make sure delete printer updates settings view
Printer History -> Settings History
Make Settings Options menu not too big
Border on Delete Printer button
2016-07-21 17:15:47 -07:00
Lars Brubaker
2a238fdcc4
Moving this code to ApplicationController
...
MatterControlApplication should be as thin as possible it is not shared accross platforms.
Put shared code into ApplicationController
2016-07-21 15:13:10 -07:00
Lars Brubaker
3e32347c88
Merge branch 'master' of https://github.com/MatterHackers/MatterControl
2016-07-21 15:07:02 -07:00
Lars Brubaker
ecf3e085d1
Make sure we are checking PrinterSelected rather than ActiveSliceSettings.Instance == null
...
The later does not happen anymore.
2016-07-21 15:05:59 -07:00
Matt Moening
97d3615755
Load public profiles from Static Data before launching request to web server in new task
...
This reduced loading time for public profiles from 5200-5300ms to 2ms
Loadcacheable can now fall back to Static data if passed a path for it
2016-07-21 14:23:35 -07:00
John Lewin
3ec400ee23
Revert prior workaround, explicitly create DB in dependent tests
2016-07-20 20:05:56 -07:00
John Lewin
7872f70299
Possible fix for build/test failures due to uninitialized DB
2016-07-20 19:31:26 -07:00
John Lewin
4d0fb6e67c
Revise Oem settings tests
...
- Remove no longer necessary LayerInfo class
- Remove now redundant MaterialLayers, QualityLayers properties
- Remove ConfigIni property
- Remove unused functions
- Refactor tests to receive a PrinterSettings param
2016-07-20 18:32:17 -07:00
John Lewin
98ee008046
Improve comments to better describe behavior
2016-07-20 18:31:20 -07:00
Matt Moening
d96531152b
converted oemprofiles to be .printer files and to be retrieved as such from various locations.
...
Updated to test to reflect the actions actually done by the request (not sure why they were not failing before)
2016-07-20 17:39:19 -07:00
Lars Brubaker
519f133cba
better default file name for export.
2016-07-20 16:39:43 -07:00
Greg
e5644b0e88
Added code to handle scenario where user switches to a printer profile that has been deleted from disk. Instead of loading an our default settings we download the missing profile instead.
2016-07-20 15:16:30 -07:00
johnlewin
edc7e13f3b
Merge pull request #1135 from gregory-diaz/master
...
Added the ability for users to load the last usable profile in their profile history in the event that their current profile is corrupt. Also added the ability to load a public profile in the event that a guest profile is corrupt.
2016-07-20 12:34:30 -07:00
Greg
e6a6abee72
Added the ability for users to load the last usable profile in their profile history in the event that their current profile is corrupt. Also added the ability to load a public profile in the event that a guest profile is corrupt.
2016-07-19 17:21:59 -07:00
Greg
e4c30c80ca
Added ability to recover from errors encountered when trying to load corrupted user and guest profiles.
2016-07-19 15:29:47 -07:00
Lars Brubaker
e5c617024a
Merge branch 'master' of https://github.com/MatterHackers/MatterControl
2016-07-19 13:29:04 -07:00
Lars Brubaker
451626504e
Renamed SettingsProflie to SettingsHelpers
2016-07-19 13:28:10 -07:00
Greg
b08cb616e9
refactored recover user profile code so that it works with the changes to PrinterSettings that were pushed yesterday.
2016-07-19 13:27:20 -07:00
Matt Moening
8789c4681e
Printer Settings defaults DocumentVersion to the lastest
...
Serializing Printer setting now Ignores Helpers and PrinterSelected
2016-07-19 12:50:04 -07:00
Lars Brubaker
445f1560b0
Making sure we only select MatterSlice when it is the only engine.
...
Keeping android building.
2016-07-19 11:31:36 -07:00
John Lewin
215a27f79c
Revert back to lazy loaded KnownSettings
2016-07-18 18:24:01 -07:00
John Lewin
80dab6c9e8
Make PrintLevelingChange event static
...
- Cleanup namespaces
- Guard for null reference with null conditional invoke
2016-07-18 16:58:25 -07:00
John Lewin
85b2ddefc3
Rename PrintLevelingEnabled event
2016-07-18 16:58:25 -07:00
John Lewin
4ed3ac7c76
Update variable naming to match new type names
2016-07-18 16:58:25 -07:00
John Lewin
54d165d15f
Consolidate member names
2016-07-18 16:58:25 -07:00
John Lewin
42f133aa70
Consolidate SettingsProfile and PrinterSettings types
2016-07-18 16:58:25 -07:00
John Lewin
f304e9f3d6
Migrate SettingsProfile functionality to new SettingsHelpers type
...
- Add as child property of settings scope, ready for merge of types
- Progress on Issue #1113
2016-07-18 16:58:25 -07:00
Lars Brubaker
e39ad85d87
Make sure the profiles directory exists
2016-07-18 15:18:17 -07:00
Lars Brubaker
cc871edcb0
Merge pull request #1115 from gregory-diaz/master
...
Added notification that lets users know that the profile they are try…
2016-07-18 14:42:16 -07:00
Greg
c89a6ae8d5
Added notification that lets users know that the profile they are trying to load is corrupt and that we have loaded a usable public profile instead.
2016-07-18 13:48:08 -07:00