Skip to content

Version 5.0.0#329

Draft
gumbarros wants to merge 68 commits into
mainfrom
rc
Draft

Version 5.0.0#329
gumbarros wants to merge 68 commits into
mainfrom
rc

Conversation

@gumbarros

Copy link
Copy Markdown
Member

No description provided.

gumbarros added 3 commits June 8, 2026 10:31
* Add validation functionality

* Replace "Validations" with "Rules", add script-based validations and add docs

* Add asynchronous validation support and refactor validation methods removing unused operation parameter

* Remove unused `CommandOperation` parameter from `ValidateFieldsAsync` setups in `FormServiceTests`.

* Add support for "Run On" options for form rules

* Rename `IValidationScriptExecutor` to `IRuleExecutor` and refactor related services and tests accordingly

* Refactor validation methods: simplify `ValidateFieldsAsync` signatures and remove obsolete overloads

* Update `FieldValidationServiceTests` to use nullable types in test parameters

* Refactor `FormServiceTests` to use nullable types in test parameters and update mock setups accordingly

* Add support for "Run On Before Import" option in form rules and update corresponding services, models, and tests

* Set default value of `RunOnBeforeImport` to `true` in `FormElementRule` model

* Rename "Run On" operation properties to include "Before" prefix across models, resources, and views to improve clarity and consistency.

* Merge with main

* Update NCalc to 6.1.0

* Update layout
@gumbarros gumbarros changed the title Version 5.0.0 Draft: Version 5.0.0 Jun 8, 2026
@gumbarros gumbarros changed the title Draft: Version 5.0.0 Version 5.0.0 Jun 8, 2026
@gumbarros
gumbarros marked this pull request as draft June 8, 2026 13:37
gumbarros and others added 24 commits June 8, 2026 11:09
# Conflicts:
#	src/Plugins/MasterData.MongoDB/MasterData.MongoDB.csproj
#	src/Plugins/MasterData.Python/MasterData.Python.csproj
* WIP: Files refactor without session

* Fix actions layout and promote logic

* Undo FieldValidationService.cs

* Remove useless IFileReferenceStore

* Remove unused logger

* bugfix single and multiple files

* Create FilePathComponentResult.cs and FileStreamComponentResult.cs

* Fix exportation file download

* Use IFileStorage at file exportation

* Refactor into service pattern

* Refactor variable names

* Remove unused class

* Refactor removing FormFileInfo.cs

* Remove unused interface methods

* Encapsulate file storage

* Remove unused ToKey

* Delete drafts on cancel

* Use fullPath at the interface

* Remove ITemporaryFileStore and use FileStoreExtensions

* Refactors

* Refactor file storage

* remove useless static

* Remove IsTemporary flag

* Remove preferTemporaryFiles flag

* Refactor tests

* adjust namespaces

* refactoring

* Refactor file uploads to use IFormFile directly, use FormFileService and added FileValidationService. Refactors.

* Fix JsCallback

* Rename methods

* bugfix rename and delete actions

* Fix delete/rename files before saving

* Move business rule to UploadViewManager.cs

* Remove useless async

* Refactors

* Remove ifdef

---------

Co-authored-by: Lucio Pelinson <lucio.pelinson@gmail.com>
# Conflicts:
#	src/MasterData.Web/wwwroot/js/jjmasterdata/jjmasterdata.js.map
gumbarros and others added 30 commits July 1, 2026 10:58
# Conflicts:
#	Directory.Build.props
# Conflicts:
#	Directory.Build.props
# Conflicts:
#	Directory.Build.props
# Conflicts:
#	Directory.Build.props
#	src/MasterData.Web/wwwroot/js/jjmasterdata/jjmasterdata.js.map
…lect to fix disabled error. This closes #865
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.

2 participants