Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge develop for release 1.14.0 #434

Merged
merged 132 commits into from
Feb 18, 2024
Merged

Merge develop for release 1.14.0 #434

merged 132 commits into from
Feb 18, 2024

Conversation

mwithi
Copy link
Member

@mwithi mwithi commented Feb 18, 2024

Merge develop for release 1.14.0

dbmalkovsky and others added 30 commits June 14, 2023 17:46
* Fix HttpSession usage for session audit

- enable setAllowCredentials(true)
- replace setAllowedOrigins(Arrays.asList("*")) with
addAllowedOriginPattern("*") for CORS

* Set HttpOnly cookies for Spring sessions.

Set HTTPS flag "secure" commented, if required

* Add comment
* OP-1113 Create PID file for controlling API from scripts

* Changed the pid filename to a placeholder (it works also as filename)
Merge "back" after release 1.13.0
* OH2-205: Add code generation on Swagger

* fix bug on swagger ui

* update the route of the api

* add response message on logout api

* upgrade swagger to v3

* format code on pom.xml

* format the code

* OH2-207: add pagination on opd controller

* remove format in all property date of DTO

* add securituRequirement on all controller

* OH2-208: update pageInfoDTO

* fix swagger error

* fix correct allowableValues on PatientDTO

* add response type on LoginController

* Update src/main/java/org/isf/shared/GenericMapper.java

* Update src/main/java/org/isf/login/rest/LoginController.java

* Update src/main/java/org/isf/lab/rest/LaboratoryController.java

* rename LoginApi to LogoutApi and remove LoginResponse in security package

* Update rsc/application.properties.dist

* Update src/main/java/org/isf/security/LogoutApi.java

* change Tag login to Logout

* Update README.md with Swagger 3 instructions (#77)

* Update src/main/java/org/isf/security/LogoutApi.java

Co-authored-by: ArnaudFonzam <[email protected]>
Co-authored-by: Alessandro Domanico <[email protected]>
Co-authored-by: David B Malkovsky <[email protected]>
Bumps [org.springframework.boot:spring-boot-starter-parent](https://github.com/spring-projects/spring-boot) from 2.7.13 to 2.7.14.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](spring-projects/spring-boot@v2.7.13...v2.7.14)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-starter-parent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…ramework.boot-spring-boot-starter-parent-2.7.14

Chore(deps): Bump org.springframework.boot:spring-boot-starter-parent from 2.7.13 to 2.7.14
* OH2-225

* fix error

* fix error in code

---------

Co-authored-by: ArnaudFonzam <[email protected]>
* add property Ward in OpdDTO and add param WardCode on opd/search api

* fix all bugs

* update: src/main/java/org/isf/ward/dto/WardDTO.java

* update src/main/java/org/isf/opd/rest/OpdController.java

* format the code

* update :src/main/java/org/isf/opd/dto/OpdDTO.java

---------

Co-authored-by: ArnaudFonzam <[email protected]>
Co-authored-by: Alessandro Domanico <[email protected]>
ArnaudFonzam and others added 28 commits November 24, 2023 21:24
* update user Controller

* update src/main/java/org/isf/menu/rest/UserController.java

* GitHub Action: update openapi

* update securityConfig and remove userSettingController

* update src/main/java/org/isf/config/SecurityConfig.java

* update oh.yaml

* Update src/main/java/org/isf/menu/rest/UserController.java

* remove api user/setting/dashboard

* Update src/main/java/org/isf/menu/rest/UserController.java

* format the code

* Apply code review suggestions

* Make variable names consistent

* Remove unnecessary check

---------

Co-authored-by: ArnaudFonzam <[email protected]>
Co-authored-by: Alessandro Domanico <[email protected]>
Co-authored-by: David B Malkovsky <[email protected]>
* Fix password and user update

* Rephrase logic

* Remove unnecessary check

* Apply suggestions from code review

---------

Co-authored-by: David B Malkovsky <[email protected]>
* OP-1130 improve JPA methods - permissions package

* OP-1130 improve JPA methods - permissions package

* Update UserDetailsServiceImpl.java
* update LaboratoryController

* Update src/main/java/org/isf/lab/rest/LaboratoryController.java

* Capitalize private static final String

---------

Co-authored-by: ArnaudFonzam <[email protected]>
Co-authored-by: Alessandro Domanico <[email protected]>
Bumps [com.fasterxml.jackson.module:jackson-modules-java8](https://github.com/FasterXML/jackson-modules-java8) from 2.16.0 to 2.16.1.
- [Commits](FasterXML/jackson-modules-java8@jackson-modules-java8-2.16.0...jackson-modules-java8-2.16.1)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.module:jackson-modules-java8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
* Fix audit logging from API

* update src/main/java/org/isf/login/rest/LoginController.java

* update LoginController and fix bug on OperationController

* update LoginController

* remove HttpSession import and use UserSession to set user and sessionAuditId

* update src/main/java/org/isf/login/rest/LoginController.java

* update src/main/java/org/isf/security/CustomLogoutHandler.java

* Revert "update src/main/java/org/isf/login/rest/LoginController.java"

This reverts commit e6a6ba7.

* Rollback HttpSession usage and implement a CustomAuditorAwareImpl

different from the GUI one (that will use the Default one)

* Fix comments

* Rename class

* Add license header

---------

Co-authored-by: ArnaudFonzam <[email protected]>
Co-authored-by: mwithi <[email protected]>
…ml.jackson.module-jackson-modules-java8-2.16.1

Chore(deps): Bump com.fasterxml.jackson.module:jackson-modules-java8 from 2.16.0 to 2.16.1
* Update README.md (Fix screenshots)

* Update project description

* Update first screenshot

* Apply suggestions from code review

---------

Co-authored-by: David B Malkovsky <[email protected]>
* General refactoring of endpoints, permissions and security.

- remove duplicates
- added missing
- refactored some controllers and endpoints (resources in plurals)
- made permission spelled like endpoint
- sorted in alphabetical order, then CRUD
- removed PATCH methods

* Move /discharges to /admissions/discharges endpoint

and so remove discharges.* permissions, admission.* ones will be used.

* Fix one typo "visitss"

* Update PR #411 (#415)

* Modify duplicate @PostMapping in VisitsController
Update oh.yaml
Fix Tests

* Removed "// TODO Auto-generated method stub" comments

* Remapped /visit(s) endpoint

* Align with develop

---------

Co-authored-by: Niccolò Pasquetto <[email protected]>
* Update setting.properties

* Add telemetry.properties

---------

Co-authored-by: David B Malkovsky <[email protected]>
* upgrade to java 17 and upgraded maven

* cleanup

* revert oh-core version back to 1.13.0-SNAPSHOT to pass test in github action

* GitHub Action: update openapi

* Update core artifact

---------

Co-authored-by: thhaga <[email protected]>
Co-authored-by: mwithi <[email protected]>
* Restore contextLoads() test

* Convert LaboratoryControllerTest to JUnit5

* Comment out the test and update the comment with suggestion
Bumps [org.modelmapper:modelmapper](https://github.com/modelmapper/modelmapper) from 3.1.1 to 3.2.0.
- [Changelog](https://github.com/modelmapper/modelmapper/blob/master/CHANGES.md)
- [Commits](modelmapper/modelmapper@modelmapper-parent-3.1.1...modelmapper-parent-3.2.0)

---
updated-dependencies:
- dependency-name: org.modelmapper:modelmapper
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@mwithi mwithi merged commit b714550 into master Feb 18, 2024
0 of 3 checks passed
@mwithi mwithi deleted the release_1_14_0 branch February 18, 2024 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants