Commit graph

44 commits

Author SHA1 Message Date
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
1e57909497 Migrate active_theme_index to SettingsKey 2016-07-24 07:45:33 -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
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
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
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
John Lewin
42f133aa70 Consolidate SettingsProfile and PrinterSettings types 2016-07-18 16:58:25 -07:00
Lars Brubaker
cec9a85435 Try to connect to printers that have auto connect enabled when they are selected
removed dead code
2016-07-14 17:07:04 -07:00
John Lewin
da695dc581 Convert more string literals into SettingsKey constants 2016-07-12 17:51:26 -07:00
John Lewin
7520cb6df4 Collapse single use LoadStartupProfile functionality into constructor 2016-07-11 15:30:30 -07:00
John Lewin
be3eed0f5d Move last selected profile management into ProfileManager
- Multi-user support: store the value in a user specific key
2016-07-11 15:30:30 -07:00
John Lewin
6e57bb820c Ensure SwitchToPrinterTheme runs on the UIThread
- Conditionally invoke ReloadAdvancedControlsPanel
2016-07-08 15:10:53 -07:00
John Lewin
640b51818a Fire ActiveProfileModified after profile writes 2016-07-08 15:10:53 -07:00
John Lewin
e0f66cd901 Support for in-memory profile refresh without ActivePrinterChanged event
- Issue MatterHackers/MCCentral#178
2016-07-08 07:28:00 -07:00
John Lewin
ba41f4ebee Migrate make/model settings keys to SettingsKey, revise service urls 2016-07-07 12:37:39 -07:00
Lars Brubaker
90aa9f44cf Working on local user profile cache
Saving a new user.json for signed in users
2016-07-06 17:45:53 -07:00
John Lewin
99ee64c5ea Remove ProfileData property, show wizard if visible printers < 1 2016-06-29 13:02:04 -07:00
Lars Brubaker
7f85f168d5 Took out the prepend of MatterControl on profile settings and made them consistent lower case underscore. 2016-06-16 16:35:10 -07:00
John Lewin
c0ec29664d Convert some accessors to use GetValue<T> 2016-06-15 17:59:52 -07:00
John Lewin
c008234248 Rename ActiveValue to GetValue, consolidate GetValue overrides 2016-06-15 17:19:29 -07:00
John Lewin
250ed87f31 Revise SliceSettings nomenclature, add GetValue<T> method 2016-06-15 15:11:23 -07:00
John Lewin
4e74156521 Extract profile management to ProfileManager class
- Use on disk profiles.json
 - Support MarkedForDelete functionality
 - Issue #930
2016-06-15 13:09:47 -07:00
Lars Brubaker
5082f9d4f8 Improving import wizard
Made a new success page for the input wizard
Made cancel file selection do the right thing
Update profile selector on add
Load from ini can handle a bad ini file now
2016-06-15 11:49:57 -07:00
John Lewin
a9f3cbf4c4 Remove ActivePrinter variable from ConnectionWizard
- Remove excess properties from PrinterInfo
 - Remove call to Parent.Close from onPrinterStatusChanged
2016-06-14 11:28:13 -07:00
John Lewin
76dcc4a072 Revise Settings.json changes
- Reuse SliceSettingsOrganizer.GetDefaultSettings
 - Remove SavePropertiesJson
2016-06-13 13:40:29 -07:00
Lars Brubaker
85caa12dfe Moved default settings into Properties.json and removed default config.ini
deleted some dead code
updated some error messages
2016-06-13 12:31:17 -07:00
John Lewin
20bb5efdd4 Add ImportSettings page for new import behavior
- Move ClearUserOverrides to SettingsProfile
2016-06-11 16:24:30 -07:00
John Lewin
be27c5403b Rebuild PrinterSelector data on printer name changed
- Add Rebuild method to PrinterSelector
 - Hook settings change in PrinterSelector and rebuild on name change
 - Issues #880, #894
 - Use initializer syntax
2016-06-09 09:24:59 -07:00
John Lewin
17f15a9e10 Convert preset layers from Dictionaries to Lists
- Add migration for existing profiles
2016-06-08 19:06:16 -07:00
Lars Brubaker
168ee4d885 Make sure we reload the screen when we need to on app loading. 2016-06-08 12:00:12 -07:00
John Lewin
c5dac76ff9 Prevent exception and catch with TryParse 2016-06-03 18:08:39 -07:00
John Lewin
e5a63b052e Migrate Theme support to Agg.UI 2016-06-03 17:22:19 -07:00
John Lewin
3dfa39ede7 Pass make/model as querystring parameters on printer lookup requests
- Fixes #714
2016-05-23 17:27:52 -07:00
John Lewin
a6ba5767d3 Wire up Delete printer 2016-05-17 18:30:47 -07:00
John Lewin
cb56e85776 Add support for renaming and duplicating presets
- Fixes #720 - Changing preset names has no effect
 - Fixes #767 - Presets editor contains user overrides
 - Fixes #768 - Oem presets should be copied...
 - Migrate from int to string based printer IDs
 - Add json document migration capabilities
2016-05-16 17:46:17 -07:00
John Lewin
284b2d8c24 Per printer themes
- Fixes #738
2016-05-12 07:30:11 -07:00
John Lewin
d292e64ede Fix icons and improve profile imports
- Invert Camera image
 - Set first imported profile as active
 - Import profiles from db if missing
 - Edit presets button should do nothing on '- default -'
2016-05-11 21:31:29 -07:00
John Lewin
10f05550b5 Migrate Macros to new profile format
- Remove unused PrinterSetupStatus class
 - Fixes #683
2016-05-08 14:13:16 -07:00
John Lewin
5db7c79d00 Get updated profiles compiling on Android
- Remove unused properties from ApplicationView
 - Rename CompactApplicationView to TouchscreenView
 - Rename ResponsiveApplicationView to DesktopView
 - Move abstract ToggleTopContainer() specific to TouchscreenView
 - Remove unused HideTopContainer implementations
 - Conditionally compile invocation/assignment of ApplicationMenuRow
 - Migrate single setting from PrinterSettings "PublishBedImage" to SliceSettings
 - Remove PrinterSettings class
 - Import "PublishBedImage" during ImportPrinters
 - Remove code that doubles the size of the splitter bar when collapsed
 - Fix incorrect path to "config.ini"
2016-05-05 12:33:39 -07:00
John Lewin
2875a577c7 Remove dead code, document future behavior 2016-05-03 08:28:44 -07:00
John Lewin
e4f2dad8ae Revise AutoConnect behavior and startup printer selection
- Store selected printer in UserSettings
 - Restore last selected printer on startup
 - AutoConnect now means "Connect" to startup printer if enabled
 - Prevent firing ActivePrinterChanged and thus ReloadAll during startup
2016-05-03 08:08:05 -07:00
John Lewin
ad48c820e2 Restore AutoConnect functionality
- Add AutoConnect settings UI
 - For consistency, use string int values for settings bools
2016-05-03 08:08:05 -07:00
Lars Brubaker
0ba8a78dc5 Fixed connection issues
Got rid of AnchoredDropDownList
Put in BaudRate user edit field
2016-04-27 17:34:33 -07:00
John Lewin
4496720772 Json Profiles 2016-04-27 14:35:57 -07:00