Commit Graph

361 Commits

Author SHA1 Message Date
Mustapha cd47ce2256 Updated poms to version 4.2.1-SNAPSHOT 2020-10-20 10:55:57 +00:00
Sofie Hofmann 4dccdb8351
TSK-1392: Ensure that a new workbasket is selected after saving (#1283) 2020-10-14 13:36:51 +02:00
Tristan Eisermann 06e10d8557 TSK-1349: expanded tests for import-export and removed unnecessary console.log calls 2020-10-06 14:49:02 +02:00
Tristan Eisermann 8cbbab4050 TSK-1349: Added test for import-export 2020-10-06 14:49:02 +02:00
Sofie Hofmann 9103508596 TSK-1371: Inform user about empty classification when creating a task 2020-09-28 10:44:36 +02:00
Sofie Hofmann 9acf972734 TSK-1349: Added unit test for classification-tree service 2020-09-28 10:40:49 +02:00
Mustapha 40f9587399 Updated poms to version 4.1.1-SNAPSHOT 2020-09-23 18:08:03 +00:00
Sofie Hofmann 972c09761c TSK-1391: New workbasket is selected after creation 2020-09-23 17:43:24 +02:00
Sofie Hofmann 4fd7423575 TSK-1383: Solving error in monitor when clicking on last entry in table 2020-09-15 13:04:19 +02:00
Sofie Hofmann 72476bc76d TSK-1370: A deleted task is immediately removed from the task list 2020-09-15 12:36:06 +02:00
Chi Nguyen 7b96490b65
TSK-1349: added unit test for workbasket dual list (#1256) 2020-09-10 11:07:29 +02:00
Sofie Hofmann bdb56c949f TSK-1349: Added unit test for classification-details component 2020-09-10 08:38:53 +02:00
Chi Nguyen 39032c9e3f
TSK-1380: Fix security vulnerable yargs-parser (#1254) 2020-09-07 13:25:28 +02:00
Sofie Hofmann 08d1841f46 TSK-1349: Added unit test for icon-type component 2020-09-02 14:23:10 +02:00
Mustapha d3bcfe2008 Updated poms to version 4.0.2-SNAPSHOT 2020-09-02 09:28:31 +00:00
Chi Nguyen 88b8486a49
TSK-1349: Workbasket access items unit tests (#1246)
* TSK-1349: remove html coverage to optimize test speed

* TSK-1349: init workbasket access items testing env

* TSK-1349: update workbasket access items unit tests
2020-09-02 11:03:59 +02:00
Sofie Hofmann 04c98eb81b TSK-1349: Added unit test for classification-list component 2020-09-01 15:23:21 +02:00
Tristan Eisermann 9c64a5d848 TSK-1372: Historytable should now display directly after opening 2020-09-01 12:03:17 +02:00
Sofie Hofmann 5665ae2241 TSK-1349: Added unit test for classification-overview 2020-08-25 10:28:25 +02:00
Chi Nguyen 338fedf49f
TSK-1376: Fixed taskana admin not displaying correctly when using custom domain (#1240)
* TSK-1376: fixed issues where custom domain is loaded after the webapp is finished initializing

* TSK-1376: added comment explaining

* TSK-1376: webapp now uses values from environment-information.json as default data
2020-08-24 17:50:52 +02:00
Chi Nguyen f99c437fdc
TSK-1349: Unit tests for workbasket-details, -information (#1237)
* TSK-1349: init test file for workbasket details

* TSK-1349: updated workbasket details test

* TSK-1349: extended tests for workbasket-details

* TSK-1349: init workbasket-information test

* TSK-1349: added test cases for workbasket information

* TSK-1349: added undo test

* TSK-1349: moved data to mock-store, extend workbasket information tests

* TSK-1349: Fixed typos, naming variables
2020-08-24 16:57:48 +02:00
Sofie Hofmann e0a99bc9a9 TSK-1349: Added unit test for classification-types-selector component 2020-08-24 11:39:55 +02:00
Chi Nguyen 008c1aec20
TSK-1349: Added unit test for Workbasket-Overview, -List and -ListToolbar (#1236)
* TSK-1349: added test for workbasket overview

* TSK-1349: moved animations ts files to shared

* TSK-1349: added unit test for workbasket list toolbar

* TSK-1349: added unit tests for workbasket-list

* TSK-1349: improved tests for workbasket-overview

* TSK-1349: Updated test for workbasket list, workbasket-list-toolbar

* TSK-1349: added more test variants for workbasket overview

* TSK-1349: removed console log

* TSK-1349: removed CUSTOM_ELEMENTS_SCHEMA

* TSK-1349: improved tests

* TSK-1349: further optimized tests
2020-08-19 12:52:57 +02:00
Chi Nguyen 8a6e68d0b9
TSK-1349: Added unit test for access items management (#1218)
* TSK-1349: added unit test for access items management

* TSK-1349: updated test

* TSK-1349: clean up test code

* TSK-1349: fixed fixture not working correctly in test

* TSK-1349: added shared sort stub

* TSK-1349: added new tests and fixed html attr

* TSK-1349: updated test desc and matcher

* TSK-1349: fixed stub not working correctly
2020-08-17 17:35:59 +02:00
Tristan2357 72d4c3150a
TSK-1356: Fixed selector for access items in workbaskets (#1223) 2020-08-17 11:45:33 +02:00
Mustapha f5498511f1 Updated poms to version 4.0.1-SNAPSHOT 2020-08-13 12:46:30 +00:00
Tristan2357 0cd78a8781
TSK-1366: deactivated some tests due to inconsistencies (#1233) 2020-08-13 14:02:21 +02:00
Tristan2357 9ed484e687
TSK-1366: Expanded e2e tests
* TSK-1366: Added and expanded tests for workbasket

* TSK-1366: Added simple test for history
2020-08-13 13:00:37 +02:00
Sofie Hofmann d77b8c7ffe TSK-1155: Claiming a task and cancelling a claim works in UI/workplace 2020-08-12 11:33:52 +02:00
Tristan2357 9b65838a79
TSK-1356: added cypress e2e testing
* Add initial cypress files and testcases

* Fix cypress workbasket merge errors

* change testValue for WorkbasketSelection

* TSK-1356: added cypress e2e testing to ci pipeline

* TSK-1356: Fixed cypress tests

Also changed default example data, so that workbaskets contain valid owners

* TSK-1356: hopefully fixed small startup problem in travis

* TSK-1356: revert of test-data

* TSK-1356: Modified ldif to support our test data

* TSK-1356: Removed unused cypress.json

Co-authored-by: Tobias Baden <16336696+tbdn@users.noreply.github.com>
2020-08-11 15:41:50 +02:00
Tristan Eisermann 418f37917d TSK-1338: List now does not refresh after selection of a task 2020-08-10 18:37:56 +02:00
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