222 Commits

Author SHA1 Message Date
Eugenio Romano
3ef7d3b7ea [ADF-] update library to use new js-api 3.0.0 (#4097) 2019-01-08 16:29:30 +00:00
Eugenio Romano
ffd72b853f
fix peer-dependencies (#4080)
update codelyzer rules
2018-12-13 23:08:08 +00:00
Denys Vuika
220930d27b [ADF-3351] angular 7 (#3956)
* upgrade Angular CLI

* upgrade material and fix breaking changes

* upgrade lib dependencies

* upgrade i18n

* update test

* disable flaky tests

* try fix notification test

* update package-lock

* code and dependency fixes

* card view e2e fixes

* udpate e2e tests

* fix e2e utils

* updated e2e typings

* test fixes

* notification fixes

* update tests
2018-12-07 09:16:21 +00:00
davidcanonieto
1a21f234b6 [ADF-3746] Add style lint rules (#3975)
* add stylelint

* fix style first part

*  fix style second part

*  fix style third part

*  fix style fourth part

* Fix e2e tests first part

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* fix insights

* fix style abotu component

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* [ADF-3746] Rebase branch

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* Fix e2e tests second part

* Rebase branch

* Fix list error

* fix new style added

* tslint fix

* [ADF-3746] Fix scss errors on Process Filters Cloud component
2018-11-28 14:43:18 +00:00
Eugenio Romano
34a30c0f14
tslint arrow-parens rule (#4003) 2018-11-23 01:06:56 +00:00
Eugenio Romano
23022d6ca7
Update ADF packages version 2.7.0-beta5 (#3941) 2018-11-02 23:13:43 +00:00
Eugenio Romano
b37e37497d
Update ADF packages version 2.7.0-beta4 (#3926) 2018-10-28 19:19:18 +00:00
Denys Vuika
e39a2b149b [ADF-3591] spellcheck support for code (#3827)
* setup spellcheck
2018-10-23 15:05:38 +01:00
Eugenio Romano
56c8d16f7b fix readme pd cloud 2018-10-17 12:12:43 +01:00
Denys Vuika
f5a7b07370 [ADF-3593] remove rxjs-compat layer (#3886)
* remove rxjs-compat layer

* add rxjs linter

* observable new instead of create

* lint fixes

* disable rxjs-no-subject-value for certain scenarios

* fix auth rxjs
2018-10-16 19:45:00 +01:00
Eugenio Romano
0fc504b69e
reintroduce viewer test (#3888) 2018-10-16 08:35:05 +01:00
Eugenio Romano
c8aa627a84
Update ADF packages version 2.7.0-beta2 (#3884) 2018-10-13 11:13:00 +01:00
Eugenio Romano
db6ffa9ddf 2.6.0 version 2018-10-04 18:47:53 +01:00
Eugenio Romano
cf7d72a71b
Update ADF packages version 2.6.0-beta7 (#3841) 2018-09-29 10:51:23 +01:00
Eugenio Romano
37ee3dbe21
Update ADF packages version 2.6.0-beta6 (#3818) 2018-09-24 14:11:03 +01:00
Eugenio Romano
be816ec345 fix package warning 2018-09-18 14:27:25 +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
Eugenio Romano
1ceb26dd4d 2.5.0 update version 2018-08-14 15:43:22 +01:00
Mario Romano
6e1d7336ac [3463] add missing informations to report diagram (#3690) 2018-08-14 15:43:10 +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
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
b54ec57033 Update ADF packages version 2.5.0-beta2 (#3569) 2018-08-14 15:42:17 +01:00
Eugenio Romano
d4ebfb462e Update ADF packages version 2.5.0-beta1 (#3547) 2018-08-14 15:42:05 +01:00
Eugenio Romano
3063f739e3 bump 2.4.0 version 2018-08-14 15:41:57 +01:00
Eugenio Romano
4d4a8d2864
Update ADF packages version 2.4.0-beta14 (#3493) 2018-06-15 16:36:47 +01:00
Eugenio Romano
c66573939f
Update ADF packages version 2.4.0-beta13 (#3475) 2018-06-13 08:19:10 +01:00
davidcanonieto
3759a7967c ADF-2974] New Buttons Menu component version (#3429)
* [ADF-2974] Buttons injected from parent html component

* [ADF-2974] New version of buttons menu component

* [ADF-2974] Updated unit tests

* [ADF-2974] Updated documentation

* [ADF-2974] Removed unused variable

* [ADF-2974] Fixed failing test at analytics report parameters

* [ADF-2974] Removed fdescribe

* [ADF-2974] Moved mock inside testing file for buttons menu component
2018-06-07 00:07:54 +02:00
Eugenio Romano
c63dee50f1 remove fdescribe 2018-05-21 15:45:05 +01:00
Eugenio Romano
adc1d9cb95 fix failing tests replace ajax with spy 2018-05-21 15:44:38 +01:00
Eugenio Romano
fe0ac0e474
move tslint ADF rules in principal repo (#3247)
* move tslint ADF rules in principal repo

* fix style issues

* change pacakge.json position

* update to angular cli 6.0.0

* reorganization package.json

* remove node modules2 folder

* exclude integration

* rollback alfresco-js-api

* solve types problems

* fix pdf test

* fix errors and exclude two tests

* fix e2e

* fix test

* copy all the new packages in node_modules

* fix test

* fix packaging script

* scss issue fix

* move test export in tools
2018-05-04 17:13:45 +01:00
Eugenio Romano
bb664a283b
Update ADF packages version 2.4.0-beta2 (#3252) 2018-05-01 11:26:41 +01:00
davidcanonieto
b2b3625929 [ADF-2650] Error with rootDir at insights folder fixed (#3215)
* [ADF-1939] Responsive button to edit reports

* [ADF-1939] Removed unused dependencies in material module

* [ADF-1939] Edit buttons now use flex layout

* [ADF-2650] Report action menu component created

* [ADF-2650] Added Button Model

* [ADF-2650] Buttons component finished

* [ADF-2650] Buttons menu component moved to core library

* [ADF-2650] Included index.ts in core/buttons-menu

* [ADF-2650] cleaned the module and public api file

* Revert "[ADF-2650] Included index.ts in core/buttons-menu"

This reverts commit 6bdf1f2f48a30bb4622eb4c000e5318370503710.

* [ADF-2650] Applied the peer review changes

* [ADF-2650] Comment removed

* [ADF-2650] Failing tests fixed

* [ADF-2650] Dynamic theming for analytic reports

* [ADF-2650] Themes not ap
2018-04-26 14:56:05 +01:00
Denys Vuika
382ea3c1b3 unit test performance (#3194)
* DataTable (-4 sec)

* PaginationComponent (-1 sec)

* DocumentList

* custom testbed setup, test upgrades

* test fixes

* more test fixes

* remove fdescribe

* test fixes

* test fixes

* more test fixes

* test fixes

* upgrade tests

* update tests

* upgrade tests

* upgrade tests

* upgrade tests

* upgrade tests

* update tests

* translate loader fixes

* auth and cookie fixes

* upgrade tests

* upgrade tests

* test fixes

* almost there

* diable broken tests

* process tests (part 1)

* fix lint issues

* another test upgrade

* almost there

* cleanup

* insights testing upgrade

* improve tests

* tests cleanup

* tests cleanup

* cleanup tests

* test cleanup

* favorite nodes tests

* rebase fix syntax

* fix core test

* give up test focus

* flush tabs

* fix search test

* Update document-list.component.spec.ts

* fix document list lock

* increase tick time

* remove duplicate test
2018-04-23 09:55:22 +01:00
Eugenio Romano
5a255d27fd
Update ADF packages version 2.4.0-beta1 (#3222) 2018-04-20 22:23:38 +01:00
Eugenio Romano
89af79029a
Update 2.3.0 version (#3207) 2018-04-17 17:40:50 +01:00
Eugenio Romano
eff3ea83b0
Update ADF packages version 2.3.0-beta10 (#3193) 2018-04-14 19:11:53 +01:00
Eugenio Romano
6cd0e9f5bb
[ADF-2645] move the service use in the upload in the right place (#3189)
[ADF-2645] move the service use in the upload in the right place 
[ADF-2687] No message is displayed when deleting a file/folder from content action
[ADF-2714] [demo shell] Not able to download a version of a file

* add spaces tslint fix
2018-04-14 10:39:24 +01:00
Eugenio Romano
a4da697b7e
[ADF-2586] change export org for AOT (#3170)
* change export org for AOT

* update CLI and remove memory hack

* remove unused import

* right type
2018-04-11 14:04:05 +01:00
Denys Vuika
4293bbba83 upgrade ng-packagr (#3156)
* upgrade ng-packagr

* restore js-api vesion

* restore compiler version

* revert demo shell update package
2018-04-10 02:08:42 +01:00
Eugenio Romano
f78d5e2865
Update generator to use packages version 2.3.0-beta7 (#3153) 2018-04-08 16:18:59 +01:00
Denys Vuika
ed48994e67 [ADF-2128] facet container component (#3094)
* (wip) facet container

* shaping out the API

* code lint fixes

* radiobox facet example

* fields selector facet

* search limits support

* scope locations facet example

* move custom search to 'search.query' config

* use facet fields and queries from the config file

* use facet filters

* use facet buckets in query

* preserve expanded/checked states

* code cleanup and binding fixes

* fix apis after rebase

* extract query builder into separate class

* code improvements

* full chip list (merge facet fields with queries)

* placeholder for range requests

* move search infrastructure to ADF core

* cleanup code

* auto-search on init

* move search components to the content services

* selected facets chip list

* split into separate components at ADF level

* move the rest of the implementation to ADF

* facet builder fixes and tests

* translation support for category names

* docs placeholders

* update language level

* unit tests and packaging updates

* fix after rebase

* remove fdescribe

* some docs on search settings

* rename components as per review

* simplify chip list as per review

* turn query builder into service

* improve search service, integrate old search results

* fix node selector integration

* move service to the top module

* update tests

* remove fdescribe

* update tests

* test fixes

* test fixes

* test updates

* fix tests

* code and test fixes

* remove fit

* fix tests

* fix tests

* remove obsolete test

* increase bundle threshold

* update docs to reflect PR changes

* fix docs
2018-03-29 11:34:08 +01:00
Eugenio Romano
99abef0b0a add deprecated tag for old double tag 2018-03-29 11:02:12 +01:00
Eugenio Romano
9e2969b955 [ADF-2569] fix reload app.config.json (#3124)
* fix reload app.config.json

* improve style mobile
fix test

* test karma setup update

* fix core providers test

* remove unused providers

* use mock api in service test

* skip test in the wrong place

* remove comma

* remove fdescribe
2018-03-28 11:01:04 +01:00
Eugenio Romano
b84e716fe5
Update generator to use packages version 2.3.0-beta5 (#3120) 2018-03-26 10:57:20 +02:00
Eugenio Romano
c578529b15
[ADF-2514][ADF-2517][ADF-2143] Fix build isssues (#3097)
* fix remove angular folder problem

* fix npm import cli

* fix search module

* fix comment

* fix tsconfig output

* es 20016 tsconfig

* travis add demo shell dist

* exclude datapicker process services

* demo shell script fix

* bundle check new build

* add simulate publish

* invert publish

* test distribution

* improve sh help

* uncomment script

* finally got the guilty piece of code

* run e2e
2018-03-20 11:53:11 +00:00
Eugenio Romano
ad57efc7fc bump 2.2.0 2018-03-05 13:14:05 +00:00
Eugenio Romano
45426fd246
[no-issue] speed up test CS part 2 (#3009)
* remove tag and rating service the testbed

* remove unused import in modules

* pdf viewer async

* viewer test fixed

* remove testbed share datatable

* remove unused dependencies

* add missing parameter

* remove testbed from folder actions service

* TaskHeaderComponent async

* remove testbed from document actions and list

* remove unused import

* use done for nested test

* fast finish false
2018-02-28 17:15:52 +00:00
Eugenio Romano
8a36adb469
new translated files 2.2.0 (#2979) 2018-02-22 11:46:58 +00:00
Denys Vuika
2f69383c44 [ADF-2316] upgrade ngx-translate (#2956)
* upgrade ngx-translate

* add missing export

* add missing export

* Update test-e2e-bc.sh

* rxjs fixes

* increase timeout test

* lettable operator translate
2018-02-20 18:39:57 +00:00
Eugenio Romano
239772bbb2
update moment.js to last version (#2939) 2018-02-13 14:00:21 +00:00