mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Merge branch 'release/4.8.2-alpha.2'
This commit is contained in:
commit
d8807e6ab7
@ -8,6 +8,7 @@ sudo service docker restart
|
|||||||
|
|
||||||
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||||
|
|
||||||
|
VERSION_TARGET=jc5x/firefly-iii:release-$VERSION
|
||||||
|
|
||||||
# if the github branch is develop, only push the 'develop' tag
|
# if the github branch is develop, only push the 'develop' tag
|
||||||
if [ $TRAVIS_BRANCH == "develop" ]; then
|
if [ $TRAVIS_BRANCH == "develop" ]; then
|
||||||
@ -42,6 +43,15 @@ if [ $TRAVIS_BRANCH == "master" ] && [ $CHANNEL == "alpha" ]; then
|
|||||||
docker manifest annotate $TARGET $ARM64 --arch arm64 --os linux
|
docker manifest annotate $TARGET $ARM64 --arch arm64 --os linux
|
||||||
docker manifest annotate $TARGET $AMD64 --arch amd64 --os linux
|
docker manifest annotate $TARGET $AMD64 --arch amd64 --os linux
|
||||||
docker manifest push $TARGET
|
docker manifest push $TARGET
|
||||||
|
|
||||||
|
echo "Push alpha-* builds to $VERSION_TARGET"
|
||||||
|
|
||||||
|
docker manifest create $VERSION_TARGET $ARM32 $ARM64 $AMD64
|
||||||
|
docker manifest annotate $VERSION_TARGET $ARM32 --arch arm --os linux
|
||||||
|
docker manifest annotate $VERSION_TARGET $ARM64 --arch arm64 --os linux
|
||||||
|
docker manifest annotate $VERSION_TARGET $AMD64 --arch amd64 --os linux
|
||||||
|
docker manifest push $VERSION_TARGET
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# if branch is master and channel is alpha, push 'alpha' and 'beta'.
|
# if branch is master and channel is alpha, push 'alpha' and 'beta'.
|
||||||
@ -73,6 +83,14 @@ if [ $TRAVIS_BRANCH == "master" ] && [ $CHANNEL == "beta" ]; then
|
|||||||
docker manifest annotate $TARGET $ARM64 --arch arm64 --os linux
|
docker manifest annotate $TARGET $ARM64 --arch arm64 --os linux
|
||||||
docker manifest annotate $TARGET $AMD64 --arch amd64 --os linux
|
docker manifest annotate $TARGET $AMD64 --arch amd64 --os linux
|
||||||
docker manifest push $TARGET
|
docker manifest push $TARGET
|
||||||
|
|
||||||
|
echo "Push beta-* builds to $VERSION_TARGET"
|
||||||
|
|
||||||
|
docker manifest create $VERSION_TARGET $ARM32 $ARM64 $AMD64
|
||||||
|
docker manifest annotate $VERSION_TARGET $ARM32 --arch arm --os linux
|
||||||
|
docker manifest annotate $VERSION_TARGET $ARM64 --arch arm64 --os linux
|
||||||
|
docker manifest annotate $VERSION_TARGET $AMD64 --arch amd64 --os linux
|
||||||
|
docker manifest push $VERSION_TARGET
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# if branch is master and channel is stable, push 'alpha' and 'beta' and 'stable'.
|
# if branch is master and channel is stable, push 'alpha' and 'beta' and 'stable'.
|
||||||
@ -130,24 +148,14 @@ if [ $TRAVIS_BRANCH == "master" ] && [ $CHANNEL == "stable" ]; then
|
|||||||
docker manifest annotate $TARGET $ARM64 --arch arm64 --os linux
|
docker manifest annotate $TARGET $ARM64 --arch arm64 --os linux
|
||||||
docker manifest annotate $TARGET $AMD64 --arch amd64 --os linux
|
docker manifest annotate $TARGET $AMD64 --arch amd64 --os linux
|
||||||
docker manifest push $TARGET
|
docker manifest push $TARGET
|
||||||
fi
|
|
||||||
|
|
||||||
# push to channel 'version' if master
|
echo "Push stable-* builds to $VERSION_TARGET"
|
||||||
if [ $TRAVIS_BRANCH == "master" ]; then
|
|
||||||
TARGET=jc5x/firefly-iii:release-$VERSION
|
|
||||||
ARM32=jc5x/firefly-iii:stable-arm
|
|
||||||
ARM64=jc5x/firefly-iii:stable-arm64
|
|
||||||
AMD64=jc5x/firefly-iii:stable-amd64
|
|
||||||
|
|
||||||
echo "GitHub branch is $TRAVIS_BRANCH."
|
docker manifest create $VERSION_TARGET $ARM32 $ARM64 $AMD64
|
||||||
echo "Channel is $CHANNEL."
|
docker manifest annotate $VERSION_TARGET $ARM32 --arch arm --os linux
|
||||||
echo "Push stable-* builds to $TARGET"
|
docker manifest annotate $VERSION_TARGET $ARM64 --arch arm64 --os linux
|
||||||
|
docker manifest annotate $VERSION_TARGET $AMD64 --arch amd64 --os linux
|
||||||
docker manifest create $TARGET $ARM32 $ARM64 $AMD64
|
docker manifest push $VERSION_TARGET
|
||||||
docker manifest annotate $TARGET $ARM32 --arch arm --os linux
|
|
||||||
docker manifest annotate $TARGET $ARM64 --arch arm64 --os linux
|
|
||||||
docker manifest annotate $TARGET $AMD64 --arch amd64 --os linux
|
|
||||||
docker manifest push $TARGET
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo 'Done!'
|
echo 'Done!'
|
||||||
|
@ -14,21 +14,21 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
- dist: xenial
|
- dist: xenial
|
||||||
arch: amd64
|
arch: amd64
|
||||||
env: ARCH=amd64 CHANNEL=alpha VERSION=4.8.2-alpha.1
|
env: ARCH=amd64 CHANNEL=alpha VERSION=4.8.2-alpha.2
|
||||||
stage: build
|
stage: build
|
||||||
script: ./.deploy/docker/travis.sh
|
script: ./.deploy/docker/travis.sh
|
||||||
- dist: xenial
|
- dist: xenial
|
||||||
arch: amd64
|
arch: amd64
|
||||||
env: ARCH=arm CHANNEL=alpha VERSION=4.8.2-alpha.1
|
env: ARCH=arm CHANNEL=alpha VERSION=4.8.2-alpha.2
|
||||||
stage: build
|
stage: build
|
||||||
script: ./.deploy/docker/travis.sh
|
script: ./.deploy/docker/travis.sh
|
||||||
- dist: xenial
|
- dist: xenial
|
||||||
arch: arm64
|
arch: arm64
|
||||||
env: ARCH=arm64 CHANNEL=alpha VERSION=4.8.2-alpha.1
|
env: ARCH=arm64 CHANNEL=alpha VERSION=4.8.2-alpha.2
|
||||||
stage: build
|
stage: build
|
||||||
script: ./.deploy/docker/travis.sh
|
script: ./.deploy/docker/travis.sh
|
||||||
- dist: xenial
|
- dist: xenial
|
||||||
arch: amd64
|
arch: amd64
|
||||||
env: CHANNEL=alpha VERSION=4.8.2-alpha.1
|
env: CHANNEL=alpha VERSION=4.8.2-alpha.2
|
||||||
stage: manifest
|
stage: manifest
|
||||||
script: ./.deploy/docker/manifest.sh
|
script: ./.deploy/docker/manifest.sh
|
@ -106,7 +106,6 @@ class AccountValidator
|
|||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch ($this->transactionType) {
|
switch ($this->transactionType) {
|
||||||
default:
|
default:
|
||||||
$this->destError = sprintf('AccountValidator::validateDestination cannot handle "%s", so it will always return false.', $this->transactionType);
|
$this->destError = sprintf('AccountValidator::validateDestination cannot handle "%s", so it will always return false.', $this->transactionType);
|
||||||
@ -574,7 +573,7 @@ class AccountValidator
|
|||||||
$found = $this->accountRepository->findNull($accountId);
|
$found = $this->accountRepository->findNull($accountId);
|
||||||
if (null !== $found) {
|
if (null !== $found) {
|
||||||
$type = $found->accountType->type;
|
$type = $found->accountType->type;
|
||||||
if (in_array($type, $validTypes)) {
|
if (in_array($type, $validTypes, true)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
$this->destError = (string)trans('validation.withdrawal_dest_bad_data', ['id' => $accountId, 'name' => $accountName]);
|
$this->destError = (string)trans('validation.withdrawal_dest_bad_data', ['id' => $accountId, 'name' => $accountName]);
|
||||||
|
@ -125,7 +125,7 @@ return [
|
|||||||
'is_demo_site' => false,
|
'is_demo_site' => false,
|
||||||
],
|
],
|
||||||
'encryption' => null === env('USE_ENCRYPTION') || env('USE_ENCRYPTION') === true,
|
'encryption' => null === env('USE_ENCRYPTION') || env('USE_ENCRYPTION') === true,
|
||||||
'version' => '4.8.2-alpha.1',
|
'version' => '4.8.2-alpha.2',
|
||||||
'api_version' => '0.10.5',
|
'api_version' => '0.10.5',
|
||||||
'db_version' => 11,
|
'db_version' => 11,
|
||||||
'maxUploadSize' => 15242880,
|
'maxUploadSize' => 15242880,
|
||||||
@ -684,13 +684,13 @@ return [
|
|||||||
'source_dests' => [
|
'source_dests' => [
|
||||||
TransactionTypeModel::WITHDRAWAL => [
|
TransactionTypeModel::WITHDRAWAL => [
|
||||||
AccountType::ASSET => [AccountType::EXPENSE, AccountType::LOAN, AccountType::DEBT, AccountType::MORTGAGE, AccountType::CASH],
|
AccountType::ASSET => [AccountType::EXPENSE, AccountType::LOAN, AccountType::DEBT, AccountType::MORTGAGE, AccountType::CASH],
|
||||||
AccountType::LOAN => [AccountType::EXPENSE],
|
AccountType::LOAN => [AccountType::EXPENSE, AccountType::CASH],
|
||||||
AccountType::DEBT => [AccountType::EXPENSE],
|
AccountType::DEBT => [AccountType::EXPENSE, AccountType::CASH],
|
||||||
AccountType::MORTGAGE => [AccountType::EXPENSE],
|
AccountType::MORTGAGE => [AccountType::EXPENSE, AccountType::CASH],
|
||||||
],
|
],
|
||||||
TransactionTypeModel::DEPOSIT => [
|
TransactionTypeModel::DEPOSIT => [
|
||||||
AccountType::REVENUE => [AccountType::ASSET, AccountType::LOAN, AccountType::DEBT, AccountType::MORTGAGE],
|
AccountType::REVENUE => [AccountType::ASSET, AccountType::LOAN, AccountType::DEBT, AccountType::MORTGAGE],
|
||||||
AccountType::CASH => [AccountType::ASSET],
|
AccountType::CASH => [AccountType::ASSET, AccountType::LOAN, AccountType::DEBT, AccountType::MORTGAGE],
|
||||||
AccountType::LOAN => [AccountType::ASSET],
|
AccountType::LOAN => [AccountType::ASSET],
|
||||||
AccountType::DEBT => [AccountType::ASSET],
|
AccountType::DEBT => [AccountType::ASSET],
|
||||||
AccountType::MORTGAGE => [AccountType::ASSET],
|
AccountType::MORTGAGE => [AccountType::ASSET],
|
||||||
|
@ -1284,7 +1284,7 @@ return [
|
|||||||
'send_test_triggered' => 'Der Test wurde ausgelöst. Überprüfen Sie Ihren Posteingang und die Protokolldateien.',
|
'send_test_triggered' => 'Der Test wurde ausgelöst. Überprüfen Sie Ihren Posteingang und die Protokolldateien.',
|
||||||
|
|
||||||
'split_transaction_title' => 'Beschreibung der Splittbuchung',
|
'split_transaction_title' => 'Beschreibung der Splittbuchung',
|
||||||
'split_transaction_title_help' => 'If you create a split transaction, there must be a global description for all splits of the transaction.',
|
'split_transaction_title_help' => 'Wenn Sie eine Splittbuchung anlegen, muss es eine eindeutige Beschreibung für alle Aufteilungen der Buchung geben.',
|
||||||
'split_title_help' => 'Wenn Sie eine Splittbuchung anlegen, muss es eine eindeutige Beschreibung für alle Aufteilungen der Buchhaltung geben.',
|
'split_title_help' => 'Wenn Sie eine Splittbuchung anlegen, muss es eine eindeutige Beschreibung für alle Aufteilungen der Buchhaltung geben.',
|
||||||
'transaction_information' => 'Buchungsinformation',
|
'transaction_information' => 'Buchungsinformation',
|
||||||
'you_create_transfer' => 'Sie erstellen gerade eine <strong>Umbuchung</strong>.',
|
'you_create_transfer' => 'Sie erstellen gerade eine <strong>Umbuchung</strong>.',
|
||||||
|
@ -1284,7 +1284,7 @@ return [
|
|||||||
'send_test_triggered' => 'Le test a été initié. Vérifiez votre boîte de réception (et les logs si nécessaire).',
|
'send_test_triggered' => 'Le test a été initié. Vérifiez votre boîte de réception (et les logs si nécessaire).',
|
||||||
|
|
||||||
'split_transaction_title' => 'Description de l\'opération ventilée',
|
'split_transaction_title' => 'Description de l\'opération ventilée',
|
||||||
'split_transaction_title_help' => 'If you create a split transaction, there must be a global description for all splits of the transaction.',
|
'split_transaction_title_help' => 'Si vous créez une opération ventilée, il doit y avoir une description globale pour chaque fraction de l\'opération.',
|
||||||
'split_title_help' => 'Si vous créez une opération ventilée, il doit y avoir une description globale pour chaque fractions de l\'opération.',
|
'split_title_help' => 'Si vous créez une opération ventilée, il doit y avoir une description globale pour chaque fractions de l\'opération.',
|
||||||
'transaction_information' => 'Informations sur l\'opération',
|
'transaction_information' => 'Informations sur l\'opération',
|
||||||
'you_create_transfer' => 'Vous êtes en train de créer un <strong>transfert</strong>.',
|
'you_create_transfer' => 'Vous êtes en train de créer un <strong>transfert</strong>.',
|
||||||
|
@ -1284,7 +1284,7 @@ return [
|
|||||||
'send_test_triggered' => 'Il test è stato attivato. Controlla la tua casella di posta e i file di log.',
|
'send_test_triggered' => 'Il test è stato attivato. Controlla la tua casella di posta e i file di log.',
|
||||||
|
|
||||||
'split_transaction_title' => 'Descrizione della transazione suddivisa',
|
'split_transaction_title' => 'Descrizione della transazione suddivisa',
|
||||||
'split_transaction_title_help' => 'If you create a split transaction, there must be a global description for all splits of the transaction.',
|
'split_transaction_title_help' => 'Se crei una transazione suddivisa, è necessario che ci sia una descrizione globale per tutte le suddivisioni della transazione.',
|
||||||
'split_title_help' => 'Se crei una transazione suddivisa è necessario che ci sia una descrizione globale per tutte le suddivisioni della transazione.',
|
'split_title_help' => 'Se crei una transazione suddivisa è necessario che ci sia una descrizione globale per tutte le suddivisioni della transazione.',
|
||||||
'transaction_information' => 'Informazioni transazione',
|
'transaction_information' => 'Informazioni transazione',
|
||||||
'you_create_transfer' => 'Stai creando un <strong>trasferimento</strong>.',
|
'you_create_transfer' => 'Stai creando un <strong>trasferimento</strong>.',
|
||||||
|
@ -224,7 +224,7 @@ return [
|
|||||||
'admin_update_check_now_title' => '立刻检查更新',
|
'admin_update_check_now_title' => '立刻检查更新',
|
||||||
'admin_update_check_now_explain' => '如果您按下此按钮,Firefly III 将会检查您现在的版本是否为最新版。',
|
'admin_update_check_now_explain' => '如果您按下此按钮,Firefly III 将会检查您现在的版本是否为最新版。',
|
||||||
'check_for_updates_button' => '马上检查!',
|
'check_for_updates_button' => '马上检查!',
|
||||||
'update_new_version_alert' => 'A new version of Firefly III is available. You are running :your_version, the latest version is :new_version which was released on :date.',
|
'update_new_version_alert' => '较新版本的 Firefly III 已可使用,您目前为 :your_version 版,最新版本为 :new_version 版,于 :date 释出。',
|
||||||
'update_version_beta' => 'This version is a BETA version. You may run into issues.',
|
'update_version_beta' => 'This version is a BETA version. You may run into issues.',
|
||||||
'update_version_alpha' => 'This version is a ALPHA version. You may run into issues.',
|
'update_version_alpha' => 'This version is a ALPHA version. You may run into issues.',
|
||||||
'update_current_version_alert' => 'You are running :version, which is the latest available release.',
|
'update_current_version_alert' => 'You are running :version, which is the latest available release.',
|
||||||
@ -726,7 +726,7 @@ return [
|
|||||||
'update_budget' => '更新预算',
|
'update_budget' => '更新预算',
|
||||||
'update_budget_amount_range' => '更新 (预期) 自 :start 至 :end 的可用金额',
|
'update_budget_amount_range' => '更新 (预期) 自 :start 至 :end 的可用金额',
|
||||||
'set_budget_limit_title' => 'Set budgeted amount for budget :budget between :start and :end',
|
'set_budget_limit_title' => 'Set budgeted amount for budget :budget between :start and :end',
|
||||||
'set_budget_limit' => 'Set budgeted amount',
|
'set_budget_limit' => '设置预算金额',
|
||||||
'budget_period_navigator' => '期间导览',
|
'budget_period_navigator' => '期间导览',
|
||||||
'info_on_available_amount' => '我有甚麽可用?',
|
'info_on_available_amount' => '我有甚麽可用?',
|
||||||
'available_amount_indication' => '使用这些金额以获得您总预算可能为何的指标',
|
'available_amount_indication' => '使用这些金额以获得您总预算可能为何的指标',
|
||||||
|
@ -24,7 +24,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
return [
|
return [
|
||||||
// index
|
// index
|
||||||
'index_intro' => '欢迎来到 Firefly III 的首页。请花时间参观一下这个介绍,瞭解 Firefly III 是如何运作的。',
|
'index_intro' => '欢迎来到 Firefly III 的首页。请花时间参观一下这个介绍,了解 Firefly III 是如何运作的。',
|
||||||
'index_accounts-chart' => '此图表显示您的资产帐户的目前馀额,您可以在偏好设定中选择此处可见的帐户。',
|
'index_accounts-chart' => '此图表显示您的资产帐户的目前馀额,您可以在偏好设定中选择此处可见的帐户。',
|
||||||
'index_box_out_holder' => '这个小盒子和这个旁边的盒子会提供您财务状况的快速概览。',
|
'index_box_out_holder' => '这个小盒子和这个旁边的盒子会提供您财务状况的快速概览。',
|
||||||
'index_help' => '如果您需要有关页面或表单的说明,请按此按钮。',
|
'index_help' => '如果您需要有关页面或表单的说明,请按此按钮。',
|
||||||
|
Loading…
Reference in New Issue
Block a user