Compare commits

..

5 Commits

Author SHA1 Message Date
James Cole
1b8b65582a Merge branch 'release/4.7.1.2' 2018-03-04 13:27:21 +01:00
James Cole
d25971cb44 Actually upgrade version. 2018-03-04 13:26:35 +01:00
James Cole
89a56e661d Merge branch 'hotfix/4.7.1.1' into develop 2018-03-04 13:24:07 +01:00
James Cole
3482746d7c Merge branch 'hotfix/4.7.1.1' 2018-03-04 13:24:06 +01:00
James Cole
d5aeca6222 Fix import problem in 4.7.1 2018-03-04 13:23:44 +01:00
4 changed files with 13 additions and 10 deletions

View File

@@ -382,11 +382,12 @@ class ImportAccount
Log::debug(sprintf('Found no account of type %s so must create one ourselves.', $this->expectedType));
$data = [
'accountType' => config('firefly.shortNamesByFullName.' . $this->expectedType),
'name' => $this->accountName['value'] ?? '(no name)',
'iban' => $this->accountIban['value'] ?? null,
'active' => true,
'virtualBalance' => '0',
'accountType' => config('firefly.shortNamesByFullName.' . $this->expectedType),
'name' => $this->accountName['value'] ?? '(no name)',
'iban' => $this->accountIban['value'] ?? null,
'active' => true,
'virtualBalance' => '0',
'account_type_id' => null,
];
$this->account = $this->repository->store($data);

View File

@@ -57,11 +57,11 @@ class ImportStorage
/** @var Collection */
public $journals;
/** @var BillRepositoryInterface */
protected $billRepository; // yes, hard coded
protected $billRepository;
/** @var Collection */
protected $bills;
/** @var int */
protected $defaultCurrencyId = 1;
protected $defaultCurrencyId = 1; // yes, hard coded
/** @var ImportJob */
protected $job;
/** @var ImportJobRepositoryInterface */

View File

@@ -113,11 +113,13 @@
"php artisan firefly:upgrade-database",
"php artisan firefly:verify",
"php artisan firefly:instructions update",
"php artisan optimize"
"php artisan optimize",
"php artisan passport:install"
],
"post-install-cmd": [
"php artisan optimize",
"php artisan firefly:instructions install"
"php artisan firefly:instructions install",
"php artisan passport:install"
]
},
"config": {

View File

@@ -33,7 +33,7 @@ return [
'is_demo_site' => false,
],
'encryption' => (is_null(env('USE_ENCRYPTION')) || env('USE_ENCRYPTION') === true),
'version' => '4.7.1',
'version' => '4.7.1.2',
'api_version' => '0.1',
'maxUploadSize' => 15242880,
'allowedMimes' => [