Compare commits

...

10 Commits

Author SHA1 Message Date
James Cole
9448402d9f Update issues-reply-old-versions.yml
Signed-off-by: James Cole <james@firefly-iii.org>
2025-11-10 09:00:33 +01:00
James Cole
27c1d33a70 Detect if the issue type is a bug. 2025-11-09 17:01:16 +01:00
James Cole
c5ed6fbe52 Add new workflow. 2025-11-09 12:33:42 +01:00
github-actions[bot]
e7432d791e Merge pull request #11200 from firefly-iii/develop
🤖 Automatically merge the PR into the main branch.
2025-11-08 23:45:26 +01:00
github-actions[bot]
3a26ed5cfa Merge pull request #11199 from firefly-iii/release-1762641914
🤖 Automatically merge the PR into the develop branch.
2025-11-08 23:45:22 +01:00
JC5
119bc96669 🤖 Auto commit for release 'v6.4.6' on 2025-11-08 2025-11-08 23:45:14 +01:00
github-actions[bot]
93238e3993 Merge pull request #11198 from firefly-iii/release-1762641474
🤖 Automatically merge the PR into the develop branch.
2025-11-08 23:38:02 +01:00
JC5
eed5f1ca92 🤖 Auto commit for release 'develop' on 2025-11-08 2025-11-08 23:37:54 +01:00
James Cole
ae2ab86e88 Merge branch 'develop' of github.com:firefly-iii/firefly-iii into develop 2025-11-08 23:33:57 +01:00
James Cole
444c038d9f Fix #11196 2025-11-08 23:23:09 +01:00
8 changed files with 82 additions and 45 deletions

View File

@@ -57,26 +57,26 @@ return RectorConfig::configure()
// uncomment to reach your current PHP version
->withPhpSets()
->withPreparedSets(
deadCode: true,
codeQuality: true,
codingStyle: false, // leave false
typeDeclarations: true,
typeDeclarationDocblocks: false,
privatization: false, // leave false.
naming: false, // leave false
instanceOf: true,
earlyReturn: true,
strictBooleans: true,
// strictBooleans: true, // has a new thingie.
carbon: true,
rectorPreset: true,
phpunitCodeQuality: true,
doctrineCodeQuality: true,
symfonyCodeQuality: true,
symfonyConfigs: true
symfonyConfigs: true,
)
->withComposerBased(
twig: true,
doctrine: true,
phpunit: true,
symfony: true)
->withTypeCoverageLevel(0)
->withDeadCodeLevel(0)
->withCodeQualityLevel(0)
->withImportNames(removeUnusedImports: true);// import statements instead of full classes.

View File

@@ -6,7 +6,7 @@ body:
label: Support guidelines
description: Please read the support guidelines before proceeding.
options:
- label: I've read the [support guidelines](https://github.com/firefly-iii/firefly-iii/blob/main/.github/support.md)
- label: I've read the <!-- MZ2udTpin6FL --> [support guidelines](https://github.com/firefly-iii/firefly-iii/blob/main/.github/support.md)
required: true
- type: checkboxes

View File

@@ -61,7 +61,7 @@ jobs:
'cleanup.yml',
'close-duplicates.yml',
'closed-issues.yml',
'debug-info-actions.yml',
'issues-reply-old-versions.yml',
'depsreview.yml',
'label-actions.yml',
'lock.yml',

View File

@@ -1,32 +0,0 @@
name: 'Issues - Respond to hidden commands'
# the workflow to execute on is comments that are newly created
on:
issues:
types: [ opened, edited ]
issue_comment:
types: [ created ]
# permissions needed for reacting to IssueOps commands on issues and PRs
permissions:
contents: read
pull-requests: write
issues: write
checks: read
jobs:
respond:
runs-on: ubuntu-latest
steps:
- run: |
ISSUE_BODY=$(gh issue view $NUMBER --json body)
if [[ $ISSUE_BODY == *".eOxNZAmyGz6CXMyf"* ]]; then
gh issue comment "$NUMBER" --body "$V2_ISSUE_REPLY_BODY"
gh issue close "$NUMBER" --reason completed
fi
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}
V2_ISSUE_REPLY_BODY: ${{ secrets.V2_ISSUE_REPLY_BODY }}
LABELS: v2-layout-issue

View File

@@ -0,0 +1,60 @@
name: 'Issues - Respond to old versions'
# the workflow to execute on is comments that are newly created
on:
issues:
types: [ opened ]
# permissions needed for reacting to IssueOps commands on issues and PRs
permissions:
contents: read
pull-requests: write
issues: write
checks: read
jobs:
respond:
runs-on: ubuntu-latest
steps:
- id: ff3version
uses: pozetroninc/github-action-get-latest-release@master
with:
owner: firefly-iii
repo: firefly-iii
excludes: prerelease, draft
token: ${{ secrets.GITHUB_TOKEN }}
- id: importerversion
uses: pozetroninc/github-action-get-latest-release@master
with:
owner: firefly-iii
repo: data-importer
excludes: prerelease, draft
token: ${{ secrets.GITHUB_TOKEN }}
- run: |
# sure this can be done in a single step but still.
FFNOV="${{ steps.ff3version.outputs.release }}"
FFNOV="${FFNOV:1}"
DDNOV="${{ steps.importerversion.outputs.release }}"
DDNOV="${DDNOV:1}"
echo "Version is ${{ steps.ff3version.outputs.release }}, without v is $FFNOV"
ISSUE_BODY=$(gh issue view $NUMBER --json body)
if [[ $ISSUE_BODY == *"MZ2udTpin6FL"* && $ISSUE_BODY != *${{ steps.ff3version.outputs.release }}* && $ISSUE_BODY != *${{ steps.importerversion.outputs.release }}* ]]; then
MESSAGE="Hi there!
This is an automated reply. \`Share and enjoy\`
You triggered an automated reply, because it looks like you're not running Firefly III version **${{ steps.ff3version.outputs.release }}** or version **${{ steps.importerversion.outputs.release }}** of the data importer.
Please be so kind as to include the output from the \`/debug\`-page, if you have not done so already. If you already included the debug information, plase make sure to upgrade to the latest version of Firefly III (or the data importer) *first*. This may already solve your issue.
If you are running the latest version, and this message is wrong, my apologies for the intrusion."
gh issue comment "$NUMBER" --body "$MESSAGE"
fi
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}

View File

@@ -154,8 +154,8 @@ class EditController extends Controller
$array['repeat_until'] = substr((string) $array['repeat_until'], 0, 10);
$array['transactions'][0]['tags'] = implode(',', $array['transactions'][0]['tags'] ?? []);
$array['transactions'][0]['amount'] = round((float) $array['transactions'][0]['amount'], $array['transactions'][0]['currency_decimal_places']);
if (null !== $array['transactions'][0]['foreign_amount']) {
$array['transactions'][0]['foreign_amount'] = round((float) $array['transactions'][0]['foreign_amount'], $array['transactions'][0]['foreign_currency_decimal_places']);
if (null !== $array['transactions'][0]['foreign_amount'] && '' !== $array['transactions'][0]['foreign_amount']) {
$array['transactions'][0]['foreign_amount'] = round((float) $array['transactions'][0]['foreign_amount'], $array['transactions'][0]['foreign_currency_decimal_places'] ?? 2);
}
return view(

View File

@@ -3,7 +3,16 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## 6.4.5 - 2025-11-xx
## 6.4.6 - 2025-11-09
### Fixed
- [Issue 11157](https://github.com/firefly-iii/firefly-iii/issues/11157) (Redacted amounts misbehave with Reports) reported by @barreeeiroo
- [Issue 11166](https://github.com/firefly-iii/firefly-iii/issues/11166) (Optional transaction information field not saved when updating a recuring transaction) reported by @Old-Veeh
- [Issue 11185](https://github.com/firefly-iii/firefly-iii/issues/11185) (Internal server error after apply rule) reported by @Citroene
- [Issue 11196](https://github.com/firefly-iii/firefly-iii/issues/11196) (Exception when editing recurring transaction) reported by @Insprill
## 6.4.5 - 2025-11-09
### Fixed

View File

@@ -78,8 +78,8 @@ return [
'running_balance_column' => env('USE_RUNNING_BALANCE', false),
// see cer.php for exchange rates feature flag.
],
'version' => 'develop/2025-11-08',
'build_time' => 1762640730,
'version' => '6.4.6',
'build_time' => 1762641809,
'api_version' => '2.1.0', // field is no longer used.
'db_version' => 28, // field is no longer used.