Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2506 commits
Select commit Hold shift + click to select a range
8da0dd7
Use strtolower
snipe Aug 10, 2025
543d41b
Merge pull request #17553 from grokability/#17547-asset-model-images-…
snipe Aug 10, 2025
2f146ab
Let people upload images on the demo
snipe Aug 10, 2025
de56b74
Merge branch 'develop' into move-file-uploads-paths-to-base-controller
snipe Aug 10, 2025
bf2120f
Use newer file path
snipe Aug 10, 2025
bcf301a
Adds #13997 - API endpoint to sync users via LDAP
snipe Aug 10, 2025
6dee2b8
Fixed 17490 - currency symbol breaks purchase_cost
snipe Aug 10, 2025
b636cf2
Merge pull request #17555 from grokability/#17490-use-numeric-for-pur…
snipe Aug 10, 2025
8782c3e
Merge pull request #17554 from grokability/#13997-add-ldap-sync-via-api
snipe Aug 10, 2025
c6dea08
Missed a few
snipe Aug 10, 2025
357ee5f
Copy over the old dirs just in case
snipe Aug 10, 2025
f56fd9b
Bumped hash
snipe Aug 10, 2025
4bf5697
Cleans up a few rmore outes
snipe Aug 11, 2025
7974bad
Merge pull request #17551 from grokability/move-file-uploads-paths-to…
snipe Aug 11, 2025
5840ef1
Fixed #17560
snipe Aug 11, 2025
c18a3e4
Fixed #17562 - bootstrap table formater undefined
snipe Aug 11, 2025
f6b9e11
Merge pull request #17538 from mckaygerhard/mail-log-improvements
snipe Aug 11, 2025
1f55a8b
Added icon and tooltip
snipe Aug 11, 2025
07edbe6
Add @mckaygerhard as a contributor
snipe Aug 11, 2025
9b968ba
Show all icons, even if no results
snipe Aug 11, 2025
b08f985
Merge pull request #17566 from grokability/partial-fix-for-#17565-sta…
snipe Aug 11, 2025
23da557
Fixed #11754 - nicer top menu dropdown alignment
snipe Aug 11, 2025
c8a5065
Merge pull request #17567 from grokability/#11754-nicer-menu-alignment
snipe Aug 11, 2025
f12a3bb
Fixed #10306 - cast purchase cost to a float
snipe Aug 11, 2025
ef35a0f
Fixed #10284: Added mobile phone to users
snipe Aug 11, 2025
ff91be4
Added mobile to tests
snipe Aug 11, 2025
682baec
Merge pull request #17569 from grokability/#10284-add-mobile-number
snipe Aug 11, 2025
4038a22
Added sidenav to filter on activated vs inactive users
snipe Aug 11, 2025
94bd39c
Merge pull request #17570 from grokability/#10038-add-active-flag-filter
snipe Aug 11, 2025
4a7b718
Add custom_fields. prefix so custom fields can be filtered against
marcusmoore Aug 11, 2025
8175304
added condition to make sure the request has checkbox
spencerrlongg Aug 12, 2025
5cb8aae
add ternaries
Godmartinz Aug 12, 2025
db58b80
Merge branch 'develop' into add-category-and-model-to-checkout-emial
Godmartinz Aug 12, 2025
ba85af1
adds serial to expiring assets report email
Godmartinz Aug 12, 2025
dfe2a75
adds user that checked out item to acceptance emails
Godmartinz Aug 12, 2025
5fdabc1
Fixes CVE-2025-55166
joelpittet Aug 13, 2025
376e0db
Merge pull request #17601 from ubc-cpsc/bugfix/CVE-2025-55166
snipe Aug 13, 2025
fe3d225
fix tests
Godmartinz Aug 14, 2025
d79bd82
fix popover text color
Godmartinz Aug 14, 2025
08a9554
Merge pull request #17607 from Godmartinz/color-corrections-pt9000
snipe Aug 14, 2025
9797bb1
Updated dev assets
snipe Aug 15, 2025
a78762e
Fixed #17600 - adds checkout date to accessories tab in user view
snipe Aug 15, 2025
180cb6b
Merge pull request #17610 from grokability/#17600-add-checkout-date-t…
snipe Aug 15, 2025
42a28ea
Merge pull request #17593 from Godmartinz/add-admin-to-acceptance-emails
snipe Aug 15, 2025
01dd070
Merge pull request #17584 from spencerrlongg/bug/17312-custom-field-c…
snipe Aug 15, 2025
2141ee7
Merge pull request #17544 from marcusmoore/fixes/custom-field-filter
snipe Aug 15, 2025
3d95808
Merge pull request #17524 from Godmartinz/add-category-and-model-to-c…
snipe Aug 15, 2025
3b243b3
Fixed #9965 - fallback to category images (f there are any) when no c…
snipe Aug 15, 2025
5338987
Merge pull request #17611 from grokability/#9965-fallback-to-category…
snipe Aug 15, 2025
e6fec6e
Trim model name for display
snipe Aug 17, 2025
2bc1443
Use translations and more standard error bag
snipe Aug 17, 2025
f512883
Updated comments
snipe Aug 17, 2025
9c82311
Added new factories for user custom field permissions
snipe Aug 17, 2025
aab7c3a
Updated custom fields and fieldset pages to use standard delete modal
snipe Aug 17, 2025
91f3556
Added delete test
snipe Aug 17, 2025
a9da3ac
Combine fields and fieldset exception
snipe Aug 17, 2025
69eff39
Removed use statement
snipe Aug 17, 2025
6dceefb
Merge pull request #17625 from grokability/#17620-delete-method-custo…
snipe Aug 17, 2025
615e6d6
Fixes #17606 - use getImageUrl() to determine if local or S3
snipe Aug 17, 2025
ecad656
Merge pull request #17626 from grokability/#17606-s3-url-for-models-o…
snipe Aug 17, 2025
61abb8d
Fixed hardware.bulkedit redirect
snipe Aug 18, 2025
e3ca43b
Remove use of formatCurrencyOutput for input display
snipe Aug 18, 2025
2156656
Fixed #17367: Small adjustment to css-padlock
snipe Aug 18, 2025
a88bcea
Merge pull request #17635 from grokability/#17367-fixed-padlock-icon
snipe Aug 18, 2025
c1b139f
Fixed #17627: custom fields not sorting correctly
snipe Aug 18, 2025
ebd79f2
Merge pull request #17636 from grokability/#17627-custom-fields-sorting
snipe Aug 18, 2025
9253d89
Removed XSS-Protection header
snipe Aug 18, 2025
9b41018
Undo double-float
snipe Aug 18, 2025
1fcf5e0
adds asset tag to subject line of checkin/out
Godmartinz Aug 18, 2025
ff25d27
fix tests
Godmartinz Aug 18, 2025
9115520
fix other test
Godmartinz Aug 18, 2025
1974fcc
add tag to other notification test
Godmartinz Aug 18, 2025
1c99f2d
readd doesntorequireacceptance() to test
Godmartinz Aug 18, 2025
7f9939a
Merge pull request #17638 from Godmartinz/asset-tag-added-to-subject-…
snipe Aug 19, 2025
f6c64ab
Fixed #17641 - map mobile number via SCIM
snipe Aug 19, 2025
ced3008
Added display_name as user field
snipe Aug 19, 2025
6a8e156
Added display_name to a few more places
snipe Aug 19, 2025
0c3103e
Modify the getter
snipe Aug 19, 2025
90fbf6d
Modify the presenter to see if they have a display_name set
snipe Aug 19, 2025
4b8c371
Updated true to false
snipe Aug 19, 2025
551822c
Merge pull request #17648 from grokability/possible-fix-for-#17641-ma…
snipe Aug 19, 2025
270401c
Added display name to user create modal
snipe Aug 19, 2025
050a3af
Fixed #17649 - nicer layout on new location modal
snipe Aug 19, 2025
cdd12df
Fixed #17627 - jquery UI fix for draggable/sortable
snipe Aug 19, 2025
e97b969
Add new indexes to category_id and deleted_at
uberbrady Aug 19, 2025
48bbf8d
Merge pull request #17655 from uberbrady/add_category_indexes
snipe Aug 19, 2025
1488271
Added #8522 - depreciation info on Asset API
snipe Aug 19, 2025
ed402e0
adds serial underneath name
Godmartinz Aug 19, 2025
765051c
Added LabelWriter for 11354 format labels.
FlorestanII Aug 19, 2025
9eb686f
changes translation to administrator
Godmartinz Aug 19, 2025
8b83584
Added mapping fields to LDAP
snipe Aug 19, 2025
b3f0ce4
Use fieldsets for LDAP settings
snipe Aug 19, 2025
0823c23
Fixed placeholder text
snipe Aug 19, 2025
2d6270c
Updated validation, switch to string() as db field type
snipe Aug 19, 2025
9efb49d
Merge pull request #17663 from Godmartinz/sub-out-translation
snipe Aug 19, 2025
1b42abc
Fixed mapping
snipe Aug 19, 2025
c2ecd20
Updated field text
snipe Aug 19, 2025
07b25fe
Add display name to summary
snipe Aug 19, 2025
56e687b
Retuen the display name in the API call
snipe Aug 20, 2025
bf59132
Fixed #17665 - delete custom report modal
snipe Aug 20, 2025
2a37aa3
Fixed tooltip
snipe Aug 20, 2025
9c06ff3
Check for numeric
snipe Aug 20, 2025
bc645d2
Use email formatter in licensed_to_email display
snipe Aug 20, 2025
855922c
Account for null in tetss (vs 0)
snipe Aug 20, 2025
e0bb77a
Merge pull request #17664 from FlorestanII/feature/support-for-dymo-1…
snipe Aug 20, 2025
312be98
Add @FlorestanII as a contributor
snipe Aug 20, 2025
618106c
Fixed #17674 - added odp, ods, odt to accepted files
snipe Aug 20, 2025
da5b1af
Removed logging
snipe Aug 20, 2025
fec9d71
Merge pull request #17679 from grokability/#17674-add-ods-and-odt
snipe Aug 20, 2025
3f7ed73
Added laravel telescope for dev environment
snipe Aug 20, 2025
ae109be
Small tweaks
snipe Aug 20, 2025
35b358d
Check for $user to handle tests
snipe Aug 20, 2025
11eee83
Fixed #17667 - Switch to hyphens for windows
snipe Aug 20, 2025
c07ef4d
A few small tweaks
snipe Aug 21, 2025
fc091c1
Added comments
snipe Aug 21, 2025
15f97b6
Merge pull request #17591 from Godmartinz/add-serial-to-expiring-asse…
snipe Aug 21, 2025
d8dd274
Fix components presenting wrong URLs
qay21 Aug 21, 2025
39e6223
POssible alternative to #17386 - adding SAML key size to env
snipe Aug 21, 2025
c57c4b8
Merge pull request #17691 from qay21/fix-components-url
snipe Aug 21, 2025
952b6f3
Add @strobelm as a contributor
snipe Aug 21, 2025
b84d928
Use normal locale for warranty
snipe Aug 21, 2025
822339f
Moved warning
snipe Aug 21, 2025
c538c46
Merge pull request #17695 from grokability/#17482-better-localization…
snipe Aug 21, 2025
6db0003
Adds a 'created_at' index to the models table
uberbrady Aug 21, 2025
29a18c7
Merge pull request #17696 from uberbrady/add_created_at_index_to_models
snipe Aug 21, 2025
4770e46
Merge pull request #17650 from grokability/add-displayName-to-users
snipe Aug 21, 2025
6503f9c
Revert "Merge pull request #17650 from grokability/add-displayName-to…
snipe Aug 21, 2025
b6d397b
Updated `->present()->fullName()` to `->display_name`
snipe Aug 25, 2025
e60f2b2
Tightened up accessor code for better inheritence
snipe Aug 25, 2025
c8e79aa
Merge branch 'develop' into add-display-name-to-users-fixed
snipe Aug 25, 2025
40108b1
Trying to fix import tests :(
snipe Aug 25, 2025
13cd707
WIP improving some LDAP stuff
uberbrady Aug 25, 2025
5a16b59
Adds support for label sheets Avery L4736 & L6009
akaspeh1 Aug 25, 2025
07dbc68
Are you KIDDING ME, Github??
snipe Aug 25, 2025
be0f391
Fixed: Old computation
akaspeh1 Aug 25, 2025
3524e23
Fixed tests
snipe Aug 25, 2025
73ac00b
Bump actions/checkout from 4 to 5
dependabot[bot] Aug 25, 2025
128bdf5
sends an email for to locale and cc locale
Godmartinz Aug 25, 2025
dd742a2
add a check for audit notification variables in MS Teams and a transl…
Godmartinz Aug 25, 2025
abb097a
Merge pull request #17714 from Godmartinz/Audit_null_fix
snipe Aug 26, 2025
ecf2451
Fixed tests for real this time tho
snipe Aug 26, 2025
a4222bc
Merge pull request #17711 from grokability/dependabot/github_actions/…
snipe Aug 26, 2025
a6b74d5
Merge pull request #17709 from grokability/add-display-name-to-users-…
snipe Aug 26, 2025
b702e3e
Merge pull request #17492 from ischooluw/17448-feature-notes-api-endp…
snipe Aug 26, 2025
47b2b30
Merge pull request #17710 from akaspeh1/develop
snipe Aug 26, 2025
855a176
Add @nickwest as a contributor
snipe Aug 26, 2025
39955ac
Add @akaspeh1 as a contributor
snipe Aug 26, 2025
15e6415
Add version checking to LDAP troubleshooter, clean up ldap model
uberbrady Aug 26, 2025
17650c5
Changed field title
snipe Aug 26, 2025
469e3bd
Nicer ldap preview layout, show all mapped fields
snipe Aug 26, 2025
58944a3
Make screen and table wider
snipe Aug 26, 2025
55a5a12
Formalize the 'double-barrel' method of setting TLS cert ignores
uberbrady Aug 26, 2025
e74460a
Merge branch 'develop' into improve_ldap_certifcate_ignoring
uberbrady Aug 26, 2025
264efb0
Fixed jobtitle field mapping
snipe Aug 26, 2025
76374f0
Updated text
snipe Aug 26, 2025
314bc5b
Added manager
snipe Aug 26, 2025
2b401b9
Fixed casing
snipe Aug 26, 2025
7a36bbb
Merge pull request #17721 from grokability/small-ldap-preview-display…
snipe Aug 26, 2025
f4a94d9
Fixes #17704 - retain linebreaks in clipboard for multi-line custom f…
snipe Aug 26, 2025
22852c2
Use generic length for asterisks
snipe Aug 26, 2025
eb17974
Merge pull request #17722 from grokability/#17704-retain-linebreaks
snipe Aug 26, 2025
1679538
Many cleanups to default-mode of LDAP troubleshooter
uberbrady Aug 26, 2025
d1eefc3
Merge pull request #17692 from grokability/#17387-make-saml-key-size-…
snipe Aug 26, 2025
75995b2
fix checkout to location email
Godmartinz Aug 26, 2025
8a74d21
fixes checkout emails to location for assets and accessories"
Godmartinz Aug 26, 2025
671c113
add coma to translation"
Godmartinz Aug 26, 2025
60604c3
With the new SSL stuff, we are calling ldap_set_option() one more tim…
uberbrady Aug 27, 2025
2f77fcb
Merge pull request #17724 from Godmartinz/checkout2location_email_fix
snipe Aug 27, 2025
75ab6c9
Merge pull request #17723 from uberbrady/improve_ldap_certificate_ign…
snipe Aug 27, 2025
4a6520f
Fixed address field
snipe Aug 27, 2025
b3e3d01
Fixed LDAP icon spacing
snipe Aug 27, 2025
cb2ffe6
Updated translations
snipe Aug 27, 2025
adc3a34
Fixed copy for encrypted custom fields
snipe Aug 27, 2025
5d9dc0e
Put decrypt in a try/catch
snipe Aug 27, 2025
2f093c0
Added early exist on step 4 as well
snipe Aug 27, 2025
e4f06b0
One last time
snipe Aug 27, 2025
5822e4e
Merge pull request #17729 from grokability/exit-early-if-ldap-trouble…
snipe Aug 27, 2025
b11c6a5
Updated depreciation translation with more information.
snipe Aug 27, 2025
f518af6
fix class name
Godmartinz Aug 27, 2025
f2ec7f2
fix tests
Godmartinz Aug 27, 2025
648c25a
adds item type to Accept asset index
Godmartinz Aug 27, 2025
c1a6546
change column header
Godmartinz Aug 27, 2025
95be847
renamed attribute
Godmartinz Aug 27, 2025
715b9c1
Merge pull request #17730 from Godmartinz/update-asset-accepance-with…
snipe Aug 28, 2025
745fc51
Merge pull request #17713 from Godmartinz/fix-localization-for-email-…
snipe Aug 28, 2025
454be01
Updated translations
snipe Aug 28, 2025
1edbfd8
Added welcome email checkbox to user create form
snipe Aug 28, 2025
af695e7
Added help to user importer
snipe Aug 28, 2025
d3747f4
Added welcome email to controller
snipe Aug 28, 2025
0d7ec43
Fixed typo
snipe Aug 28, 2025
d5cc61f
Added send to API call for creating users
snipe Aug 28, 2025
b303875
Merge pull request #17734 from grokability/#17726-add-welcome-email-t…
snipe Aug 28, 2025
cad6cc3
Renamed the test for consistency
snipe Aug 28, 2025
9882046
Merge pull request #17740 from grokability/renamed-user-test
snipe Aug 28, 2025
8ccd2e9
Improved user create tests
snipe Aug 28, 2025
d7407d7
Merge pull request #17741 from grokability/improved-user-create-tests
snipe Aug 28, 2025
cfc979a
Merge pull request #17432 from oolivero45/patch-1
snipe Aug 28, 2025
315a812
Fixed typos
snipe Aug 28, 2025
d112908
Asset nothing is sent if `send_welcome` is not checked/passed
snipe Aug 28, 2025
7b5d90d
Moved model traits into proper directory
snipe Aug 28, 2025
39ef353
Bumped version
snipe Aug 28, 2025
9c0202e
Bumped to 8.3.0
snipe Aug 28, 2025
6e2bcd6
Merge pull request #17680 from grokability/added-telescope
snipe Aug 28, 2025
44fbde2
Merge pull request #17743 from grokability/normalize-trait-locations
snipe Aug 28, 2025
c5c68e9
fix dropdown link color and skin names
Godmartinz Aug 28, 2025
ca95b29
Add telescope tables to the excepted tables
snipe Aug 28, 2025
da6fab5
adds parent location to checked out to location
Godmartinz Aug 28, 2025
3a27ecc
Use display_name in place of name()
marcusmoore Aug 28, 2025
12a649e
Merge pull request #17751 from marcusmoore/fixes/name-in-expiring-assets
snipe Aug 29, 2025
28abeab
Fixed a few more `display_name` instances
snipe Aug 29, 2025
b3c583b
Few more ->display_name
snipe Aug 29, 2025
eadce51
fixes check in check out translations for assets in notiications
Godmartinz Aug 29, 2025
53b9616
fixed uploadfilescontroller to use the file_id to delete the correct
Speedyduck300000 Sep 1, 2025
9284984
Merge pull request #17768 from Speedyduck300000/develop
snipe Sep 1, 2025
6cefa0d
Merge pull request #17745 from Godmartinz/dropdown-link-color-fix
snipe Sep 1, 2025
30a9496
Merge pull request #17748 from Godmartinz/parent-location-in-asset-view
snipe Sep 1, 2025
db47742
Bumped to 8.3.1
snipe Sep 1, 2025
ec310bc
Updated dev assets
snipe Sep 1, 2025
bf5668a
Added payload to accessories API
snipe Sep 1, 2025
c05c8de
Merge pull request #17769 from grokability/#9978-add-pivot-to-accesso…
snipe Sep 1, 2025
eb259ae
Set asset selector to true for components since it will always be req…
snipe Sep 1, 2025
3094e00
Set session to remember checkout type
snipe Sep 1, 2025
15abe36
More tweaks to display
snipe Sep 1, 2025
9f81989
Return null instead of blank for display_name in API
snipe Sep 1, 2025
9469989
Updated fieldname in user API request
snipe Sep 1, 2025
77d002a
Use null for role as well
snipe Sep 1, 2025
131327a
Fixed “undefined” error on status labels in BS tables
snipe Sep 1, 2025
b9cfc03
display name fix
snipe Sep 2, 2025
7bd3a79
Added withTrashed() to allow viewing files on deleted objects
snipe Sep 2, 2025
e6c030b
Merge pull request #17781 from grokability/#17780-add-withtrashed-to-…
snipe Sep 2, 2025
709f467
Merge pull request #17771 from grokability/#10107-remember-checkout-t…
snipe Sep 2, 2025
c3a0a04
fix MS Teams Notifications
Godmartinz Sep 2, 2025
cd2e7ee
fix google and slack notifications
Godmartinz Sep 2, 2025
c83504b
Use display_name in place of presenter
marcusmoore Sep 2, 2025
52140db
Log upload deletion
snipe Sep 3, 2025
a18fb10
Merge pull request #17783 from marcusmoore/fixes/company-in-location-…
snipe Sep 3, 2025
de3b169
Merge pull request #17760 from Godmartinz/fix-translation-string-in-n…
snipe Sep 3, 2025
32300cb
Merge pull request #17788 from grokability/add-delete-log-instead-of-…
snipe Sep 3, 2025
afde594
Fixed typo - #17784
snipe Sep 3, 2025
739980a
Merge pull request #16947 from Godmartinz/add-require-serial-to-models
snipe Sep 3, 2025
f5c8b3e
Fixed #17791 - increase size of purchase cost field
snipe Sep 3, 2025
b06c58f
Switch to older style rules for consistency
snipe Sep 3, 2025
605022a
Merge pull request #17795 from grokability/#17791-larger-currency-field
snipe Sep 3, 2025
19aea4b
Fixed #17798 - added `require_serial` to model importer
snipe Sep 3, 2025
bf63b15
Merge pull request #17799 from grokability/#17798-adds-require-serial…
snipe Sep 3, 2025
30362c9
Upload log as artifact
marcusmoore Sep 3, 2025
db9f85e
Merge branch 'develop' into checkin_non_reassignable_license
Godmartinz Sep 3, 2025
e7827a3
Merge pull request #17800 from marcusmoore/chore/test-action-logs
snipe Sep 4, 2025
c28e78b
Merge pull request #16063 from Godmartinz/checkin_non_reassignable_li…
snipe Sep 4, 2025
6aac5ca
Merge branch 'develop' into custom_fields_for_users_v8
uberbrady Sep 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
985 changes: 974 additions & 11 deletions .all-contributorsrc

Large diffs are not rendered by default.

10 changes: 9 additions & 1 deletion .env.dev.docker
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ APP_DEBUG=true
APP_KEY=base64:3ilviXqB9u6DX1NRcyWGJ+sjySF+H18CPDGb3+IVwMQ=
APP_URL=http://localhost:8000
APP_TIMEZONE='UTC'
APP_LOCALE=en
APP_LOCALE=en-US
MAX_RESULTS=500

# --------------------------------------------
Expand All @@ -35,6 +35,7 @@ DB_USERNAME=snipeit
DB_PASSWORD=changeme1234
DB_PREFIX=null
DB_DUMP_PATH='/usr/bin'
DB_DUMP_SKIP_SSL=true
DB_CHARSET=utf8mb4
DB_COLLATION=utf8mb4_unicode_ci

Expand Down Expand Up @@ -78,6 +79,13 @@ MAIL_BACKUP_NOTIFICATION_DRIVER=null
MAIL_BACKUP_NOTIFICATION_ADDRESS=null
BACKUP_ENV=true

# --------------------------------------------
# OPTIONAL: CHANGE PHP UPLOAD LIMITS (UNCOMMENT WHEN NEEDING TO BE CHANGED)
# --------------------------------------------
#PHP_UPLOAD_LIMIT=10
#PHP_POST_MAX_SIZE=10
#PHP_UPLOAD_MAX_FILESIZE=10
#PHP_MEMORY_LIMIT=10

# --------------------------------------------
# OPTIONAL: SESSION SETTINGS
Expand Down
12 changes: 12 additions & 0 deletions .env.docker
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@ PUBLIC_FILESYSTEM_DISK=local_public
# --------------------------------------------
DB_CONNECTION=mysql
DB_HOST=db
DB_SOCKET=null
DB_PORT='3306'
DB_DATABASE=snipeit
DB_USERNAME=snipeit
DB_PASSWORD=changeme1234
MYSQL_ROOT_PASSWORD=changeme1234
DB_PREFIX=null
DB_DUMP_PATH='/usr/bin'
DB_DUMP_SKIP_SSL=true
DB_CHARSET=utf8mb4
DB_COLLATION=utf8mb4_unicode_ci

Expand Down Expand Up @@ -83,6 +85,15 @@ MAIL_BACKUP_NOTIFICATION_DRIVER=null
MAIL_BACKUP_NOTIFICATION_ADDRESS=null
BACKUP_ENV=true

# --------------------------------------------
# OPTIONAL: CHANGE PHP UPLOAD LIMITS (UNCOMMENT WHEN NEEDING TO BE CHANGED)
# --------------------------------------------
#PHP_UPLOAD_LIMIT=10
#PHP_POST_MAX_SIZE=10
#PHP_UPLOAD_MAX_FILESIZE=10
#PHP_MEMORY_LIMIT=10


# --------------------------------------------
# OPTIONAL: SESSION SETTINGS
# --------------------------------------------
Expand Down Expand Up @@ -158,6 +169,7 @@ AWS_DEFAULT_REGION=null
LOGIN_MAX_ATTEMPTS=5
LOGIN_LOCKOUT_DURATION=60
RESET_PASSWORD_LINK_EXPIRES=900
INVITE_PASSWORD_LINK_EXPIRES=1500

# --------------------------------------------
# OPTIONAL: MISC
Expand Down
14 changes: 12 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,14 @@ PUBLIC_FILESYSTEM_DISK=local_public
# --------------------------------------------
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_SOCKET=null
DB_PORT=3306
DB_DATABASE=null
DB_USERNAME=null
DB_PASSWORD=null
DB_PREFIX=null
DB_DUMP_PATH='/usr/bin'
DB_DUMP_SKIP_SSL=false
DB_CHARSET=utf8mb4
DB_COLLATION=utf8mb4_unicode_ci
DB_SANITIZE_BY_DEFAULT=false
Expand Down Expand Up @@ -99,7 +101,7 @@ PASSPORT_COOKIE_NAME='snipeit_passport_token'
COOKIE_DOMAIN=null
SECURE_COOKIES=false
API_TOKEN_EXPIRATION_YEARS=15
BS_TABLE_STORAGE=cookieStorage
BS_TABLE_STORAGE=localStorage
BS_TABLE_DEEPLINK=true

# --------------------------------------------
Expand Down Expand Up @@ -173,11 +175,13 @@ LOGIN_AUTOCOMPLETE=false
RESET_PASSWORD_LINK_EXPIRES=15
PASSWORD_CONFIRM_TIMEOUT=10800
PASSWORD_RESET_MAX_ATTEMPTS_PER_MIN=50
INVITE_PASSWORD_LINK_EXPIRES=1500

# --------------------------------------------
# OPTIONAL: MISC
# --------------------------------------------
LOG_CHANNEL=single
LOG_DEPRECATIONS=false
LOG_MAX_DAYS=10
APP_LOCKED=false
APP_CIPHER=AES-256-CBC
Expand All @@ -189,11 +193,17 @@ LDAP_TIME_LIM=600
IMPORT_TIME_LIMIT=600
IMPORT_MEMORY_LIMIT=500M
REPORT_TIME_LIMIT=12000
REQUIRE_SAML=false
API_THROTTLE_PER_MINUTE=120
CSV_ESCAPE_FORMULAS=true
LIVEWIRE_URL_PREFIX=null


# --------------------------------------------
# OPTIONAL: SAML SETTINGS
# --------------------------------------------
REQUIRE_SAML=false
SAML_KEY_SIZE=2048

# --------------------------------------------
# OPTIONAL: HASHING
# --------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/SA-codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
language: [ 'javascript' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/codacy-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ name: Codacy Security Scan

on:
push:
branches: [ master ]
branches: [ develop ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
branches: [ develop ]
schedule:
- cron: '36 23 * * 3'

Expand All @@ -22,21 +22,21 @@ permissions:

jobs:
codacy-security-scan:
# Ensure schedule job never runs on forked repos. It's only executed for 'snipe/snipe-it'
# Ensure schedule job never runs on forked repos. It's only executed for 'grokability/snipe-it'
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
if: (github.repository == 'snipe/snipe-it') || ((github.repository != 'snipe/snipe-it') && (github.event_name != 'schedule'))
if: (github.repository == 'grokability/snipe-it') || ((github.repository != 'grokability/snipe-it') && (github.event_name != 'schedule'))
name: Codacy Security Scan
runs-on: ubuntu-latest
steps:
# Checkout the repository to the GitHub Actions runner
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5

# Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis
- name: Run Codacy Analysis CLI
uses: codacy/codacy-analysis-cli-action@v4.4.5
uses: codacy/codacy-analysis-cli-action@v4.4.7
with:
# Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository
# You can also omit the token and run the tools that support default configurations
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/crowdin-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Crowdin push
uses: crowdin/github-action@v2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docker-alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ permissions:

jobs:
docker:
# Ensure this job never runs on forked repos. It's only executed for 'snipe/snipe-it'
if: github.repository == 'snipe/snipe-it'
# Ensure this job never runs on forked repos. It's only executed for 'grokability/snipe-it'
if: github.repository == 'grokability/snipe-it'
runs-on: ubuntu-latest
env:
# Define tags to use for Docker images based on Git tags/branches (for docker/metadata-action)
Expand All @@ -32,7 +32,7 @@ jobs:
type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }},suffix=-alpine
type=ref,event=branch,enable=${{ !endsWith(github.ref, github.event.repository.default_branch) }},suffix=-alpine
type=ref,event=tag,suffix=-alpine
type=semver,pattern=v{{major}}-latest-alpine
type=semver,pattern=v{{major}}-latest-alpine
# Define default tag "flavor" for docker/metadata-action per
# https://github.com/docker/metadata-action#flavor-input
# We turn off 'latest' tag by default.
Expand All @@ -42,7 +42,7 @@ jobs:
steps:
# https://github.com/actions/checkout
- name: Checkout codebase
uses: actions/checkout@v4
uses: actions/checkout@v5

# https://github.com/docker/setup-buildx-action
- name: Setup Docker Buildx
Expand Down
86 changes: 86 additions & 0 deletions .github/workflows/docker-ubuntu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# Snipe-IT Docker image build for hub.docker.com
name: Docker images (Ubuntu)

# Run this Build for all pushes to 'master' or develop branch, or tagged releases.
# Also run for PRs to ensure PR doesn't break Docker build process
on:
push:
branches:
- master
- develop
tags:
- 'v**'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

pull_request:

permissions:
contents: read

jobs:
docker:
# Ensure this job never runs on forked repos. It's only executed for 'grokability/snipe-it'
if: github.repository == 'grokability/snipe-it'
runs-on: ubuntu-latest
env:
# Define tags to use for Docker images based on Git tags/branches (for docker/metadata-action)
# For a new commit on default branch (master), use the literal tag 'latest' on Docker image.
# For a new commit on other branches, use the branch name as the tag for Docker image.
# For a new tag, copy that tag name as the tag for Docker image.
IMAGE_TAGS: |
type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
type=ref,event=branch,enable=${{ !endsWith(github.ref, github.event.repository.default_branch) }}
type=ref,event=tag
type=semver,pattern=v{{major}}-latest
# Define default tag "flavor" for docker/metadata-action per
# https://github.com/docker/metadata-action#flavor-input
# We turn off 'latest' tag by default.
TAGS_FLAVOR: |
latest=false

steps:
# https://github.com/actions/checkout
- name: Checkout codebase
uses: actions/checkout@v5

# https://github.com/docker/setup-buildx-action
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3

# https://github.com/docker/login-action
- name: Login to DockerHub
# Only login if not a PR, as PRs only trigger a Docker build and not a push
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}

###############################################
# Build/Push the 'snipe/snipe-it' image
###############################################
# https://github.com/docker/metadata-action
# Get Metadata for docker_build step below
- name: Sync metadata (tags, labels) from GitHub to Docker for 'snipe-it' image
id: meta_build
uses: docker/metadata-action@v5
with:
images: snipe/snipe-it
tags: ${{ env.IMAGE_TAGS }}
flavor: ${{ env.TAGS_FLAVOR }}

# https://github.com/docker/build-push-action
- name: Build and push 'snipe-it' image
id: docker_build
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
# For pull requests, we run the Docker build (to ensure no PR changes break the build),
# but we ONLY do an image push to DockerHub if it's NOT a PR
push: ${{ github.event_name != 'pull_request' }}
# Use tags / labels provided by 'docker/metadata-action' above
tags: ${{ steps.meta_build.outputs.tags }}
labels: ${{ steps.meta_build.outputs.labels }}
86 changes: 0 additions & 86 deletions .github/workflows/docker.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/dockerhub-description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
dockerHubDescription:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Docker Hub Description
uses: grokability/dockerhub-description@7ea9d275c7cdbe2b676a093a0308c50665e3b8b4
Expand Down
Loading
Loading