Skip to content

Commit 443f69b

Browse files
authored
Merge branch 'develop' into feature/department-manager-in-table
2 parents a2ff8f9 + f4decbf commit 443f69b

File tree

4,268 files changed

+193189
-97804
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,268 files changed

+193189
-97804
lines changed

.all-contributorsrc

Lines changed: 1055 additions & 11 deletions
Large diffs are not rendered by default.

.env.dev.docker

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# --------------------------------------------
22
# REQUIRED: DB SETUP
33
# --------------------------------------------
4+
# https://mariadb.com/kb/en/mariadb-server-docker-official-image-environment-variables/
5+
46
MYSQL_DATABASE=snipeit
57
MYSQL_USER=snipeit
68
MYSQL_PASSWORD=changeme1234
@@ -9,12 +11,12 @@ MYSQL_ROOT_PASSWORD=changeme1234
911
# REQUIRED: BASIC APP SETTINGS
1012
# --------------------------------------------
1113
APP_ENV=develop
12-
APP_DEBUG=false
14+
APP_DEBUG=true
1315
# please regenerate the APP_KEY value by calling `docker-compose run --rm snipeit bash` and then `php artisan key:generate --show` and then copy paste the value here
1416
APP_KEY=base64:3ilviXqB9u6DX1NRcyWGJ+sjySF+H18CPDGb3+IVwMQ=
1517
APP_URL=http://localhost:8000
1618
APP_TIMEZONE='UTC'
17-
APP_LOCALE=en
19+
APP_LOCALE=en-US
1820
MAX_RESULTS=500
1921

2022
# --------------------------------------------
@@ -33,6 +35,7 @@ DB_USERNAME=snipeit
3335
DB_PASSWORD=changeme1234
3436
DB_PREFIX=null
3537
DB_DUMP_PATH='/usr/bin'
38+
DB_DUMP_SKIP_SSL=true
3639
DB_CHARSET=utf8mb4
3740
DB_COLLATION=utf8mb4_unicode_ci
3841

@@ -76,6 +79,13 @@ MAIL_BACKUP_NOTIFICATION_DRIVER=null
7679
MAIL_BACKUP_NOTIFICATION_ADDRESS=null
7780
BACKUP_ENV=true
7881

82+
# --------------------------------------------
83+
# OPTIONAL: CHANGE PHP UPLOAD LIMITS (UNCOMMENT WHEN NEEDING TO BE CHANGED)
84+
# --------------------------------------------
85+
#PHP_UPLOAD_LIMIT=10
86+
#PHP_POST_MAX_SIZE=10
87+
#PHP_UPLOAD_MAX_FILESIZE=10
88+
#PHP_MEMORY_LIMIT=10
7989

8090
# --------------------------------------------
8191
# OPTIONAL: SESSION SETTINGS
@@ -156,7 +166,7 @@ RESET_PASSWORD_LINK_EXPIRES=900
156166
# --------------------------------------------
157167
# OPTIONAL: MISC
158168
# --------------------------------------------
159-
LOG_CHANNEL=stderr
169+
LOG_CHANNEL=single
160170
LOG_MAX_DAYS=10
161171
APP_LOCKED=false
162172
APP_CIPHER=AES-256-CBC

.env.docker

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
# --------------------------------------------
22
# REQUIRED: DOCKER SPECIFIC SETTINGS
33
# --------------------------------------------
4-
APP_VERSION=v6.4.1
4+
APP_VERSION=
55
APP_PORT=8000
66

77
# --------------------------------------------
88
# REQUIRED: BASIC APP SETTINGS
99
# --------------------------------------------
1010
APP_ENV=production
1111
APP_DEBUG=false
12-
# Please regenerate the APP_KEY value by calling `docker compose run --rm snipeit php artisan key:generate --show`. Copy paste the value here
12+
# Please regenerate the APP_KEY value by calling `docker compose run --rm app php artisan key:generate --show`. Copy paste the value here
1313
APP_KEY=base64:3ilviXqB9u6DX1NRcyWGJ+sjySF+H18CPDGb3+IVwMQ=
1414
APP_URL=http://localhost:8000
1515
# https://en.wikipedia.org/wiki/List_of_tz_database_time_zones - TZ identifier
1616
APP_TIMEZONE='UTC'
17-
APP_LOCALE=en
17+
APP_LOCALE=en-US
1818
MAX_RESULTS=500
1919

2020
# --------------------------------------------
@@ -35,6 +35,7 @@ DB_PASSWORD=changeme1234
3535
MYSQL_ROOT_PASSWORD=changeme1234
3636
DB_PREFIX=null
3737
DB_DUMP_PATH='/usr/bin'
38+
DB_DUMP_SKIP_SSL=true
3839
DB_CHARSET=utf8mb4
3940
DB_COLLATION=utf8mb4_unicode_ci
4041

@@ -83,6 +84,15 @@ MAIL_BACKUP_NOTIFICATION_DRIVER=null
8384
MAIL_BACKUP_NOTIFICATION_ADDRESS=null
8485
BACKUP_ENV=true
8586

87+
# --------------------------------------------
88+
# OPTIONAL: CHANGE PHP UPLOAD LIMITS (UNCOMMENT WHEN NEEDING TO BE CHANGED)
89+
# --------------------------------------------
90+
#PHP_UPLOAD_LIMIT=10
91+
#PHP_POST_MAX_SIZE=10
92+
#PHP_UPLOAD_MAX_FILESIZE=10
93+
#PHP_MEMORY_LIMIT=10
94+
95+
8696
# --------------------------------------------
8797
# OPTIONAL: SESSION SETTINGS
8898
# --------------------------------------------
@@ -97,7 +107,7 @@ API_TOKEN_EXPIRATION_YEARS=40
97107
# --------------------------------------------
98108
# OPTIONAL: SECURITY HEADER SETTINGS
99109
# --------------------------------------------
100-
APP_TRUSTED_PROXIES=192.168.1.1,10.0.0.1,172.0.0.0/8
110+
APP_TRUSTED_PROXIES=192.168.1.1,10.0.0.1,172.16.0.0/12
101111
ALLOW_IFRAMING=false
102112
REFERRER_POLICY=same-origin
103113
ENABLE_CSP=false

.env.dusk.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ APP_DEBUG=false
66
APP_KEY=base64:hTUIUh9CP6dQx+6EjSlfWTgbaMaaRvlpEwk45vp+xmk=
77
APP_URL=http://127.0.0.1:8000
88
APP_TIMEZONE='US/Eastern'
9-
APP_LOCALE=en
9+
APP_LOCALE=en-US
1010
APP_LOCKED=false
1111
MAX_RESULTS=200
1212

.env.example

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,11 @@ DB_USERNAME=null
3030
DB_PASSWORD=null
3131
DB_PREFIX=null
3232
DB_DUMP_PATH='/usr/bin'
33+
DB_DUMP_SKIP_SSL=false
3334
DB_CHARSET=utf8mb4
3435
DB_COLLATION=utf8mb4_unicode_ci
36+
DB_SANITIZE_BY_DEFAULT=false
37+
3538

3639
# --------------------------------------------
3740
# OPTIONAL: SSL DATABASE SETTINGS
@@ -78,6 +81,12 @@ MAIL_BACKUP_NOTIFICATION_ADDRESS=null
7881
BACKUP_ENV=true
7982
ALLOW_BACKUP_DELETE=false
8083
ALLOW_DATA_PURGE=false
84+
ALL_BACKUP_KEEP_DAYS=7
85+
DAILY_BACKUP_KEEP_DAYS=16
86+
WEEKLY_BACKUP_KEEP_WEEKS=8
87+
MONTHLY_BACKUP_KEEP_MONTHS=4
88+
YEARLY_BACKUP_KEEP_YEARS=2
89+
BACKUP_PURGE_OLDEST_AT_MEGS=5000
8190

8291
# --------------------------------------------
8392
# OPTIONAL: SESSION SETTINGS
@@ -87,10 +96,11 @@ SESSION_LIFETIME=12000
8796
EXPIRE_ON_CLOSE=false
8897
ENCRYPT=false
8998
COOKIE_NAME=snipeit_session
99+
PASSPORT_COOKIE_NAME='snipeit_passport_token'
90100
COOKIE_DOMAIN=null
91101
SECURE_COOKIES=false
92102
API_TOKEN_EXPIRATION_YEARS=15
93-
BS_TABLE_STORAGE=cookieStorage
103+
BS_TABLE_STORAGE=localStorage
94104
BS_TABLE_DEEPLINK=true
95105

96106
# --------------------------------------------
@@ -169,6 +179,7 @@ PASSWORD_RESET_MAX_ATTEMPTS_PER_MIN=50
169179
# OPTIONAL: MISC
170180
# --------------------------------------------
171181
LOG_CHANNEL=single
182+
LOG_DEPRECATIONS=false
172183
LOG_MAX_DAYS=10
173184
APP_LOCKED=false
174185
APP_CIPHER=AES-256-CBC
@@ -183,6 +194,7 @@ REPORT_TIME_LIMIT=12000
183194
REQUIRE_SAML=false
184195
API_THROTTLE_PER_MINUTE=120
185196
CSV_ESCAPE_FORMULAS=true
197+
LIVEWIRE_URL_PREFIX=null
186198

187199
# --------------------------------------------
188200
# OPTIONAL: HASHING

.github/ISSUE_TEMPLATE.md

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 0 additions & 129 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)