1358 Commits

Author SHA1 Message Date
Thomas Hunter
96c94988c1
[AAE-4428] Add selected file counter to attach file widget (#6881)
* [AAE-4428] Add selected file counter to attach file widget

* [AAE-4428] Add getSelectedCount method

* [AAE-4428] Add unit tests

* [AAE-4428] Changed so TranslationService injection is not necessary

* [AAE-4428] Added unit tests to check the element has been injected

* spacing

* [AAE-4428] Remove unnecessary check in unit test

* [AAE-4428] Add node counter directive

* [ci skip] Fix linting issues

* Remove changing the selection to the nabigated node

* Revert removing selection on folder loaded, add unit test

* Added documentation

Co-authored-by: adomi <ardit.domi@alfresco.com>
2021-04-15 13:57:26 +01:00
Vito
e4288cd1f9
[ADF-5362] - Content type properties should be showed when content type is changed. (#6922)
* [ADF-5362] - Content type properties showed when content type changed

* [ADF-5362] - Added some fix and some unit tests

* [ADF-5370] - fixed e2e

* [ADF-5370] - fixed e2e
2021-04-15 09:56:21 +01:00
Denys Vuika
84ce202ad2
[AAE-4966] Extensible app config (#6914)
* merge app config from the extensions

* improved service injection in unit tests

* extra unit test

* fix content tests

* update code as per review

* fix lint

* fix lint

* update code and tests

* update schema
2021-04-13 14:16:29 +01:00
Vito
7d01a9315b
[ADF-5362] - showing in the confirm dialog only the propery of the cu… (#6909)
* [ADF-5362] - showing in the confirm dialog only the propery of the custom type not the inherited ones

* fxed lint
2021-04-12 11:59:44 +01:00
arditdomi
291e224ad4
[AAE-4483] Add empty list drag and drop template in upload from local tab (#6916) 2021-04-12 10:31:52 +01:00
Vito
4b13ab7ec4
[ADF-5363] - when aspects has no name we will show the id instead (#6906)
* [ADF-5363] - when aspects has no name we will show the id instead

* added PR review fix
2021-04-09 16:00:55 +01:00
Alfresco Build User
833ca30440
Update branch for JS-API PR#3366 (#6910)
* [auto-commit] Update JS-API to 4.4.0-3366 for branch: update-js-api originated from JS-API PR: 3366

* [auto-commit] Update JS-API to 4.4.0-3368 for branch: update-js-api originated from JS-API PR: 3368

* [auto-commit] Update JS-API to 4.4.0-3369 for branch: update-js-api originated from JS-API PR: 3369

* [auto-commit] Update JS-API to 4.4.0-3371 for branch: update-js-api originated from JS-API PR: 3372

Co-authored-by: Travis CI User <travis@example.org>
2021-04-09 14:49:20 +01:00
arditdomi
e589071328
[AAE-4841] - Fix content node selector current selection is lost after uploading files (#6862)
* [AAE-4841] - Preserve current selection when preselecting the newly uploaded nodes

* add a method to handle unselection of a preselected row in document list and emit the change

* Fix-refactor unselection

* Fix document list reload

* Partial revert share datatable adapter

* try with overwriting datatable selection

* Sync datatable selection after every page load

* refactor selection/unselection in datatable by using a row id

* Fix/Add some unit tests

* Move preselection from adapter to doc list, fix single selection mode

* Add some unit tests

* Add document list unit tests
2021-04-08 14:55:06 +01:00
Alfresco Build User
b08e2731bf
[auto-commit] Update JS-API to 4.4.0-3364 for branch: update-js-api originated from JS-API PR: 3364 (#6908)
Co-authored-by: Travis CI User <travis@example.org>
2021-04-08 10:17:25 +01:00
Denys Vuika
a244200258
Name column fixes (#6904) 2021-04-07 12:00:05 +01:00
Alfresco Build User
f874a43c9c
Update branch for JS-API PR#3342 (#6876)
* [auto-commit] Update JS-API to 4.4.0-3342 for branch: update-js-api originated from JS-API PR: 3342

* [auto-commit] Update JS-API to 4.4.0-3345 for branch: update-js-api originated from JS-API PR: 3345

* [auto-commit] Update JS-API to 4.4.0-3346 for branch: update-js-api originated from JS-API PR: 3346

* [auto-commit] Update JS-API to 4.4.0-3350 for branch: update-js-api originated from JS-API PR: 3350

* [auto-commit] Update JS-API to 4.4.0-3353 for branch: update-js-api originated from JS-API PR: 3353

* [auto-commit] Update JS-API to 4.4.0-3357 for branch: update-js-api originated from JS-API PR: 3357

* [auto-commit] Update JS-API to 4.4.0-3359 for branch: update-js-api originated from JS-API PR: 3359

* [auto-commit] Update JS-API to 4.4.0-3362 for branch: update-js-api originated from JS-API PR: 3362

Co-authored-by: Travis CI User <travis@example.org>
2021-04-07 10:17:45 +01:00
Eugenio Romano
6eaf89afd0
fix button filter color in high contrast (#6889) 2021-04-06 15:05:35 +01:00
Vito
b4fa19358c
[MNT-22298] - Added check for ACS version (#6845)
* [MNT-22298] - Added check for ACS version

* [MNT-22298] - fixed lint problem
2021-03-26 18:58:01 +00:00
Eugenio Romano
0e673a9d92
update js-api (#6847)
* update js-api

* previous version

* previous js-api

* older

* [auto-commit] Update JS-API to 4.4.0-3332 for branch: update-js-api originated from JS-API PR: 3332

* trace

* older

* [auto-commit] Update JS-API to 4.4.0-3286 for branch: update-js-api originated from JS-API PR: 3286

* [auto-commit] Update JS-API to 4.4.0-3284 for branch: update-js-api originated from JS-API PR: 3284

* [auto-commit] Update JS-API to 4.4.0-3335 for branch: update-js-api originated from JS-API PR: 3335

* [create docker image]

* polyfill

Co-authored-by: Travis CI User <travis@example.org>
2021-03-26 14:10:12 +00:00
Denys Vuika
b97aa7dfee
[MNT-22236] Permission i18n support (#6843)
* localized role pipe

* update tests

* additional tests

* update module

* fix package lock

* update module settings

* try update code

* update import

* test fixes
2021-03-23 16:22:32 +00:00
Dharan
8f8819c395
[ADF-5318] E2E Content Change type (#6799)
* [ADF-5318] E2E Content Change type

* Update metadata-content-type.e2e.ts
2021-03-22 09:25:50 +00:00
Vito
b0005c216b
[ADF-5358] - fixed duplicated type on reopening viewer (#6815) 2021-03-18 09:28:59 +00:00
Eugenio Romano
cd915b307b
Remove demo shell test and make cloud a bit more stable (#6781)
* remove demo shell test and make cloud a bit more stable

* fix lint

* Update restore-content-directive.e2e.ts

* Update restore-content-directive.e2e.ts

* Update restore-content-directive.e2e.ts

* try fix attach

* Update .travis.yml

* sleep...

* remove about e2e demo shell....

* fix

* lint fix

* configure

* refactor buuild

* names and remove demo shell build from libs

* fix new build approach

* fix

* fix

* .

* uncomment

* .

* .

* fix

* fix

* .

* fix

* lock update

* fix demo shell errors

* use replay subject

* fix some console log error

* suffix problem

* split process e2e

* not need to check everywhere the pagination e2e

* split content

* fix

* fix

* fix

* fix

* reorg

# Conflicts:
#	.travis.yml
2021-03-17 15:17:46 +00:00
Maurizio Vitale
6974873288
Revert "[ADF-5354] Content node selector is not working properly for read-only folders (#6777)" (#6801)
This reverts commit e21b777a3ca28f8a9f0ce9c4741bb5a97d6e5fe0.
2021-03-09 20:13:07 +01:00
Eugenio Romano
5919916380
4.3.0 (#6793)
* 4.3.0

* update md

* Fix typos

* Remove ADF testing package from core package.json

Co-authored-by: Maurizio Vitale <maurizio.vitale@alfresco.com>
Co-authored-by: Andras Popovics <popovics@ndras.hu>
2021-03-09 15:10:37 +01:00
Alfresco Build User
f58d8bf834
[auto-commit] Update JS-API to 4.3.0-3278 for branch: update-js-api originated from JS-API PR: 3278 (#6787)
Co-authored-by: Travis CI User <travis@example.org>
2021-03-07 08:23:18 +00:00
Cilibiu Bogdan
e21b777a3c
[ADF-5354] Content node selector is not working properly for read-only folders (#6777)
* disable button when no permission

* test

* breadcrumb fallback when selection is not valid

* test
2021-03-06 09:37:42 +00:00
Alfresco Build User
df8a8fb61f
Update branch for JS-API PR#3264 (#6775)
* [auto-commit] Update JS-API to 4.3.0-3264 for branch: update-js-api originated from JS-API PR: 3264

* [auto-commit] Update JS-API to 4.3.0-3273 for branch: update-js-api originated from JS-API PR: 3273

* [auto-commit] Update JS-API to 4.3.0-3274 for branch: update-js-api originated from JS-API PR: 3274

* [auto-commit] Update JS-API to 4.3.0-3275 for branch: update-js-api originated from JS-API PR: 3275

Co-authored-by: Travis CI User <travis@example.org>
2021-03-05 06:54:00 +00:00
Alfresco Build User
bf223b136a
[auto-commit] Update JS-API to 4.3.0-3262 for branch: update-js-api originated from JS-API PR: 3262 (#6766)
Co-authored-by: Travis CI User <travis@example.org>
2021-03-03 13:12:53 +00:00
Gloria Camino
099ba21cea
LOC-285 Localised UI for ADF 4.3 in 16 languages plus amends to typo and 2 string changes requested by @Denys Vuika (#6765) 2021-03-03 10:18:57 +00:00
Thomas Hunter
6fafb004d4
Revert "[AAE-4637] Fix varying height of dialog when clicking on the Upload from your device tab (#6690)" (#6764)
This reverts commit e96617a676f3c60c9d448a0b0d4d1f5eb3f213f3.
2021-03-03 10:00:33 +01:00
Alfresco Build User
5b75d84115
[auto-commit] Update JS-API to 4.3.0-3256 for branch: update-js-api originated from JS-API PR: 3256 (#6747)
Co-authored-by: Travis CI User <travis@example.org>
2021-03-02 12:33:01 +00:00
Thomas Hunter
a47045ab18
[AAE-3543] Attach button enabled only when all files uploaded (#6731)
* [AAE-3543] Attach button enabled only when all files uploaded

* [AAE-3543] Add unit tests

* [AAE-3543] Corrected name of unit test

* [AAE-3543] Merged isQueueFinishedUploading() with isUploading()

* [AAE-3543] Added spacing to unit tests
2021-02-26 19:10:11 +00:00
Vito
efdc63bffd
[ADF-5345] - fixed border for aspect dialog (#6746) 2021-02-26 16:26:34 +00:00
Vito
f3c4680c2c
[ADF-5344] - fixed counter for custom aspects (#6727) 2021-02-25 21:50:31 +00:00
dhrn
c932cb0964
[REPO-5552] more filtering capabilities for aspect/type api (#6713)
* [REPO-5552] more filtering capabilities for aspect/type api

* * fix BC
2021-02-25 21:50:14 +00:00
arditdomi
42a5102e66
[ACA-4213] - Fix search datetime range in different timezones (#6732)
* Fix search datetime range in different timezones

* Add unit test checking the conversion from GMT to UTC
2021-02-25 15:41:05 +00:00
arditdomi
52930dec6d
[AAE-4661] Fix not showing results when filtering by content model properties (#6723) 2021-02-23 16:02:57 +00:00
arditdomi
20500bb151
[AAE-4203][AAE-4292] - Fix breadcrumb and folder navigation issues wh… (#6719)
* [AAE-4203][AAE-4292] - Fix breadcrumb and folder navigation issues when in search results

* Remove e2e workaround double clicking 2 times
2021-02-23 08:05:29 +00:00
arditdomi
4a54e8523b
[AAE-4661] Fix search results are still displayed when search term ge… (#6707)
* [AAE-4661] Fix search results are still displayed when search term gets deleted

* Fix unit tests
2021-02-22 20:16:26 +00:00
Alfresco Build User
f6308a7f31
Update branch for JS-API PR#3232 (#6706)
* [auto-commit] Update JS-API to 4.3.0-3226 for branch: update-js-api originated from JS-API PR: 3226

* [auto-commit] Update JS-API to 4.3.0-3229 for branch: update-js-api originated from JS-API PR: 3229

* [auto-commit] Update JS-API to 4.3.0-3232 for branch: update-js-api originated from JS-API PR: 3232

* [auto-commit] Update JS-API to 4.3.0-3234 for branch: update-js-api originated from JS-API PR: 3234

Co-authored-by: Travis CI User <travis@example.org>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2021-02-21 18:11:02 +00:00
Thomas Hunter
e96617a676
[AAE-4637] Fix varying height of dialog when clicking on the Upload from your device tab (#6690) 2021-02-19 10:53:39 +00:00
Vito
59a991dc66
Aspect List - added spinner and refresh (#6693)
* Adding spinner for loading aspects

* Added metadata update and test
2021-02-18 09:37:15 +00:00
Vito
e62c752f1f
[ADF-5305] - Added aspect list component (#6549)
* [ADF-5305] - Creation of aspect list and aspect list dialog components

* [ADF-5305] - unit test for aspect list

* [ADF-5305] - added filtering for aspects

* [ADF-5305] - enabling tests

* [ADF-5305] - added filtering and unit test

* [ADF-5305] - added context action to demo shell

* [ADF-5305] - added button on metadata card for opening aspects

* [ADF-5305] - fixed unit test for filtering aspects

* [ADF-5305] - added documentation

* [ADF-5305] - fixed lint

* [ADF-5305] - Updated the js-api calls

* [ADF-5305] - Removed circle dependency

* [ADF-5305] - Simplified code

* [ADF-5305] - revert changes on package.json

* [ADF-5305] - removed extra cspell word

* [ADF-5305] - added filtering on aspect list service

* [ADF-5305] - fix unit test for aspect service

* [ADF-5305] - reverted changes to package-loc

* [ADF-5305] - removed unused changes

* [ADF-5305] - attempt to fix PR #§

* [ADF-5305] - attempt to fix PR #2

* [ADF-5305] - attempt to fix PR #3

* [ADF-5305] - attempt to fix PR #4

* [ADF-5305] - attempt to fix PR #5

Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
2021-02-17 11:13:35 +00:00
Alfresco Build User
f7f80bc013
[auto-commit] Update JS-API to 4.3.0-3224 for branch: update-js-api originated from JS-API PR: 3224 (#6689)
Co-authored-by: Travis CI User <travis@example.org>
2021-02-17 09:22:02 +00:00
arditdomi
76ac996c48
[AAE-3326] Content node selector - sort files by createdAt desc by de… (#6674)
* [AAE-3326] Content node selector - sort files by createdAt desc by default

* Fix process custom filter cloud e2e
2021-02-16 15:16:06 +00:00
Thomas Hunter
43ed8d7924
[AAE-4429] Add readOnly breadcrumb to upload from device tab (#6664)
* [AAE-4429] Add readOnly breadcrumb to upload from device tab

* [AAE-4429] Added unit tests

* [AAE-4429] Moved unit tests

* [AAE-4429] Removed breadcrumb title
2021-02-12 11:20:06 +00:00
Vito
eb9e555ba9
[ADF-5316] - Content Type (#6602)
* [ADF-5316] - added content type editing for nodes

* [ADF-5316] - added content type editing for nodes

* [ADF-5316] - fix unit test #1

* [ADF-5316] - fix unit test #2

* [ADF-5316] - fix unit test - final

* Removed failing lint word

* [ADF-5316] - added alfresco api real calls

* Build fixed

* [ADF-5316] - fixed second loop trigger on model

* [ADF-5316] - fixed unit tests

* [ADF-5316] - removed unused stream

* [ADF-5316] - fixed package.json

* [ADF-5316] - added missing unit tests

* [ADF-5316] - fixed wrong import

Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
2021-02-12 09:33:01 +00:00
Thomas Hunter
0ba2c7dc45
[AAE-4569] Added readOnly property to breadcrumb components (#6636)
* [AAE-4569] Added readOnly property to breadcrumb components

* [AAE-4569] Add method for testing if an anchor element should be used

* [AAE-4569] Add missing return type

* [AAE-4569] Add unit test
2021-02-09 11:57:42 +00:00
Cristina Jalba
60c1ea9fe6
[ACA-4265]Refactor attachFileFromLocal method
* Refactor attachFileFromLocal method
2021-02-07 11:18:10 +02:00
Eugenio Romano
f4976a1949
[ADF-4329][ASD-5330] plus Improve e2e (#6580)
Improve e2e
Fix SSO user avatar 
Fix Priority for APS1
2021-02-05 15:18:30 +00:00
arditdomi
37a3f25123
[AAE-4430] Upload from local tab visibility with info icon error message (#6592)
* [AAE-4430] Upload from local tab visibility with info icon error message

* Fix restore deleted site e2e
2021-02-04 17:44:33 +01:00
arditdomi
d362153e37
[AAE-4427] Embed upload progress dialog inside the upload from your d… (#6575)
* [AAE-4427] Embed upload progress dialog inside the upload from your device tab in attach file widget

* Fix failing unit tesT

* Add unit tests

* Removed not needed condition

* Make upload from your device tab same size as Repository tab

* Revert renaming causing breaking change

* simplify if conditions

* Update js-api version

* Use typescript ?. operator

* Add unit test for non existing datatable entries
2021-02-04 08:39:54 +00:00
arditdomi
099bec6f1d
[ACA-4262] Content node selector - show 2 tabs only in cloud attach file widget (#6578) 2021-01-26 15:57:17 +00:00
arditdomi
58f78bca52
[AAE-4426] Add upload from local tab in attach file widget (#6540)
* [AAE-4426] Add upload from local tab in attach file widget

* Align e2e with the new behaviour when uploading a file
2021-01-19 14:08:51 +00:00