1447 Commits

Author SHA1 Message Date
Cilibiu Bogdan
95587de864 [ADF-3530] Share file dialog - expiration date update (#3860)
* disable button when no selection

* fix date
2018-10-04 15:38:42 +01:00
Denys Vuika
54cca45ec1 [ADF-3630] fix i18n fallback behaviour (#3851)
* fix i18n fallback behaviour

* update tests

* update tests

* configuration fixes

* test configuration fix
2018-10-04 10:11:30 +01:00
Denys Vuika
06ffa96633 fix the share dialog button style 2018-10-03 14:31:43 +01:00
Cilibiu Bogdan
4ca80e13f1 [ADF-3530] Share file dialog - AC update (#3847)
* AC update

* use simple-snack-bar selector

* toContain matcher

* use fakeAsync for dialog content

* spy on snackbar component

* test NotificationService call

* tick

* use fixture whenStable
2018-10-03 09:53:25 +01:00
Eugenio Romano
fb7931d342
[LOC-83] Translation files 2.6.0 (#3844)
* translation files 2.6.0

* update i18n 2.6.0
2018-10-02 12:54:18 +01:00
Denys Vuika
5307c75492 share dialog regression fixes 2018-10-01 18:27:18 +01:00
Suzana Dirla
6237af79d3 [ADF-3536] Search categories get collapsed/expanded to initial state after applying filter (#3835)
* [ADF-3536] fix expanded/collapsed issue

* [ADF-3536] clean up code
2018-10-01 14:16:00 +01:00
Cilibiu Bogdan
42f4bee2b4 [ADF-3530, ADF-3598] Sharing files (#3828)
* share node

* lint fix

* createSharedLinks parameter

* remove es6 async

* use fakeAsync

* removed trailing comma

* e2e update dialog title locator

* Expires label localization

* docs update
2018-10-01 14:10:40 +01:00
Eugenio Romano
cf7d72a71b
Update ADF packages version 2.6.0-beta7 (#3841) 2018-09-29 10:51:23 +01:00
Marouan Bentaleb
5a6d8d8a2a [ADF-3331] Automated tests for Viewer Component (#3615)
* Automation tests for Viewer Component - Content Services

* Deleting alfresco-ng2-components.iml

* Updating Viewer Page for failing tests

* Adding tests for Viewer Component and some minor changes on Viewer Component - Content Services

* Removing some lines used to test

* Automation tests for Viewer component and Viewer component - Integration with Router + minor changes on tests for Viewer Component - Content Services

* Correcting an import + some improvement to the code

* Correcting tests for opening different file extensions

* Removing a console.log I forgot

* Refactoring the test in Viewer Component

* Refacotring using lint

* Adding browser refresh after each file type

* Moving tests to proper folder

* Minor changes

* remove faulty BE files from e2e

* fix test viewer

* fix process service tests

* fix test

* fix process test

* fix lint
timeout decrease

* increase some timeouts to fix CS e2e

* lint fix
2018-09-25 21:58:22 +01:00
Vito
a0b452bf83 [ADF-3499] adding new dialog for external content file (#3799)
* [ADF-3499] start creation of login dialog component with extra auth service feature

* [ADF-3499] adding new dialog for external content file

* [ADF-3499] fixed condition for pop up and added prefix ticket

* [ADF-3499] fixed smartfolder bug for content node selector

* [ADF-3499] disabling preview after uploading for external resource files

* [ADF-3499] fixed unit test for document list service

* [ADF-3499] added unit test to new components

* [ADF-3499] added translation and some fix

* [ADF-3499] fixed labels

* [ADF-3499] fixed problem with node and node entry for smart folders

* [ADF-3499] fixed compilation problem
2018-09-25 21:46:54 +01:00
Andy Stark
431bde3ddf [ADF-3587] Fixed doc comment problems (#3822)
* [ADF-3587] Fixed missing docs for accessor properties

* [ADF-3587] Fixed badly formed doc comments with deprecated tag

* [ADF-3587] Fixed linting issue with doc comment
2018-09-25 21:45:16 +01:00
Denys Vuika
580cd3440f emit success events on upload resume (#3824) 2018-09-25 16:23:14 +01:00
Eugenio Romano
6a269c460b angular conf change
coverage fix
2018-09-24 15:26:16 +01:00
Eugenio Romano
37ee3dbe21
Update ADF packages version 2.6.0-beta6 (#3818) 2018-09-24 14:11:03 +01:00
Eugenio Romano
ec633f27d6 fix null aspectNames in check for smart folder 2018-09-18 17:09:16 +01:00
Eugenio Romano
be816ec345 fix package warning 2018-09-18 14:27:25 +01:00
davidcanonieto
a6e61ac3a4 [ADF-2921] New Icon for Smart Folders (#3747)
* [ADF-2921] New Icon for Smart Folders

* [ADF-2921] Smart folder icon now  matches current theme

* [ADF-2921] Unit tests added and fixed

* [ADF-2921] Improved logic on Share Datatable Adapter
2018-09-14 17:54:22 +01:00
Andy Stark
58d765a355 [ADF-3551] Doc review updates (#3793)
* [ADF-3551] Updated docs and JSDocs

* [ADF-3551] Updated docs and JSDocs

* [ADF-3551] Updated docs and JSDocs
2018-09-14 14:41:25 +01:00
Andy Stark
a7cdcbf7b9 [ADF-3551] Doc review updates (#3789)
* [ADF-3551] Updated docs plus minor ToC tool fix

* [ADF-3551] Updated docs and JSDocs

* [ADF-3551] Updated docs and JSDocs
2018-09-13 18:08:47 +01:00
Andy Stark
3ba72f00f8 [ADF-3551] Updates for doc review (#3784)
* [ADF-3551] Updated doc comments

* [ADF-3551] Updated doc comments

* [ADF-3551] Doc files updated with new doc comments
2018-09-13 12:59:57 +01:00
davidcanonieto
978d4153ed Added show more/fewer items buttons in Tag List Component (#3770) 2018-09-12 13:33:18 +01:00
davidcanonieto
a1bc382074 [ADF-3119] Document list styles refactored for datatable thumbnails (#3766) 2018-09-12 13:32:48 +01:00
davidcanonieto
42d6d2351a [ADF-3529] Add permissions fix for IE 11 (#3778) 2018-09-12 13:23:57 +01:00
Cilibiu Bogdan
3857364b39 subscribe until destroyed (#3776) 2018-09-12 13:03:12 +01:00
Eugenio Romano
7ccbeee017
[ADF-2640] remove option configurable (#3772)
* add optional delete button in tag node list

* add demo

* fix lint
2018-09-12 10:05:03 +01:00
Suzana Dirla
6ddf028d93 [ADF-3510] Search facets date-range goes invalid when empty - fix (#3741) 2018-09-07 10:05:55 +01:00
Suzana Dirla
931181dee0 [ADF-3511] The error message for "Created date" fields is not the correct one when are no inputs - fix (#3742) 2018-09-07 10:05:13 +01:00
davidcanonieto
6ad37c1ecc [ADF-3455] Show more/less buttons in Search Radio Component hide when they are not necessary (#3734) 2018-09-06 14:01:06 +01:00
Denys Vuika
c0acc53eb9 [ADF-3501] PDF view fixes (#3735)
* PDF view fixes

* updated package.lock

* fix failing tests

* restore test

* use fake web worker for tests

* test fixes

* test fixes

* disable i18n test

* test fixes
2018-09-04 14:55:44 +01:00
Vito
ef9b130d4e [ADF-3340] fixed search for adding groups and users for searching containing words into names (#3738) 2018-09-04 09:59:49 +01:00
Eugenio Romano
1ceb26dd4d 2.5.0 update version 2018-08-14 15:43:22 +01:00
Denys Vuika
d39de25fe9 [ADF-3459] fix datepicker validation regression (#3697)
* fix datepicker validation regression

* improved validation message

* update libs
2018-08-14 15:43:21 +01:00
Vito
62f0804205 [ADF-3467] force the input to be updated when user type for removing … (#3693)
* [ADF-3467] force the input to be updated when user type for removing placeholder

* [ADF-3467] fixed error when search page is opened without any parameters to search
2018-08-14 15:43:14 +01:00
Suzana Dirla
cc9548b25a [ADF-3362][ADF-3361] Search on document picker with custom site list - fix (#3592)
* [ADF-3362] Search on document picker with custom site list - fix

* refactor & fix ADF-3361 & ADF-3362

* [ADF-3361][ADF-3362] set spy on the right method

* [ADF-3361][ADF-3362] fix tests

* [ADF-3361][ADF-3362] set constant

* [ADF-3361][ADF-3362] remove unused method

* [ADF-3361][ADF-3362] more relevant tests related to the fix

* [ADF-3362] refactor method

* [ADF-3362] fix tslint errors

* remove pagination override
2018-08-14 15:43:14 +01:00
Eugenio Romano
83b2857097 [ADF-2629] Fix infinite pagination and e2e parallel task (#3691)
* change infinite pagination logic
make merge in share adapter a real merge

* missing semi column

* type problem

* fix pagination infinite test

* tentative file detector

* add other remote files for webdriver

* parallel execution test

* fix refresh browser e2e

* missing driver remote in util
2018-08-14 15:43:13 +01:00
Denys Vuika
c2566697ea use default page size for wrong parameter value (#3687) 2018-08-14 15:43:08 +01:00
Suzana Dirla
6f313b7c37 [ADF-3435][ADF-3436] fix search chips (#3681)
* fix chip list remove

* fix tests

* better find criteria

* swap to fix e2e test

* set 'expanded' for facetFields from config

* fix e2e test

* remove comments
2018-08-14 15:43:04 +01:00
Eugenio Romano
c089c87630 [no-issue-e2e] directive crete folder new e2e (#3677)
* new folder directive e2e

* fix search test

* fix pr-deploy script
2018-08-14 15:42:56 +01:00
Eugenio Romano
c83731a283 fix search filter automation id 2018-08-14 15:42:50 +01:00
Denys Vuika
f606149344 [ADF-3380] lazy loading fixes (#3609)
* lazy loading file viewer

* fix issue with CoreModule referencing

* fix issue with app config and lazy loading

* test fixes

* fix import

* lazy loading workaround for content module

* fix providers for lazy loading

* fix tests

* lazy loading for Process Services lib

* lazy loading for Insights, module cleanup

* fix issue with Translate module, optimise imports

* lazy-load blob viewer (demo shell)

* remove duplicate pdf init

* update to more stable pdfjs

* fix license header

* fix lint issues

* fix test import

* fix pdf version
2018-08-14 15:42:50 +01:00
Vito
f3a513ca72 [ADF-2669] fixed style for confim buttons (#3668) 2018-08-14 15:42:49 +01:00
davidcanonieto
409acbcc9e [ADF-3372] Added toggle and global configuration to display metadata (#3636)
* [ADF-3372] Added toggle and global configuration to display metadata

* [ADF-3372] Fixed typo in shcema.json

* [ADF-3372] Removed unnecessary variables and variable name changed

* [ADF-3372] Fixed unit test

* [ADF-3372] Improved logic

* [ADF-3372] Improved Metadata component html logic

* [ADF-3372] Demoshell variable from app.config.json removed

* [ADF-3372] fixed bugs and tests

* [ADF-3372] fixed some error in tests

* [ADF-3372] fixed some wrong compilation in test

* [ADF-3372] fixed wrong locator

* [ADF-3372] fixed randomly failing tests
2018-08-14 15:42:49 +01:00
Suzana Dirla
18a21a59a5 [ADF-3400] fix buckets update on search filter (#3644)
* [ADF-3400] fix buckets update on search filter

* [ADF-3400] test facetFields bucket updates

* [ADF-3400] clean tests
2018-08-14 15:42:46 +01:00
Vito
5f86ac52bf [ADF-3418] added new languages strings for translation (#3663)
* [ADF-3418] added new languages strings for translation

* [ADF-3418] fixed some missing translation key
2018-08-14 15:42:46 +01:00
marouanbentaleb
68779e0426 E2E for multiselect facet search (#3657) 2018-08-14 15:42:44 +01:00
Denys Vuika
6b24bfb1d4 [ADF-3299] and [ADF-3300] upgrade to Angular and Material 6 (#3579)
* upgrade to HttpClient

* upgrade to Renderer2

* upgrade Document reference

* remove useless test with deprecated ReflectiveInjector

* upgrade to latest typescript

* upgrade libs

* upgrade package scripts

* remove rxjs blacklists and duplicate rules

* add rxjs compat to help with migration

* fix breaking changes

* fix breaking changes in material

* fix breaking changes (material 6)

* upgrade rxjs, ngx-translate and flex layout

* update unit tests

* restore providers

* upgrade deprecated Observable.error

* rebase
fix first configuration problems

* fix style issues commented

* fix core build

* fix lib template errors

* move lib test execution in angular.json

* ignore

* karma conf files

* fix import statement test

* single run option

* update packages reporter

* restore report

* increase timeout

* improve karma conf test configuration

* fix test issues about lint

* fix test analytics

* fix process service test

* content service fix test

* fix logout directive test

* fix core test

* fix build

* update node-sass to latest

* update angular cli dependencies

* improve build script

create directorites and move files only if previous command succeded

* upgrade individual libs to 6.0

* remove old webpack files

* revert sass change

* fix type issues
fix style issues

* fix tslint demo shell issue

* fix peerdependencies

* fix test e2e BC

* package upate

* fix style import issue

* extract-text-webpack-plugin beta

* fix test dist build command

* remove alpha js-api

* fix tslint issue
add banner tslint rule

* upload service fix

* change BC script

* fix test dist script

* increase demo shell timeout test

* verbose copy

* path absolute

* fix script bc

* fix copy part

* fix path warning
fix monaco editor

* remove duplicate header

* remove unused import

* fix align and check ago tests

* add missing import

* fix notification button selector

* [ANGULAR6] fixed core tests

* fix CS test

* fix cs test step 2

* increase travis_wait for dist

* fix attachment PS

* fix checklist test

* use pdf min
2018-08-14 15:42:43 +01:00
Eugenio Romano
a12662e7e2 [ADF-3384] Create automated tests for Version Component (#3631)
* fix version component restore and delete event

* version manager actions

* fix test

* fix unit test

* remove fdescribe

* fix tslint

* fix screenshot rewrite problem

* remove fdescribe

* multi instance try

* remove fdescribe

* try uncomment some test

* error page

* fix user preferences pagiantion

* search page test include

* fix type tslint e2e

* restore code

* default lang momentadapter

* fix test

* [ADF-3384] removed console log from test

* [ADF-3384] adding some fixes for tests and code

* [ADF-3384] fixed some test and code
2018-08-14 15:42:42 +01:00
Denys Vuika
94463a7505 add missing export (#3646) 2018-08-14 15:42:40 +01:00
Denys Vuika
6929f1f678 remove injectable decorator from non-services (#3641) 2018-08-14 15:42:39 +01:00