forked from firefly-iii/firefly-iii
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
62 changed files
with
32,671 additions
and
5,563 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 4 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[*.{yml,yaml}] | ||
indent_size = 2 | ||
|
||
[docker-compose.yml] | ||
indent_size = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
* text=auto | ||
*.css linguist-vendored | ||
*.scss linguist-vendored | ||
*.js linguist-vendored | ||
* text=auto eol=lf | ||
|
||
*.blade.php diff=html | ||
*.css diff=css | ||
*.html diff=html | ||
*.md diff=markdown | ||
*.php diff=php | ||
|
||
/.github export-ignore | ||
CHANGELOG.md export-ignore | ||
/tests export-ignore | ||
/phpunit.xml export-ignore | ||
/.ci export-ignore | ||
.styleci.yml export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php | ||
|
||
return [ | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Cross-Origin Resource Sharing (CORS) Configuration | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Here you may configure your settings for cross-origin resource sharing | ||
| or "CORS". This determines what cross-origin operations may execute | ||
| in web browsers. You are free to adjust these settings as needed. | ||
| | ||
| To learn more: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS | ||
| | ||
*/ | ||
|
||
'paths' => ['api/*', 'sanctum/csrf-cookie'], | ||
|
||
'allowed_methods' => ['*'], | ||
|
||
'allowed_origins' => ['*'], | ||
|
||
'allowed_origins_patterns' => ['*'], | ||
|
||
'allowed_headers' => ['*'], | ||
|
||
'exposed_headers' => [], | ||
|
||
'max_age' => 0, | ||
|
||
'supports_credentials' => false, | ||
|
||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,7 @@ | ||
<?php | ||
|
||
/** | ||
* hashing.php | ||
* Copyright (c) 2019 [email protected]. | ||
* | ||
* This file is part of Firefly III (https://github.com/firefly-iii). | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as | ||
* published by the Free Software Foundation, either version 3 of the | ||
* License, or (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
return [ | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Default Hash Driver | ||
|
@@ -32,10 +11,42 @@ | |
| passwords for your application. By default, the bcrypt algorithm is | ||
| used; however, you remain free to modify this option if you wish. | ||
| | ||
| Supported: "bcrypt", "argon" | ||
| Supported: "bcrypt", "argon", "argon2id" | ||
| | ||
*/ | ||
|
||
'driver' => 'bcrypt', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Bcrypt Options | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Here you may specify the configuration options that should be used when | ||
| passwords are hashed using the Bcrypt algorithm. This will allow you | ||
| to control the amount of time it takes to hash the given password. | ||
| | ||
*/ | ||
|
||
'bcrypt' => [ | ||
'rounds' => env('BCRYPT_ROUNDS', 10), | ||
], | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Argon Options | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Here you may specify the configuration options that should be used when | ||
| passwords are hashed using the Argon algorithm. These will allow you | ||
| to control the amount of time it takes to hash the given password. | ||
| | ||
*/ | ||
|
||
'argon' => [ | ||
'memory' => 65536, | ||
'threads' => 1, | ||
'time' => 4, | ||
], | ||
|
||
]; |
Oops, something went wrong.