Commit graph

734 commits

Author SHA1 Message Date
Lars Brubaker
caa79ddff0 Don't load deleted printers 2016-09-28 16:29:11 -07:00
Lars Brubaker
de12a5c8ba Finished print leveling test – fixed reset to defaults
Moved more things to settings key
Disabled end-user license agreement on Mac for now
2016-09-27 12:47:15 -07:00
John Lewin
04ae06199c Clear print_leveling_data on 'Reset To Defaults'
- Create and use SettingsKey for print_leveling_data
2016-09-23 18:19:51 -07:00
John Lewin
4344fc9765 Use new ImageBuffer constructor with common defaults 2016-09-23 10:35:33 -07:00
John Lewin
ee52f24835 Upgrade to NUnit3
- Revise hard-coded paths for compatibility with new VS adapter
- Add utility functions for path generation
- Extract SHA1 computation from Save function
- Add ToJson helper function
- Don't save SHA1 in computed document
- Remove Asserts from CloseMatterControl, extend wait period
- Add TestAutomationConfig type replacing serialized Dictionary
2016-09-21 14:13:39 -07:00
Matt Moening
8255af0aaa John feels this is no more broken then the old thing 2016-09-16 15:15:15 -07:00
Matt Moening
b051b2bf54 Remove Run on Idle due too regression
- Added Additional guard to saving profile
2016-09-16 13:12:00 -07:00
Greg
f5931fd8be Added utility function for starting printer emulator
Working on start print from sync test
2016-09-15 13:40:11 -07:00
John Lewin
662c4e649b Revise IsDirty property - perform actual thumbprint comparison
- Now compares last known server thumbprint to latest content thumbprint
- Fixes need to continually reset flag based on save conditions
- Will be accurate as long as ServerSHA1 is updated any time we pull updates
2016-09-15 12:05:00 -07:00
John Lewin
4ad70ca38c Revise IsDirty and profile/printersettings nomenclature 2016-09-14 12:36:12 -07:00
John Lewin
da330edabd Remove ProfileManager.Save from PrinterInfo.ID setter 2016-09-13 16:26:32 -07:00
Lars Brubaker
5ffd4c168e Added the ability to emit 'G0' for movement 2016-09-13 14:09:35 -07:00
Lars Brubaker
87f10fd3a8 Make less possible threading issues on ProfileManager 2016-09-12 16:20:01 -07:00
Lars Brubaker
9b2dbdcfe3 Fixed the key to delete profiles on
Added fire and forget for task
Added WaitUntil function on Automation Runner
Added some documentation
2016-09-09 14:48:37 -07:00
Lars Brubaker
b9b2f93dcc Merge branch 'master' of https://github.com/MatterHackers/MatterControl 2016-09-09 10:22:38 -07:00
Lars Brubaker
778bf8823f Took out ChangeID and Made ID a property do it
Fixes MatterHackers/MCCentral#393
2016-09-09 09:55:53 -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
6f0ffb17fd Created new layer change G code 2016-09-08 10:30:14 -07:00
Lars Brubaker
cd27388ad5 Test that printers delete on guest profile 2016-09-07 17:00:17 -07:00
Lars Brubaker
92f01f894e Make settings history consistent across references
Revert ChangeID code
2016-09-07 15:53:52 -07:00
Lars Brubaker
ced3d5174f Removed ChangeID -> set ID property 2016-09-07 15:15:49 -07:00
Lars Brubaker
fbe9b17f46 Improved printer edit pop-up 2016-09-07 12:08:03 -07:00
johnlewin
eff65ce2c1 Merge pull request #1354 from jlewin/master
Clear cached credentials after acquiring new ClientToken
2016-09-06 15:50:59 -07:00
Lars Brubaker
fbd67c0dd7 Put in code to refresh the library selector
Renamed ResumePrinting to PrintRecovery
2016-09-06 14:42:14 -07:00
John Lewin
b1f41e540d Clear cached credentials after acquiring new ClientToken
- Extract existing file delete to resusable function - ClearCachedCredentials
- Reuse ClearCachedCredentials in SetClientToken
- MatterHackers/MCCentral#321
2016-09-06 14:32:00 -07:00
John Lewin
b97bd8ef28 Add to ProfileManager before invoking methods that call .Save()
- Issue MatterHackers/MatterControl#1346
2016-09-04 11:06:07 -07:00
John Lewin
312f652bbb Use short identifiers for public profiles
- Add support for new GetProfileList schema
- Add CacheablePath function to abstract and reuse path generation logic
- Serialize LoadCacheable content in human readable form
- Move public-profile cache into like named folder
- Move public-profile items into oem specific folders
- Reuse LoadOemProfileAsync for persistence instead of custom implementation
- Issues MatterHackers/MCWS#72, MatterHackers/MCWS#84
2016-09-03 17:12:11 -07:00
John Lewin
97524d55ed ID change must be timed between property accesses 2016-09-03 17:12:11 -07:00
Lars Brubaker
4929f834d6 Merge branch 'master' of https://github.com/MatterHackers/MatterControl
Conflicts:
	SlicerConfiguration/Settings/ProfileManager.cs
2016-09-01 11:18:32 -07:00
Lars Brubaker
619c20aff0 Restore functionality to put default items in queue when new printer is created.
Made default calibration files include the calibration box
2016-09-01 10:53:10 -07:00
John Lewin
938c4c2267 Skip save operation when on the EmptyProfile
- Fixes regression in MorePauseHandlingStreamTests
2016-08-31 18:49:29 -07:00
Lars Brubaker
102605d535 Don't override theme color on new printer
Either set it to default, or set it the name listed in the OEM settings
2016-08-31 17:32:43 -07:00
John Lewin
de84fe1705 Write user profiles to a user subdirectory below Profiles
- Issue MatterHackers/MatterControl#1339
2016-08-31 14:57:39 -07:00
John Lewin
0a15124e4b Fix issues in ChangeID
- New ID should be set in all cases
- Conditionally load local profile if exists
2016-08-31 13:57:51 -07:00
John Lewin
180c559d09 Single authority for ProfilePath construction
- Guard for null during load
2016-08-31 13:57:50 -07:00
John Lewin
4e727def1b Code clean up
- Remove unused SaveAs function from SlicePresetsWindow
- Remove unused LoadProfileFromMCWS()
- More consistent formatting
- Move SetValue call after adding Profile, to ensure ProfilePath works during save
2016-08-31 13:57:49 -07:00
John Lewin
98c26d0a7c Add locking around file save operations 2016-08-31 13:57:43 -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
Lars Brubaker
cd7406d82b Created a UserSettingsKey and SystemSettingsKey
Moved some settings into this, lots more to do
2016-08-30 10:30:55 -07:00
Lars Brubaker
7981513b6e Adding in the ability to turn on and off thin line code
Sorted some settings lists
Put in minimum thin line width option
Clean thin line output
2016-08-26 12:13:39 -07:00
Lars Brubaker
98c114f79b Got the check and uncheck of reload ui settings to work
Wrote a test
Added heat_extruder_before_homing
2016-08-25 17:43:30 -07:00
John Lewin
4c2e366397 Disable Edit Preset button on default item
- Use common string for default menu text
 - Localize default menu text
 - Issue MatterHackers/MatterControl#1295
2016-08-23 09:35:22 -07:00
John Lewin
7183cbf919 Rebuild printers droplist on ProfilesListChanged event
- Fixes list not refreshing after import
 - Issue MatterHackers/MCCentral#288
2016-08-19 09:27:57 -07:00
Lars Brubaker
1ce37c3d31 Merge pull request #1292 from gregory-diaz/master
On first run we effectively sign out user so that they will be forced to sign in and import printers
2016-08-17 18:29:17 -07:00
Lars Brubaker
357a497505 Fixed a bug with pause resume gcode
Made a new test.
added test layouts.txt and master.txt and porperties.json
added paus_gcode and resume_gcode to settingskey
2016-08-17 14:04:03 -07:00
Greg
1b882e8050 If first run we effectively sign out user so that they will be forced to sign in and import printers
MatterMatterHackers/MatterControl#1207
2016-08-16 11:22:37 -07:00
John Lewin
4e83bab707 Avoid null conditional result on awaited call to workaround Mono error
- Issue MatterHackers/MCCentral#283
2016-08-15 13:36:40 -07:00