Commit Graph
100 Commits
Author SHA1 Message Date
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 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
Eugenio Romano f629f48d16 [ADF-1968] [IE11] The login page is not loading and import fix (#2679)
* fix viewer script
export insights and diagram
remove requires svg
fix new data adapter path
dist working with diagrams commented out
change use of minimatch
fix unused import
remove unused component
fix test
new import moment es6 and throw rxjs
fix import analytics test
fix imports rxjs
new pacakging

* fix after rebase

* fix test upload services

* exclude temporarily button event test

* restore commented demo shell files

* fix process spy
2017-11-22 10:33:56 +00:00
Eugenio Romano a8e209c5b5 [ADF-1968] fix packaging issues i18n and assets (#2665)
* fix packaging issues i18n and assets

* remove other not used fodler
2017-11-17 15:08:26 +00:00
Eugenio Romano ff2e855aa3 Fix prefix adf- import (#2657)
* fix prefix adf- import

* missing conf file prefix replacement

* fix demo shell start
2017-11-17 02:46:31 +00:00
Eugenio Romano bed569cd71 new translated files (#2656) 2017-11-16 17:23:23 +00:00
Eugenio Romano a52bb5600a New packages org (#2639)
New packages org
2017-11-16 14:12:52 +00:00
Eugenio Romano a2310336dd [ADF-1895] update Material2 to 5.0.0-rc0 (#2621)
update Material2 to 5.0.0-rc0
2017-11-08 00:39:34 +00:00
Eugenio Romano 406b2833bb bundles check (#2612)
bundles check service
2017-11-06 23:38:29 +00:00
Eugenio Romano 4ec5548c24 log service warn fix (#2617) 2017-11-06 17:54:54 +00:00
Eugenio Romano 9f3ea6ea71 [ADF-1868] Update to Angular 5 (#2606)
* Angular 5.0.0 update

* fix core http import

* split language html from ts

* http deprecation module change

* fix test core

* fix analytics api

* update dependency

* exclude breadcrumb object picker test

* fix viewer and common new test

* fix test cs

* fix tasklist test

* fix demo shell angular 5

* fix translate

* dix search test

* restore files demo shell

* update tsconfig

* rebuild automatic prebuild theme

* Fix breadcrumb tests

* Fix tests, the right way
2017-11-06 14:23:46 +00:00
Eugenio Romano 224db6548b [ADF-1867] Typography Documentation (#2595)
* Typography Documentation

* doc fix after review
2017-11-06 09:56:04 +00:00
Eugenio Romano 861d44f021 [ADF-1649] [Document List] IE11 select icon is not aligned (#2594)
* [Document List] IE11 select icon is not aligned
[Document List] Login is not aligned
Register Alfresco file type icons within the mat-icon
remove old material-icons pice of code

* fix lint 180 in thumbnailservice

* remove unnecessary duplicate code

* fix thumbnail test
2017-11-02 16:17:35 +00:00
Eugenio Romano 70ce85602d [ADF-788] fix error negative and zero value for max file size (#2590)
* fix error negative and zero value for max file size

* fix null scenario
2017-11-02 10:43:38 +00:00
Eugenio Romano 24b590ca16 setting component (#2571) 2017-10-31 17:16:14 +00:00
Eugenio Romano 4d8dd7ebb5 [ADF-1806] remove old prefix compatibility alfresco- and activiti- (#2567)
* remove old prefix compatibility alfresco- and activiti-

* fix missing close string quotemark

* fix missing datatable changes
2017-10-31 13:28:43 +00:00
Eugenio Romano 30fb980afd [ADF-788] Emit error message for max file size (#2566)
* emit message error max fie size
add translation message versioning
missing editorconfig settings

* misspell fixe
2017-10-30 15:26:23 +00:00
Eugenio Romano 7fa592ebe7 [ADF-1786] fix delete and permission on the same button case (#2565)
* fix delete and permission on the same button case

* ripristinate space
2017-10-30 12:47:03 +00:00
Eugenio Romano f340c00657 add src and config in npmignore (#2560)
remove duplicate license header
remove old asset unused docs files
2017-10-27 11:58:37 +01:00
Eugenio Romano 1fd45ba1bd fix userinfo on mobile devices and small refactoring name scss method (#2558) 2017-10-26 22:52:37 +01:00
Eugenio Romano 90403bab32 [ADF-1780] remove compatibility pdf-js that crash the app on IOS (#2556) 2017-10-26 19:35:44 +01:00
Eugenio Romano 86f5a383d1 add custom event polyfill IE11 (#2557) 2017-10-26 17:00:44 +01:00
Eugenio Romano 1cfe43e5d9 [ADF-788] Support for max file size constraints in Upload button component (#2546)
* add maxFile size in upload Button

* test button file size in demo shell
2017-10-26 11:52:28 +02:00
Eugenio Romano ded3847762 clean all the events that start wit on prefix (#2536) 2017-10-25 10:35:38 +02:00
Eugenio Romano b66a9bfe0d move adf-tslin-rules in a separate repo https://github.com/Alfresco/adf-tslint-rules (#2528) 2017-10-24 15:30:21 +01:00
Eugenio Romano f1812fd123 [ADF-1771] Upload widget clears out filename on cancel but uploads file (#2526)
* after uploaded a file should show the list of the files

* fix delete file from input

* add test delete file uploader
2017-10-23 21:56:24 +01:00
Eugenio Romano 25ae5373cf fix log service (#2527) 2017-10-23 21:52:20 +01:00
Eugenio Romano 0f8534091b fix hiding header for non group (#2512) 2017-10-19 17:14:14 +01:00
Eugenio Romano 25371ead52 fix string in content service demo page (#2507) 2017-10-19 17:11:56 +01:00
Eugenio Romano c4b90f22ce [ADF-1648] fix layout issue hiding name user in small devices (#2506) 2017-10-19 13:38:21 +01:00
Eugenio Romano 8b0047337f [ADF-1723] LogService configuration (#2496)
* log levels implementation

* documentation and test

* remove logservieMock

* add logLevel in app config file

* remove semicolons

* fix pagination test

* fix test form

* silent test in production config

* fix test
2017-10-19 12:54:56 +01:00
Eugenio Romano 036c63e43d [ADF-1004] The process service definition file in the alfresco-js-api is incomplete (#2488)
* correction after new declaration file for PS

* remove unused jasmine

* commit ifx initial pipe

* fix tasklist test

* fix tasklist test

* reinsert test
2017-10-18 09:20:19 +01:00
Eugenio Romano fcb292c849 [ADF-1731] update material2 beta12 e angular2 4.4.5 (#2475)
* update material2 beta12
update angular2 4.4.5

* fix changed version js-api

* update types hammerjs

* fix test

* clean old doc

* fix pagination test

* fix test

* missing update packages

* fix <mat-form-field> for select box

* start task component test
2017-10-16 09:58:19 +01:00
Eugenio Romano 9663971256 Sanitise the component and Demo shell from embedded strings (#2474) 2017-10-14 14:27:41 +01:00
Eugenio Romano a102a7ffb2 [ADF-1684] [object Object] appears in People control when selecting the same name (#2472)
* object people component bug

* fix test people widget
2017-10-14 08:35:53 +01:00
Eugenio Romano d6c5c7707f fix demo layout tag and social (#2473) 2017-10-14 08:33:15 +01:00
Eugenio Romano a46cf4be64 [ADF-1724] Remove all log in favor of log service (#2465)
* remove console log from components

* remove console log from demo shell

* fix visibility issue

* fix error template

* remove console.log from spec

* fix tests

* fix test
2017-10-12 23:14:28 +01:00
Eugenio Romano 7647f97dda remove deep combinator (#2457) 2017-10-11 17:51:45 +01:00
Eugenio Romano e90fbcf9bc [ADF-1689] fix task comment when the task is running (#2449)
* [ADF-1689] fix task comment when the task is running

* fix test
2017-10-09 00:01:22 +01:00
Eugenio Romano 85a275d66a make comments always editable for process (#2447)
make comments editable only when there are users involved
2017-10-06 17:27:10 +01:00
Eugenio Romano 48f0ccfc4f [ADF-1671] visibility fix use id instead of name during comparison (#2441)
* visibility fix use id instead of name during comparison

* fix tslint problems
2017-10-06 15:39:08 +01:00
Eugenio Romano ad13bcafd6 fix user model process service and image loading (#2431) 2017-10-05 22:35:14 +01:00
Eugenio Romano 4d0047b8d2 [ADF-1664] fix color text login for dark theme (#2433)
* fix color text login for dark theme

* fix test
2017-10-05 15:05:38 +01:00
Eugenio Romano d21eacc22b User info center title (#2432) 2017-10-05 13:59:54 +01:00
Eugenio Romano ea29213178 add presets document list in an external model (#2420) 2017-10-04 12:21:57 +01:00
Eugenio Romano 07c0c1c593 remove console log (#2422) 2017-10-04 12:18:15 +01:00
Eugenio Romano eec87c12d3 remove template old reference in documentation (#2421) 2017-10-04 10:51:06 +01:00
Eugenio Romano 2476e721cc fix error message size in login component (#2419) 2017-10-04 10:05:43 +01:00
Eugenio Romano d378d2702b add service suffix page title service (#2418) 2017-10-04 09:23:31 +01:00
Eugenio Romano ba908e5f0e fix closing search bar has not to trigger search (#2415) 2017-10-03 18:33:02 +01:00