1350 Commits

Author SHA1 Message Date
Maurizio Vitale
d782b5c4d2
Use the translation key (#5737) 2020-05-29 13:33:35 +01:00
Denys Vuika
ae3ac440bc
Ivy compatible test modules (#5718)
* ivy compatible core unit tests

* ivy compatible content tests

* ivy compatible process tests

* ivy compatible process cloud tests

* ivy compatible insights tests

* fix content test

* fix content test
2020-05-21 16:25:28 +01:00
Denys Vuika
654be10dd2
Pre-Angular 9 upgrade fixes (#5712)
* remove deprecated angular/http

* upgrade adf libs

* fix production builds

* ivy-compatible translate module usage

* improved module usage

* upgrade content services module

* fix process services tests

* upgrade process cloud tests

* lint fixes

* update core max size

* fix insights test module

* remove insights lazy loading workaround

* fix insights module exports

* * Fixed skipped form-cloud unit test and removed duplicated tests

* cleanup the use of services

Co-authored-by: sivakumar414ram <siva.kumar@muraai.com>
2020-05-20 16:51:51 +01:00
Urse Daniel
4cb3a876d9
[ACA-45] Drag and Drop a New Version (#5710)
* 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>
2020-05-20 11:57:17 +01:00
Denys Vuika
347e64fd91
Pre-Angular upgrade fixes (#5709)
* 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
2020-05-18 14:02:15 +01:00
Baptiste Mahé
78332449a5
[AAE-2200] Upload dialog title should match selected site. (#5648)
* [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>
2020-05-14 10:38:16 +01:00
Alfresco Build User
fa1e691bd2
Update JS-API packages version 3.8.0 (#5670)
* Update JS-API packages version 3.8.0-beta10

* bump 3.8.0

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-05-04 17:01:54 +01:00
Gloria Broadbent
db7fedcf5e
ALL 16 LANGUAGES - fix for LOC-212 - updated localised files for ADF 3.8 (#5662) 2020-05-01 11:23:08 +01:00
Mark Hulbert
d5b18cf4ff
[ADF-5132] Review UI strings (#5649) 2020-04-28 16:52:33 +01:00
davidcanonieto
b6072f806a
[ADF-5129][ADF-5130] Fix Lock in Gallery view and Lock Dialog (#5646) 2020-04-28 08:50:06 +01:00
davidcanonieto
8f68899ce0
[ADF-4900] Card View and Metadata Components refactoring (#5592)
* [ADF-4900] Card View and Metadata Components refactoring

* CSS linting

* Unit test excluded

* Rebase branch

* Fix unit tests

* Fix linting

* Fix e2e tests

* Fix 2e2 tests

* Fix process-services e2e tests

* More fixes

* Fix more e2e tests

* Fix unit test

* Improve flaky unit test

* Fix process services e2e tests

* Update Process Header Cloud Page

* Fix linting

* Fix timing issue

* Lintintg

* Fix selectors

* Fix e2e tests

* Fix timing issue

* Fix C260328

* Fix spellcheck

* save screenshot

* performance issue

* Fix unit tests and e2e tests

* fix e2e

* refactoring

* fix lint

* fix e2e

* Fix C309698

* fix other e2e

* fix lint

* increase timeout

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-04-27 00:09:52 +01:00
Cilibiu Bogdan
697ce6e365
[MNT-21469] TreeView component has events on icon only (#5637)
* change mat-icon-button with mat-button

* align icon and label

* fix aria-label undefined value

* fix translation

* simplify html structure

* test
2020-04-24 15:08:19 +01:00
Baptiste Mahé
968235dff6
[ACA-2577] Change color of dropdown-breadcrumb current folder (#5621) 2020-04-17 17:05:35 +01:00
Baptiste Mahé
0a9fb69498
[ADF-5114] Change dialog action button color (#5613) 2020-04-16 10:46:48 +01:00
Baptiste Mahé
25426dd044
[ACA-2493] Fix disabled create folder button color (#5605) 2020-04-14 14:18:10 +01:00
Eugenio Romano
ecca9220f1
Review Documentation and tools doc (#5600)
* add exclude files property

* remove Unknown

* fix reviewer

* Update reviewChecker.js

* Update docs/README.md

Co-Authored-By: Mark Hulbert <39801222+m-hulbert@users.noreply.github.com>

Co-authored-by: Mark Hulbert <39801222+m-hulbert@users.noreply.github.com>
2020-04-09 11:55:33 +01:00
Baptiste Mahé
d8869e3118
[AAE-2200] Add dynamic title to attach-file-widget-dialog (#5594)
* [AAE-2200] Refactor content node component action

* [AAE-2200] Add dynamique title to attach-file-widget-dialog

* [AAE-2200] Add unit test
2020-04-09 10:43:00 +01:00
Baptiste Mahé
e55d3e53bb
[ADF-5105] Force color of header button of upload dialog (#5597) 2020-04-08 11:57:58 +01:00
Baptiste Mahé
263ed658db
[ADF-5104] Change color of location text (#5595) 2020-04-08 11:56:42 +01:00
Urse Daniel
6d406d8a7d
[ADF-4264] Fixed the breadcrumb when changing to custom site in node selector (#5589)
* 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.
2020-04-03 10:55:51 +01:00
Denys Vuika
179bdb2790
share link: add time debouncing (#5587)
* add time debouncing

* fix tests
2020-04-02 13:01:18 +01:00
Baptiste Mahé
ec49a42ebc
[ADF-5101] Change empty folder text display colors (#5586) 2020-04-01 16:29:16 +01:00
Baptiste Mahé
1e018b9476
[AAE-2200] Fix upload dialog title (#5583)
* [AAE-2200] Fix dialog title

* [AAE-2200] Title from translation ressources and refactor

* [AAE-2200] Add unit test for title

* [AAE-2200] Fix lint in test
2020-04-01 14:56:21 +01:00
Denys Vuika
53bddad833
fix shared link dialog regressions (#5585)
* code fixes

* fix typo
2020-04-01 14:54:38 +01:00
davidcanonieto
c1bf8e4db9
[ADF-3726] Enable/disable Copy to clipboard in Metadata from config (#5578)
* [ADF-3726] Enable/disable Copy to clipboard in Metadata from config

* Update app.config.json

* Fix e2e tests
2020-03-31 14:10:52 +01:00
dhrn
e06f871d73
[AAE-2202] Not able to search for files (#5569)
* [AAE-2202] Not able to search for files

* * fixd test

* * fixed panel test

* * fixed files search options

* * added docs
2020-03-31 11:36:35 +01:00
Denys Vuika
01d0f777c0
share link: fix regression with expiration toggle (#5577)
* share link: fix regression with expiration toggle

* remove old method
2020-03-31 07:34:25 +01:00
Baptiste Mahé
b26991014c
[ADF-5095] Update text color of share dialog (#5575) 2020-03-30 19:18:04 +01:00
Baptiste Mahé
53f2361658
[ADF-5093] Change datepicker color (#5573) 2020-03-30 18:19:44 +01:00
Baptiste Mahé
cfc62abb2b
[ADF-5094] Changed focused chip color (#5574) 2020-03-30 18:17:39 +01:00
Baptiste Mahé
56970d012c
[ADF-5096] Icon on move dialog darker (#5576) 2020-03-30 18:16:59 +01:00
dhrn
3f45e7b35d
[ACA-2368] UI Issues while editing Metadata in the Preview Page #1091 (#5562)
* [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
2020-03-25 11:06:40 +00:00
dhrn
c684d5f50c
[ADF-4341] Customise the property title into the InfoDrawer from configuration (#5556)
* [ADF-4341] Customise the property title into the InfoDrawer from configuration

* * docs added

* * removed unnecessary logic and docs updated
2020-03-25 11:05:11 +00:00
davidcanonieto
3fcf965eca
[ADF-4673] Add editable property to metadata config (#5557)
* [ADF-4673] Add editable property to metadata config

* Add readonly mode for aspect oriented config

* Fix linting
2020-03-20 22:16:35 +00:00
Taylor
78c3db5db7
[ACA-2789] - edit button a11y fixes (#5399)
* fix: remove title property from button

* use tooltip instead of aria label

* fix aria label

Co-authored-by: Taylor Richards <taylor.richards@deque.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2020-03-20 21:31:30 +00:00
Denys Vuika
fc6a80c45a
[ACA-2566][ACA-2567] permissions a11y fixes (#5560)
* fix layout and a11y, cleanup html

* fix sorting announcer

* fix i18n issue for Actions column
2020-03-19 16:47:24 +00:00
Denys Vuika
a04abd0041
fix share link dialog header a11y (#5559) 2020-03-19 11:11:13 +00:00
Cilibiu Bogdan
983e01f70c
[ADF-5087] Document List - custom sources 'where' clause not passed (#5558)
* pass document list where clause to custom sources

* update docs
2020-03-19 09:38:58 +00:00
Mark Steadman
5bcd326891
[ACA-2619][ACA-2616] a11y fixes for Share Link dialog (#5454)
* chore: proper disabling of fields for a11y

* component fixes

* update tests

* update tests

* fix aria labels

* aria-label fixes

* update layout

* update e2e tests

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
Co-authored-by: Cilibiu Bogdan <bogdan.cilibiu@ness.com>
2020-03-19 08:13:42 +00:00
dhrn
d720d36670
[ADF-4522] Metadata value is not rolled back upon error (#5550)
* * initial commit

* * removed breaking change

* * fixed ts

* * fixed minor changes

* * fixed changes

* * minor changes

* * fixed unit test

* * docs added

* * fixed date clear problem

* * fixed unit test
2020-03-17 10:47:08 +00:00
Mark Steadman
8e5e5c90ac
ACA 2618 - 2619 - Share Dialog - Physical Labels (#5439)
* chore: addition of physical labels to share dialog

* chore: addition of translated text

* chore: addition of expiration label

* Update content-node-share.dialog.scss

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-03-16 11:10:29 +00:00
dhrn
41597e271a
[ADF-4522] Metadata value is not rolled back upon error (#5545) 2020-03-13 15:42:38 +00:00
Baptiste Mahé
b3d8fb9609
[ADF-5085] Adding possibility to search for future dates search-date-range component (#5525)
* [ADF-5085] Remove maxDate and set the max of the from date to the to date

* [ADF-5085] Add maxDate optional setting

* [ADF-5085] Add unit test for maxDate

* [ADF-5085] Add documentation for maxDate setting

* [ADF-5085] Unit tests for default and today value

* [ADF-5085] Refactor
2020-03-04 11:29:29 +00:00
davidcanonieto
2b1a321baf
[AAE-1977] Fix file uploaded after cancelling upload (#5532)
* [AAE-1977] Fix file uploaded after cancelling upload

* Add constants
2020-03-03 18:47:29 +00:00
Denys Vuika
1e226d967e
additional tests for search chip list (#5523) 2020-02-28 15:08:35 +00:00
Denys Vuika
a9b49a1eb7
[AAE-1883] document list preset unit tests (#5519)
* document list preset unit tests

* remove useless tests

* remove useless tests

* remove even more garbage

* remove junk
2020-02-28 13:26:01 +00:00
dhrn
b5d443f2a8
[AAE-1950] and [AAE-1882] more unit test (#5521)
* [AAE-1882] Custom action unit test

* [AAE-1950] Filter E2E Community Unit test
2020-02-28 10:54:31 +00:00
dhrn
ae38f3f4ac
[AAE-1955] [ADF-5082] [AAE-1969] and [AAE-1970] Search Unit test (#5508)
* initial commit

* [AAE-1955] Search Categories Unit test

* more unit added

* check box test added

* [AAE-1970] Search Search Filters Facet Container Uni Test

* * naming improvements
2020-02-26 15:05:27 +00:00
dhrn
536e2587ea
[AAE-1954] Search Unit test (#5503)
* [AAE-1954] Search Unit test

* * fixed comments
2020-02-24 11:21:42 +00:00
Eugenio Romano
2d0b571875
remove not needed spaces (#5495)
* remove not usefull spaces

* increase timeout

* increase timeout

* fix
2020-02-23 17:00:16 +00:00