1358 Commits

Author SHA1 Message Date
Cilibiu Bogdan
8471fe40a5
[ADF-5311] Extract infinite select scroll loading logic to a reusable component (#6536)
* move translation to core

* select scroll directive

* register directive

* add infinite scroll directive

* clean up component and aditional logic

* use  waitForAsync over async

* update docs

* change output emitter name

* revert to async

* restore default value;

* test
2021-01-15 11:35:39 +00:00
Denys Vuika
c9705b06d5
TestElement prototype to greatly reduce e2e coding time (#6525)
* TestElement prototype

* introduce byText wrapper

* extend TestElement api

* cleanup tests a bit more

* cleanup e2e

* more e2e cleanup

* add missing CSS classes

* fix test
2021-01-15 11:31:45 +00:00
arditdomi
9947d6aa40
[AAE-3467] - Fix Uploaded files are not being attached after selecting more files (#6506)
* Fix selection not working after uploading files, simplify if else conditions

* add unit test
2021-01-11 09:36:10 +00:00
Denys Vuika
13faf4e0d8
fix typescript errors (#6445) 2021-01-08 11:51:21 +00:00
Eugenio Romano
1c51b2a1a6
Use hash strategy in demo shell as the other apps (#6402)
* hash startegy

* use hash in e2e

* trigger build

* fix

* fix

* remove children router overwrite crazynes

* Update login.module.ts

* revert not needed changes

* some fixes

* fix

* remove fdescribe

* fix

* fix

* Update share-file.e2e.ts

* Update lock-file.e2e.ts

* Update share-file.e2e.ts

* some fix

* some other fixes

* username as id

* fix after rebase

* username

* fix usernamee

* Fix the errorComponent

* Attempt to fix unit test - to check

* * Fixed circular dependency error while building adf-testing package

* * Fixed failing UT

* fix

* use username

* some fixes

* some fix

* fix

Co-authored-by: Maurizio Vitale <maurizio.vitale@alfresco.com>
Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
Co-authored-by: sivakumar414ram <siva.kumar@muraai.com>
2020-12-16 18:46:56 +00:00
Eugenio Romano
a978e97e8c bump 4.2.0 2020-12-08 16:31:26 +00:00
Francesco Corti
5a4cc4edda
Release Note for 4.2 - Initial draft. (#6390)
* Release Note for 4.2 - Initial draft.

* update dep

* documentation

* fix

* remove script

* lint

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-12-07 21:03:41 +00:00
Denys Vuika
751ca03975
[ACA-4205] safety checks to avoid crashes in doclist (#6432)
* safety checks to avoid crashes in doclist

* reduce shared state in tests

* fix test
2020-12-07 16:15:48 +00:00
Denys Vuika
31bac2da24
[ACA-4205] reload on sorting only for server mode (#6420)
* reload on sorting only for server mode

* cleanup demo shell / files
2020-12-04 17:36:02 +00:00
Denys Vuika
a3fabf632c
[ACA-2176] prevent Esc click event bubble into the Viewer (#6378)
* prevent Esc click event bubble into the Viewer

* fix tests
2020-12-02 13:48:44 +00:00
Gloria Camino
fe7ad99aa9
LOC-268 - Fixed. All localised UI files updated in 16 languages (#6383) 2020-11-27 11:27:15 +00:00
siva kumar
67b9b884fd
[AAE-4090] [ADW - Cloud] Warning message is displayed for one second in destination picker when Upload button is enabled (#6373)
* [AAE-4090] [ADW - Cloud] Warning message is displayed for one second in destination picker when Upload button is enabled

* * Added unit test
2020-11-24 09:55:06 +00:00
Vito
3ef081914e
[ACA-4168] - changed to public reset pagination (#6375)
Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
2020-11-24 03:14:11 +00:00
davidcanonieto
46fd14becf
[ACA-4124] Display authorityName when authorityDisplayName is missing (#6371) 2020-11-23 01:09:00 +00:00
davidcanonieto
973b58f420
[ACA-4124] Change name displayed for groups in Add Permission Panel Component (#6305)
* [ACA-4124] Change property displayd for groups in Add Permission Panel Component

* [ACA-4124] Add 503 localization

* Fix e2e test

* Fix e2e test
2020-11-10 10:18:59 +00:00
Urse Daniel
53dcccd7cb
[ACS-721] Improve End/Cancel Editing UX (part 1) - implement single menu option & dialog (#6327)
* added the possibility to show/hide cancel&submit buttons and also to emit the changes without any buttons

* added new doc

* Added optional on variable models to avoid breaking changes (#6328)

Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>

* added the possibility to show/hide cancel&submit buttons and also to emit the changes without any buttons

* added new doc

Co-authored-by: Vito <vito.albano@alfresco.com>
Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
2020-11-10 10:18:33 +00:00
davidcanonieto
a9f9e18a1a
[MNT-21920] Fix Card View Integers initialization when they are set to 0 (#6320)
* [MNT-21920] Fix Card View Integers initialization when they are set to 0

* Add unit tests
2020-11-10 10:07:23 +00:00
arditdomi
5f76a7c340
Improve search filter component: hide a facet if there is no filter category (#6282)
* New feature: Search Filter Component - Hide facet if there is no filter category

* remove comments

* Fix lint errors

* Fix-Add unit tests

* Change demo shell facet query to current year

* Fix search e2e to use always current year

Co-authored-by: Raphael Kister <raphael.kister@alfresco.com>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-11-04 15:57:40 +00:00
Vito
66b51a7c93
exported search-datetime range component (#6312)
Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
2020-11-04 15:21:44 +00:00
arditdomi
20fdd9955d
[AAE-3967] Add datetime-range search filter component (#6297)
* [AAE-3967] Add datetime-range search filter component

* Fix bug from max date is not resetting when clicking the clear button

* Fix formatting identation on date-range component

* Add unit tests

* Add documentation

* Fix comments
2020-11-04 11:22:18 +00:00
arditdomi
7bb3c30154
[ACA-4099] Fix search query in content node selector (#6299) 2020-11-04 10:08:23 +00:00
siva kumar
b8cacd3b4e
[AAE-3966] FE - Disable the upload button when the user doesn't have permissions in a folder (#6304)
* [AAE-3966] FE - Disable the upload button when the user doesn't have permissions in a folder

* * Handled both error messages while searching

* * Refactored names

* * Fixed unit tests and added some * Updated doc

* * Fixed comment
2020-11-04 09:05:55 +00:00
arditdomi
37fef5a1b6
[AAE-3925] Add support for date type searchable properties in attach … (#6274)
* [AAE-3925] Add support for date type searchable properties in attach file widget

* Fix comments
2020-10-22 14:17:53 +01:00
arditdomi
2273dd7035
[AAE-3405] - Optimise attach file widget UI (#6271)
* Optimise attach file widget UI

* Show filter button only when there are custom models
2020-10-21 14:21:37 +01:00
arditdomi
072f910452
[AAE-3719][AAE-3720] - Fix content node selector search should align with the filtering (#6214)
* Fix content node selector search should align with the filtering

* Add a flag to disable optionally the search execution in the filters

* Add unit tests

* refactoring - Remove content node selector service and use the main search service instead

* Fix existing unit tests to align with the new changes

* Fix bug when copying a file

* add include properties in demo shell search config

* revert attach-file-cloud widget

* Remove unused import

* More unit tests
2020-10-20 15:48:23 +01:00
Eugenio Romano
f1231d3c44 bump 4.1.0 2020-10-13 16:52:48 +01:00
Vito
3aab5f7d2c
[ACA-4013] - fixed sorting for document list - size (#6240)
Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
2020-10-13 09:56:42 +01:00
dhrn
f852811920
[ACA-4041] Filter not emitting the latest value (#6238)
* [ACA-4041] update filter

* * unit test added
2020-10-12 23:40:02 +01:00
siva kumar
40b5822e62
[AAE-3410] Restrict breadcrumb if upload widget type set to Alfresco Content (#6220)
* [AAE-3410] Restricted Breadcrumb navigation when upload widget type set to only ACS

* * Added/Modified unit tests to the recent changes

* Fixed failing UT

* * Updated contentNodeSelectorPanel doc

* * After rebase
2020-10-12 12:28:29 +01:00
Silviu Popa
2b23edd0bd
[ADF-5269] - fix datatable date filter (#6232)
* [ADF-5269] - fix datatable date filter

* fix e2e
2020-10-12 12:27:49 +01:00
Denys Vuika
e3560a3f72
additional unit tests for the upload (#6235) 2020-10-09 15:56:38 +01:00
arditdomi
d236ed40a2
Fix search panel scroll in content node selector (#6227) 2020-10-08 12:02:38 +01:00
siva kumar
bce1aeb723
[AAE-3637] Attach file - Upload button is not disabled when the user is in search mode (#6193)
* [AAE-3637] Attach file - Upload button is not disabled when the user is in search mode

* Add missing documentation for Input on the search filters

* * Added warning message

* * Added Unit tests to the recent changes

* * Fixed css error

* * Updated string

Co-authored-by: adomi <ardit.domi@alfresco.com>
2020-10-06 14:55:42 +01:00
Eugenio Romano
04f5fdffd7
[ADF-5263] Empty page displayed all the time when load content fix (#6209)
* Make test run on API update
Improve create librrary test

* Fix empty page displayed always first

* remvoe console

* fix

* fix

* lint

* fix

* fix

* fix

* fix

* fix
2020-10-05 00:26:56 +01:00
davidcanonieto
d83bc9935c
[ADF-5262] Fix query execution in BaseQueryBuilderService (#6201)
* [] Fix query execution in BaseQueryBuilderService

* Update base-query-builder.service.ts

* Update base-query-builder.service.ts
2020-10-01 15:50:42 +02:00
Maurizio Vitale
7c83f2eb18
[AAE-3199] - Add support for searchable content model properties (new search filters panel in the attach file widget) (#6134)
* Create new panel component and search refactoring

* Replace

* First refactoring - Fix global search and service injection issues

* More refactoring

* Fix service injection - create one new instance for content-node-selector component

* Avoid having more services extending BaseQueryBuilderService

* more refactoring, remove injecting the SearchQueryBuilderService from the content node selector service

* Fix build errors to launch unit tests

* Fix existing unit tests

* Fix wrong import and constructor injection comments

* Fix wrong import

* Fix comments

* Fix api compatibility

* Revert demo shell causing e2e fail

Co-authored-by: adomi <ardit.domi@alfresco.com>
2020-10-01 09:11:23 +01:00
Gloria Camino
74dfe4ef49
LOC-258_Localised UI files for ADF 4.1 in 16 languages (#6191) 2020-09-30 14:12:11 +01:00
Eugenio Romano
7fb42d79c0
Test improve 2 (#6167)
* more debug log

* fix

* next chrome

* fix favorite

* fix

* Fix spelling

* fix

Co-authored-by: Adina Parpalita <adina.parpalita@ness.com>
2020-09-28 00:05:07 +01:00
davidcanonieto
dea062263e
[ADF-5219] Fix Production Build (#6166)
* [ADF-5219] Fix Production Build

* Fix BC

* Revert file name
2020-09-27 10:23:13 +01:00
Cilibiu Bogdan
d7ce7d0b00
accessibility (#6164) 2020-09-25 15:02:57 +01:00
davidcanonieto
b0a46f7eac
[ADF-5219] Refactor Document list Filters (#6092)
* First commit

* Second commit

* Commit 4

* Add unit tests

* Fix unit tests

* Add documentation for breaking change

* Fix rebase

* Fix unit test
2020-09-25 10:08:15 +01:00
Eugenio Romano
46ccda68b3
[ADF-5235] Facet fix and improve search test (#6122)
* improve search test

* fix

* fix

* fix

* changes

* modify

* logout public URL

* improve stability some e2e

* fx lint

* fix

* fix

* improve

* fix

* improve

* fix

* fix

* fix

* fix [skip ci]

* fix

* some fix [skip ci]

* fix

* fix lint

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* convert C291893 in manual test case in testrail

* fix

* fix
2020-09-21 09:35:01 +01:00
siva kumar
6fa02548ae
[AAE-3321] Select uploaded local files by default (#6079)
* [AAE-3111] Select uploaded files by default

* [AAE-3321] Select uploaded local files by default

* * After rebase

* *  Renamed method/property names

* * Fixed comments
* Added a private method to bubble up preselected nodes

* * Added unit tests

* * Fixed typo* added doc* Preselect based on the selection mode

* * Added way to test in demo shell
2020-09-14 09:07:41 +01:00
arditdomi
c9c96e8027
[AAE-3406] - Fix advanced search inside content-node selector (#6084)
* fix advanced search inside content-node selector

* Update failing unit tests
2020-09-07 10:47:41 +01:00
Denys Vuika
cd057c8b13
fix flex-layout version (#6040) 2020-08-20 09:43:38 +01:00
Yuuki Ebihara
57a54e18e7
New Service create - AuditService (#5983)
* [#5671] Create new AuditService

* [#5671] Fixed because the method used was different

* [#5671] Create document
2020-08-19 11:37:34 +01:00
Eugenio Romano
c96f57d1c6 bump 4.0.0 2020-08-18 11:41:49 +01:00
Eugenio Romano
7cfb95da9d
Execute test when change exclude file (#5989)
* Execute test when change exclude file

* Update protractor.excludes.json

* Update nx.json

* fix first call use all params document list
2020-08-17 10:45:55 +01:00
Vito
04b6d841d1
[ACA-3506] - Fixed refresh for filters on ADF (#5993)
* Fixed refresh for filters on ADF

* Update search-widget-container.component.ts

Co-authored-by: Vito Albano <vitoalbano@Vitos-MacBook-Pro.local>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-08-13 23:30:49 +01:00
Cilibiu Bogdan
5f5867370c
[ACA-3839] Document List - clear filter called multiple times (#5991)
* clear only when filter has value

* update tests

* fix lint
2020-08-13 16:11:14 +01:00