mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 15:57:33 -04:00 
			
		
		
		
	
						commit
						881ae75e5d
					
				| @ -1 +1 @@ | ||||
| 5.8.26 | ||||
| 5.8.27 | ||||
| @ -57,7 +57,7 @@ class StoreCompanyRequest extends Request | ||||
|         } | ||||
| 
 | ||||
|         $rules['smtp_host'] = 'sometimes|string|nullable'; | ||||
|         $rules['smtp_port'] = 'sometimes|string|nullable'; | ||||
|         $rules['smtp_port'] = 'sometimes|integer|nullable'; | ||||
|         $rules['smtp_encryption'] = 'sometimes|string'; | ||||
|         $rules['smtp_local_domain'] = 'sometimes|string|nullable';         | ||||
|         $rules['smtp_encryption'] = 'sometimes|string|nullable'; | ||||
| @ -96,6 +96,10 @@ class StoreCompanyRequest extends Request | ||||
|             unset($input['smtp_password']); | ||||
|         } | ||||
| 
 | ||||
|         if(isset($input['smtp_port'])) { | ||||
|             $input['smtp_port'] = (int) $input['smtp_port']; | ||||
|         } | ||||
| 
 | ||||
|         if(isset($input['smtp_verify_peer']) && is_string($input['smtp_verify_peer'])) | ||||
|             $input['smtp_verify_peer'] == 'true' ? true : false; | ||||
| 
 | ||||
|  | ||||
| @ -59,7 +59,7 @@ class UpdateCompanyRequest extends Request | ||||
|         $rules['e_invoice_certificate'] = 'sometimes|nullable|file|mimes:p12,pfx,pem,cer,crt,der,txt,p7b,spc,bin'; | ||||
| 
 | ||||
|         $rules['smtp_host'] = 'sometimes|string|nullable'; | ||||
|         $rules['smtp_port'] = 'sometimes|string|nullable'; | ||||
|         $rules['smtp_port'] = 'sometimes|integer|nullable'; | ||||
|         $rules['smtp_encryption'] = 'sometimes|string|nullable'; | ||||
|         $rules['smtp_local_domain'] = 'sometimes|string|nullable'; | ||||
|         // $rules['smtp_verify_peer'] = 'sometimes|string';
 | ||||
| @ -105,6 +105,10 @@ class UpdateCompanyRequest extends Request | ||||
|             unset($input['smtp_password']); | ||||
|         } | ||||
|          | ||||
|         if(isset($input['smtp_port'])) { | ||||
|             $input['smtp_port'] = (int)$input['smtp_port']; | ||||
|         } | ||||
| 
 | ||||
|         if(isset($input['smtp_verify_peer']) && is_string($input['smtp_verify_peer'])) { | ||||
|             $input['smtp_verify_peer'] == 'true' ? true : false; | ||||
|         } | ||||
|  | ||||
| @ -420,7 +420,7 @@ class Import implements ShouldQueue | ||||
| 
 | ||||
|         if (Ninja::isHosted()) { | ||||
| 
 | ||||
|             $data['subdomain'] = str_replace("_", "", $data['subdomain']); | ||||
|             $data['subdomain'] = str_replace("_", "", ($data['subdomain'] ?? '')); | ||||
| 
 | ||||
|             if (!MultiDB::checkDomainAvailable($data['subdomain'])) { | ||||
|                 $data['subdomain'] = MultiDB::randomSubdomainGenerator(); | ||||
|  | ||||
| @ -17,8 +17,8 @@ return [ | ||||
|     'require_https' => env('REQUIRE_HTTPS', true), | ||||
|     'app_url' => rtrim(env('APP_URL', ''), '/'), | ||||
|     'app_domain' => env('APP_DOMAIN', 'invoicing.co'), | ||||
|     'app_version' => env('APP_VERSION', '5.8.26'), | ||||
|     'app_tag' => env('APP_TAG', '5.8.26'), | ||||
|     'app_version' => env('APP_VERSION', '5.8.27'), | ||||
|     'app_tag' => env('APP_TAG', '5.8.27'), | ||||
|     'minimum_client_version' => '5.0.16', | ||||
|     'terms_version' => '1.0.1', | ||||
|     'api_secret' => env('API_SECRET', false), | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user