Commit Graph
100 Commits
Author SHA1 Message Date
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
Eugenio Romano 39f76a11c4 fix conflict link creation id (#3412) 2018-05-30 12:46:23 +01:00
Eugenio Romano 7e59b24f2c fix demo shell gallery view switch (#3413) 2018-05-30 12:30:01 +02: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
Eugenio Romano 7e67257b8a first part random test fix (#3376)
fixing random test executions first part
2018-05-23 01:23:54 +01:00
Eugenio Romano e8cf6f6f38 fix no content node display (#3351) 2018-05-21 16:44:16 +01:00
Eugenio Romano 8fae47639c fix breadcrumb align in object picker (#3353) 2018-05-21 16:23:07 +01:00
Eugenio Romano 9e3a4aa49f [ADF-2563] Improve versioning functionality (#3335)
* change input with textarea

* update file version use now the update content API

* provide way to test read only mode version list

* fix test

* test fix
2018-05-17 11:35:42 +01:00
Eugenio Romano 9772b2308a about component (#3337) 2018-05-17 09:58:22 +01:00
Eugenio Romano 35ee120d5c [ADF-2821] move module sidebar action menu (#3321)
* move module sidebar action menu

* fix core import test

* remove sidebar module

* skip error

* skiperror old versions
2018-05-15 17:15:56 +01:00
Eugenio Romano 4ced4164bf pipeline-update (#3309)
* deploy PR script
2018-05-14 16:05:27 +01:00
Eugenio Romano faeab853f7 Update content-metadata.component.md 2018-05-09 15:36: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
Eugenio Romano b18b041ade add reset pagination (#3239) 2018-04-26 15:15:02 +01:00
Eugenio Romano 8872706eab [ADF-2563] Upload new version information dialog (#3235)
* add majorVersion param
move common part in base class

* refactor upload queue

* fix after refactoring

* add comment functionality in versioning
add minor and major option in versioning
add animation in versioning
add new functionality in demo shell

* add animation test

* add missing properties test and base upload class

* fix reload after new version upload [ADF-2582]

* update documentation

* update doc and fix minor style issues

* fix tslint error

* change cachebuster

* ADF-2672 version manager disable buttons

* [ADF-2649] hide show actions in version list

* fix tests
2018-04-26 14:57:55 +01:00
Eugenio Romano 5a255d27fd Update ADF packages version 2.4.0-beta1 (#3222) 2018-04-20 22:23:38 +01:00
Eugenio Romano 30758f95e9 save package-lock.json (#3209) 2018-04-18 14:23:22 +01:00
Eugenio Romano 5e5b0a9207 add docker ignore file (#3210) 2018-04-18 12:27:50 +01:00
Eugenio Romano 89af79029a Update 2.3.0 version (#3207) 2018-04-17 17:40:50 +01:00
Eugenio Romano adfc5adba8 Merge branch 'master' into development 2018-04-17 15:16:19 +01:00
Eugenio Romano c8cbc8d645 fix cdk scrollable sidenav (#3204) 2018-04-16 22:42:22 +01:00
Eugenio Romano e4b9d775a2 [ADF-2695] DocumentList content action documentation (#3198)
* update action component documentation

* fix after review
2018-04-16 15:48:19 +01:00
Eugenio Romano 62f91b567c [ADF-2682][ADF-2714][ADF-2719] fix issues folder navigation and messages releated (#3196)
* [ADF-2687] No message is displayed when deleting a folder from content action
[ADF-2714] Not able to download a version of a file
[ADF-2682] Number of page doesn't change when navigating to another folder
Expand lock documentation

* fix test init
2018-04-16 14:02:44 +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 f8d1480f29 [ADF-2682] Fix pagination, bradcrumb, general reload scenarios (#3184)
* skipcount page reset in new folder

* fix files component reload multiple times

* fix folderNode scenario
2018-04-13 10:08:02 +01:00
Eugenio Romano 007cc1d1fc i18n update 2.3.0 (#3185) 2018-04-12 19:53:15 +01:00
Eugenio Romano 8b4af90b46 restore PS xit tests (#3173) 2018-04-11 17:23:56 +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
Eugenio Romano 5f8b41411a [NO-ISSUE] RE enable failing test (#3168)
* restore viewer test

* fix content node selector breadcrumb tests

* fix skipped test

* notification service uncomment test

* remove duplicated test
exclude dialog test
2018-04-11 09:03:03 +01:00
Eugenio Romano 07c247ca11 [ADF-2500] fix trashcan bug plus refactoring documentlist (#3136)
* [ADF-2500] The full content of Trashcan is not displayed.

fix pagination problem and add tests

* refactor code

* custom resources services

* move custom resources in separate service part 2

* move custom resources in separate service part 3

* move isCustomResources in custom resources

* move getCorrispondinNodeIds in custom services

* reorganize code

* add pagination interface

* remove permissions check document list and use the common cs method
remove the merge option and move it in the paginator

* make infinte scrolling always use the target

* restore loading infinite page

* fix license header

* fix type problems

* breadcrumb test service

* fix test

* export CustomResourcesService

* fix test pagination

* fix content ndoe test

* remove timeout content node selector test

* fix after rebase

* ripristinate observalbe in search service

* fix wrong type return stub document list test

* fix search service

* fix test document list

* move handle error in common method

* restore observable in search control

* Update search-control.component.spec.ts

* fix after rebase

* add import switchmap

* core import in karma conf

* missing commas

* fix mocks

* fix mock searchquerybody

* search test fix
2018-04-09 10:31:43 +01:00
Eugenio Romano f78d5e2865 Update generator to use packages version 2.3.0-beta7 (#3153) 2018-04-08 16:18:59 +01:00
Eugenio Romano d6f51c22aa [ADF-2477] add new log component in demo shell (#3129)
* add CTRL + L new log component in demo shell to test the log service bus

* remove trivial definition

* close tag app-log
2018-03-29 11:04:33 +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 812c7be6f6 [no-issue] remove viewChildren use (#3116)
* remove viewChildren component use in lib and demoshell

* Update trashcan.component.ts

* Update trashcan.component.ts
2018-03-23 10:06:59 +00:00
Eugenio Romano e8e2af7d6b [ADF-2306] DocumentList should let configure the includeFields request to the se… (#3109)
* DocumentList should let configure the includeFields request to the server

* fix test

* fix test after rebase

* fix permissions

* travis_wait dist
2018-03-22 09:27:12 +00:00
Eugenio Romano 2951374cc0 [ASD-2483] Validate folder name on change (#3088)
* notify service refactoring
get translate eliminitation in favor of instant
add error event where necessary
fix config problem during test

* fix delete notify test

* remove fdescribe

* fix core test

* errors

* fix types
2018-03-21 16:55:52 +00:00
Eugenio Romano 2761626f55 [ADF-ADF-2528] share directive (#3102)
* share file directive

* share link phase 2

* share dialog

* share dialog test

* more documentation

* add more meaningfully specification

* Add  description in the dialog
2018-03-20 22:32:56 +00: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 1959777a52 [ADF-2468] add check if nodeid is present in tag components (#3076)
* add check if nodeid is present in tag components

* fix test
2018-03-14 13:57:57 +00:00
Eugenio Romano 4faa93cff0 [ADF-2462] Automatic project update after any beta (#3075)
* First try

* Fix typo

* Fix filename

* use https

* create pull request with github token

* gnu  version

* clone with token

* try example beta 13

* if beta tag only exectute

* update other projects

* unify script

* documentation
2018-03-14 11:19:06 +00:00
Eugenio Romano ad6c6847de add proxy in start command (#3071) 2018-03-13 17:36:10 +00:00
Eugenio Romano 27de866193 [ADF-2477] message bus in log service (#3063)
* add message bus in log service to allow third pat integrations

* fix test after review
2018-03-13 15:48:19 +00:00
Eugenio Romano c3e2588e35 [ADF-No-issue-number] search problem type fix (#3068)
* search problem type fix

* fix type test

* fix test node selector

* fix test content node selector panel
2018-03-13 12:10:06 +00:00
Eugenio Romano f3459e1221 when stale wait test (#3059) 2018-03-10 00:13:54 +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 d8e5e55ffa [ADF-2417] remove tag id as default value from demo shell (#3036)
* remove tag id as default value from demo shell

* fix export check script
2018-03-06 14:07:21 +00:00
Eugenio Romano 99db801725 Development (#3030)
* rollup-plugin-commonjs 8.3.0 pin up

* update ng-packagr 2.1.0

* move ng-pkgr in dev
2018-03-05 14:45:59 +00:00
Eugenio Romano cef91dc516 upload version refresh (#3021) 2018-03-01 19:23:39 +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 b359579078 Update document-list.component.md 2018-02-27 14:44:00 +00:00
Eugenio Romano 563f51505c Update datatable.component.md 2018-02-27 14:43:23 +00:00
Eugenio Romano a738dc70d8 Update document-list.component.md 2018-02-27 14:42:31 +00:00
Eugenio Romano 876ce7b9ae [ADF-2367] [Demo shell] Fix default site (#3004)
* fix default site scenario

* add default my files object in the list
2018-02-27 10:13:38 +00:00
Eugenio Romano 0a266bebdc [no-issue] improve test part 1 PS (#3006)
* remove testbed service process services

* add appconfig in test log

* test import fix
2018-02-26 20:23:29 +00:00
Eugenio Romano 4e05e78846 fix empty datatable hiding the header (#3003) 2018-02-26 14:57:27 +00:00
Eugenio Romano bb4f17ace7 fix document list viewchild pointer in demo shell (#3000) 2018-02-26 11:58:57 +00:00
Eugenio Romano 97a10bde78 add possible future configurability display mode document list and datatable (#2998) 2018-02-26 03:04:19 +00:00
Eugenio Romano 76cf4f178e [ADF-2312] Sites Dropdown component - default select option (#2994)
* fix gallery view sort drop down empty values
restore recent in main pace
trashcan example demo shell add multi select

* add selectable default value

* remove change delete directive

* remove fdescribe

* missing return type
2018-02-24 18:00:41 +00:00
Eugenio Romano 8f471d8beb fix gallery view sort drop down empty values (#2990)
restore recent in main pace
trashcan example demo shell add multi select
2018-02-23 17:37:15 +00:00
Eugenio Romano a5eeeb4941 fix process service theming people comments tasks fixed border and background color issues (#2986) 2018-02-23 10:41:37 +00:00
Eugenio Romano 7f63b76d37 [ADF-2311] fix metadata components with folders (#2985)
* fix metadata folders

* remove dead code

* fix check mimetype
2018-02-23 10:41:03 +00:00
Eugenio Romano 6e14ff5470 [ADF-2340] add trashcan in demo shell and definitely delete in delete directive (#2976)
* add trashcan in demo shell and definetly delete in delete directive

* fix delte directive test
2018-02-22 12:33:42 +00:00
Eugenio Romano 8a36adb469 new translated files 2.2.0 (#2979) 2018-02-22 11:46:58 +00:00
Eugenio Romano 62d5dd1b30 [ADF-2322] Card view datatable and documentlist (#2968)
* move table in style

* Enable the cardview mode

* add button in demo shell to change view
add missing translation terms toolbar

* missing comma

* add example in demo shell

* style loading and images

* border card container

* document list tests

* test check class and input

* test fix

* fix test process services

* more documentation

* rirpristinate base pacakge integgration

* remove test color
2018-02-21 09:57:01 +00:00
Eugenio Romano 02806dedfa fix breadcrumb demo shell navigation (#2970) 2018-02-20 21:31:57 +00:00
Eugenio Romano ae0994edf1 [ADF-2296] Background color on form buttons (#2953)
* add a targeting ID for any Form button

* custom outcome style ID
2018-02-15 10:08:46 +00:00
Eugenio Romano 6e57cd3e17 [ADF-2265] fix user preference null value (#2948)
* fix user preference null value

* fix method call test public
2018-02-15 09:30:35 +00:00
Eugenio Romano 8bfac2f9f8 [ADF-2236] Automatic check export (#2933)
* save export in a file

* print errors

* add position error

* color error log and add comment to skip a file

* export check ver 2

* ignore source

* fix export modules

* fix possible nullable value

* remove duplicates

* improve logs

* add travis configuration

* fix travis and import

* export fix

* remove export check js file

* add export check js ignore

* fix content metadata service export
2018-02-14 09:33:50 +00:00
Eugenio Romano a014aef9e0 autocomplete off (#2938) 2018-02-13 15:57:58 +00:00
Eugenio Romano c5225a4c7d add loading demo shell (#2941) 2018-02-13 15:35:57 +00:00
Eugenio Romano 239772bbb2 update moment.js to last version (#2939) 2018-02-13 14:00:21 +00:00
Eugenio Romano a863631f0d [ADF-2149] Update ng-packagr to 2.0.0 (#2935)
* ng-packagr version 2.0.0 core fixes

* fix content services jsdoc

* fix process service jsdoc

* last update new build 2.0.0

* fix comment jsdoc
2018-02-13 10:37:03 +00:00
Eugenio Romano 7693904be2 [ADF-2147] test upgrade 2.0.0 (#2902)
* add integration 2.0.0 test

* update readme

* add integration test in travis

* restore tsconfig.dev

* fix test script travis call

* improve script

* fix npm run test
2018-02-02 12:11:48 +00:00
Eugenio Romano 102656582c [NO-ISSUE] appveyor build fix experimenting (#2845)
* appveyor fix
2018-02-01 10:08:41 +00:00
Eugenio Romano 9e4b2e74e9 [ADF-2159] Update angular-cli to latest version (#2874)
* Update angular cli version 1.6.5

* fix tslint problems and update devdependencies using the angularcli 1.6.4

* test fixing

* [ADF-2159] start fixing userinfo test

* [ADF-2159] fixed userinfo tests

* [ADF-2159] added async to accordion component test

* [ADF-2159] testing probable failed test on CI

* [ADF-2159] check removing fake destroyed view test

* [ADF-2159] check viewer tests

* [ADF-2159] attempt on test fix

* [ADF-2159] test fix

* [ADF-2159] fix test

* [ADF-2159] fix test

* [ADF-2159] rebased

* [ADF-2159] check test

* [ADF-2159] fixing test

* [ADF-2159] Fix#1

* [ADF-2159] Fix#2

* [ADF-2159] Fix#3

* [ADF-2159] Fix #4

* [ADF-2159] Fix #5

* [ADF-2159] Fix #6

* [ADF-2159] fixed viewer test

* [ADF-2159] fixed cast element
2018-02-01 10:08:25 +00:00
Eugenio Romano ef679b9c1f Merge branch 'master' into development 2018-01-26 11:40:18 +00:00
Eugenio Romano ad02ec1fbd export material only from the core (#2885) 2018-01-26 11:21:10 +00:00
Eugenio Romano 8e4017ed19 new i18n file 2.1.0 (#2878) 2018-01-24 17:22:53 +00:00
Eugenio Romano b3a9e1a884 [ADF-1880] More configuration options for adf-start-process component (#2869)
* procesdefinitionId set
show dropdown multiple process

* fix sourcemap

* fix test start process

* fix test

* changes after code review

* add show dropdown optional

* remove fit fdescribe

* processDefinitionId in processDefinition change

* improve tests
2018-01-24 15:40:42 +00:00
Eugenio Romano 807d7e0f78 [ADF-1880] processDefinitionId parameter in adf-start-process (#2848)
* processDefinitionId parameter in adf-start-process

* fix test

* fix test
2018-01-19 11:04:03 +00:00
Eugenio Romano b1fd6cb60c [ADF-2055] Ability to pre-populate form with a file and values (#2834)
* fix translations form

* fix style webpack script

* fix tslint error problem in viewer

* fix naming problems in attach file widget

* add start process form values data initialization option

* fix translation problems

* missing return type

* start process name configuration

* add CS cross PS configuration

* start process from file example

* fix minor issues

* add documentation and move the dialog in a separate component

* easy test select app

* alfrescoRepositoryName right property

* file conversion test

* fix issue after CR

* Remove forgotten semicolon.
2018-01-17 17:06:00 +00:00
Eugenio Romano 068cc0bc27 [contextMenuActions]="true" properties documentation 2018-01-13 00:51:03 +00:00
Eugenio Romano c8b37ea36a contentActions enabling properties 2018-01-13 00:43:30 +00:00
Eugenio Romano f6cf036769 [no-issue] downgrade scss bundle and some other minor fix (#2824)
* downgrade scss bundle and some other minor fix

* 2.0.9

* remove chrome in travis conf

* execute different configuration
2018-01-12 13:23:17 +00:00
Eugenio Romano 95a33363cf No input and No Output rename tslint rule (#2814) 2018-01-10 17:39:55 +00:00
Eugenio Romano 932a23d449 [fix-build] add stable version chrome in travis conf (#2819)
* chrome stable
2018-01-10 14:53:47 +00:00
Eugenio Romano 96311c669a [no-issue] docker file (#2800)
* docker file
2018-01-05 16:33:22 +00:00
Eugenio Romano 413dcc9e45 fix different material depencncies (#2791) 2017-12-19 15:41:36 +00:00
Eugenio Romano a99c1a37e4 [ADF-2056] update dependencies (#2764)
* update dependencies
add ban for fdescribe in tslint
reenable test
add badge codacy
check bundles esm5 and esm2015
travis run new vuild script

* remove fdescribe

* material 5.0.0 stable release
2017-12-07 11:58:16 +00:00
Eugenio Romano c763ba45e0 [ADF-2045] Pagination is not working properly on Search Results Page (#2744) 2017-11-28 12:46:01 +00:00
Eugenio Romano 9b7e018f93 [no issue number] fix unsubscribing in documentlist (#2740)
* fix unsubscribing in documentlist

* fix tslint errors
2017-11-27 17:51:18 +00:00
Eugenio Romano bdc06e3eed [ADF-2035] Drag and drop is not working on Processes - attachment List (#2736)
* fix upload for process attachment list
export ActivitiContentService
ProcessService.createOrUpdateProcessInstanceVariables has incorrect method signature

* fix signature methods

* fix test parameters
2017-11-27 14:39:33 +00:00
Eugenio Romano 197fab4da8 [ADF-2010] Move/copy, when searching for folder multiple results are returned (#2727)
* adding debounce time in object picker
unify search api
fix multiples duplicate result
remove limit of 4 character to search

* remove three.min.js

* remove unused import

* tlsint fix and remove file

* rename sitesApiService to sitesService as all the other services

* fix test timeout async
2017-11-26 22:06:05 +00:00
Eugenio Romano 440759c66b [ADF-2020]The upload button is not disabled when the 'enable upload' checkbox is not checked (#2720)
remove deprecated properties
2017-11-23 19:41:28 +00:00
Eugenio Romano dd7a6565e3 [ADF-1711] The <adf-task-attachment-list component displays drag-and-… (#2716)
* [ADF-1711] The <adf-task-attachment-list component displays drag-and-drop area that is not working

* fix test for remove upload deprecated properties

* remove duplicate identifier
2017-11-23 17:15:01 +00:00
Eugenio Romano 88b788fc48 datatable demo mobile improvement (#2711) 2017-11-23 14:06:56 +00:00
Eugenio Romano bc48a3923e [ADF-2005] Cannot view document in tasklist attachment list (#2701) 2017-11-23 14:05:13 +00:00