Commit Graph

1787 Commits

Author SHA1 Message Date
Joerg Heffner 901991e90b TSK-1333: Review findings 2020-08-05 16:48:33 +02:00
Joerg Heffner b7237021e2 TSK-1333: Add history events for cancelled/terminated tasks 2020-08-05 16:48:33 +02:00
Nikita Kolytschew 5030415f17 TSK-1085: Hateoas self-links which contain variables are not working for Paged representationmodels
Bug Fix
* update Aspect
* update unit-test and test "href-self" part of json
* fix checkstyl-finding
2020-08-05 15:53:41 +02:00
Chi Nguyen d6c1040bb0
TSK-1354: built files use gzip compression (#1211) 2020-08-05 13:47:12 +02:00
Chi Nguyen e022d62f91
TSK-1343: Migrate from karma/jasmine to jest (#1203)
* TSK-1289: Bumped to latest angular@8

* TSK-1289: Bumped to angular@9

* TSK-1289: Configured app for angular@9

* TSK-1343: Migrate from karma/jasmine to jest

* TSK-1343: Remove unused packages

* TSK-1343: Removed unnecessary dependencies

* TSK-1343: Update jest output settings

Co-authored-by: Tristan Eisermann <19949441+Tristan2357@users.noreply.github.com>
2020-08-05 09:40:42 +02:00
Chi Nguyen 16d32fe5ab
TSK-1289: Upgrade to Angular 9 (#1202)
* TSK-1289: Bumped to latest angular@8

* TSK-1289: Bumped to angular@9

* TSK-1289: Configured app for angular@9
2020-08-05 09:18:44 +02:00
Mustapha Zorgati d3209304ff TSK-1344: fixed sql query for workbasketreport with classifications 2020-07-30 12:29:04 +02:00
Mustapha Zorgati d62184df2c TSK-1344: Added public method Report#createRow to allow manual addition of report rows 2020-07-29 14:26:53 +02:00
dependabot-preview[bot] 4fea8b5402 Bump version.spring.boot from 2.3.1.RELEASE to 2.3.2.RELEASE
Bumps `version.spring.boot` from 2.3.1.RELEASE to 2.3.2.RELEASE.

Updates `spring-boot-dependencies` from 2.3.1.RELEASE to 2.3.2.RELEASE
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.3.1.RELEASE...v2.3.2.RELEASE)

Updates `spring-boot-maven-plugin` from 2.3.1.RELEASE to 2.3.2.RELEASE
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.3.1.RELEASE...v2.3.2.RELEASE)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-28 09:29:46 +00:00
dependabot-preview[bot] 427d87a036 Bump checkstyle from 8.34 to 8.35
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.34 to 8.35.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.34...checkstyle-8.35)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-28 09:29:29 +00:00
Chi Nguyen 1bc7490b87
TSK-1216: Storing access items management states in NGXS store (#1198)
* TSK-1216: Initalized access items management store

* TSK-1216: Implemented logic in state

* TSK-1216: update row height, fixed access items groups not showing up

* TSK-1216: Initalized access items management store

* TSK-1216: Implemented logic in state

* TSK-1216: update row height, fixed access items groups not showing up

* TSK-1216: Optimized code for revoking access
2020-07-28 11:04:56 +02:00
Tristan Eisermann 04729b86f8 TSK-1315: Now uses (input) instead of (keypress)
to catch pasting and deleting
2020-07-28 10:59:15 +02:00
Tristan Eisermann a2c5b22435 TSK-1315: Added inputLengthValidation to Workplace/Task 2020-07-28 10:59:15 +02:00
Tristan Eisermann 153f783a8a TSK-1315: Moved validation from components to service 2020-07-28 10:59:15 +02:00
Tristan Eisermann 78ba08fd77 TSK-1315: Added maxlength validation in workbasket
Also small fixes and formating
2020-07-28 10:59:15 +02:00
Tristan Eisermann 33845db647 TSK-1315: Now uses maxlength for validation in classification 2020-07-28 10:59:15 +02:00
Tristan Eisermann da4a90c998 TSK-1315: Start of input validation using pattern 2020-07-28 10:59:15 +02:00
Tristan Eisermann 31cd7af0ce TSK-1338: Workplace now displays tasks of workbasket, when a task is selected 2020-07-28 10:24:12 +02:00
Mustapha Zorgati 6ae65b1d21 fixed build by correcting the date based breaking tests 2020-07-28 07:06:23 +02:00
Mustapha Zorgati b3c5084291 TSK-1267: TimeIntervalReportBuilder#listTaskIdsForSelectedItems now works with TaskTimestamp aswell 2020-07-26 13:38:24 +02:00
Mustapha Zorgati 38133484c0 TSK-1344: renamed TaskCustomFieldValueReport getter in MonitorService 2020-07-26 00:49:36 +02:00
Joerg Heffner d8cf2479fe TSK-1346: Fix update scripts 2020-07-24 16:38:46 +02:00
Mustapha Zorgati 2a655d3944 TSK-1331: added documentation for multiple sort-by parameters 2020-07-24 10:08:47 +02:00
Mustapha Zorgati 7cc5b00be6 TSK-1345: replaced every customField API call with CustomField enums 2020-07-24 01:05:42 +02:00
Mustapha Zorgati f5e3d449b6 TSK-1344: introduced displayName for Row 2020-07-22 19:18:53 +02:00
Mustapha Zorgati 278d17ecfe TSK-1344: added key for all rows 2020-07-22 19:18:53 +02:00
Chi Nguyen d8b9c6fed9 TSK-1337: Added contributors and code style to readme 2020-07-22 11:53:17 +02:00
Chi Nguyen 29e468e6aa
TSK-981: Provide frontend formatter for common IDEs (#1187)
* TSK-981: tested adding prettier

* TSK-981: Refined prettier and eslint configs

* TSK-981: Update eslint rules

* TSK-981: Updated VS Code settings and ignore folders

* TSK-981: Added editor config

* TSK-981: added html to prettierignore

* TSK-981: tested adding prettier

* TSK-981: Refined prettier and eslint configs

* TSK-981: Update eslint rules

* TSK-981: Updated VS Code settings and ignore folders

* TSK-981: Added editor config

* TSK-981: added html to prettierignore

* TSK-981: reformatted code using prettier/new eslint configs
2020-07-22 10:44:33 +02:00
Chi Nguyen 59b45f626a
TSK-1215: Workbasket component NGXS store (#1169)
* TSK-1214: refactored taskana-classification

TSK-1214 Trying to make drag'n drop in tree possible

TSK-1214 Removed refreshClassification output from tree

TSK-1214 New action in store updates a classification and refetches all, saving now correctly refreshes the classification-list

TSK-1214 Fixed tests in tree component

TSK-1214 Removed tree service and corresponding test in class-details

TSK-1214 fixed issues in tree where multiple actions to store are fired incorrectly

TSK-1214 added accessibility action, use space to select a tree node

TSK-1214 swapped space and enter in tree component, cleaned code

TSK-1214 fixed bug where page isn't updated dynamically according to browser path

TSK-1214 workaround circular dependency.

service uses snapshot of store, does not actually access the state in store

TSK-1214 fixed eslint. TODO: circular dependency between classification.service and classification.state

TSK-1214 changed first() to take(1) to fix Observable dying during test

TSK-1214 fixed test cases and lint issues

TSK-1214 fixed circular dependency

TSK-1214 devmode = false

TSK-1214: fixed merge problems with notificationService and removed some warnings

TSK-1214: fixed merge problems with notificationService

TSK-1214 remove wrong imports from before merge

* TSK-1215 initialized workbasket ngxs store with get all and select workbasket

* TSK-1215 added actions for creating workbasket and getting workbasket access items

* TSK-1215 fixed models' attributes in workbasket

* TSK-1215 changed workbasket models from class type to interface type

* TSK-1215 correct the naming scheme for models in workbasket

* TSK-1215 update workbasket models to mirror backend entities

* TSK-1215 implemented workbasketsSummary in store

* TSK-1215 workbasket list data is now populated using NGXS Store

* TSK-1215 fixed console errors while navigating pagination

* TSK-1215 initialized workbasket-overview

* TSK-1215 removed unnecessary subscriptions

* TSK-1215 fixed workbasket access items still using WorkbasketAccessItems as a class instead of an interface

* TSK-1215 implemented routing for workbasket overview, removed master-details component

* TSK-1215 implemented new behaviors based on ngxs store instead of router

* TSK-1215 bug fixes for creating, selecting and deselecting workbasket

* TSK-1215 further bugs fixing regarding creating and selecting workbasket

* TSK-1215 fixed bugs where input workbasket was immutable in information component

* TSK-1215 added remove distribution target and delete workbasket actions

* TSK-1215 implemented mark workbasket for deletion in state

* TSK-1215 implemented workbasket copy function

* TSK-1215 implemented mark workbasket for deletion

* TSK-1287 implemented typeahead for owner field in workbasket

* TSK-1215 added actions for workbasket access items and distribution targets

* TSK-1215 fixed bugs saving or creating new workbasket

* TSK-1215 finished workbasket information

* TSK-1215 updated tests for workbasket list, details and information

* TSK-1215 increased HTML visibility, refine css

* TSK-1215 implemented workbasket access items using ngxs state

* TSK-1215 increased workbasket distribution target HTML code visibility

* TSK-1215 initialization of distribution targets now uses actions from state

* TSK-1215 use takeUntil for subscriptions instead of manually unsubscribing

* TSK-1215 save function for distribution targets now dispatch an action

* TSK-1215: code refinement in ngxs store

* TSK-1214: refactored taskana-classification

TSK-1214 Trying to make drag'n drop in tree possible

TSK-1214 Removed refreshClassification output from tree

TSK-1214 New action in store updates a classification and refetches all, saving now correctly refreshes the classification-list

TSK-1214 Fixed tests in tree component

TSK-1214 Removed tree service and corresponding test in class-details

TSK-1214 fixed issues in tree where multiple actions to store are fired incorrectly

TSK-1214 added accessibility action, use space to select a tree node

TSK-1214 swapped space and enter in tree component, cleaned code

TSK-1214 fixed bug where page isn't updated dynamically according to browser path

TSK-1214 workaround circular dependency.

service uses snapshot of store, does not actually access the state in store

TSK-1214 fixed eslint. TODO: circular dependency between classification.service and classification.state

TSK-1214 changed first() to take(1) to fix Observable dying during test

TSK-1214 fixed test cases and lint issues

TSK-1214 fixed circular dependency

TSK-1214 devmode = false

TSK-1214: fixed merge problems with notificationService and removed some warnings

TSK-1214: fixed merge problems with notificationService

TSK-1214 remove wrong imports from before merge

* TSK-1215 initialized workbasket ngxs store with get all and select workbasket

* TSK-1215 added actions for creating workbasket and getting workbasket access items

* TSK-1215 fixed models' attributes in workbasket

* TSK-1215 changed workbasket models from class type to interface type

* TSK-1215 correct the naming scheme for models in workbasket

* TSK-1215 update workbasket models to mirror backend entities

* TSK-1215 implemented workbasketsSummary in store

* TSK-1215 workbasket list data is now populated using NGXS Store

* TSK-1215 fixed console errors while navigating pagination

* TSK-1215 initialized workbasket-overview

* TSK-1215 removed unnecessary subscriptions

* TSK-1215 fixed workbasket access items still using WorkbasketAccessItems as a class instead of an interface

* TSK-1215 implemented routing for workbasket overview, removed master-details component

* TSK-1215 implemented new behaviors based on ngxs store instead of router

* TSK-1215 bug fixes for creating, selecting and deselecting workbasket

* TSK-1215 further bugs fixing regarding creating and selecting workbasket

* TSK-1215 fixed bugs where input workbasket was immutable in information component

* TSK-1215 added remove distribution target and delete workbasket actions

* TSK-1215 implemented mark workbasket for deletion in state

* TSK-1215 implemented workbasket copy function

* TSK-1215 implemented mark workbasket for deletion

* TSK-1287 implemented typeahead for owner field in workbasket

* TSK-1215 added actions for workbasket access items and distribution targets

* TSK-1215 fixed bugs saving or creating new workbasket

* TSK-1215 finished workbasket information

* TSK-1215 updated tests for workbasket list, details and information

* TSK-1215 increased HTML visibility, refine css

* TSK-1215 implemented workbasket access items using ngxs state

* TSK-1215 increased workbasket distribution target HTML code visibility

* TSK-1215 initialization of distribution targets now uses actions from state

* TSK-1215 use takeUntil for subscriptions instead of manually unsubscribing

* TSK-1215 save function for distribution targets now dispatch an action

* TSK-1215: code refinement in ngxs store

* TSK-1215: Optimize select workbasket algorithm

* TSK-1215: Fixed workbasket information not displaying correctly after saving

* TSK-1215: configured tests for workbasket distribution targets

* TSK-1215: updated unit tests for workbasket

* TSK-1215: cleaned up code, prep for PR

* TSK-1215: disable dev mode

* TSK-1215: fixed failed tests occured after merge

* TSK-1215: reverted node version

* TSK-1215: Further bugs fixed due to merging

* TSK-1068: Fixed bugs workbasket staying active after being moved

* TSK-1215: Fixed minor bugs in tests

* TSK-1215: various improvement in code, typeahead style

* TSK-1215: Updated typeahead css

* TSK-1215: Fixed failed tests due to merge

* TSK-1342: getTasksWorkbasketReport now filters for states

* TSK-1214: refactored taskana-classification

TSK-1214 Trying to make drag'n drop in tree possible

TSK-1214 Removed refreshClassification output from tree

TSK-1214 New action in store updates a classification and refetches all, saving now correctly refreshes the classification-list

TSK-1214 Fixed tests in tree component

TSK-1214 Removed tree service and corresponding test in class-details

TSK-1214 fixed issues in tree where multiple actions to store are fired incorrectly

TSK-1214 added accessibility action, use space to select a tree node

TSK-1214 swapped space and enter in tree component, cleaned code

TSK-1214 fixed bug where page isn't updated dynamically according to browser path

TSK-1214 workaround circular dependency.

service uses snapshot of store, does not actually access the state in store

TSK-1214 fixed eslint. TODO: circular dependency between classification.service and classification.state

TSK-1214 changed first() to take(1) to fix Observable dying during test

TSK-1214 fixed test cases and lint issues

TSK-1214 fixed circular dependency

TSK-1214 devmode = false

TSK-1214: fixed merge problems with notificationService and removed some warnings

TSK-1214: fixed merge problems with notificationService

TSK-1214 remove wrong imports from before merge

* TSK-1215 initialized workbasket ngxs store with get all and select workbasket

* TSK-1215 added actions for creating workbasket and getting workbasket access items

* TSK-1215 fixed models' attributes in workbasket

* TSK-1215 changed workbasket models from class type to interface type

* TSK-1215 correct the naming scheme for models in workbasket

* TSK-1215 update workbasket models to mirror backend entities

* TSK-1215 implemented workbasketsSummary in store

* TSK-1215 workbasket list data is now populated using NGXS Store

* TSK-1215 fixed console errors while navigating pagination

* TSK-1215 initialized workbasket-overview

* TSK-1215 removed unnecessary subscriptions

* TSK-1215 fixed workbasket access items still using WorkbasketAccessItems as a class instead of an interface

* TSK-1215 implemented routing for workbasket overview, removed master-details component

* TSK-1215 implemented new behaviors based on ngxs store instead of router

* TSK-1215 bug fixes for creating, selecting and deselecting workbasket

* TSK-1215 further bugs fixing regarding creating and selecting workbasket

* TSK-1215 fixed bugs where input workbasket was immutable in information component

* TSK-1215 added remove distribution target and delete workbasket actions

* TSK-1215 implemented mark workbasket for deletion in state

* TSK-1215 implemented workbasket copy function

* TSK-1215 implemented mark workbasket for deletion

* TSK-1287 implemented typeahead for owner field in workbasket

* TSK-1215 added actions for workbasket access items and distribution targets

* TSK-1215 fixed bugs saving or creating new workbasket

* TSK-1215 finished workbasket information

* TSK-1215 updated tests for workbasket list, details and information

* TSK-1215 increased HTML visibility, refine css

* TSK-1215 implemented workbasket access items using ngxs state

* TSK-1215 increased workbasket distribution target HTML code visibility

* TSK-1215 initialization of distribution targets now uses actions from state

* TSK-1215 use takeUntil for subscriptions instead of manually unsubscribing

* TSK-1215 save function for distribution targets now dispatch an action

* TSK-1215: code refinement in ngxs store

* TSK-1215 initialized workbasket ngxs store with get all and select workbasket

* TSK-1215 added actions for creating workbasket and getting workbasket access items

* TSK-1215 fixed models' attributes in workbasket

* TSK-1215 changed workbasket models from class type to interface type

* TSK-1215 correct the naming scheme for models in workbasket

* TSK-1215 update workbasket models to mirror backend entities

* TSK-1215 implemented workbasketsSummary in store

* TSK-1215 workbasket list data is now populated using NGXS Store

* TSK-1215 fixed console errors while navigating pagination

* TSK-1215 initialized workbasket-overview

* TSK-1215 removed unnecessary subscriptions

* TSK-1215 fixed workbasket access items still using WorkbasketAccessItems as a class instead of an interface

* TSK-1215 implemented routing for workbasket overview, removed master-details component

* TSK-1215 implemented new behaviors based on ngxs store instead of router

* TSK-1215 bug fixes for creating, selecting and deselecting workbasket

* TSK-1215 further bugs fixing regarding creating and selecting workbasket

* TSK-1215 fixed bugs where input workbasket was immutable in information component

* TSK-1215 added remove distribution target and delete workbasket actions

* TSK-1215 implemented mark workbasket for deletion in state

* TSK-1215 implemented workbasket copy function

* TSK-1215 implemented mark workbasket for deletion

* TSK-1287 implemented typeahead for owner field in workbasket

* TSK-1215 added actions for workbasket access items and distribution targets

* TSK-1215 fixed bugs saving or creating new workbasket

* TSK-1215 finished workbasket information

* TSK-1215 updated tests for workbasket list, details and information

* TSK-1215 increased HTML visibility, refine css

* TSK-1215 implemented workbasket access items using ngxs state

* TSK-1215 increased workbasket distribution target HTML code visibility

* TSK-1215 initialization of distribution targets now uses actions from state

* TSK-1215 use takeUntil for subscriptions instead of manually unsubscribing

* TSK-1215 save function for distribution targets now dispatch an action

* TSK-1215: code refinement in ngxs store

* TSK-1215: Optimize select workbasket algorithm

* TSK-1215: Fixed workbasket information not displaying correctly after saving

* TSK-1215: configured tests for workbasket distribution targets

* TSK-1215: updated unit tests for workbasket

* TSK-1215: cleaned up code, prep for PR

* TSK-1215: disable dev mode

* TSK-1215: fixed failed tests occured after merge

* TSK-1215: reverted node version

* TSK-1215: Further bugs fixed due to merging

* TSK-1068: Fixed bugs workbasket staying active after being moved

* TSK-1215: Fixed minor bugs in tests

* TSK-1215: various improvement in code, typeahead style

* TSK-1215: Updated typeahead css

* TSK-1215: Fixed failed tests due to merge

* TSK-1215: Rebase, prep for merge with master

Co-authored-by: Mustapha Zorgati <15628173+mustaphazorgati@users.noreply.github.com>
Co-authored-by: Tristan Eisermann <19949441+Tristan2357@users.noreply.github.com>
2020-07-22 09:54:57 +02:00
Mustapha Zorgati 97443641af TSK-1267: All TimeIntervalReports are now based on any TaskTimestamp 2020-07-21 16:48:36 +02:00
Sofie Hofmann 83a79eab18 TSK-1291: Removing action property in store to make the code cleaner 2020-07-21 13:45:21 +02:00
dependabot-preview[bot] 6e3c9b4560 Bump resteasy-client from 4.5.5.Final to 4.5.6.Final
Bumps [resteasy-client](https://github.com/resteasy/Resteasy) from 4.5.5.Final to 4.5.6.Final.
- [Release notes](https://github.com/resteasy/Resteasy/releases)
- [Commits](https://github.com/resteasy/Resteasy/compare/4.5.5.Final...4.5.6.Final)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-21 11:02:20 +00:00
Tristan Eisermann e441506812 TSK-1342: getTasksWorkbasketReport now filters for states 2020-07-21 09:16:32 +02:00
Tristan Eisermann 72d46b9324 TSK-1340: Classification now gets displayed correctly in Workplace 2020-07-20 08:19:30 +02:00
Chi Nguyen f9814fa68d TSK-1121: Updated unit test 2020-07-17 16:10:45 +02:00
Chi Nguyen 9205d87367 TSK-1121: Corrected HTML to fit old unit tests 2020-07-17 16:10:45 +02:00
Chi Nguyen d991db248c TSK-1121: Fixed bug displaying 0 workbasket while loading pagination 2020-07-17 16:10:45 +02:00
Tristan Eisermann 9bc4714f41 TSK-1327: Fixed small typo, that prevented proper rendering 2020-07-16 15:22:53 +02:00
Tristan Eisermann 0e83073202 TSK-1328: Fixed accessItemManagement, which did not show the searched ids accessItems 2020-07-16 11:39:33 +02:00
Joerg Heffner abced36ecd TSK-1336: Remove unnecessary warn logging in updateTask() 2020-07-16 11:26:06 +02:00
Tristan Eisermann f7910dd0c0 GHSA-p6mc-m468-83gw Security update by npm install 2020-07-16 09:36:41 +02:00
Chi Nguyen acf9273df9 TSK-999: Updated polyfills according to new corejs 2020-07-15 11:39:42 +02:00
Chi Nguyen 24893fb085 TSK-999: Updated deprecated dependencies 2020-07-15 11:39:42 +02:00
Mustapha Zorgati 9e44ca6140 TSK-1331: allowed multiple sortBy declarations in REST api 2020-07-10 14:33:32 +02:00
Joerg Heffner 4bba93c5a9 Review findings 2020-07-10 13:13:42 +02:00
Joerg Heffner d8ad7a7fb9 TSK-1250 On demand deletion of historical data 2020-07-10 13:13:42 +02:00
Sofie Hofmann eb480e4764 TSK-1324: Moved tree from shared to administration component 2020-07-10 12:16:14 +02:00
Sofie Hofmann 1fdf793a7b TSK-1324: Rename selectors in shared component 2020-07-10 12:16:14 +02:00
Sofie Hofmann caf886ffc7 TSK-1325: Renamed selectors in administration component 2020-07-10 12:13:39 +02:00
holgerhagen 6285d27920 TSK-1330: removed obsolete hateoas dependency declaration. 2020-07-10 10:46:57 +02:00