Commit graph

114 commits

Author SHA1 Message Date
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
cd7406d82b Created a UserSettingsKey and SystemSettingsKey
Moved some settings into this, lots more to do
2016-08-30 10:30:55 -07:00
larsbrubaker
eebb8b212a added "Don't ask me again" to ShowAuthPanel. 2016-08-29 22:04:09 -07:00
Lars Brubaker
2dadb72271 Changed Login -> Sign in & Logout -> Sign Out 2016-08-29 17:13:45 -07:00
Lars Brubaker
4207f1c4b9 Each unique version of MC requires a separate login
Made the ability to get the application instance count
2016-08-29 15:29:43 -07:00
Matt Moening
2f68e99449 Sync printer page updates progress of syncing operations
- Both private and public profiles report
 - public profiles are not called to report but can be later
2016-08-22 16:42:55 -07:00
John Lewin
4b4a5ebfad Conditionally execute UserChanged
- Issue MatterHackers/MCCentral#318
2016-08-22 12:39:36 -07:00
tellingmachine
b96ff64a4e Don't call uninitialized action.
This action gets set by code that is part of CloudServices and not part of the common code.
2016-08-12 11:27:40 -07:00
Lars Brubaker
ef0f2be119 Made a common static load of the mono spaced font 2016-08-10 15:40:09 -07:00
Lars Brubaker
0f2b715935 Making less calls to reload all
New function ReloadLibraryUI
Called when updating purchased and shared folder
2016-08-08 17:17:59 -07:00
Lars Brubaker
dc22e6b788 Getting more tests to pass
Down to 7 failing tests.
2016-08-01 17:21:31 -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
Lars Brubaker
414aa5bc79 Merge branch 'master' of https://github.com/MatterHackers/MatterControl 2016-07-26 16:51:07 -07:00
Lars Brubaker
52e2666dc8 enabling eula on mac and android 2016-07-26 16:50:07 -07:00
John Lewin
1df6fc18d6 Update OemProfiles to comply with new M109 tests
- Fix Creator and Evolution printers
 - Ignore base layer for Slice preset by using OemLayer.ValueOrDefault rather than GetValue
 - Rename test to StartGCodeWithExtrudesMustFollowM109Heatup
2016-07-26 15:32:36 -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
Greg
de337be1d5 Added ability to start a print when MatterControl initially loads.
*  Check to see if there is a specially named file on disk
*  If the file exists we skip the PrinterSetupWizard
* Then we connect to a printer, add a file to the queue, slice, then start printing
2016-07-26 12:42:03 -07:00
John Lewin
5d8070cdfd Add Load event to ApplicationController
- Extract code from Deserialize into ReloadOemProfiles
 - Wire up ReloadOemProfiles to Load event
 - Revert to lowercase oemprofiles.json filename
 - Issue #1179
2016-07-25 16:50:24 -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
6f394c7c1f Make LoadCacheable async
- Collector func<string> becomes async
 - Propagate async to LoadCacheable callers
2016-07-22 14:09:25 -07:00
Lars Brubaker
1c87349b61 Check for files before trying to open them 2016-07-21 17:48:19 -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
e5c187c687 Show com port wizard on desktop when can't connect
Don't show com port wizard when setting up a printer
Moved onload code (first draw) to ApplicationController
getting android to have the same wizard logic as desktop
Refactored setup wizard
2016-07-21 13:49:22 -07:00
Matt Moening
f8e00ca879 Made sure profiles use proper profile extension and are looked for accordingly
Fixed bug where we would show upload profile dialog without any profiles to upload
2016-07-14 13:46:33 -07:00
Matt Moening
26269a64d5 Created task to call sync printer profiles on Cloud services that when finished will launch create printer window if none are synced 2016-07-14 12:48:34 -07:00
Lars Brubaker
32de0942ca Merge branch 'master' of https://github.com/MatterHackers/MatterControl
Conflicts:
	DataStorage/Classic/ClassicSqlitePrinterProfiles.cs
2016-07-14 11:39:19 -07:00
Lars Brubaker
d681a01cf6 Merge 2016-07-14 11:19:13 -07:00
John Lewin
e726e9f5a6 Add UserChanged function to ApplicationController to validate profiles
- Fires on every load, fires anytime auth changes
 - Ensures we perform a db import anytime the guest profile is created
 - Shows the CopyGuestProfiles wizard any time a profile is loaded that
   hasn't previously run the import
 - Issue #1059, #1060
2016-07-13 17:22:02 -07:00
John Lewin
edc3aaab44 Rename ReloadAdvanceControlPanelTrigger to better convey intent 2016-07-13 17:22:02 -07:00
John Lewin
87a4eb21f9 Remove unnecessary wrapper method 2016-07-13 17:22:02 -07:00
Greg
9b9d9b44a0 Added retrieve printer profile history and revert to previous profile functionality 2016-07-13 13:39:11 -07:00
Greg
c7ffedc9d0 Retrieve profile history, revert profile history wizard page 2016-07-13 11:16:55 -07:00
John Lewin
ff95a72893 Set ActiveUserName on ChangeCloudSyncStatus, after login/logout 2016-07-11 15:30:30 -07:00
John Lewin
a8598abafe Rename StartLoginEventHandler to LoginAction
- Rename StartLogoutEventHandler to LogoutAction
2016-07-11 15:30:30 -07:00
Lars Brubaker
80c3a4708c Make sure profilePath exists before loading it.
Cleaning up Action names
Change to development build for user profiles
2016-07-07 17:05:50 -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
Lars Brubaker
6c08b9421d Don't allow change printer while printing.
Don't allow login or logout while printing.
2016-07-06 16:40:23 -07:00
Lars Brubaker
133987c194 Made the SetupAccountView refresh on login and log out
Refactoring Event Handlers
2016-07-06 14:04:23 -07:00
Lars Brubaker
6a6fade3e1 Took out the move to print leveling settings
Made touchscreen on desktop update the view correctly on printer change.
2016-06-08 11:46:46 -07:00
John Lewin
e5a63b052e Migrate Theme support to Agg.UI 2016-06-03 17:22:19 -07:00
John Lewin
c01f56ca22 Refactor CompactTabView to better convey use
- Rename CompactTabView to TouchscreenTabView
 - Consolidate Reload functions into LoadAdvancedControls parent method
 - Rename LoadAdvancedControls to ReloadAdvancedControls
2016-05-07 20:49:46 -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
4496720772 Json Profiles 2016-04-27 14:35:57 -07:00
larsbrubaker
5206077dbb Made pop out windows not save close state when switching selection in queue. 2016-01-24 20:06:04 -08:00
Lars Brubaker
f6041d85ad Fixed the pop out windows to save their state correctly with the new OnClosing behavior
Made it possible to check if the MainApplicationView is reloading.
2016-01-15 12:28:52 -08:00
John Lewin
77633139aa Add support for closing MatterControl while printing
- Rename CloseAndRemoveAllChildren
2016-01-12 11:20:39 -08:00
larsbrubaker
9b79422532 Made a new high quality render mode for image buffer graphics 2d.
Turned off the automation test.
Made the thumbnails look better.
2015-12-29 21:52:49 -08:00
Lars Brubaker
695aa2d891 white space 2015-12-22 16:44:54 -08:00
Lars Brubaker
b70da46e69 Finishing up the behavior of clicking on a named list of stuff. 2015-12-11 13:42:46 -08:00
Lars Brubaker
a07a15a7c7 Adding in a new performance test structure. 2015-12-11 11:56:51 -08:00