Commit Graph

330 Commits

Author SHA1 Message Date
Sofie Hofmann f64bb3d2da TSK-1041: Fixed accessID table header when scrolling 2020-08-05 17:35:20 +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
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
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
Sofie Hofmann 83a79eab18 TSK-1291: Removing action property in store to make the code cleaner 2020-07-21 13:45:21 +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
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
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
Mustapha dd7598443a Updated poms to version 3.2.1-SNAPSHOT 2020-07-02 20:59:38 +00:00
Chi Nguyen 59c233d758 TSK-1302 Fixed vulnerabilities in dependencies by updating build-angular, ngx-infinite-scroll, karma, protractor
@angular-devkit/build-angular 0.803.22 => 0.803.28 (v8 LTS)
karma 4.0.1 => 5.1.0
protractor 5.4.0 => 7.0.0
ngx-infinite-scroll 6.0.1 => 9.0.0
2020-07-02 13:32:31 +02:00
Tristan Eisermann c79c06010a TSK-1306: Fixed problem with domain switching in classifications 2020-07-01 13:15:49 +02:00
Mustapha Zorgati 135d78ff54 TSK-1298: TSK-1292: fixed several bugs in taskana-admin > classifications 2020-06-30 13:58:47 +02:00
Sofie Hofmann db9175a3f6 TSK-1305: Adapt classification type when entering a deep link 2020-06-30 11:26:41 +02:00
Sofie Hofmann 288b30ef58 TSK-1313: Renamed selectors in monitor component 2020-06-30 09:29:02 +02:00
Sofie Hofmann b51b1add49 TSK-1312: Fix bug due to type change while creating a new classification 2020-06-30 09:00:11 +02:00
Tristan Eisermann 6f225ebc28 TSK-1221: Fix for key not showing after copy of classification 2020-06-24 22:19:52 +02:00
Tristan Eisermann d07b11953d TSK-1221: Fixed problem with action and added test 2020-06-24 15:20:35 +02:00
Tristan Eisermann 7abb9b4c2f TSK-1221: Added test for copy
TSK-1221: Added copy functionality to classifications
2020-06-23 17:00:02 +02:00
Tristan Eisermann b0dc2663e5 TSK-1221: Added copy functionality to classifications 2020-06-23 17:00:02 +02:00
Sofie Hofmann 018ac2ebc1 TSK-1295: Tree no longer expands automatically when category is changed 2020-06-23 14:41:21 +02:00
Sofie Hofmann 2760b9ee59 TSK-1279: Enable the creation of subclassifications 2020-06-22 12:43:25 +02:00
Tristan Eisermann dbdf3e6b03 TSK-1214: Removed unneccessary copies and GET call 2020-06-17 14:21:38 +02:00
Tristan Eisermann 7b5927d281 TSK-1248 removed unnecessary get call from saveClassification action 2020-06-17 12:19:38 +02:00
Chi Nguyen 8434bde759 TSK-1214 implemented ngxs store as state manager for classification component 2020-06-17 12:19:38 +02:00
Mustapha Zorgati 493e25b565 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
2020-06-17 12:19:38 +02:00
Tristan Eisermann 015ba38a25 TSK-1039: Autofocus AccessID field after adding a new AccessID in Workbasket 2020-06-16 14:56:53 +02:00
Tristan Eisermann f749c8d272 TSK-1276: Added radio buttons for selection of classification types 2020-06-09 09:12:06 +02:00
Mustapha b15b799add Updated poms to version 3.1.1-SNAPSHOT 2020-06-07 15:00:31 +00:00
Tristan Eisermann 5416de4dd0 TSK-1276 Replaced checkboxes with radiobuttons in workbasket filter 2020-06-07 16:16:22 +02:00
Mustapha 4ed089fa98 Updated poms to version 3.0.1-SNAPSHOT 2020-05-22 02:08:13 +00:00
Mustapha Zorgati 7827557093 TSK-1205 Fixed problem with the callback of confirmation dialogs
TSK-1205 Increased the time every toast is shown

TSK-1205 Cosmetic changes to Toast and fixed error where multiple errorPopUps appeared simultaneously

TSK-1205
2020-05-21 22:17:27 +02:00