Jellyfrog
b0bd0765ad
Prevent ansi colors in key:generate output ( #15773 )
...
* Prevent ansi colors in key:generate output
* Apply fixes from StyleCI
2024-01-23 12:35:39 +01:00
Tony Murray
f670a8074a
Fix .env quoting issue ( #15298 )
...
Triggered when password contains # and .env file uses windows line returns.
Friends don't let friends use windows line returns
2023-09-08 08:31:41 -05:00
Jellyfrog
02400e66cd
Fix APP_KEY generation when using fpm ( #14168 )
2022-08-04 17:59:10 -05:00
Jellyfrog
36d8d9102e
Use PHP_BINARY directly instead of trying to build path to PHP binary ( #13690 )
2022-01-20 08:50:43 -06:00
Jellyfrog
258505ed44
Apply fixes from StyleCI ( #13224 )
2021-09-10 20:09:53 +02:00
Jellyfrog
26b95c0ccc
Apply fixes from StyleCI ( #13208 )
2021-09-08 23:35:56 +02:00
Tony Murray
9b8b1b814a
Validate APP_KEY ( #13171 )
...
* Validate APP_KEY
key:rotate command to rotate keys, only rotates validation data for now
* fixes, swapped encrypters, not saving new value to db, check that key exists first
* add confirmation
* Option to generate new key, re-encrypt data and then save it to .env
A lot more text to try to prevent disaster. Print out both keys 1-2 times.
Fix bug in EnvHelper (when key is commented but not empty)
* fix style
* oops, good phpstan
2021-08-27 22:48:21 -05:00
Jellyfrog
efb157f5fb
Fix more PHPDoc ( #12665 )
...
* Fix PHPDoc
* Fix PHPDoc
2021-03-28 12:18:47 -05:00
Jellyfrog
20b4215204
Swich links to https ( #12511 )
...
* Switch librenms links to https
* Convert librenms links in comments
* Switch gnu.org url to https
* switch php urls to https
2021-02-09 00:29:04 +01:00
Jellyfrog
0d56bbd946
Apply fixes from StyleCI ( #12123 )
2020-09-21 15:51:53 +02:00
Jellyfrog
77c531527c
Apply fixes from StyleCI ( #12117 )
...
* Apply fixes from StyleCI
* Disable style check
2020-09-21 14:54:51 +02:00
Tony Murray
0c334f130d
Fix users that set a non-array for cors ( #11921 )
...
* Fix users that set a non-array for cors
combine two Env util classes
* Used the wrong thing.
2020-07-09 15:03:12 -05:00
Tony Murray
3ab0a92de9
catch config() error in a more deliberate way to prevent issues with future code changes.
2020-06-27 07:47:08 -05:00
Tony Murray
de7d0aae97
handle config() call outside of Laravel
2020-06-27 07:47:08 -05:00
Tony Murray
0175872d87
run artisan key:generate externally
2020-06-27 07:47:08 -05:00
Tony Murray
d1ceb14b9a
create .env if non-existing
2020-06-27 07:47:08 -05:00
Tony Murray
b1f526be48
finish conversion
2020-06-27 07:47:08 -05:00
Tony Murray
27027428fa
config file writing
2020-06-27 07:47:08 -05:00
Tony Murray
94a71f9f41
check for INSTALL environment var
2020-06-27 07:47:08 -05:00