47 Commits

Author SHA1 Message Date
Darya Blavanovich
3819aecb70
[MNT-24354] update license header to 2024 (#9633)
* MNT-24354 update license header [ci:force]

* MNT-24354 fix lint [ci:force]

* MNT-24354 [ci:force]

* MNT-24354 update license header in process-services [ci:force]

---------

Co-authored-by: DaryaBalvanovich <darya.balvanovich1@hyland.com>
2024-05-08 08:34:51 +02:00
Wojciech Duda
4e328ea726
Revert "[AAE-19372] fix assignee input not being clickable" (#9230) 2024-01-12 19:02:16 +01:00
Wojciech Duda
f685f92a62
[AAE-19372] fix assignee input not being clickable (#9228)
* [AAE-19372] fix input becoming disabled when the rest of the field is clickable

* [AAE-19372] modify default task header properties to check if input is editable

* [AAE-19372] remove unwanted changes
2024-01-12 13:27:52 +00:00
Denys Vuika
d78dcd2156
[ACS-6071] fix docs for process cloud (#8947)
* fix docs for process cloud

* fix typo
2023-09-28 16:44:57 +01:00
Denys Vuika
ef551a9c71
Improved ESLint configuration, integrated spellcheck and error fixes (#8931)
* integrate cspell with eslint, improved configuration

* core: fix linting errors

* core: fix lint warnings

* content: lint fixes

* process service lint fixes

* lint: process services cloud

* lint: insights

* lint: extensions

* [ci:force] lint: cli fixes

* [ci:force] comment out dead code

* [ci:force] exclude dead code

* fix code and tests

* rollback some changes

* fix testing lib

* fix demo shell

* minor lint warning fixes

* minor lint fixes

* fix process services
2023-09-26 13:46:53 +01:00
AleksanderSklorz
98c0a3c7be
[ACS-5041] update license headers to reflect hyland copyright guidelines (#8472)
* ACS-5041 Changed json to js

* ACS-5041 Corrected paths

* ACS-5041 Changed json to js

* ACS-5041 Updated eslintrc

* ACS-5041 Small correction

* ACS-5041 Small correction

* ACS-5041 Updated license headers

* ACS-5041 Updated license headers

* ACS-5041 Replaced references to alfresco

* ACS-5041 Added Hyland to known words

* ACS-5041 Fixed coverage issue

* ACS-5041 Fixed duplication issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed test

* ACS-5041 Fixed test

* ACS-5041 Reverted one change

* ACS-5041 Added missing license to files after rebase
2023-04-20 09:34:03 +02:00
Ardit Domi
fa587510bd
[AAE-9200] - Be able to customise task/process list and header date f… (#7711)
* [AAE-9200] - Be able to customise task/process list and header date formats

* Update json schema

* Revert schema changes

* Update task and process name translation values

* move task/process header date formats inside header config

* Add documentation

* Update documentation

* Use a fixed timezone for unit tests of core and cloud

* Fix e2e due to column rename

* More e2e fixes due to column rename, remove test covered by unit test
2022-07-19 15:46:31 +02:00
Tomasz Gnyp
9fdefb578d
[AAE-7376] Added process instance link in task details (#7544)
* [AAE-7376] Added process instance link in task details

* [AAE-7376] removed redirect logic from ADF

* Trigger travis

* [AAE-7376] added unit test
2022-03-09 14:42:29 +05:30
Denys Vuika
5b7f255eec
[AAE-7244] fix process services cloud eslint warnings (#7503)
* fix process services cloud eslint warnings

* fix export of private consts

* improve constant export

* fix unit tests
2022-02-17 14:08:41 +00:00
Denys Vuika
6f968f7e4a
[AAE-5637] Remove SCSS mixins and use CSS variables (#7250)
* remove default-class mixin and use regular import

* cleanup colors

* remove variables file, fix bugs in animations

* proper ordering of imports, core css vars

* cleanup snackbar and material themes

* tags component

* login component styles

* app login

* toolbar component styles

* breadcrumb styles

* dropdown breadcrumb

* app layout component

* demo shell: files component

* aspect list styles

* content metadata styles

* node selector

* name location cell

* node share dialog

* content type dialog

* folder dialog

* document list

* datatable theme

* pagination theme

* viewer theme

* viewer theme

* user-info theme

* container widget

* dynamic table theme

* form widgets

* form theme

* form renderer

* sidebar menu

* header theme

* info drawer theme

* comment list

* commens and layout container

* sidenav layout

* empty content

* error content

* clipboard theme

* search input

* tooltip card and notification history

* card view theme

* remove unused keys

* add permission dialog

* search and permission dialogs

* version comparison and column themes

* upload drag area and cleanup references

* remove the need for content styles

* insight components

* cleanup insights theme

* process components

* process components

* process cloud themes

* cleanup unsed imports

* cleanup mixins

* update build scripts

* test fixes

* remove fdescribe

* css fixes

* update unit tests
2021-09-29 13:17:05 +01:00
Vito
82a57c9c05
[ACA-4436] - added option for select item to display None (#7113)
* [ACA-4436] - added option for select item to display None

* [ACA-4436] - added unit test and fixed wrong default behaviour

* [ACA-4436] - fixed property check

* [ACA-4436] - fixed unit test

* [ACA-4436] - fixed unit test
2021-06-25 11:19:16 +02:00
Denys Vuika
e94b2f99bd
[ADF-5406] SCSS and HTML template path fixes (#7063)
* remove useless mixin

* fix scss paths

* style fixes

* fix styles

* style fixes

* style fixes

* style fixes

* style fixes

* insights fixes

* css and template path fixes

* bug fixes
2021-06-01 09:21:00 +01:00
Silviu Popa
f0e8cd98e5
[AAE-3638] - implement priority drodpown widget (#6351)
* [AAE-3638] - implement priority drodpown widget

* refactor task cloud service function

* fix remove value on card view text item and move priorities values in app.config.json

* revert app config unnecary changes

* PR changes

* fix unit test

* fix more unit tests

* PR changes

* create task cloud response model

* remove commented code

* fix e2e

* fix start task e2e and add return type
2020-11-18 11:25:21 +00:00
siva kumar
c676b2012d
[ACA-4071] [ADW-Cloud]Task header takes too much to be loaded after claiming a task (#6294)
* [ACA-4071] [ADW-Cloud]Task header takes too much to be loaded after claiming a task

* * Fixed comment

* * Fixed comment
2020-11-04 09:06:24 +00:00
Silviu Popa
686e28715d
[ADF-5268] Fix card view losing focus when typing (#6226)
Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-10-12 15:20:41 +03:00
siva kumar
c84ef7318f
[ACA-3960] FE - Users that are part of a candidate group should not be able to see 'Assignee' property as editable when on that user task candidate group was set as assignment (#6159)
* [ACA-3960] FE - Users that are part of a candidate group should not be able to see 'Assignee' property as editable when on that user task candidate group was set as assignment

* * Added description
2020-09-25 10:35:07 +01:00
siva kumar
14f08f2178
[ACA-3942] Enable assignee edit button only when userTask shared among the candidates (#6113)
* [ACA-3942] Enable assignee edit button only when user task shared among the candidates

* * Moved logic to service level
2020-09-10 18:26:43 +01:00
Silviu Popa
7399704d57
[ACA-3107] add possibility to hide task name from the sidenav (#5883)
* [ACA-3107] add possibility to hide task name from the sidenav

* add unit tesT

* add task header spinner

* update documentation

* fix unit test

* change expect

* add another check

* replace expect condition

* additional expect

* use ToBeTruthy

* simplify expect

* add unit tesT

* add task header spinner

* fix unit test

* change expect

* add another check

* additional expect

* use ToBeTruthy

* simplify expect

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-07-27 12:12:44 +01:00
Denys Vuika
cd2b489100
[ADF-5146] Upgrade to Angular 10 (#5834)
* remove useless module

* upgrade to angular 8

* upgrade material to v8

* upgrade adf libs

* migrate demo shell to v8

* upgrade to angular 9

* upgrade material to v9

* remove hammer

* upgrade nx

* upgrade datetime picker

* upgrade flex layout

* update core api

* remove entry components

* code fixes

* upgrade testbed usage

* code fixes

* remove unnecessary core-js from tests

* upgrade CLI

* ts config fixes

* fix builds

* fix testing config

* compile fixes

* fix demo shell dev setup

* fix core tests

* fix card view import

* upgrade nx

* disable smart builds for now

* remove fdescribe

* restore smart builds

* fix issues

* unify tsconfigs and fix newly found issues

* fix configuration and cleanup package scripts

* improved production build from the same config

* use ADF libs directly instead of node_modules

* disable smart build

* single app configuration (angular)

* fix core build

* fix build scripts

* lint fixes

* fix linting setup

* fix linting rules

* various fixes

* disable affected libs for unit tests

* cleanup insights package.json

* simplify smart-build

* fix content tests

* fix tests

* test fixes

* fix tests

* fix test

* fix tests

* disable AppExtensionsModule (monaco example)

* remove monaco extension module

* upgrade bundle check rules

* fix insights tests and karma config

* fix protractor config

* e2e workaround

* upgrade puppeteer and split linting and build

* reusable resources config

* update protractor config

* fix after rebase

* fix protractor config

* fix e2e tsconfig

* update e2e setup

* Save demoshell artifact on S3 and remove travis cache

* Push the libs on S3 and fetch before releasing it

* Add deps

* Add dependencies among libs and run only affected unit test and build

* fix the travis stage name

* fix after renaming dev to demoshell

* force the order of the projects

* remove unused dependencies

* fix content e2e script

* exit codes fix

* add extra exit codes to core e2e

* postinstall hook and package cleanup

* cleanup packages

* remove deprecated code and dependency on router

* improve bundle analyzer script

* minor code fixes

* update spec

* fix code after rebase

* upgrade protractor after rebase

* fix e2e mapping lib

* Update tsconfig.e2e.json

* update e2e tsconfig

* fix angular config

* fix protractor runs

* cache dist folder for libs

* update material selectors for dropdowns

* selector fixes

* remove duplicated e2e that have unit tests already

* fix login selector

* fix e2e

* fix test

* fix import issues

* fix selector

* cleanup old monaco extension files

* cleanup demo shell login

* add protractor max retries

* disable customisations of protractor

* fix login validation

* fix after rebase

* fix after rebase, disable latest versions of libs

* Hide the report tab and rollback the localstorage

* rename protractor config back to js

* restore lint as part of build

* cleanup code

* do not copy anything to node_modules on dist test

* fix unit tests

* config fixes

* fix code

* fix code after rebase

* fix tests

* remove existing words from spellcheck

* remove useless directive decorators

* update package.json after rebase

* add js-api back

* code fixes

* add missing export

* update configs

* fix code

* try fix the sso login test

* fix

* remove puppeteer unit

* fix e2e script

* fix

* make provider easy

* fix routes module before upgrade

* fix unit tests

* upgrade angular cli

* upgrade to angular 10

Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-07-03 13:01:05 +01:00
dhrn
d720d36670
[ADF-4522] Metadata value is not rolled back upon error (#5550)
* * initial commit

* * removed breaking change

* * fixed ts

* * fixed minor changes

* * fixed changes

* * minor changes

* * fixed unit test

* * docs added

* * fixed date clear problem

* * fixed unit test
2020-03-17 10:47:08 +00:00
davidcanonieto
dead0087f4 [AAE-1022] Fix components to work on Community environments (#5296)
* [AAE-1022] Fix components to work on Community environments

* Remove appName input
2019-12-18 17:33:50 +00:00
sivakumar414ram
e3f7e3da09 * Add Edit icon 2019-12-17 16:26:36 +05:30
siva kumar
5068cbf539 [ADF-5004] [CardViewTextItemComponent] Provide a way to have an icon for the clickable items (#5270)
* [ADF-5004] [CardViewTextItemComponent] Provide a way to have an icon for the clickable items.

* * FIxed failing unit tests* Modified task-details tests and add few more.
2019-11-22 09:37:32 +00:00
Denys Vuika
3644ba8b7c [DW-1486] form versioning and cloud service enhancements (#5248)
* support form versions retrieval

* rework cloud services, reduce code duplication

* revert app config changes

* fix api spelling error

* support task form versioning

* turn TaskDetailsCloudModel into interface

* remove commented code

* fix test

* update tests

* remove useless provider declarations
2019-11-14 15:04:21 +01:00
Silviu Popa
b41514cad7 [AAE-463] - change dueDate render component (#5200)
* change dueDate render component

* fix tests

* fix lint

* rebase and add test

* split code into 2 declarations
2019-11-12 20:23:45 +01:00
arditdomi
878b49fea1 [ADF-4979] TaskHeaderCloudComponent Add error emit when appName or taskId is not provided (#5236)
* [ADF-4979] Add error emit when appName or taskId are not provided in TaskHeaderCloudComponent

* [ADF-4979] Modify @Output description

* [ADF-4979] Remove unused onObservable complete code
2019-11-12 15:04:01 +00:00
arditdomi
3c1097fb84 [ADF-4979] Add onChanges detection for Task Header Cloud component (#5208)
* [ADF-4979] Add onChanges detection for Task Header Cloud component

* [ADF-4979] Revert licenses.txt changes

* [ADF-4979] Documentation added for the taskError Event
2019-11-06 11:07:48 +00:00
siva kumar
9c2bcdee1a [ADF- 4871][TaskHeaderCloudComponent] Add Candidate Users/Groups properties (#5189)
* [ADF-4871] [TaskHeaderCloudComponent] Add Candidate Users/Groups properties

* Added Candidate users/groups properties to the task heade cloud component.

* * Created CardViewArrayItemComponent
* Modified FullName pipe to return username or email incase fullname missing.
* Added candidate Users/Groups properties to the taskcloudheader component.
* Added two service into task-cloudservice
* Updated Demoshell card-view with new widget

* * Fixed failing unit test

* * Fixed comments.

* * Refactored CardViewArrayItem model
* Fixed comments.

* * Changed candidate group icon
2019-10-29 09:26:34 +00:00
siva kumar
1c6eb4d73d [ADF-4968 ] [TaskHeaderCloudComponent] Allow Assignee property to be clickable if the task in CREATED, ASSIGNED, SUSPENDED states (#5191)
* [ADF-4968][TaskHeaderCloudComponent] Allow Assignee property to be clickable if the task in CREATED, ASSIGNED, SUSPENDED states

* * Added clickable to the parentName and ParentTask Id.

* * Fixed comments
2019-10-28 20:56:35 +00:00
Denys Vuika
edc0945f39 fix "ng lint" command (#5012)
* update to latest js-api

* fix the "ng lint" command

* fix linting issues

* fix lint issues

* lint fixes

* code fixes

* fix html

* fix html

* update tests

* test fixes

* update tests

* fix tests and api

* fix code
2019-08-29 16:35:30 +01:00
siva kumar
05e73a8aa1 [ADF-4755][CardViewDate&SelectItemComponent] Provide a way to reset date and none option as default. (#4955)
* [ADF-4755] [CardViewDateItemComponent] Provide a way to reset date.

* Added clear icon to reset date to empty.
* Added Translation key to the new icon.

* * Added displayClearAction flag to toggle clear action.* Added None as default for the selectItem components.* Added displayNoneOption flag to toggle the default none option.

* * Fixed comments.

* * Added translation key for 'none'  option.

* * Updated dateItem css to the match recent changes.

* * Fixed failing unit tests* Updated TaskHeader components with the displayClearAction.

* * Updated demo shell card-view component to test the latest changes
2019-07-26 12:22:45 +01:00
Denys Vuika
1abb9bfc89 [ADF-4745] memory leak fixes (#4931)
* fix app-layout component

* fix card-view component

* fix cloud-layout service

* code fixes

* code fixes

* even more fixes

* even more fixes

* lint fixes

* test fixes

* fix code

* remove useless pipes

* fix code owners

* enable spellcheck for cloud components

* update test

* update test
2019-07-16 15:56:00 +01:00
davidcanonieto
334ebd1256 [ADF-4338] Add locale to CardViewDateItemModel and improve logic of LocalizedDat… (#4845)
* Add locale to CardViewDateItemModel and improve logic of LocalizedDatePipe

* Fix e2e tests

* Fix e2e tests

* Fix C305010 test
2019-06-14 17:26:08 +01:00
davidcanonieto
7497822a46 [ADF-4342] Create localized pipe and centralize date format (#4813)
* [ADF-4342] Date Format defined in app config

* [ADF-4342] Create localized pipe and centralize date format

* Add unit test for new date pipe

* Add info internationalization docs

* Fix lining

* Fix linting

* Fix date pipe unit test

* [ADF-4342] Add supported language files

* Fix e2e tests
2019-06-11 09:35:35 +01:00
Silviu Popa
4a363c731b [ADF-4471] TaskCloud - disable editable fields when the task is unclaimed (#4680)
* [ADF-4471] TaskCloud - task header disabled when the task is unclaimed

* [ADF-4471] - fix unit test

* [ADF-4471] - pr changes

* [ADF-4471] - add return type
2019-05-14 15:30:35 +01:00
Silviu Popa
ead22d9e3c [ADF-4473] TaskCloud - add priority numeric validation (#4684)
* [ADF-4473] TaskCloud - add priority numeric validation

* [ADF-4473] - change validation conditiion

* [ADF-4473] - add return type

* [ADF-4473] - fix unit test
2019-05-09 17:48:23 +01:00
Maurizio Vitale
e88e0d9b45
[ADF-4409] ADF for Activiti Community - Be able to claim/release/complete task (#4677)
* Be able to claim/release/complete task for community
Be able to start a task/process
Fix unsubscribe on destroy

* Fix the construnctor
2019-05-02 14:30:38 +02:00
Silviu Popa
860529058c [ADF-4409] DemoShell - ADF compatibility with Activiti 7 (#4646)
* [ADF-4409] PorcessServicesCloud - add community page

* [ADF-4409] - add process and task details page

* [ADF-4409] fix lint and reset package-lock

* [ADF-4409] - PR changes

* [ADF-4409] -  PR changes

* [ADF-4409] - fix start task/process redirection

* [ADF-4409] - fix unit tests
2019-04-30 10:13:10 +01:00
Silviu Popa
03c9a1e5be [ADF-4420] TaskHeaderCloud - fix show endDate (#4631) 2019-04-22 02:31:00 +02:00
Silviu Popa
16aaa0f0b3 [ADF-4393] TaskHeaderCloud - remove readOnly property (#4599) 2019-04-12 13:59:14 +01:00
davidcanonieto
c9dbcdfc8c [ADF-4242] Make Date format uniform across components (#4496) 2019-03-27 09:55:34 +00:00
Silviu Popa
31658c0974 [ADF-4127] ProcessServicesCloud - add claim/unclaim directive (#4464)
* [ADF-4127] ProessServicesCloud - claim task directive

* [ADF-4127] - fix doc

* [ADF-4127] - revert docs changes

* [ADF-4127] - revert doc changes

* [ADF-4127] - fix doc and reset sourceLinker.js

* [ADF-4127] - refractor task-cloud.service. add validation for claim/unclaim and fix unit tests

* [ADF-4127] - fix docs files

* [ADF-4127[ - add aditional complete task validation

* [ADF-4127] - PR changes

* [ADF-4127] - complete docs file

* [ADF-4127] - more PR changes

* [ADF-4127] - change Unclaim task name and wait for task to be claimed and unclaimed before emit the success event

* [ADF-4127] - fix unit tests
2019-03-25 12:24:26 +00:00
Silviu Popa
791051edee [ADF-4128] ProcessCloud - add complete task directive (#4364)
* [ADF-4128] ProcessCloud - add complete task directive

* [ADF-4128]  ProcessCloud - fix completion functionality and add documentation

* [ADF-4128] ProcessCloud - PR changes

* [ADF-4128] ProcessCloud - lint

* [ADF-4148] ProcessServicesCloud - change layout

* [ADF-4128] fix PR changes

* [ADF-4128] - refractor complete task directive

* [ADF-4128] - fix lint

* [ADF-4128] - PR changes

* [ADF-4128] - replace isCompleted method  from service with model method

* [ADF-4128] fix unit tests

* [ADF-4128] - change travis yml

* [ADF-4128] - fix travis.yml

* [ADF-4128] - travis lint
2019-03-18 12:34:08 +00:00
Eugenio Romano
c55cba5514
license header update 2019 (#4300) 2019-02-12 01:18:43 +00:00
davidcanonieto
08c9b6d117 [ADF-3940] Fix Parent Name property in Task Header Cloud component (#4201)
* [ADF-3940] Fix Parent Name property in Task Header Cloud component

* [ADF-3940] Add back missing default value for parent name item
2019-01-25 12:08:52 +00:00
Andy Stark
27adae8e1e [ADF-3745] Added docs for proc cloud services (#4183) 2019-01-18 14:30:34 +00:00
davidcanonieto
f2b5300705 [ADF-3769] Task Header Cloud Component for APS 2 (#4140)
* [ADF-3769] Task Header Cloud Component for APS 2

* [ADF-3796] Add error catch to affected-libs.sh

* [ADF-3769] Add readOnly mode and remove selectFirstRow in Task List Cloud component
2019-01-16 13:43:05 +00:00