Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update master #28

Merged
merged 23 commits into from
Dec 4, 2020
Merged

Conversation

Astul-Betizagasti
Copy link
Owner

No description provided.

aparajit-pratap and others added 23 commits November 30, 2020 09:26
Information of where an extension control was last shown is saved and
retrieved as preference settings. These are actually not directly
visible for the user and are updating automatically, just like the main
Dynamo window size. These settings are used when showing the extension
control, to restore it to how it used to be before closing it.

The available information for each view extension is:

1. How it is shown. For now this can be either as a floating window or
docked to the right-side panel.

2. In case it is shown as a floating window, the following information
about the window is saved:
- Location by Top/Left coordinates
- Size by Width/Height
- Whether the window is maximized
* Update StartupUtils.cs

Co-authored-by: pinzart <tiberiu.pinzariu@autodesk.com>
* Removal of unused code

* Revert "Removal of unused code"

This reverts commit c78dfe9.

* Added Obsolete Tag

* Message change

* Tests1

* Tests changes

* WorkspaceModel Tests

* Fix merge issue

* GitHub Action For Issue Content

* Refactor

* Update checkIssueInfo.yaml

* Template/Issue parser and comparator improvements
Fixes the size of the custom node dialog so that buttons are not cut
outside of its boundaries when using a multi-line description.
* add protogeo to cleanup targets

* update all 3 libGs and revert copy local changes

* missed corewpf somehow

Co-authored-by: michael kirschner <michael.kirschner@autodesk.com>
* Initial Commit

* Fix regression

* Obsolete legacy functions

* Add unit tests

* Clean Up

* Default param

* Comments
* add packageDocManager to handle package documentation links

* new viewModelEventArgs to send node annotation data to doc browser

* Handle node annotation in doc browser

* support custom NodeModels + fix watcher event bug

* Update NodeAnnotationNotFound.md

* Update NodeAnnotationNotFound.md

* Comment updates

* Update AssemblySharedInfo.cs

* Update src/DynamoCoreWpf/ViewModels/Core/DynamoViewModelEventArgs.cs

* addtional comment updates + clean up

* clean up packageDocManager

* Update DocumentationBrowserViewModel.cs

* handle overloads + fix hot reload bug

* use HtmlSanitizer to clean potential dangerous content from markdown files

* move PackageDocumentationManager to DocumentationBrowser

* update syntax highlighting + markdownStyling updates

* comment updates

* add Markdig to License files

* Change GetPackageName to GetMainCategory

* update markdig + htmlsanitizer version

* fix failing tests + add new node documentaion tests

* fix broken test

* update link to wiki

* Update DocumentationBrowserViewExtension.cs

* Add MD2HTML Tool

* First pass - singleton version

* Revert "Add MD2HTML Tool"

This reverts commit 71509da.

* Revert "First pass - singleton version"

This reverts commit bbefc36.

* fix test

* add doc folder to PackageDirectoryBuilder (#10)

* add doc folder to PackageDirectoryBuilder

* update tests

* comment update

* Use a CLI tool for converting MD to HTML and for Sanitizing HTML as a way to not add any new 3rd party dependencies to Dynamo (#11)

* Revert "Revert "Add MD2HTML Tool""

This reverts commit 99b42f2.

* Revert "Revert "First pass - singleton version""

This reverts commit f655c39.

* Implement HTML Sanitizer

* Remove unneeded dependecies from the doc extension

* Cleanup naming

* More naming cleanups

* Rename files

* Rename folder

* Add comments

* Use literal strings

* Hardening wrapper class

* Simplify API

* Make wrapper API internal

* Add Tools project to Mono solution

* Fix directory name (case)

* Add missing internal

* Use IDispose pattern

* Fix literal string

* Fix cross platform issues

* Use CS.props file

* Undo change to AssemblySharedInfo.cs

* Use shared assembly info

* Add more docs

* Add ndesk support and implement help option

* Rename class

* Add missing change

* Remove the use of ref

* Fix typo

* Fix toolpath and use nameof()

* Improve error handling

* Move strings to resources

* Enhance error messages

* Merge master (#12)

* Fix sorting for number keys in List.SortByKey (#11241)

* fix sorting for number keys in List.SortByKey

* add unit test

* Crash when accessing static hidden methods from zero touch nodes (#11238)

* handle hidden static methods from zero touch nodes

* add images (#11243)

* Revert "Adding copy of missing file from LibG nuget package (#11218)" (#11254)

This reverts commit a71b5c8.

* Revert "Revert "Adding copy of missing file from LibG nuget package (#11218)" (#11254)" (#11255)

This reverts commit 257ac14.

* Undock/redock extension tabs to windows (#11246)

* Somewhat working version

* Pretty much working version

* Finishing touches and test

* Cleanup

* Prevent both window and tab

* Improve method name and comment

* Forgot to include this in last commit

* add analytics to extensions load event (#11258)

* Revert Project Reference Changes (#11256)

* Initial Commit

* fix mono build

* Update to latest libG nuget version

* Cleanup entries VS Studio failed to update

* Fix Mono build

* Add the private flag back (modified by VS Studio)

* Regressions

* Add back missing resource

* Change DefaultValue setter to public (#11251)

* update load asm binaries from registry logic (#11261)

* update load asm binaries from registry

* Add coverage for docking (#11262)

* Adding a public API on the View extension that gets triggered when the view extension is closed. (#11260)

* Adding a public API on the View extension that gets triggered when the view extension is closed.

* Update variable name

* changing the name to ViewExtensionBaseClass

* Addressing some comments.

* Adding unit test.

* Changing the name to Closed()

* Some more comments.

* Adding an additional test

* Adding checks for the Menu items before setting its value.

* Update Style (#11263)

* CustomNodes that replicate do not access trace correctly. (#11244)

* add failing test

* this works, but seems like cheating.
more tests

* new tests, one failing, needs discussion

* fix test - still fails but as expected

* tests all pass with this change - but looking for better alternatives

* add test
use new field - cant find a better way currently
add comments

* revert internal
update test

* reset guid map before each test

* failing test

* reset

* whitespace

* Localize buttons (#11265)

* update version num and tt file (#11269)

* Fix merge error

* Fix merge error

* Revert "Fix merge error"

This reverts commit 0a21ca4.

Co-authored-by: aparajit-pratap <aparajit.pratap@autodesk.com>
Co-authored-by: pinzart90 <46732933+pinzart90@users.noreply.github.com>
Co-authored-by: Sylvester Knudsen <sylvesterknudsen@gmail.com>
Co-authored-by: Aaron (Qilong) <173288704@qq.com>
Co-authored-by: Michael Kirschner <mjk.kirschner@gmail.com>
Co-authored-by: Martin Misol Monzo <mmisol@users.noreply.github.com>
Co-authored-by: Ashish Aggarwal <aggarwal.ash@husky.neu.edu>
Co-authored-by: reddyashish <43763136+reddyashish@users.noreply.github.com>

* Extract more strings (#13)

* Fix failing tests (#14)

* Fix failing tests

* Revert "Fix failing tests"

This reverts commit 824f785.

* Fix failing tests

* Properly dispose all string writers

* More failing test fixes (#15)

* Fix for regression in multi-output node preview  (#11266)

* fix for multi-output node preview regression

* update tests

* add test

* revert unwanted changes

* update test

* Life cycle refactoring: Get rid of singleton. Let the model create and own the MarkdownHandler on first use.

* Fix crash in some document browser tests

* Properly dispose all DocumentBrowserViewExtension objects

* Revert "Fix crash in some document browser tests"

This reverts commit ab146f9.

* Display input port type specific default suggestions only (#11268)

* input port type specific default suggestions

* test fix

* Test fixes

* Use InTestMode flag

* Delete empty lines

* turn off hit testing visibility for DM related render packages (#11282)

* Apply syntax highlighting to multi-line strings (#11289)

* Also sanitize node documentation html

* Save/Load view extension size and location (#11278)

Information of where an extension control was last shown is saved and
retrieved as preference settings. These are actually not directly
visible for the user and are updating automatically, just like the main
Dynamo window size. These settings are used when showing the extension
control, to restore it to how it used to be before closing it.

The available information for each view extension is:

1. How it is shown. For now this can be either as a floating window or
docked to the right-side panel.

2. In case it is shown as a floating window, the following information
about the window is saved:
- Location by Top/Left coordinates
- Size by Width/Height
- Whether the window is maximized

* add revit dlls to assembly conflict checker ignore list (#11285)

* Update StartupUtils.cs

Co-authored-by: pinzart <tiberiu.pinzariu@autodesk.com>

* Fix sanitizing log warnings

* Node AutoComplete suggestions sorted alphabetically within the same group (#11280)


* add/update tests

* Address review comments

* Add ILMerge

* Fix typo

* Fix mono build

* Revert "Fix mono build"

This reverts commit 9904525.

* Refine mono solution

* Remove task condition

* Mono build fix

* Add Readme

Co-authored-by: aparajit-pratap <aparajit.pratap@autodesk.com>
Co-authored-by: Ashish Aggarwal <aggarwal.ash@husky.neu.edu>
Co-authored-by: Laurence Elsdon <github@elsdon.me>
Co-authored-by: Martin Misol Monzo <mmisol@users.noreply.github.com>
Co-authored-by: pinzart90 <46732933+pinzart90@users.noreply.github.com>
Co-authored-by: pinzart <tiberiu.pinzariu@autodesk.com>

Co-authored-by: Radu Gidei <radumg@users.noreply.github.com>
Co-authored-by: Jorgen Dahl <jorgen.dahl@autodesk.com>
Co-authored-by: Jorgen Dahl <sm6srw@users.noreply.github.com>
Co-authored-by: aparajit-pratap <aparajit.pratap@autodesk.com>
Co-authored-by: pinzart90 <46732933+pinzart90@users.noreply.github.com>
Co-authored-by: Aaron (Qilong) <173288704@qq.com>
Co-authored-by: Michael Kirschner <mjk.kirschner@gmail.com>
Co-authored-by: Martin Misol Monzo <mmisol@users.noreply.github.com>
Co-authored-by: Ashish Aggarwal <aggarwal.ash@husky.neu.edu>
Co-authored-by: reddyashish <43763136+reddyashish@users.noreply.github.com>
Co-authored-by: Laurence Elsdon <github@elsdon.me>
Co-authored-by: pinzart <tiberiu.pinzariu@autodesk.com>
* Re bind RequestNodeAutoCompleteSearch when open dyf

* Add unit test
Extension views that provided a window rather than a control, like
TuneUp, were not properly handled by docking/undocking. The content was
being cast to a type that was too specific so it got lost. Also,
opening the extension directly as a floating window would result in a
crash because the content was not being unwrapped from the window in
this case.
When loading the application icon to be displayed in the extension
windows, the method used would result in an unhandled error when the
application was started from a network folder. This error is now
handled, resulting only in the absence of the icon for the extension
window. Also, the method used to get the application path is changed
for a more reliable one.
)

* Escape StringInputNode value when converting NodeToCode

* Updated workflow comment

* Added NodeToCode StringInput escaping test

* Restructured NodeToCode StringInput escaping test

* Escape StringInput value when compiling NodeToCode
* Only remove inputs when count is greater than defaultNumInputs

* Only remove inputs when count is greater than defaultNumInputs

* Added test to ensure default ports can't be removed

* Don't remove default inputs for DSVarArgFunction nodes
* Set the UserAgent for HttpWebRequest

* Added WebRequest_GitHubAPI test

* Replaced WebRequest_ValidArgs test. Added comment. Revised GitHub API endpoint.
* Exclude code block nodes from SetArgumentLacing

* Added test to check code block lacing doesn't change

* Restructured code block lacing test

* Exclude all LacingStrategy.Disabled nodes from SetArgumentLacing
* Sanitizer fixes

* Remove empty line
* Added AnyTrue and AnyFalse nodes

* Added unit tests for List.AnyTrue and List.AnyFalse

* Added tests for List.AnyTrue and List.AnyFalse

* Added icons for AnyTrue and AnyFalse

* Added AnyTrue and AnyFalse icons to libraryitems.json

* Fixed formatting
@Astul-Betizagasti Astul-Betizagasti merged commit 8b71a46 into Astul-Betizagasti:master Dec 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants