1249 Commits

Author SHA1 Message Date
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
davidcanonieto
1def8000f0
[ACA-3317] Split About component into smaller components (#5708) 2020-05-18 09:39:58 +01:00
davidcanonieto
22acd3f6e6
[ADF-5143] Fix Checkbox widget value parsing (#5706) 2020-05-14 23:52:09 +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
arditdomi
a8c252db8b
[ACA-3245] Fetch alfresco repo name from an API (#5676)
* [ACA-3245] Fetch alfresco repo name from an API

* [ACA-3245] Take the repo name from the API only when it is not defined in the app config

* [ACA-3245] Remo alfresco-1 as default in app.config service

* [ACA-3245] Remove passing null argument when calling getRepositories function

* [ACA-3245] Revert removing function parameter includeAccounts

* [ACA-3245] Add tenantId as optional

* [ACA-3245] Revert method

* [ACA-3245] Change both parameters to optional

* [ACA-3245] Rename param
2020-05-13 20:56:29 +01:00
Denys Vuika
f6801b1997
[ADF-5106] fix stencil registration (#5694)
* customize services on the module level

* improved service registration
2020-05-13 19:31:49 +01:00
Eugenio Romano
b76bb750dc
[ACA-1606] use new api siteservice (#5693)
* use new apu siteservice

* refactor import

* added getSiteMembershipRequests

Co-authored-by: Cilibiu Bogdan <bogdan.cilibiu@ness.com>
2020-05-13 14:08:31 +01:00
siva kumar
6da489a7ff
[ACA-3235] FE - Should not include invisible fields in payload on Start/Save adf-form. (#5681)
* [ACA-3235] FE - Should not include invisible fields in payload on Start/Save adf-form.

* * Added unit test to the recent changes
2020-05-13 10:26:12 +01:00
Silviu Popa
f850d7ed38
[AAE-2537] - fix mark as read notification (#5667)
* [AAE-2537] - fix mark as read notification

* lint

* fix unit test

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-05-13 01:20:19 +01:00
Baptiste Mahé
c5b4888126
[ADF-5131] Radio buttons display below label (#5672) 2020-05-11 11:36:49 +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
Cilibiu Bogdan
373025c3b4
disable floating labels (#5669) 2020-05-04 16:42:33 +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
davidcanonieto
7627b01bb1
[AAE-2487] Fix Checkbox Widget bug (#5657) 2020-04-30 13:19: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
Vito
444ebcdfd8
[ACA-1894] - fixed missing behaviour for drag&drop (#5641) 2020-04-24 22:39:44 +01:00
Vito
6fea3b8cdd
[ACA-1894] - added the possibility to filter whenever is possible by … (#5633)
* [ACA-1894] - added the possibility to filter whenever is possible by file path

* [ACA-1894] - fixed linting

* [ACA-1894] - reverted dynamic app config service refresh

* [ACA-1894] - added extra example in upload docs

* Update upload.service.md

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-04-24 14:25:49 +01:00
Baptiste Mahé
1f5215cd38
[ACA-2523] Fix text color of comment user icon (#5635) 2020-04-23 17:52:46 +01:00
arditdomi
b3c004eb46
[ACA-3174] Add custom icons for processes and tasks (#5631) 2020-04-22 13:39:45 +01:00
Baptiste Mahé
f5c08f041e
[ACA-2523] Update comment text colors (#5627) 2020-04-21 21:27:10 +01:00
Denys Vuika
122bd9face
[ADF-5106] allow to redefine form widgets (APS 1.x and cloud) (#5601)
* create failing test

* fix form and start form widget registration

* update cloud form
2020-04-21 15:47:09 +01:00
Baptiste Mahé
3f69a6d3a9
[ACA-2556] Change checking and welcome colors in login button (#5618) 2020-04-17 17:06:23 +01:00
Maurizio Vitale
e53c46464b
[ACA-2734] Fix API - Return an error in case the response isn't a json (#5622)
* Return an error in case the response isn't a json

* fix comma
2020-04-17 13:57:39 +01:00
Maurizio Vitale
e56331fecb
[ACA-2948] Add API to fetch the bpm properties (#5610)
* Add the api to fetch the bpm properties

* remove useless map

* Use latest api

* Use the BehaviorSubject

* filter the status true
2020-04-16 17:23:00 +01:00
Baptiste Mahé
55a5cc073b
[ACA-2520] Opacity of tab label of info drawer set to 1 (#5615) 2020-04-16 14:42:24 +01:00
Baptiste Mahé
b4399059dc
[ACA-2523] Change comment colors (#5617) 2020-04-16 14:40:52 +01:00
Baptiste Mahé
bb74dbf9a0
[ACA-2476] Fix color contrast in mat-calendar (#5609) 2020-04-15 15:58:50 +01:00
Arik Sidney Guggenheim
d089283aa4
[#5561] Translate notification action value (#5604)
* [#5561] Translate action value

* Fix lint issues
2020-04-14 12:34:38 +01:00
Maurizio Vitale
83e362d31a
Ability to check if loggedIn based on provider (#5598)
* Provide a way to check if loggedIn based on provider

* Fix the comments

* Add schema validation for provider
2020-04-08 16:43:36 +01:00
dhrn
79cb328205
[ADF-1881] Consolidate NodeService and NodesApiService (#5591)
* [ADF-1881] Consolidate NodeService and NodesApiService

* * docs added
2020-04-06 15:21:54 +01:00
Eugenio Romano
cbb7555175 change title and description 2020-04-06 14:10:40 +01:00
Eugenio Romano
5baba9bf0a modify logo ACA-2934 2020-04-06 14:09:19 +01:00
Urse Daniel
4f8aa8d4be
added indeterminate state for the 'select all' checkbox + unit test. (#5590) 2020-04-06 13:01:03 +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
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
Baptiste Mahé
50f19c99f2
[ADF-5091] Fix undefined accent variable (#5584) 2020-03-31 13:52:25 +01:00
Baptiste Mahé
19ad789436
[ADF-5091] Change info drawer labels color (#5571) 2020-03-30 18:20:06 +01:00
Baptiste Mahé
e48bb60083
[ADF-5090] Change color of input button (#5570) 2020-03-30 18:18:12 +01:00
Baptiste Mahé
04b6a3e399
[ADF-5092] Change card view label color (#5572) 2020-03-30 18:16:22 +01:00
Urse Daniel
8f3f5b3879
[ADF-4933] Adding keydown event on data row to simulate double click when pressing 'enter' key (#5564)
* changing the event on row from keyup to keydown to fix the issue of reopening the file after closing ussing only keyboard (opening and closing the file by enter)

* Reverting the 'onRowKeyDown' to not make a breaking change and added a new method to handle the opening file using 'enter' key

* Added unit test - it should emit double click if keydown "enter key" on row

* Small changes for clean coding
2020-03-27 16:33:44 +00:00
davidcanonieto
6806504a65
[ADF-3726] Add copy to clipbouard support to card view properties (#5565) 2020-03-25 13:42:35 +00: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
Denys Vuika
772188c13d
calendar card item a11y fixes (#5563) 2020-03-24 11:02:33 +00:00
davidcanonieto
144da83d0e
[ADF-4559] Add chips to multivalue metadata properties (#5552)
* [ADF-4559] Add chips to multivalue metadata properties

* Fix app config schema

* Restore app config

* Fix checkListIsSorted method

* Fix e2e datatable sorting

* Fix e2e tests

* Improve chips input
2020-03-23 13:02:01 +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