diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000000..600f31d66d --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,21 @@ +name: Build +on: + push: + branches: + - main + - develop + pull_request: + types: [opened, synchronize, reopened] +jobs: + sonarcloud: + name: SonarCloud + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis + - name: SonarCloud Scan + uses: SonarSource/sonarcloud-github-action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} \ No newline at end of file diff --git a/changelog.md b/changelog.md index ad91417127..0f69fa39a3 100644 --- a/changelog.md +++ b/changelog.md @@ -9,6 +9,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - [Issue 5288](https://github.com/firefly-iii/firefly-iii/issues/5288) Would generate new keys when not necessary. - [Issue 5245](https://github.com/firefly-iii/firefly-iii/issues/5245) Fix various weirdly formatted amounts. - [Issue 5240](https://github.com/firefly-iii/firefly-iii/issues/5240) Redirect issue when setting budget amounts. +- [Issue 5325](https://github.com/firefly-iii/firefly-iii/issues/5325) Opening balance was always positive. ### Security - Various minor CSRF @@ -34,6 +35,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - [Issue 5226](https://github.com/firefly-iii/firefly-iii/issues/5226) Could submit negative "skip" values - [Issue 5229](https://github.com/firefly-iii/firefly-iii/issues/5229) Fix serviceworker registration + ### Security - Logout is now POST and other minor CSRF issues. diff --git a/sonar-project.properties b/sonar-project.properties index 7761bbfa1f..f186e236a2 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,7 +1,17 @@ -sonar.projectKey=firefly-iii -sonar.projectVersion=5.6.0 +sonar.projectKey=firefly-iii_firefly-iii +sonar.organization=firefly-iii + +# This is the name and version displayed in the SonarCloud UI. +#sonar.projectName=firefly-iii +#sonar.projectVersion=1.0 + +# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. +#sonar.sources=. + +# Encoding of the source code. Default is default system encoding +#sonar.sourceEncoding=UTF-8 + + +sonar.projectVersion=5.6.5 sonar.sources=app,bootstrap,database,resources/assets,resources/views,routes,tests,frontend/src/components,frontend/src/pages -sonar.login=2859ca0fb90d8419e211190a8892b3e1721244cb sonar.sourceEncoding=UTF-8 -sonar.php.coverage.reportPaths=storage/build/clover-all.xml -sonar.host.url=http://172.16.1.2:10005