* added a new input: file
* unit test - having singleFile option and a file as input, the type of the input for uploading should be button instead of file
* added a click event for the upload button and also handle if having a file as input, the type of the input should be 'button' instead of 'file'
* handling allowed for upload also for 'update' permissions over a dropped file. also emitting a new event for updating file version if i'm dropping a single file over another file.
* unit tests for handling dropping a file over another
* added a new input (file type)
* passing a file to adf-version-upload component
* new input as file and toggle new version if having that as input + unit test
* added new input as file for new version
* added new input to allow dropping a file over another to update it's version
* added a new variable for handling dropping a file over another one and also handle a new event when we update the file version
* pass a new dropped file to the dialog
* new message
* new method to allow isDropTarget for a file instead only to folders.
* new emitter for updating a file's version
* allows updating a file's version by dropping another file over it.
* refactor allowDropFiles
* update docs for drag&drop file into another file
* update for drag&drop a file over another file functionality
* made the allowDropFiles checking optional for isDropTarget property, only checking if the value is passed to the share-data-row
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
* code fixes
* code fixes
* more code fixes
* even more fixes
* add missing typescript for cli
* rollback info drawer test changes
* use npx for cli commands
* restore attach providers
* [AAE-2200] content-node-selector-panel pass starting site and emit event onSiteChange
* [AAE-2200] content-node-selector handle siteChange event
* [AAE-2200] content-node-selector has good default title
* [AAE-2200] attach-file-widget-dialog handle siteChange event
* [AAE-2200] Minor fixes on attach-file-widget-dialog
* [AAE-2200] site-dropdown reload site list unfil it find its default site
* [AAE-2200] Fix title translation for attach-file-widget-dialog
* fix missing property description
* Unit test fix
* [AAE-2200] Fix title unit tests
* [AAE-2200] Fix sites-dropdown infinite loading
* [AAE-2200] Add content-node-selector-panel siteChange event unit tests
* [AAE-2200] Refactor sites-dropdown unit tests
* [AAE-2200] Refactor the 'allSitesLoaded' check
* [AAE-2200] Add sites-dorpdown default value unit tests
* [AAE-2200] Move getSiteFromNodePath method to sites service
* [create preview]
* [create preview]
* [AAE-2200] Better hasMoreItems check in sites-dropdown (fix unit test)
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Cano <david.cano.nieto@gmail.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
* [ACA-3245] Fetch alfresco repo name from an API
* [ACA-3245] Take the repo name from the API only when it is not defined in the app config
* [ACA-3245] Remo alfresco-1 as default in app.config service
* [ACA-3245] Remove passing null argument when calling getRepositories function
* [ACA-3245] Revert removing function parameter includeAccounts
* [ACA-3245] Add tenantId as optional
* [ACA-3245] Revert method
* [ACA-3245] Change both parameters to optional
* [ACA-3245] Rename param
* [ACA-1894] - added the possibility to filter whenever is possible by file path
* [ACA-1894] - fixed linting
* [ACA-1894] - reverted dynamic app config service refresh
* [ACA-1894] - added extra example in upload docs
* Update upload.service.md
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
* unit test for veryfing if changing to a custom site the current breadcrumb folder is the title of the site.
* fixed the problem when changing to a custom site the breadcrumb current folder title is not changing. fixed the issue when navigating inside a node after changing to a custom site the path to the root in the breadcrumb was not the correct path.
* updated the styling for the data rows to match the styling of the breadcrumb
* if there is an error the loader should stop not only if there is a message. updated to fix the node-selector site problem when adding a non existing site, the loader would previously keep spinning even though in console was thrown an error but the clients never had an UI update about the issue.
* changing the event on row from keyup to keydown to fix the issue of reopening the file after closing ussing only keyboard (opening and closing the file by enter)
* Reverting the 'onRowKeyDown' to not make a breaking change and added a new method to handle the opening file using 'enter' key
* Added unit test - it should emit double click if keydown "enter key" on row
* Small changes for clean coding
* [ACA-2368] UI Issues while editing Metadata in the Preview Page #1091
* tslint fxed
* [ACA-2368] UI Issues while editing Metadata in the Preview Page #1091
* * revert commits
* Revert "* revert commits"
This reverts commit fd0e86084cc4ac14870d9008400528f63a681c59.
* * unit test added