Commit Graph

584 Commits

Author SHA1 Message Date
Norman Schmidt e72ef4ac4e TSK-1969: added getUsers method to UserService 2023-01-11 07:05:24 +01:00
Mustapha Zorgati 24af59db2d Updated poms to version 5.8.1-SNAPSHOT 2022-10-20 20:56:19 +00:00
Mustapha Zorgati 45417f887d TSK-1957: exposed domain attribute via REST 2022-10-20 22:38:54 +02:00
Norman Schmidt dc9e2e1d5f TSK-1967: make owner of Task updatable when Task is 'READY_FOR_REVIEW' 2022-10-20 21:49:16 +02:00
norman-schmidt b9b49f47a1
TSK-1965: create endpoints for all state transitions (#2024)
* TSK-1965: created endpoint for force claiming a task

* TSK-1965: created endpoint for force completing a task

* TSK-1965: restructured TaskController to match TaskService structure

* TSK-1965: structured TaskControllerIntTest

* TSK-1965: created endpoint for terminating a task

* TSK-1965: created endpoint for setting a task read
2022-10-20 14:20:24 +02:00
norman-schmidt e40623ce0f
TSK-1957: groups are included in the domain aggregation (#2021)
* TSK-1957: groups are included in the domain aggregation

- added schema GROUP_INFO
- added group related methods to UserMapper / UserMapperSqlProvider
- User API extended with groups
- UserInfoRefreshJob includes groups
2022-10-20 14:16:47 +02:00
Mustapha Zorgati 63d5477e06 TSK-1919: re-enabled architecture tests and fixed freeze mechanism
cause of the issue(s): misconfiguration of the slices feature

Co-authored-by: Oliver Koch <oliver.koch@novatec-gmbh.de>
2022-10-17 11:27:04 +02:00
Norman Schmidt 90a64a9b88 TSK-1957: extend getUser() method with domain information
- extended WorkbasketQuery methods 'accessIdsHavePermission' & 'callerHasPermission' to accept multiple permissions
- added domain attribute to User API
- extended UserService to aggregate domain information

Co-authored-by: Mustapha Zorgati <15628173+mustaphazorgati@users.noreply.github.com>
2022-10-11 17:43:31 +02:00
Norman Schmidt 5a14c00fa1 TSK-1957: add taskana property 'minimalPermissionsToAssignDomains' 2022-10-11 17:43:31 +02:00
Mustapha Zorgati ac139ecacc Updated poms to version 5.7.1-SNAPSHOT 2022-09-27 05:36:47 +00:00
ryzheboka e1d205d4ef TSK-1947: processing of LDAP-data after refresh 2022-09-14 17:53:35 +02:00
Mustapha Zorgati c145e66e30 Updated poms to version 5.6.1-SNAPSHOT 2022-09-06 16:01:03 +00:00
Mustapha Zorgati acb53a5a61 Updated poms to version 5.5.1-SNAPSHOT 2022-08-20 16:36:41 +00:00
Mustapha Zorgati 3c2688daef Updated poms to version 5.4.1-SNAPSHOT 2022-08-11 15:54:34 +00:00
Mustapha Zorgati 5f4923fe0a TSK-1943: added REST endpoint for force requesting a review on a Task 2022-08-11 17:08:10 +02:00
Mustapha Zorgati 6997d64083 TSK-1943: added REST endpoint for force requesting changes on a Task 2022-08-11 17:08:10 +02:00
Mustapha Zorgati bbb01653f5 TSK-1943: added REST endpoint for requesting changes on a Task 2022-08-11 17:08:10 +02:00
Mustapha Zorgati 42f7eea2f2 TSK-1943: added REST endpoint for requesting a review on a Task 2022-08-11 17:08:10 +02:00
ryzheboka 0b4445b97b TSK-1923: clean parameter names in Query entities 2022-08-09 13:17:48 +02:00
Mustapha Zorgati d32a6189c7 Updated poms to version 5.3.1-SNAPSHOT 2022-08-02 15:25:22 +00:00
ryzheboka 70c64dd66e TSK-1837: Add custom-int-x-from and custom-int-x-to to rest 2022-08-02 14:35:13 +02:00
ryzheboka 803b4b20a2 TSK-1837: Add within and notWithin filter criteria 2022-08-02 14:35:13 +02:00
ryzheboka 18ee26ba80 TSK-1837: Add custom_int fields and standard operations on them 2022-08-02 14:35:13 +02:00
Mustapha Zorgati 9ffa3f76c0 Updated poms to version 5.2.2-SNAPSHOT 2022-07-05 15:34:08 +00:00
ryzheboka 1b9794d34a TSK-1886: add MASTER_DOMAIN into the SharedConstants class 2022-06-14 09:59:19 +02:00
Mustapha Zorgati 34ac68000b Updated poms to version 5.2.1-SNAPSHOT 2022-06-08 21:21:45 +00:00
Yakup Ensar Evli e69273bc5c TSK-1893: Convert LDAP AccessId Search inputs to lower case
Extended former testLdap_searchGroupByDn() method with upper case inputs and renamed according to the Testing Guidelines.
2022-06-08 15:30:44 +03:00
ryzheboka a23060ba64 TSK-1836: add withoutAttachment as query parameter in REST and taskana-core 2022-06-01 12:15:03 +02:00
ryzheboka 3bbd7446e2 TSK-1894: set manual priority to default in rest 2022-05-27 17:21:30 +02:00
Mustapha Zorgati 93d0b27bb0 TSK-1831: dropped support for JDK8
Co-authored-by: Yakup Ensar Evli <54323073+ensarevlideveloper@users.noreply.github.com>
Co-authored-by: ryzheboka <25465835+ryzheboka@users.noreply.github.com>
Co-authored-by: knht <43456808+knht@users.noreply.github.com>
2022-04-26 15:27:56 +02:00
ryzheboka b4e1f9bc31 TSK-1532: Refactor names of entities in REST-Doc by capitalizing them; refactor Java-doc according to guidelines 2022-04-15 11:43:57 +02:00
Mustapha Zorgati 433bf63883 Updated poms to version 5.1.1-SNAPSHOT 2022-04-06 14:55:13 +00:00
ryzheboka bc86006877 TSK-1803: add manual priority to task in REST 2022-04-05 15:52:56 +02:00
holgerhagen e738cd2867 TSK-1833: distinguish between ldap user and group by objectClass 2022-03-30 18:19:45 +02:00
holgerhagen 6a41254009 TSK-1820: introduced switch for LDAP group member filter types 2022-03-25 16:30:08 +01:00
ryzheboka 4444816589 TSK-1827: add sorting by ownerLongName 2022-03-25 10:31:52 +01:00
ryzheboka 70dfebb432 TSK-1822: fix error message for wrong order parameter 2022-03-22 15:00:02 +01:00
Mustapha Zorgati 2f56e1da20 Updated poms to version 5.0.2-SNAPSHOT 2022-03-08 16:46:03 +00:00
holgerhagen 4f48fe93c6 TSK-1807: renamed setCustomAttribute to setCustomField 2022-03-08 17:10:37 +01:00
Mustapha Zorgati cb2dd603b5 Updated poms to version 5.0.1-SNAPSHOT 2022-03-04 09:04:11 +00:00
ryzheboka 967e59e012 TSK-1800: add secondary object references 2022-02-25 10:23:40 +01:00
ryzheboka 7378223b4b TSK-1801: rename rest-parameter by replacing '.' by '-' 2022-02-22 11:39:21 +01:00
Mustapha Zorgati 32e0c7c1eb Updated poms to version 4.13.1-SNAPSHOT 2022-01-18 15:07:50 +00:00
Tristan 38ecaec5ab TSK-1770: Made Paging not max page, when requesting page>maxPage 2022-01-18 11:27:48 +01:00
ryzheboka fd5b110608 TSK-1665: rename the 'object-reference' query parameter into 'por' and add documentation for complex query parameter 2022-01-17 08:42:01 +01:00
ryzheboka ae5774b340 TSK-1665: object-reference can now be used as parameter to a task query. It is interpreted as json. 2022-01-17 08:42:01 +01:00
ryzheboka 6e0e273fd3 TSK-1784: throw exception while searching for tasks if only domain but no workbasket key is specified 2022-01-13 14:58:53 +01:00
holgerhagen 5662a6201c TSK-1772: Upgrade to Spring Boot 2.6.1. 2021-12-20 10:01:08 +01:00
Mustapha Zorgati c7742b3056 TSK-1775: reformatted entire backend code base
with new formatter
2021-11-26 13:18:27 +01:00
Mustapha Zorgati e49a13422b Updated poms to version 4.12.1-SNAPSHOT 2021-11-24 08:47:46 +00:00
holgerhagen 2c89353fc7 TSK-1769: TaskQuery on CustomFields distinguishes between empty / null. 2021-11-22 10:03:56 +01:00
Mustapha Zorgati e895cc16dc Updated poms to version 4.11.1-SNAPSHOT 2021-11-05 16:41:41 +00:00
holgerhagen ac952ee3ec TSK-1764: PR review and fixes. 2021-11-04 10:41:33 +01:00
holgerhagen bdaf4ec428 TSK-1764: fixed debug statement in UserInfoRefreshJob 2021-11-04 10:41:33 +01:00
holgerhagen 2bdfe4dbc3 TSK-1764: added filter parameter to WorkbasketPriorityReport API. 2021-11-04 10:41:33 +01:00
holgerhagen 9d615c437a TSK-1756: additional user ldap attributes are now optional. 2021-11-03 17:48:08 +01:00
Holger Hagen 97b5c73158 TSK-1751: LdapClient now returns accessIds for users in lower case if configured. 2021-11-03 15:48:10 +01:00
Mustapha Zorgati 23919eb0a1 TSK-1762: fixed some code smells 2021-11-03 15:22:56 +01:00
Holger Hagen fc3202f201 TSK-1758: fixed state and domain filter in Reporting REST API. 2021-10-26 13:01:11 +02:00
Holger Hagen e3edb45d67 TSK-1755: prevent null values in custom field of task, workbasket and classification. 2021-10-26 10:32:40 +02:00
Mustapha Zorgati 46cc217156 Updated poms to version 4.10.1-SNAPSHOT 2021-10-11 10:07:29 +00:00
Joerg Heffner 69ee0235e4 TSK-1723: Review Findings 2021-10-08 17:14:53 +02:00
Joerg Heffner e033f35cdc TSK-1723: Synchronization of LDAP data for users 2021-10-08 17:14:53 +02:00
Mustapha Zorgati 846f6dc82b TSK-1737: documented API 2021-10-08 13:02:29 +02:00
Joerg Heffner 676caaae84 TSK-1726: Review Findings 2021-10-08 08:38:21 +02:00
Joerg Heffner e264a20389 TSK-1726: Implemented option to include long name on Task / TaskComment / TaskHistoryEvent 2021-10-08 08:38:21 +02:00
Lia Lissmann 1bab31e43c TSK-1727: + TSK-1624: Add notLike and notIn filter parameter to TaskQuery 2021-10-05 13:28:26 +02:00
Mustapha Zorgati 05fce27222 TSK-1737: created ConfigurationService which manages custom attributes 2021-09-29 12:35:06 +02:00
Mustapha Zorgati 4ae94ff108 TSK-1741: WorkbasketPriorityReport now accepts column headers as request params 2021-09-29 10:24:01 +02:00
Mustapha Zorgati 60cdb4b08f Updated poms to version 4.9.2-SNAPSHOT 2021-09-16 15:48:44 +00:00
Sofie Hofmann a33cf9f14c TSK-1712: Introduce Tasks-by-priority charts in Monitor component 2021-09-15 12:56:24 +02:00
Lia Lissmann 816befbbdc TSK-1682: Refactor TaskRestExceptionHandler to use a Map of ExceptionClass to HttpStatusCode 2021-09-14 14:20:24 +02:00
tge20 1e3f90509d
TSK-1706: Implementation of the new UserService (#1692) 2021-09-07 07:50:04 +02:00
Mustapha Zorgati 0fcc08ddd2 Updated poms to version 4.9.1-SNAPSHOT 2021-08-31 14:57:33 +00:00
Tristan 37209776af TSK-1687: Added Rest Docs for WorkbasketPriorityReport 2021-08-31 16:43:22 +02:00
Tristan2357 fe292ea5b5
TSK-1687: Provide REST API for WorkbasketReports, structured by priority instead of days (#1685)
* TSK-1687: Added WorkbasketPriorityReport

Java and REST API

* TSK-1687: Added Tests

* TSK-1687: Adapted Tests, because of extended monitor test data

* TSK-1687: PR amends (remember to squash and rebase)
2021-08-31 12:52:14 +02:00
Lia Lissmann 2b7e7902a3 TSK-1710: Fixed a few code smells 2021-08-25 10:13:50 +02:00
Holger Hagen aa233fec1b TSK-1701: added integration test for task routing via REST API. 2021-08-13 10:25:43 +02:00
Mustapha Zorgati 698808e9d3 TSK-1693: automatic reformatting 2021-08-11 11:17:27 +02:00
Mustapha Zorgati bc024e3194 Updated poms to version 4.8.1-SNAPSHOT 2021-08-02 19:55:32 +00:00
Mustapha Zorgati 6dfb751bee TSK-1659: Expanded TimeIntervalReportBuilder with custom-X filter
Co-authored-by: Tim Gerversmann<72377965+tge20@users.noreply.github.com>
2021-08-02 21:23:10 +02:00
Tristan 7e6c045ded TSK-1240: PR amends 2021-08-02 16:41:37 +02:00
Tristan 140134eec5 TSK-1240: Added SpringArchitectureTest 2021-08-02 16:41:37 +02:00
Tristan fd761ee3ac TSK-1666: Fixed QueryParameters of Rest Docs
By adding @JsonProperty to all parameters
2021-08-02 16:41:37 +02:00
Holger Hagen 0ebdb3095b TSK-1676: Fixed REST Exception Mapping for *InUseExceptions. 2021-08-02 16:13:06 +02:00
Mustapha Zorgati 6f344c9363 TSK-1647: automatic refactoring 2021-08-02 11:46:33 +02:00
Mustapha Zorgati 9d290f2c3d TSK-1647: minor rest test refactoring 2021-08-02 11:46:33 +02:00
Mustapha Zorgati 6da07b069a TSK-1647: minor improvements and fixes 2021-08-02 11:46:33 +02:00
Tristan2357 99eba636a1
TSK-1674: Added received timestamp to task (#1638)
* TSK-1674: Added RECEIVED timestamp to task entity

Erweiterung Datenmodell um das Feld “RECEIVED” von Typ TIMESTAMP an der Task
Update-Skript
Task-Modell erweitern
TaskQuery erweitern
TaskQueryMapper anpassen
REST API erweitern
Doku erweitern

Es fehlt noch: 
Acceptance Test und Integrationstest erstellen
Task-Ansicht im Workplace um received Timestamp erweitern

TSK-1658: PR amends addons

* TSK-1674: Added sample and test data

added received to RepresentationModels

* TSK-1674: adapted TaskMapper

* TSK-1674: Frontend: added received field in Task Status Details

* TSK-1674: Added received to TaskQueryFilter

* TSK-1674: Added Tests for received

* TSK-1674: Test fixes on postgres

* TSK-1674: Test fixes on db2

* TSK-1674: Code was smelly

* TSK-1674: PR amends

* TSK-1674: createAttachement now receives an instant instead of a string
2021-07-29 14:58:57 +02:00
Mustapha Zorgati 98f2a2f024 TSK-1677: fixed retrieval of all master classifications
Co-authored-by: Sofie Hofmann<29145005+sofie29@users.noreply.github.com>
2021-07-28 10:23:48 +02:00
Mustapha Zorgati 358e699f9f TSK-1664: fixed some code smells and redesigned RestHelper 2021-07-16 11:08:05 +02:00
Tristan Eisermann 375a92291d TSK-1658: Created TaskQueryMapperSqlProvider
TSK-1658: Added CustomXNotIn fields


TSK-1658: Tests fixed


TSK-1658: Added Test


TSK-1658: introduced methods for common OnjectReference where parts


TSK-1658: small stuff
2021-07-15 14:03:00 +02:00
Mustapha Zorgati 34d2bbfa92 TSK-1647: Implemented an error key for every exception
Co-authored-by: Tristan Eisermann<19949441+Tristan2357@users.noreply.github.com>
Co-authored-by: Tim Gerversmann<72377965+tge20@users.noreply.github.com>
Co-authored-by: Sofie Hofmann<29145005+sofie29@users.noreply.github.com>

javaDoc Exceptions

blub

TSK-1647: now validating existing & not authorized tasks :)
2021-07-14 10:49:34 +02:00
Holger Hagen 9375b3ead2 TSK-1308: Format corrections. 2021-07-13 11:31:57 +02:00
Tristan Eisermann 7e7970eb59 TSK-1656: Added from and until for created and completed 2021-07-07 22:08:15 +02:00
Holger Hagen 95fd731d25 TSK-1308: Retrieve users by DN without using userSearchBase. 2021-07-06 12:45:55 +02:00
Martin Sawilla 039ec5a464
TSK-1661: Added sort-by parameters for all entities. (#1624) 2021-07-02 14:38:26 +02:00
dependabot[bot] a269c9d2f5 Bump checkstyle from 8.43 to 8.44
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.43 to 8.44.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.43...checkstyle-8.44)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 17:01:18 +02:00
Tim Gerversmann 1c83b7871f TSK-1646: Bugfix for creation / update of Task with invalid Attachment 2021-06-22 16:14:09 +02:00
Mustapha Zorgati 334d21ba7d Updated poms to version 4.7.1-SNAPSHOT 2021-06-11 06:17:32 +00:00