Commit Graph

446 Commits

Author SHA1 Message Date
Eugenio Romano
558056b05c test if we can remove compatibility (#7064)
remove compatibility
2021-06-10 14:38:12 +02:00
Dharan
9a2a62255f [ADF-5369] HTTP 500 response in adf-upload-button is emitted as a success event (#7087)
* [ADF-5369] HTTP 500 response in adf-upload-button is emitted as a success event

* [ci:force] unit test fixed
2021-06-08 09:00:04 +01:00
Dharan
91d813e6f1 [ACA-4464] Add user/groups - should not be able to select the same user multiple times (#7066) 2021-06-03 14:41:02 +01:00
siva kumar
2a9b406491 [AAE-4974] FE - Remove scroll bar from empty "Upload from your device" list (#7049) 2021-06-01 09:46:33 +01:00
Denys Vuika
e94b2f99bd [ADF-5406] SCSS and HTML template path fixes (#7063)
* remove useless mixin

* fix scss paths

* style fixes

* fix styles

* style fixes

* style fixes

* style fixes

* style fixes

* insights fixes

* css and template path fixes

* bug fixes
2021-06-01 09:21:00 +01:00
Thomas Hunter
bbbdcbdaa5 [AAE-5145] Add enum for content node selector actions (#7039)
* [AAE-5145] Add enum for content node selector actions

* [AAE-5145] Fix lint and unit tests

* Order imports back to original order

* Rename to NodeAction
2021-05-25 13:02:42 +01:00
Dharan
4b3a7f41f0 [ADF-5231] The protected flag for properties should not be editable (#7056) 2021-05-25 13:01:22 +01:00
Dharan
4c1e462364 [ACA-4454] The create library button should get disabled after being clicked once (#7046) 2021-05-24 09:22:25 +01:00
Vito
c533b4ec35 [ACA-4445] - disabled edit aspect button on content card for ACS version below 7 (#7043) 2021-05-19 17:18:57 +01:00
Gloria Camino
2335143546 LOC-300 Second commit of updated UI files in 16 languages (#7036) 2021-05-17 16:44:16 +01:00
Dharan
3339a0ddd9 [ACA-4421] [Edit Aspects] Apply button should be disabled by default (#7035) 2021-05-17 15:50:34 +01:00
Sushmitha V
6aac131b0a [ADF-5397] Resolved - selection count should show at the end (#7037) 2021-05-17 15:25:56 +01:00
Sushmitha V
f3ada4ef85 [ACA-4409] Resolved - More button is displayed on Destination Picker … (#7018)
* [ACA-4409] Resolved - More button is displayed on Destination Picker on a folder even if its files are not displayed

* [ACA-4409] Updated param names

* [ACA-4409] Refactored the changes

* Removed fit and fdescribe

* Resolved lint error
2021-05-14 17:17:41 +01:00
Sushmitha V
68db27bc91 [ACA-4422] Resolved - Edit Aspects Dialog should close when pressing ESC (#7022)
* [ACA-4422] Resolved - Edit Aspects Dialog should close when pressing ESC

* [ACA-4422] Fixed unit test failure

* [ACA-4422] Resolved unit test errors
2021-05-14 16:32:23 +01:00
Dharan
65e3a21c25 [ACA-2864] Site Managers are not able to disable inherit permissions … (#7021)
* [ACA-2864] Site Managers are not able to disable inherit permissions in DW/ACA

* * added test cases

* * fixed lints

* * [force ci] remove mispell
2021-05-14 18:42:57 +05:30
Silviu Popa
dfc636441c [ACA-4325] - disable upload button on upload new file version begin (#7017)
* [ACA-4325] - disable upload button on upload version begin

* Update upload-base.spec.ts

* disable upload button only on version upload component

* PR changes

* change to started

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2021-05-12 17:17:41 +01:00
Thomas Hunter
c96b6ea36f [AAE-5124] Show counter only when attaching files (#7011)
* [AAE-5124] Show counter only when attaching files

* Reset package-lock.json

* Add another unit test

* Fix unit test
2021-05-12 16:42:49 +01:00
Dharan
e603486b00 [AAE-5139] User name style and Discovery service initialization fix (#7010)
* [AAE-5139] User name style fix and Discovery serice fixed

* * fixed unit test

* * fixed test and us latest js-api events

* * tests fixed

* * update js api

* * fixed test and lint
2021-05-12 00:10:21 +05:30
Gloria Camino
e74705d66d LOC-300 Updated UI files in 16 languages (#7014) 2021-05-11 15:28:59 +01:00
siva kumar
7882e0377e [AAE-5128] [APA] Drag and Drop template is broken on Upload from your device tab (#7013) 2021-05-11 15:23:34 +01:00
Dharan
87d87a4ce1 [ACA-4407] unit test for data table custom header (#7004)
* [ACA-4407] unit test for data table custom header

* * fix icon size
2021-05-10 13:15:05 +01:00
davidcanonieto
bd805cb34b [ADF-5390] [ADF-5391] Add multivalue cardview for Date, Datetime, Integers and Decimal properties. (#6980)
* [ADF-5390] Addd multivalue cardview for Date, Datetime, Integers and Decimal properties

* Fix unit test

* Fix linting

* Fix e2e tests

* fix e2e

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2021-05-09 04:05:26 +01:00
Dharan
884d646078 [ACA-4361] Review permission list (#6974)
* [ACA-4361] permission ux review

* * fixed comments and lint

* * remove space
2021-05-05 14:13:34 +01:00
Eugenio Romano
184b20364b fix swsdp in breadcrumb (#6967) 2021-05-04 15:11:00 +01:00
Thomas Hunter
9cbae9abd8 [AAE-5021] Add listPeople method to PeopleContentService (#6947)
* [AAE-5021] Add listPeople method to PeopleContentService

* lint

* Replace Person with EcmUserModel

* Update imports to @alfresco/adf-core

* Change to const + lint
2021-04-28 16:50:53 +01:00
Vito
431f273b07 [ADF-5362] - enabiling properties refresh on ADW/ACA (#6952) 2021-04-27 16:45:48 +05:30
Dharan
534c013754 [ACA-4361] should be able to change permission if search service is down (#6948)
* should be able to change permission if search service is down

* Update node-permission.service.ts

* Update node-permission.service.spec.ts

* Update node-permission.service.spec.ts
2021-04-26 17:44:11 +01:00
Dharan
0635b7fd06 [ACA-4361] permission layout modified (#6937)
* * reusable data table column moved

* [ACA-4361] permission layout modified

* * build fixed

* fix build

* * import fixed

* * null safety operation

* * fixed comments

* * fix lint

* * wait for reload list

* * remove sleep

* * add sleep

* * fix comments

* * fix comments

* * floating promises fix

* * remove wait
2021-04-23 08:50:28 +01:00
Vito
066a68497d [MNT-22207] - resetting query fragment when clicking Reset all button on search filters (#6928) 2021-04-16 09:39:40 +01:00
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
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
Denys Vuika
a244200258 Name column fixes (#6904) 2021-04-07 12:00:05 +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
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 e21b777a3c.
2021-03-09 20:13:07 +01: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
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 e96617a676.
2021-03-03 10:00:33 +01: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