Commit Graph

98 Commits

Author SHA1 Message Date
Maurizio Vitale
cec9297e14 [AAE-8639] Discovery OpenId - Load discovery and pass info to jsapi (#7632)
* Load discovery and pass info to jsapi

* fix the roles empty scenario tests

* Make lint happier

* Rename the initApi method

* Add secret field

Co-authored-by: arditdomi <ardit.domi@hyland.com>
2022-05-13 19:03:06 +01:00
Bartosz Sekuła
7629797408 [AAE-7817] Show hide columns on datatable (#7580)
* [AAE-7817]  Show hide columns for data-table

* Update

* update tests and uses material harness

* added pipes test

* update

* update

* added tests for datatable

* update

* Added documentation

* Fix for drop column header

* lint fix

* fix lint
2022-05-10 19:09:26 +02:00
Tomasz Gnyp
3dc9f7cdfd [AAE-7765] Improved display mandatory form fields (#7531)
* [MNT-22765] Improved display mandatory form fields

* [MNT-22765] added unit tests

* [MNT-22765] fixed test with error icon on rest fail

* Trigger travis

* [MNT-22765] removed underscore from var name

* [AAE-7765] removed underscore from unit test

* [AAE-7765] fixed css lint

* [AAE-7765] fixed e2e error message css class

* [AAE-7765] fixed storybook e2e
2022-03-07 18:29:12 +00:00
siva kumar
4ffa338585 [AAE-6660] FE - [ADF] Linked dropdown still contains old options when the rest api does not return results (#7454)
* [AAE-6660] FE - [ADF] Linked dropdown still contains old options when the rest api does not return results

* * Added unit tests to the recent changes done on dropdown.

* * Improved error message

* My empty commit to kick start travis

* * Fixed lint errors

* * Fixed css lint error

* * Fixed failing unit test
2022-01-24 14:47:44 +05:30
Eugenio Romano
7c7b1eadf3 remove depend on from the general render (#7442) 2022-01-10 13:58:10 +01:00
Eugenio Romano
c8688bf0bf [ACA-4382 ] About Page refactoring to use it across all the platform (#7365)
* about page refactor for global usage

* Development About

* add storybook

* fix build

* fix

* fix

* fix imports

* fix

* fix lint

* fix

* fix

* fix

* fix
2021-11-23 10:30:10 +00:00
arditdomi
79d54ea4e4 [AAE-6025] - Resolve linked dropdowns during runtime (#7289)
* Resolve linked dropdown during runtime, Draft commit

* Remove app from appconfig

* Make the link work for Saved and Completed tasks

* Call the new API to fetch dropdown options in case of rest type

* When widgetId is missing from restUrl

* Update unit tests

* Declare default option

* Rebase, remove appName example

* Maurizify the PR

* Fix lint error

Co-authored-by: Ardit Domi <arditdomi@apl-c02g64vpmd6t.home>
2021-11-01 00:30:55 +00:00
Sushmitha V
f14d333281 [AAE-6165] Add capability in the Attach File of displaying metadata fields in addition to file name (#7324)
* [AAE-6165] Add capability in the Attach File of displaying metadata fields in addition to file name

* Minor css styling adjustments

* [AAE-6165] Changes done for date datatype and table css

* [AAE-6165] Changes done as per the comments

* [AAE-6165] Changes done as per comments on PR

* Resolved failing lints

* Updated CSS for attach file widget

* Updated css

* Updated UT

* Resolved e2e failures

* Resolved e2e errors

Co-authored-by: amohammedalfresco <abdul.mohammed@alfresco.com>
2021-10-31 23:40:57 +05:30
Urse Daniel
f5c29a5ec8 [ADF-5377] Viewer: Image Crop (#6977)
* changed dependency

* Update lib/core/viewer/components/img-viewer.component.ts

Co-authored-by: Denys Vuika <denys.vuika@alfresco.com>

Co-authored-by: Denys Vuika <denys.vuika@alfresco.com>
2021-05-06 15:21:15 +01:00
Urse Daniel
e8ffe8e35e [ADF-5378] ADF Previewer: Image Rotate + Save (#6958)
* updates including cropperJS

* update on rotation + unit tests

* small fix

* hide toolbar on save

* remove unused & duplicate method

* added readonly & prettier code

* include readOnly mode to hide/show media management actions

* updated dependencies

* fix emit spy

* ADF-5378: Fix failing e2es

* Fix comments for unit tests

* ADF-5378: Removed obsolete buttons from e2e

Co-authored-by: kristian <kristian.dimitrov@alfresco.com>
Co-authored-by: adomi <ardit.domi@alfresco.com>
2021-05-01 15:54:37 +01:00
Denys Vuika
145c05321d improved language picker (#6890)
* improved language picker

* fix import path

* update tests
2021-04-06 10:35:41 +01: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
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
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
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
davidcanonieto
94ec7d06a7 [AAE-4529] Refactor Notification History Component (#6620)
* [AAE-4529] Refactor Notification History Component

* Improve code

* Add maxNotifications

* More changes

* Add documentation

* Rebase branch

* Fix build

* Update notification-history.component.md

* Fix e2e tests

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2021-02-08 15:12:53 +00:00
Pablo Martinez Garcia
5d8d5f56f3 [ATS-854] Add media tracks to player from webvtt rendition (#6626)
* ATS-854 Add media tracks to player from webvtt rendition

* ATS-854 Fix condition

* ATS-854 Fix lint

* ATS-854 Move logic to media player

* ATS-854 Fix angular.json

* ATS-854 Fix error
2021-02-08 09:49:09 +00:00
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
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
Denys Vuika
13e86833f9 fix error message for CSRF (#6259) 2020-10-16 13:38:38 +01:00
Cilibiu Bogdan
3da5196b2d [ACA-3899] Viewer thumbnails cannot be accessed by keyboard (#6150)
* accessibility

* add thumb focus

* close thumbs list event

* fix eventbus listener

* rename parameter

* track previous focused element

* implement FocusKeyManager

* fix getGlobalEventBus is deprecated

* keyboard navigation

* set tabindex

* setActiveItem on list change

* update  test
2020-09-23 05:57:46 +01:00
Cilibiu Bogdan
fb24c572fa update i18n strings (#5966) 2020-08-10 19:01:20 +01:00
Cilibiu Bogdan
9b0db0a82e [ADF-5213] Metadata - select list filter (#5961)
* select filter input component

* include theme

* add filter input

* show input conditionally

* convert value to string for d:int type values

* filter list options pipe

* add components to module

* convert int value to string

* i18n

* update tests

* tests

* update config

* remove unneeded decorator

* fix lint

* update schema

* remove filter pipe

* provide a filtered list
2020-08-09 23:35:46 +01:00
siva kumar
b8a3afce01 [ACA-3551] Show vs View button for attach widget. (#5850) 2020-07-31 10:31:12 +02:00
arditdomi
d553c71b1e [AAE-3110] Move upload button inside the node selector dialog (#5901)
* Open select dialog on all types, fetch destination folder from a relative path

* Dialog UI refactor, multiple upload from local

* Fix document list should automatically reload after upload

* Remove not used ViewChild

* Fix imports, read destination folder from form field

* support different alias

* Remove not needed property, reuse selection mode

* Remove unused methods

* Fix unit tests

* * Added unit tests
* Fixed failing unit tests

* * Added unit for upload button
* Skipped failing e2e

* * Removed process-storage related code

* * Removed unncessory model and code
*

* * Removed contentHost from formCloud model

* * Skiped content-services e2e

* Skip failing process e2e related to attachment

Co-authored-by: sivakumar414ram <siva.kumar@muraai.com>
Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
2020-07-31 06:38:58 +01:00
Cilibiu Bogdan
f1a98cc6d6 [ACA-3745] Folder - update metadata default copies the name in the title field (#5923)
* add title input

* title form control

* i18n

* update tests
2020-07-29 14:02:59 +01:00
Cilibiu Bogdan
aa3d890342 [ACA-3742] Metadata - constraints validation (#5908)
* card min max value validator

* card match value validator

* card value length validator

* map validators to constraint type

* add minmax

* update exported validators

* register validators based on constraint type

* translate errors with parameters

* tests
2020-07-24 16:58:07 +01:00
davidcanonieto
6806504a65 [ADF-3726] Add copy to clipbouard support to card view properties (#5565) 2020-03-25 13:42: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
Chris Rodriguez
707b7fe6b3 chore: added always visible label to sort, i18n (#5438) 2020-02-07 17:16:48 +00:00
Mark Hulbert
1bfead2cd3 [ADF-5048] Review UI strings (#5406) 2020-01-27 13:12:55 +01:00
Eugenio Romano
142e142ccb [ACA-2567] - sortable (#5402)
* chore: aca-2567 accessibility for sortable columns

* chore: sortable table accessibility update

* fix: refactor sortable table headers into function

* chore: updated sort by text

Co-authored-by: Mark Steadman <47225088+Steady5063@users.noreply.github.com>
2020-01-25 16:13:30 +01:00
Chris Rodriguez
f27b94017a [ACA-2474] adding instructions to the calendar for use (#5387)
* chore: adding instructions to the calendar for use

* chore: updating lockfile

* chore: fixing package

* chore: updated html for test

* chore: adding instructions to the calendar for use

* chore: updating lockfile

* chore: fixing package

* Wchore: updated html for test

* chore: removed unnused random string gen

* chore: synced lockfile; removed unnused prop
2020-01-25 15:04:23 +01:00
Taylor
7d14e3fe86 [ACA-2605] - fix: add aria-label to toggle button (#5397)
* fix: add aria-label to toggle button

* fix: swap label to use translation key and pipe
2020-01-25 14:49:48 +01:00
Eugenio Romano
3cf12fca49 fix readonly attach file scenarios (#5365) 2020-01-14 00:14:11 +01:00
siva kumar
9c2bcdee1a [ADF- 4871][TaskHeaderCloudComponent] Add Candidate Users/Groups properties (#5189)
* [ADF-4871] [TaskHeaderCloudComponent] Add Candidate Users/Groups properties

* Added Candidate users/groups properties to the task heade cloud component.

* * Created CardViewArrayItemComponent
* Modified FullName pipe to return username or email incase fullname missing.
* Added candidate Users/Groups properties to the taskcloudheader component.
* Added two service into task-cloudservice
* Updated Demoshell card-view with new widget

* * Fixed failing unit test

* * Fixed comments.

* * Refactored CardViewArrayItem model
* Fixed comments.

* * Changed candidate group icon
2019-10-29 09:26:34 +00:00
Martin Muller
da154bb58f [ADF-4972] CLONE - Header - sidenav menu button aria-label not translatable (#5178)
* Make aria label fron header sidenav toggle button translateable

* Make aria label fron header sidenav toggle button translateable

* Make aria label fron header sidenav toggle button translateable
2019-10-24 12:58:03 +01:00
Cilibiu Bogdan
922e6ae3ab add aria-label attribute (#5138) 2019-10-08 10:30:06 +01:00
Andras Popovics
14800ce399 [ADF-4896] Merging AMA and ADF notifications for a better world 2019-10-07 10:57:26 +01:00
Suzana Dirla
3d604140d8 generic text (#5105) (#5121) 2019-10-02 18:56:10 +01:00
Eugenio Romano
bcacd8b42e [ADF-4810] fix sso settings (#5108)
* fix sso settings

* fix test

* update-js-api

* update-js-api

* invert test order for some reason
2019-09-30 13:32:17 +01:00
Eugenio Romano
4709cda51e localization 3.5.0 (#5112) 2019-09-30 12:00:59 +01:00
Denys Vuika
178740bbde [ADF-4921] upload widget fixes (#5109)
* upload widget fixes

* fix mocks
2019-09-29 13:48:01 +01:00
Cilibiu Bogdan
492a8e72f1 generic text (#5105) 2019-09-27 10:55:40 +01:00
Denys Vuika
90b2cee70d [ADF-4894] Json editor dialog (#5082)
* move download-zip to its own folder

* json dialog

* update docs

* update test

* disable e2e test

* json widget for the Form

* remove deprecated test

* fix tests, update display text name
2019-09-20 07:26:37 +01:00
Cilibiu Bogdan
d5b4caa5ed [ADF-4892] DocumentList - set appropriate column aria-sort state (#5079)
* set specific aria-sort state

* return false when table has no sorting

* move logic to component

* aria sort method

* tests
2019-09-18 15:21:35 +01:00
Cilibiu Bogdan
5b11e52903 [ADF-4888] DocumentList - cell header title is announced over cell value (#5068)
* fix focus outline

* focus on cell values

* focus on size value if defined

* row actions menu aria-label
2019-09-12 15:04:43 +01:00
Cilibiu Bogdan
bf6889ee54 [ADF-4831] DocumentList - filetype alternative text is not meaningful (#4998)
* filetype alternative text

* icons text translation key

* icon text accessibility translation

* fix e2e

* add miscellaneous file type
2019-09-05 11:50:28 +01:00
davidcanonieto
c6ddfe46cf [ADF-4816] Move localization keys for About component from demo-shell to core (#5007) 2019-08-29 14:59:07 +01:00