1358 Commits

Author SHA1 Message Date
siva kumar
eb5d0da079
[ACA-3603] Destination picker is not opening on My Files when clicking on Attach file widget (#5865)
* [ACA-3603] Destination picker is not opening on My Files when clicking on Attach file widget

* *

* * Fixed failing unit tests

* * Used openFileBrowseDialogByFolderId
2020-08-13 12:45:01 +01:00
Eugenio Romano
418202cb24
update doc node selector and interface (#5987) 2020-08-13 11:15:12 +01:00
Gloria Broadbent
edd172dc9b
LOC-244 - All localised files in 16 languages for ADF 4.0 release (#5980) 2020-08-12 17:17:55 +01:00
Denys Vuika
4aa936bb9c
use people api and new js api where possible (#5888)
* use people api and new js api where possible

* fix code and tests

* cleanup tests
2020-08-12 13:45:48 +01:00
Vito
16d74ccf05
Fixed parent changing for search header (#5975)
Co-authored-by: Vito Albano <vitoalbano@Vitos-MacBook-Pro.local>
2020-08-12 08:46:19 +01:00
Eugenio Romano
e2958b9988
update documentation 4.0.0 (#5968) 2020-08-10 18:06:51 +01:00
Vito
61cac20ab3
Readded column key as key parameter (#5960)
* Readded column key as key parameter

* Fixed failing unit test
2020-08-07 09:37:40 +01:00
siva kumar
88433fe4b9
[AAE-3200] Attach button of content node selector becomes enabled when selecting a folder (#5946)
* [AAE-3200] Attach button of content node selector becomes enabled when selecting a folder

* * Removed  excluded test from the protractor.exludes.json file
2020-08-04 09:21:37 +01:00
Eugenio Romano
c66ad49f03
Order by folder (#5945) 2020-08-03 14:09:42 +01:00
Vito
85183ead0d
[ACA-3542] - added sorting for filters (#5932)
* [ACA-3542] - added sorting for filters

* [ACA-3542] - removed wrong parameter

* [ACA-3542] - fixed test with fixed sorting mode parameter

* Update content-node-selector-panel.component.html

* fix e2e

* fix delete site

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-08-03 10:30:14 +01: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
Denys Vuika
6dde9779cd
fix drop effect (#5925)
* fix drop effect

* remove old comment

* update tests
2020-07-30 11:54:42 +01:00
Eugenio Romano
f6bf60eb49
minor cosmetic fix filter (#5927) 2020-07-29 17:15:53 +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
Maurizio Vitale
c7237486df
[AAE-3113] Node selector - Be able to restrict the breadcrums to a specific root (#5912)
* Be able to restrict the breadcrums to a specific root

* Add unit test for breadcrumbs restriction

* Fix refresh
2020-07-29 12:46:37 +01:00
Eugenio Romano
1581cfc662 fix change on nodeSelector interface 2020-07-28 17:27:18 +01:00
siva kumar
efc6432d1c
* Made selectMode optioanl on contentNodeSelectorInterface (#5921) 2020-07-28 13:35:31 +01:00
Vito
01a068550f
Put folder on top by default (#5918) 2020-07-28 09:13:04 +01:00
Urse Daniel
7c09fb1fb9
added functionality to view a previous version (#5913) 2020-07-27 09:29:29 +01:00
Maurizio Vitale
1dde6bb1c5
[AAE-3115] Content node selector - Ability to select multiple files (#5904)
* Ability to select multiple files

* Fix unit test

* Rename event into NodeSelected

* restrict the typo

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

Co-authored-by: Denys Vuika <denys.vuika@alfresco.com>
2020-07-24 10:12:51 +01:00
Vito
30c5c58d40
[ACA-3672] - added server order for document -list (#5899)
* [ACA-3672] - added sorting server side for document-list

* [ACA-3672] - added and fixed unit tests for backend order

* [ACA-3672] - fixed failing test

* [ACA-3672] - regenerated doc and renamed variable

Co-authored-by: Vito Albano <vitoalbano@Vitos-MacBook-Pro.local>
2020-07-23 14:04:05 +01:00
Cilibiu Bogdan
5257917258
[ADF-3484] - Metadata drop-down list option for properties constrained by a list of values (#5892)
* update js-api

* include definition field

* process LIST constraint

* update tests

* dropdown visibility

* optional chaining
2020-07-21 22:46:46 +01:00
Maurizio Vitale
826bd32e60
[AAE-3114] Ability to restrict search to a root folder (#5890)
* Ability to restrict the search to a specific root in case there is no site concept

* Add unit test

* Initialize the siteId with root

* Fix unit test

* Reuse existing property and add boolean

* add new line before extect

* Rename to restrictSearchToCurrentFolderId

* Typo

* Rename property into doc
2020-07-21 22:46:19 +01:00
Vito
3b7f3a5762
[ACA-3506] - Filter are kept when reloaded (#5885)
* [ADF] - saving in the url the filter values

* Fixed filter status on refresh

* Fixed filter status on refresh

* [ACA-3506] - added url filtering save

* [ACA-3506] - fixed spellcheck

* improve log

* more log

* fix scripts

* Added documentation for allowUpdateOnChange setting

* Added default value in description for docs

Co-authored-by: Vito Albano <vitoalbano@Vitos-MacBook-Pro.local>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-07-20 11:39:51 +01:00
Urse Daniel
e293aa048e
fix on click function when in plain upload mode (#5876) 2020-07-16 14:19:09 +01:00
Baptiste Mahé
b968e8702e
[ADF-5175] Fix clear button removing multiple filter (#5869) 2020-07-16 11:55:33 +01:00
Baptiste Mahé
00c839cc9f
[ADF-5177] Pressing enter close filter menu (#5875) 2020-07-16 11:54:14 +01:00
Baptiste Mahé
586562c4dd
[ADF-5180] Add keyboard accessibility for filters (#5868) 2020-07-15 10:48:05 +01:00
dhrn
8ac683d164
[ACA-3613] Inconsistent role value between library views (#5855)
* [ACA-3613] Inconsistent role value between library views

* [ACA-3670] Inconsistent empty role value between library views

* fixed ut
2020-07-14 09:44:01 +01:00
Eugenio Romano
3fc7b0d95f tag fix body 2020-07-13 15:54:53 +01:00
Maurizio Vitale
42d88fdaa9
[MNT-21595] Content - Expose a group service for content (#5833)
* Expose a group service for content

* Use nx command and remove smart-build
2020-07-13 12:22:54 +01:00
Vito
529aea77b1
[ADF-5178] - add translation for filters (#5843) 2020-07-08 09:10:00 +01:00
Vito
30e980837a
[ADF-5176] - fixed apply when no value is given (#5841)
* [ADF-5176] - added check for when values are empty for headers

* [ADF-5176] - added test for the clear check
2020-07-07 17:07:49 +01:00
Baptiste Mahé
4ae484c617
[ADF-5177] Search-header execute when enter is pressed (#5840)
* [ADF-5177] Filter execute on enter key down

* [ADF-5177] Add unit test
2020-07-07 09:08:03 +01:00
Vito
6001ff801e
[ADF-5175] - perform the search when at least one filter is active (#5836)
* [ADF-5175] - perform the search when at least one filter is active

* [ADF-5175] - removed wrong attempt

* [ADF-5175] - removed unused import
2020-07-06 11:53:23 +01:00
Denys Vuika
a1077756fc fix peer dependencies 2020-07-06 07:46:10 +01:00
Denys Vuika
298fec08c1 production builds for CI runs 2020-07-03 18:25:49 +01:00
Denys Vuika
f691dc90dc
cleanup dependencies and fix versions (#5835)
* remove core-js

* fix lib versions

* remove unused lib

* upgrade rxjs
2020-07-03 18:08:37 +01:00
Denys Vuika
cd2b489100
[ADF-5146] Upgrade to Angular 10 (#5834)
* remove useless module

* upgrade to angular 8

* upgrade material to v8

* upgrade adf libs

* migrate demo shell to v8

* upgrade to angular 9

* upgrade material to v9

* remove hammer

* upgrade nx

* upgrade datetime picker

* upgrade flex layout

* update core api

* remove entry components

* code fixes

* upgrade testbed usage

* code fixes

* remove unnecessary core-js from tests

* upgrade CLI

* ts config fixes

* fix builds

* fix testing config

* compile fixes

* fix demo shell dev setup

* fix core tests

* fix card view import

* upgrade nx

* disable smart builds for now

* remove fdescribe

* restore smart builds

* fix issues

* unify tsconfigs and fix newly found issues

* fix configuration and cleanup package scripts

* improved production build from the same config

* use ADF libs directly instead of node_modules

* disable smart build

* single app configuration (angular)

* fix core build

* fix build scripts

* lint fixes

* fix linting setup

* fix linting rules

* various fixes

* disable affected libs for unit tests

* cleanup insights package.json

* simplify smart-build

* fix content tests

* fix tests

* test fixes

* fix tests

* fix test

* fix tests

* disable AppExtensionsModule (monaco example)

* remove monaco extension module

* upgrade bundle check rules

* fix insights tests and karma config

* fix protractor config

* e2e workaround

* upgrade puppeteer and split linting and build

* reusable resources config

* update protractor config

* fix after rebase

* fix protractor config

* fix e2e tsconfig

* update e2e setup

* Save demoshell artifact on S3 and remove travis cache

* Push the libs on S3 and fetch before releasing it

* Add deps

* Add dependencies among libs and run only affected unit test and build

* fix the travis stage name

* fix after renaming dev to demoshell

* force the order of the projects

* remove unused dependencies

* fix content e2e script

* exit codes fix

* add extra exit codes to core e2e

* postinstall hook and package cleanup

* cleanup packages

* remove deprecated code and dependency on router

* improve bundle analyzer script

* minor code fixes

* update spec

* fix code after rebase

* upgrade protractor after rebase

* fix e2e mapping lib

* Update tsconfig.e2e.json

* update e2e tsconfig

* fix angular config

* fix protractor runs

* cache dist folder for libs

* update material selectors for dropdowns

* selector fixes

* remove duplicated e2e that have unit tests already

* fix login selector

* fix e2e

* fix test

* fix import issues

* fix selector

* cleanup old monaco extension files

* cleanup demo shell login

* add protractor max retries

* disable customisations of protractor

* fix login validation

* fix after rebase

* fix after rebase, disable latest versions of libs

* Hide the report tab and rollback the localstorage

* rename protractor config back to js

* restore lint as part of build

* cleanup code

* do not copy anything to node_modules on dist test

* fix unit tests

* config fixes

* fix code

* fix code after rebase

* fix tests

* remove existing words from spellcheck

* remove useless directive decorators

* update package.json after rebase

* add js-api back

* code fixes

* add missing export

* update configs

* fix code

* try fix the sso login test

* fix

* remove puppeteer unit

* fix e2e script

* fix

* make provider easy

* fix routes module before upgrade

* fix unit tests

* upgrade angular cli

* upgrade to angular 10

Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-07-03 13:01:05 +01:00
Eugenio Romano
af47361f15 bump 3.9.0 2020-06-29 18:09:23 +01:00
Eugenio Romano
5180493aa8
[ACA-3507] [ACA-3523] Fix Filters (#5821)
* fix search one letter
fix navigation
add new property search text prefix and suffix

* fix unit test

* fix unit test

* fix failing test
2020-06-29 17:27:52 +01:00
Vito
e589fdc3bf
[ACA-3520] - fixed providing by default of the service (#5813) 2020-06-25 18:47:42 +01:00
Baptiste Mahé
0fcff58c04
[ACA-3527] Add check to activeFilters update (#5817)
* [ACA-3527] Add check to activeFilters update

* [ACA-3527] Add unit test
2020-06-25 17:08:50 +01:00
Gloria Broadbent
c0d1ef2216
ALL 16 LANGUAGES: Fix for LOC-231 - updated localised UI files for ADF 3.9 (#5811) 2020-06-24 14:06:15 +01:00
Baptiste Mahé
1daffc050c
[ACA-3426] Add translate pipe to search-header tooltip (#5804)
* [ACA-3426] Add translate pipe to search-header tooltip

* [ACA-3426] Get tooltip translation from member

* [ACA-3426] Refactor template
2020-06-22 22:22:39 +01:00
Vito
adfa9e2d80
[ACA-3426] - reverted method renaming (#5803) 2020-06-22 17:41:05 +01:00
Eugenio Romano
75b6c436d3
documentation review (#5802) 2020-06-22 15:20:00 +01:00
Vito
af70e22cd9
[ACA-3426] - removed not used color code (#5801) 2020-06-22 12:05:34 +01:00
Vito
29d953e2d1
ACA-3426 - Search Headers for Document List (#5800)
* [ACA-3426] Move filter-menu inside search and renamed as search-header

* [ACA-3426] adf-search-header removed from document-list and implemented in app-files

* [ACA-3426] Allow custom header filters inside document-list

* [ACA-3426] Decouple search from the document-list

* [ACA-3409] NodePaging ouputed to the DL

* [ACA-3426] - fixed injection for service

* Dev baptiste aca 3430 (#5773)

* [ACA-3430] Add style to filter and hide action buttons from facet widgets

* [ACA-3430] Update eventEmitter created in the DL and create  unit tests for the search-header

Co-authored-by: BaptisteMahe <mahe.baptiste.19@gmail.com>

* [ACA-3426] - added parent for service

* [ACA-3426] - added parent for service - fixed method

* [ACA-3426] Revert update EventEmitter inside DL

* [ACA-3436] Use of the node input instead of nodeUpdate mehtod

* [ACA-3426] Add clear behaviour to search-header

* [ACA-3426] Remove useless update exposition

* [ACA-3426] Update filter button styles and padding inside the filter menu

* [ACA-3443] Propagate filters states through DL and datatable to avoid hiding the header

* [ACA-3426] Refactor showHeader logic and use it for the filters

* [ACA-3426] - fixed pagination for filter result

* [ACA-3426] - fixed messed files after rebase

* [ACA-3426] - added simplified config version

* [ACA-3426] - enabling created by filter

* [ACA-3426] Fix search-date-range apply method

* [ACA-3426] Fix loading style and default showHeaderMode

* [ACA-3426] Changed showHedaer default to always

* [ACA-3426] - stabilised the feature and added injection token

* [ACA-3426] Add unit test for showHeader new behaviour

* [ACA-3426] Add documentation to search-header

* [ACA-3426] - added parent filtering for special folders

* [ACA-3426] - added unit test for search header

* [ACA-3426] - fixed search fitler behavour

* [ACA-3426] - fixed search result inject service

* [ACA-3426] - fixed search result inject service for search sorting

* [ACA-3426] - fixed title for matching selector

* [ACA-3426] - fixed app config with missing search widget

* Update search-header.component.md

Co-authored-by: BaptisteMahe <mahe.baptiste.19@gmail.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-06-22 09:24:57 +01:00
davidcanonieto
2baae61cc5
[ADF-5161] Add query token injection for search query builder (#5799)
* [ADF-5161] Add query token injection for search query builder

* Improve logic
2020-06-20 10:59:48 +01:00