Lars Brubaker
9896346610
Get the starting color set correctly
...
Made the android printer select window fix its colors on change
2016-12-09 10:40:01 -08:00
Lars Brubaker
83a3c87557
Quality settings override correctly.
2016-12-06 17:54:27 -08:00
John Lewin
42cc88b9d4
Refactor ProfileManager to prefer isolated instances
...
- Replace DB nomenclatures with ProfilesDoc/Profiles terms
- Convert SetLastProfile() to LastProfileID property
- Remove LoadLastProfileWithoutRecovery function
- Use LoadWithoutRecovery(LastProfileID)
- One caller, far more clear with only one LoadWithout function
- Move safe FileSystem UserName to AuthenticationData, like UserName
- Skip importing guest profiles that are missing PrinterSettings files
2016-10-21 13:00:53 -07:00
Lars Brubaker
a22093bfcf
Write the current color into printers on creation.
2016-10-18 11:45:47 -07:00
Matt Moening
a23b66e966
Creating a new printer maintains the current color
...
- The color is also set as the printer's active theme
2016-10-18 11:19:04 -07:00
Matt Moening
6b586be835
Fixed color behavior for users with unset default
...
- When both the user and oem settings are unset we now both set the active theme color to be blue and set this as the user default
- Removed redundant null check/fallback.
2016-10-17 12:55:18 -07:00
Matt Moening
076619d0eb
Fix Regression in user color preservation
...
- Setting color for a printer sets value in user settings
- use UserSetting color as default for loading theme color
- if Active slice settings dont have an active theme set it to default
- If user setting theme is null attempt to load OemColor preference and set as user setting theme
2016-10-10 12:55:14 -07:00
Matt Moening
7acfd1ca6a
Fixed bug in Public Profiles Static data Fallback
...
- Fixed bug discovered while writing test
- Added check for null ProfileManager.Instance to allow tests to work when initializing in a differently than MC
2016-09-08 18:10:46 -07:00
Lars Brubaker
db24db1cf2
Made the settings history be disabled when not signed in.
...
MatterHackers/MCCentral#330
Settings History menu should be disabled when not signed in
2016-08-31 13:09:06 -07:00
Lars Brubaker
b6dcacdef9
Fixed a problem with create new printer
2016-08-31 12:49:25 -07:00
Lars Brubaker
22bca53d69
Changed the theme colors to save by name
...
fixed linux run bug MatterHackers/MCCentral#344
ActiveTheme does not recreate its data all the time
2016-08-31 11:42:02 -07:00
Lars Brubaker
698426858e
Made the default theme blue - light.
...
Moved setting to UserrSettingsKey
2016-08-30 17:30:31 -07:00
John Lewin
d4c0751505
Update ActiveSliceSettings.Instance before calling SettingChanged event
2016-08-12 13:29:22 -07:00
John Lewin
6079694be5
Prevent profile recovery during startup
...
- Fix whitespace
- Remove unused comportNames variable
- Prevent assigning profile reload if already loaded
2016-08-12 13:29:22 -07:00
John Lewin
c22916c884
Move http profile acquisition into LoadProfileAsync
2016-08-12 13:29:22 -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
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