Powershell GUI fronted (WPF) to run categorized console scripts

⌈⌋ ⎇ branch:  ClickyColoury


Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 ancestors of e0133cf4d1413fa1

2018-05-16
18:02
Remove unused Get-Machine, introduce general Read-HostCached alias. Merge new sectioned/submenu Print-Menu implementation. check-in: e0133cf4d1 user: mario tags: trunk
18:00
Move input form expander into scrollviewer check-in: d90fd410d2 user: mario tags: trunk
2018-04-22
22:49
Undo $results._proceed=1 default, as window closing would leave it default. check-in: c12edca429 user: mario tags: trunk
19:45
Remove logging from Out-Gui check-in: d4ba9808be user: mario tags: trunk
19:36
text file fixup (evil Notepad!!) check-in: bec07bd1d8 user: mario tags: trunk
19:32
Sample plugin, warning message for `# confirm: 1` meta flag. (Used for server restarts, or more involved delete operations, e.g.) check-in: ef70674889 user: mario tags: trunk
19:26
Whitespace: CSS got ignored by MSIE target, thus use normal CRLF-to-BR conversion at all times. check-in: 05738ae271 user: mario tags: trunk
19:20
Background for Write-Splash check-in: 761507fcd0 user: mario tags: trunk
19:20
Reintroduce vars:machine,username defaults for Convert-VarsToCmdArgs. Add icons back to TreeView action buttons. Prettier splash screen (background image). check-in: 48ab79bfc6 user: mario tags: trunk
2018-04-17
09:10
Adapt clipboard HTML export to preserve linebreaks, introduce CSS `white-space: pre` for multiline/indented/tabled output. check-in: dc6cb9cda5 user: mario tags: trunk
2018-04-15
19:05
.output.Parent.Parent.ScrollToEnd() to message ScrollViewer, not RTB check-in: 7cb3a3ddb7 user: mario tags: trunk
18:22
Write-Splash fix for PS2. Release a 0.9.0 check-in: 8ad68eaa09 user: mario tags: trunk, 0.9.0
13:15
More current vars test (multiline definition and filechooser/button). Check all colors in Write-Host test. check-in: 885044ef20 user: mario tags: trunk
13:14
Reintroduce color mapping, some HTML escaping. check-in: 5f7c8e0cc1 user: mario tags: trunk
13:13
Whitelist allowed WPF colors (DarkYellow is a console, but not a WPF color name). Readd Button for TreeView actions list. check-in: 9d39e749dd user: mario tags: trunk
2018-04-14
20:17
Fix PMD extraction; again. - Incorrect quoting regex for JSOL - and System.IO.File reading instead of Get-Content to fix CRCRLF files check-in: 62d786655f user: mario tags: trunk
20:16
Split out New-GuiVarInput (input widget building) from Read-GuiExtraParams. Change order of VALUE= preference (standard vars over previous values); experimental support for expression specs in `# vars: { value=$(Get-IP $machine)}` Various comment updates. check-in: 279befd338 user: mario tags: trunk
20:13
Implement XAML to HTML conversion / previous color mapping not added back in yet check-in: 929494c384 user: mario tags: trunk
2018-04-12
19:42
new PS-style icon check-in: 6b5ea13e6b user: mario tags: trunk
19:42
Slimmer popup for Ask-Gui/Read-Host. Add type:filechooser support for input boxes. Move widget/value extraction out of [Run] callback. check-in: 891bc77e0e user: mario tags: trunk
19:40
Adapt Extract-PluginMeta to: - finally recognize end of comment block - support Powershell <# ># wrap - and strip no more than three spaces after pound sign, which allows multi-line span vars:+config: {entries} - more stringent parsing of JSOL structure (curlies/quotes) check-in: eef03bc397 user: mario tags: trunk
2018-04-11
20:03
bump version check-in: bf2db273a8 user: mario tags: trunk
20:02
More abstractions for standard variable names (GUI widget mappings and default callbacks for Add-ButtonHooks). Renamed and resorted input variable functions, mostly using "Vars" now instead of "Params". Support for old $meta.param field removed from Get-GuiExtra.. Mapping now in central Get-ScriptVars. Shortens Run-GuiTask. check-in: 59be64686c user: mario tags: trunk
15:37
Fix [adsisearcher] ldap expression to omit disabled users; also prevent multiple rows from being returned again (-only 1). Readd |Out-String prior default |Out-Gui pipe; because objects/lists in $str might not transfer over Dispatch-GUI after all. check-in: 3ee7c5a5fd user: mario tags: trunk
2018-04-10
20:52
Added two more themes, less preset colors in main template. check-in: 9461359e7d user: mario tags: trunk
19:38
Enabled clipboard restore by just using text version. Safeguard for $null values in Out-Gui pipe. check-in: 134dc2ae66 user: mario tags: trunk
15:29
New config editor (reusing Read-GuiExtraParams dialog) check-in: 3e3a726c11 user: mario tags: trunk
15:28
Move to new vars: support check-in: cd996a8738 user: mario tags: trunk
15:27
Omit old TabItem style check-in: 9bd1f9338d user: mario tags: trunk
15:27
Add $menu -Filter support (for restricted wrappers). check-in: b84bc30494 user: mario tags: trunk
15:26
A bit of cleanup (var declarations moved, obsolete comments). Prevent gui params popup if only default input requested per var:/param:. Add $varname injection for Out-GuiHeader. Alternative vars_previous store support in input popup, configurable height. Theme support for WPF-Window. Show PSVersion in Write-Splash header. check-in: bd2b14ef25 user: mario tags: trunk
15:22
Add "localhost" as selectable default in machine combobox. check-in: 4ec0413a55 user: mario tags: trunk
15:22
Fix config extraction/assignment (was pulling in whole global $cfg. list) check-in: 5a21d45a2b user: mario tags: trunk
2018-04-09
19:22
Sort `user` category earlier. check-in: a635c7551a user: mario tags: trunk
19:22
Split theming out from main window XAML. check-in: 8e58407126 user: mario tags: trunk
19:21
Implement Write-Splash (startup splash screen), some documention updates, temporary clipboard workaround (RTF), more useful errors for W/WF calls. check-in: e715977e7d user: mario tags: trunk
2018-04-08
15:33
Make meta.vars only default for Get-ParamsVarCmd string builder. meta.param is now obsolete input to Get-GuiExtraParams only (which converts old names csv to .vars[] dict already) check-in: 0d774bf9dc user: mario tags: trunk
15:17
new Get-ParamAlias to map ComputerName/User-Name onto standard $GUI.vars; used by Read-Host alias, input popup, as well as cmdline string building check-in: 61038a1a8c user: mario tags: trunk
15:16
separated Extract-PluginConfig for vars:+config: splitting check-in: 14216a108a user: mario tags: trunk
13:24
Remove Out-Html, temporarily use RTF for clipboard export check-in: bb08fdaa0b user: mario tags: trunk
12:30
Merge PowerShell5 support (still runs on PS2.0 !) check-in: b51a20fe04 user: mario tags: trunk
12:29
Introduce GUI-MAIN communication per Engine Events: Gui.Cancel, Gui.Exit via `$ParentHost.Runspace.Events.GeneratEvent()`. Add Cancel button in XAML. Leaf check-in: e5820358eb user: mario tags: ps5
11:44
Transform Out-Gui into full stream function (BEGIN/PROCESS/END), simplify. Add Out-GuiHeader for tool startup. check-in: 3657deaf5b user: mario tags: ps5
11:34
Create-GuiParamFields now obsoleted check-in: 82f25e17e5 user: mario tags: ps5
11:28
complete Read-GuiExtraParams: - now using $meta block for display and variables - meta.param list support retained - but meta.vars now similar to .config structure - supports str/bool/text/select box/button Utilize for Read-Host wrapper now check-in: 19959d7001 user: mario tags: ps5
11:04
Fix FlowDocument+TreeView AddChild to Items.Add for PS2, use Run-Task with some debugging. check-in: 204cae63d2 user: mario tags: ps5
10:30
Remove tools tab menu, replace with TreeView. Output area is now RichTextBox/FlowDocument. check-in: f52e28d663 user: mario tags: ps5
10:21
Change Out-Gui for new output RichTExtBox and PS5-compatibility: - instantiating WD widgets in Dispatcher hangs thread - WD works with [scriptblock]::create(), but that does not bind $vars - thus now injecting prepared XAML (Paragraph) to instantiate text from $str now gets augmented with $colors string, rather than attributes. The dispatched [action] however becomes much slimmer now, offsetting XAML deserialization a bit (overall appears not faster though). check-in: ea36eac026 user: mario tags: ps5
10:18
Abstract Dispatch-Gui, move Clear-GuiOutput, Set-GuiTitle, Get-StandardGuiVars out of Out-Gui check-in: 6dd6432be1 user: mario tags: ps5
10:15
Start with Read-GuiExtraParams (separate dialog for extra params) check-in: a807894b4e user: mario tags: ps5
09:54
Load modules in Start-Win/via New-GuiThread (rather than function redefinitions). Utilize new $ParentHost for debugging. More state output. check-in: cce62a9e8c user: mario tags: ps5