162 Commits

Author SHA1 Message Date
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
Denys Vuika
e39a2b149b [ADF-3591] spellcheck support for code (#3827)
* setup spellcheck
2018-10-23 15:05:38 +01:00
davidcanonieto
77a6f1e902 [ADF-3614] Fix styling bug in Custom Sources Page (#3845) 2018-10-01 19:36:12 +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
davidcanonieto
9c82507d5c [ADF-3532] IE Datatable layout fix (#3787) 2018-09-13 16:20:26 +01:00
davidcanonieto
a1bc382074 [ADF-3119] Document list styles refactored for datatable thumbnails (#3766) 2018-09-12 13:32:48 +01:00
Denys Vuika
5b534c409f [ADF-3494] date format fix (#3762)
* fix date formats for columns

* fix date formatting for columns

* fix data binding support
2018-09-10 14:43:57 +01:00
Eugenio Romano
c6f56a2c2a
Improve build stages (#3744)
* travis precache

* rb change

* remove ut

* add cache warm up

* Prepare cache fix

* add test

* use env variabble to tag

* use env to label stages

* move lint step at start

* use dist for e2e

* upload dist in alfresco

* modify permissions

* travis script node

* remove polyfills

* revert some changes

* fix demo shell run test

* solve download

* revert debatable gallery change
2018-09-05 12:40:03 +01:00
davidcanonieto
567d172176 [ADF-3119] Gallery mode layout fixed for document list (#3731) 2018-09-04 11:18:49 +01:00
Denys Vuika
db0b9ae2e0 [ADF-3494] fix formatting for date columns (#3733)
* fix date formats for columns

* fix date formatting for columns
2018-09-04 10:27:32 +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
Vito
05da97d3b9 [ADF-3336] added more tests for Document list component (#3635)
* [ADF-3336] start adding test for documentlist

* [ADF-3336] fixed test for permission message

* [ADF-3336] start adding test custom column type

* [ADF-3336] - added documentlist tests - PART I

* [ADF-3336] removed fdescribe

* [ADF-3336] fixed error on files component

* [ADF-3336] - unified all the diverging tests into one file

* [ADF-3336] fixed label for test

* [ADF-3336] removed fdescribe

* [ADF-3336] added sorting tests and some fix

* [ADF-3336] added other automations

* [ADF-3336] stabilising some flaky tests

* [ADF-3336] added line height check

* [ADF-3336] Test that needs to be fixed

* [ADF-3336] commented failing search tests

* [ADF-3336] removed locator from test and added to page object

* ]
[ADF-3336] rebased after last changes on development

* [ADF - 3336] added more test and actions for the test

* [ADF-3336] reenabled disabled tests

* [ADF-3336] reenabled disabled tests

* [ADF-3336] reenabled disabled tests

* [ADF-3336] reenabling disabled tests

* [ADF-3336] fixing process service integration tests

* [ADF-3336] removed comments and skipped two tests

* [ADF-3336] added thumbnails tests

* [ADF-3336] added tooltip documentlist tests

* [ADF-3336] added tooltip tests

* [ADF-3336] added gallery view tests

* [ADF-3336] removed comment

* [ADF-3336] fixed selectors and check for document list test
2018-08-14 15:42:39 +01:00
davidcanonieto
edf82d9c05 [ADF-2765] Fix for the gallery view in datatable component (#3470)
* [ADF-2765] Fix for the gallery view in datatable component

* [ADF-2765] Fixed lint errors

* [ADF-2765] Changed maximum columns per row number

* [ADF-2765] Removed trailing whitespace
2018-08-14 15:42:09 +01:00
davidcanonieto
c7e3319e4c [ADF-3199] Datatable layout fix (#3481) 2018-08-14 15:41:58 +01:00
siva kumar
d914115f82 [ADF-3196] [Task list / Process list] - The 'Task details' are not diplayed for the selected Task (#3483)
* [ADF-3196] [Task list / Process list] - The 'Task details' are not displayed for the selected Task

* * After rebase
2018-06-15 13:02:23 +01:00
Vito
af2cde0791 [ADF-3196] fixed task selection and double click (#3484) 2018-06-14 16:42:28 +01:00
Vito
d41e3d5b9c [ADF-3175] renabling upload on single target folder row (#3473) 2018-06-13 12:51:45 +01:00
Denys Vuika
6f2cbdf697 [ADF-2859] fixes for the conditional visibility and disabled states (#3465)
* fixes for the conditional visibility and disabled states

* update docs

* cleanup code

* remove unused code
2018-06-11 12:53:09 +01:00
Denys Vuika
1d69f5c407 restore historical selection order (#3467)
* restore historical selection order

* fix test
2018-06-11 11:15:09 +01:00
Vito
6cad49a88e removing wrong fdescribe (#3461) 2018-06-08 12:00:37 +01:00
Denys Vuika
cb88a22a76 [ADF-2859] conditional evaluation of disabled state for content actions (#3450)
* react on [disabled] binding changes

* [disabled] binding updates for context menu items

* evaluating disabled state with a function

* unit test

* restore original description

* remove irrelevant test

* fix tests
2018-06-08 00:28:00 +02:00
Eugenio Romano
08fd49c4e3
[no-issue] error image resolver mimetype should not be part of datatable (#3415)
* move error image custom logic form datatable to documentlist

* change travis

* [fix-test-log] added optional function to data row interface

* [no-issue] fixed datatable tests

* [no-issue] fixing tests
2018-06-08 00:27:01 +02:00
Denys Vuika
35d2a0b683 [ADF-3131] fix selection order for DT/DL (#3433)
* fix selection order for DT/DL

* remove fit
2018-06-05 14:38:45 +02:00
Denys Vuika
6909c459a8
[ADF-3115] a11y fixes (#3424)
* a11y fixes for search input

* a11y fixes for pagination

* a11y fixes for content actions
2018-06-01 13:22:47 +01:00
siva kumar
d4f57b8786 [ADF-3039] Task List - Enanchement (#3404)
* * Created DataColumnSchemaAssembler component to get column schema from html and app.config.json
* Removed column related  method  from tasklist.

* * Removed data property from the tasklist component
* Using rows input property instead of data input property of the datatable

* *  Renamed  DataColumnSchemaAssembler to DataTableSchema
* Refactored DataTableSchema component

* * Changed schem property into an  input schemaColumns property  in dataTable component

* * Added selectFirstRow input property to select a first row of datatable
* Removed unnecessary method from tasklist component

* * Added test case for the recent changes
* Added mock object for the tasklist spec

* * Added testcases for recent changes in the datatable component

* * Updated datatable and tasklist document for the recent changes

* * Refactored process-service and task list component
* Updated datatable document.

* [ADF-3039] Task List - Enanchement
* Changed schemaColumn name to columns
* Updated datatable documentation.
*  data input Annotated  with @deprecated in the tasklist component

* * Added an sorting input to the datatable.
* Updated datatable and tasklist documentation
* Added method to get current sorting order.

* * After rebasing

* * Revert  sorting changes

* * After rebase

* * fixed conflicts

* * Fixed failing testcase after rebased.
2018-06-01 09:39:09 +01:00
Denys Vuika
3162a73f61 [ADF-2541] reset datatable selection when rows are changed from code (#3410)
* reset selection when rows are replaced from code

* code fixes

* unit test updates

* visualise selection count for testing purposes

* make row selection api public

* remove question mark from the event name
2018-05-30 12:53:12 +02:00
siva kumar
9eae0fcc8f [ADF-3082] Task Filter - Custom Task filters don't work (#3402)
* [ADF-3082] Custom Task filters don't work.

* Added an sorting input to the datatable.
* Updated documentation for the recent changes.
* Added testcases for the recent changes.

* [ADF-3082] Custom Task filters don't work

* Added a sorting input to the datatable
* Added testcases to the recent changes.
* Updated doc for the recent changes.

* * Refactored task/process list dataSort.

* * Refactored process/task list datasort method
2018-05-30 09:27:08 +01:00
Eugenio Romano
eb0f91c5db fix random test failing part 2 (#3395)
* fix random failing test core search/comment/auth/user

* fix node delete directive

* fix lint issues

* node restore fix

* fix comment test

* remove fdescribe

* fix tests and tslint

* fix upload test

* unsubscribe success event task test

* copy comment object during test

* use the data pipe performance improvement and standard usage

* uncomment random test

* fix comment date random failing test

* disposable unsubscribe

* fix start process

* remove fdescribe

* change start process test and remove commented code

* fix error event check double click

* clone object form test

* refactor date time test

* fix service mock

* fix test dropdown and context

* git hook lint

* fix language test

* unsubscribe documentlist event test

* fix disposable error

* fix console log service error document list

* unusbscribe search test

* clear input field

* remove wrong test
2018-05-29 10:18:17 +01:00
camorra-skk
ed283c7386 [ADF-3041] TaskList Component - Empty State issue. (#3345)
* [DW-635] Empty State Component

* [DW-635] Empty State Component

* [DW-635] Empty state Issue

* [DW-635] Use empty state component and custom empty directive

* [ADF-3041] Documentation for TaskList Component - Empty State issue.
2018-05-24 19:01:06 +02:00
Vito
5e7eb08383 [ADF-2608] added a fix to handle selection on slow connection problem (#3350)
* [ADF-2608] added a fix to handle selection on slow connection problem

* [ADF-2608] fixed test for datatable
2018-05-22 14:09:27 +01:00
davidcanonieto
e94ce4602b [ADF-2739] Improved breadcrumb logic (#3287)
* [ADF-2739] Long names in breadcrumb fixed

* [ADF-2739] Updated styles

* [ADF-2739] Fixing @mixin for breadcrumb

* [ADF-2739] Waiting for changes in demo-shell

* [ADF-2739] Fixed @mixin

* [ADF-2739] Fixed issue related to breadcrumb position

* [ADF-2739] Improved ngOnChanges call for breadcrumb

* [ADF-2739] Fixed issues with lint

* [ADF-2739] Removed comment in dropdown breadcrumb component file

* [ADF-2739] Changed recalculateNodes method from public to protected
2018-05-14 12:18:49 +01:00
Denys Vuika
589af266d4 fix aot error 2018-05-10 20:45:36 +01:00
Vito
d2cfbeadb5 [ADF-2699] added localisation for time ago pipe (#3298)
* [ADF-2699] added localisation to the time-ago pipe

* [ADF-2699] added lang to time ago pipe

* [ADF-2699] added localisation for time ago pipe

* [ADF-2699] removed fdescribe

* [ADF-2699] removed comments

* [ADF-2699] removed useless default values
2018-05-10 19:41:02 +01:00
Denys Vuika
6e5d6ea3bb
[ADF-2930] general purpose "Empty Page" component (#3296)
* empty content component

* fix selector name

* style fixes

* cleanup code

* docs for empty content

* update docs

* update docs

* use typography for icon

* layout fixes for Login (ported from ACA)
2018-05-10 16:13:53 +01:00
davidcanonieto
ebfc40b1c8 [ADF-2760] Toolbar and datatable background colours fixed (#3250)
* [ADF-2760] Toolbar and datatable background colours fixed

* [ADF-2760] Improved variables for background colors

* [ADF-2760] comment removed

* [ADF-2760] fixed for dark themes
2018-05-02 09:59:01 +01:00
Eugenio Romano
a8ea0d9b96 revert datatable change style 2018-04-27 17:09:13 +01:00
davidcanonieto
321c57c78f [ADF-2739] Long names in breadcrumb fixed (#3245) 2018-04-27 13:08:19 +01:00
Denys Vuika
edee2f12b6 [ADF-2589] conditional visibility for DL/DT components (#3223)
* watch data columns and update layout if needed

* update docs

* support DataTable, docs and tests
2018-04-24 10:06:32 +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
Vito
5cd554e85e [ADF-2529] click will unselect the selected row (#3188)
* [ADF-2529] click will unselect the selected row

* [ADF-2529] removed wrong comment
2018-04-18 12:28:21 +01:00
Eugenio Romano
0a8438954b [ADF-2455] fix properly fall back datatable thumbnail
fix search node selector
drop down list style
2018-04-17 01:19:59 +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
Alex Bolboșenco
12df7500da [ADF-2455] Fallback thumbnail fix (#3164)
* Show default icon when thumbnail image is broken

* Remove thumbnails prop from demo-shell

* Unit test added
2018-04-10 18:27:21 +01:00
Vito
bc979ad661 [ADF-1714] added selection mechanism for enter key pressed on datatable (#3157) 2018-04-09 16:07:16 +01:00
Andy Stark
ea0f783015 [ADF-2451] Reviewed component docs (#3113)
* [ADF-2451] Reviewed component docs

* [ADF-2451] Updated review date on tasklist service docs
2018-03-22 17:27:30 +00:00
Eugenio Romano
ae489f6737
[ADF-2240] fix e2e and test in demo shell (#3035)
* fix e2e and test in demo shell

* test single run demo shell conf

* fix script e2e

* fix test lint problems

* remove async from nested test

* fix pdf test

* modify url load pdf strategy test

* SimpleChange import

* pdf viewer test fix

* remove force closing

* refactor pdf viewer
-remove promise approach
-add event rendered
-add destroy worker

* increment timeout

* use proxy files

* remove require

* fix viewer component test

* remove last require

* prefer use of done for txt viewer test
2018-03-09 12:16: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
4e05e78846
fix empty datatable hiding the header (#3003) 2018-02-26 14:57:27 +00:00