Skip to content

Commit 839dcad

Browse files
committed
Merge remote-tracking branch 'origin/develop'
Signed-off-by: snipe <[email protected]> # Conflicts: # config/version.php # public/css/dist/skins/_all-skins.css # public/css/dist/skins/_all-skins.min.css # public/css/dist/skins/skin-black-dark.css # public/css/dist/skins/skin-black-dark.min.css # public/css/dist/skins/skin-blue-dark.css # public/css/dist/skins/skin-blue-dark.min.css # public/css/dist/skins/skin-green-dark.css # public/css/dist/skins/skin-green-dark.min.css # public/css/dist/skins/skin-orange-dark.css # public/css/dist/skins/skin-orange-dark.min.css # public/css/dist/skins/skin-purple-dark.css # public/css/dist/skins/skin-purple-dark.min.css # public/css/dist/skins/skin-red-dark.css # public/css/dist/skins/skin-red-dark.min.css # public/css/dist/skins/skin-yellow-dark.css # public/css/dist/skins/skin-yellow-dark.min.css # public/mix-manifest.json
2 parents d67933a + a916767 commit 839dcad

File tree

498 files changed

+8003
-250
lines changed

Some content is hidden

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

498 files changed

+8003
-250
lines changed

.github/workflows/docker-intel.yml renamed to .github/workflows/docker-alpine.yml

Lines changed: 4 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Snipe-IT Docker image build for hub.docker.com
2-
name: Docker Intel/amd64 images (Ubuntu)
1+
# Snipe-IT (Alpine) Docker image build for hub.docker.com
2+
name: Docker images (Alpine)
33

44
# Run this Build for all pushes to 'master' or develop branch, or tagged releases.
55
# Also run for PRs to ensure PR doesn't break Docker build process
@@ -19,72 +19,7 @@ permissions:
1919
contents: read
2020

2121
jobs:
22-
docker-ubuntu-intel:
23-
# Ensure this job never runs on forked repos. It's only executed for 'grokability/snipe-it'
24-
if: github.repository == 'grokability/snipe-it'
25-
runs-on: ubuntu-latest
26-
env:
27-
# Define tags to use for Docker images based on Git tags/branches (for docker/metadata-action)
28-
# For a new commit on default branch (master), use the literal tag 'latest' on Docker image.
29-
# For a new commit on other branches, use the branch name as the tag for Docker image.
30-
# For a new tag, copy that tag name as the tag for Docker image.
31-
IMAGE_TAGS: |
32-
type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
33-
type=ref,event=branch,enable=${{ !endsWith(github.ref, github.event.repository.default_branch) }}
34-
type=ref,event=tag
35-
type=semver,pattern=v{{major}}-latest
36-
# Define default tag "flavor" for docker/metadata-action per
37-
# https://github.com/docker/metadata-action#flavor-input
38-
# We turn off 'latest' tag by default.
39-
TAGS_FLAVOR: |
40-
latest=false
41-
42-
steps:
43-
# https://github.com/actions/checkout
44-
- name: Checkout codebase
45-
uses: actions/checkout@v4
46-
47-
# https://github.com/docker/setup-buildx-action
48-
- name: Setup Docker Buildx
49-
uses: docker/setup-buildx-action@v3
50-
51-
# https://github.com/docker/login-action
52-
- name: Login to DockerHub
53-
# Only login if not a PR, as PRs only trigger a Docker build and not a push
54-
if: github.event_name != 'pull_request'
55-
uses: docker/login-action@v3
56-
with:
57-
username: ${{ secrets.DOCKER_USERNAME }}
58-
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
59-
60-
###############################################
61-
# Build/Push the 'snipe/snipe-it' image
62-
###############################################
63-
# https://github.com/docker/metadata-action
64-
# Get Metadata for docker_build step below
65-
- name: Sync metadata (tags, labels) from GitHub to Docker for 'snipe-it' image
66-
id: meta_build
67-
uses: docker/metadata-action@v5
68-
with:
69-
images: snipe/snipe-it
70-
tags: ${{ env.IMAGE_TAGS }}
71-
flavor: ${{ env.TAGS_FLAVOR }}
72-
73-
# https://github.com/docker/build-push-action
74-
- name: Build and push 'snipe-it' image
75-
id: docker_build
76-
uses: docker/build-push-action@v6
77-
with:
78-
context: .
79-
file: ./Dockerfile
80-
platforms: linux/amd64
81-
# For pull requests, we run the Docker build (to ensure no PR changes break the build),
82-
# but we ONLY do an image push to DockerHub if it's NOT a PR
83-
push: ${{ github.event_name != 'pull_request' }}
84-
# Use tags / labels provided by 'docker/metadata-action' above
85-
tags: ${{ steps.meta_build.outputs.tags }}
86-
labels: ${{ steps.meta_build.outputs.labels }}
87-
docker-alpine-intel:
22+
docker:
8823
# Ensure this job never runs on forked repos. It's only executed for 'grokability/snipe-it'
8924
if: github.repository == 'grokability/snipe-it'
9025
runs-on: ubuntu-latest
@@ -142,7 +77,7 @@ jobs:
14277
with:
14378
context: .
14479
file: ./Dockerfile.alpine
145-
platforms: linux/amd64
80+
platforms: linux/amd64,linux/arm64
14681
# For pull requests, we run the Docker build (to ensure no PR changes break the build),
14782
# but we ONLY do an image push to DockerHub if it's NOT a PR
14883
push: ${{ github.event_name != 'pull_request' }}

.github/workflows/docker-arm.yml renamed to .github/workflows/docker-ubuntu.yml

Lines changed: 4 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Snipe-IT Docker image build for hub.docker.com
2-
name: Docker ARM images (Ubuntu and Alpine)
2+
name: Docker images (Ubuntu)
33

44
# Run this Build for all pushes to 'master' or develop branch, or tagged releases.
55
# Also run for PRs to ensure PR doesn't break Docker build process
@@ -19,10 +19,10 @@ permissions:
1919
contents: read
2020

2121
jobs:
22-
docker-ubuntu-arm:
22+
docker:
2323
# Ensure this job never runs on forked repos. It's only executed for 'grokability/snipe-it'
2424
if: github.repository == 'grokability/snipe-it'
25-
runs-on: ubuntu-24.04-arm
25+
runs-on: ubuntu-latest
2626
env:
2727
# Define tags to use for Docker images based on Git tags/branches (for docker/metadata-action)
2828
# For a new commit on default branch (master), use the literal tag 'latest' on Docker image.
@@ -77,72 +77,7 @@ jobs:
7777
with:
7878
context: .
7979
file: ./Dockerfile
80-
platforms: linux/arm64
81-
# For pull requests, we run the Docker build (to ensure no PR changes break the build),
82-
# but we ONLY do an image push to DockerHub if it's NOT a PR
83-
push: ${{ github.event_name != 'pull_request' }}
84-
# Use tags / labels provided by 'docker/metadata-action' above
85-
tags: ${{ steps.meta_build.outputs.tags }}
86-
labels: ${{ steps.meta_build.outputs.labels }}
87-
docker-alpine-arm:
88-
# Ensure this job never runs on forked repos. It's only executed for 'grokability/snipe-it'
89-
if: github.repository == 'grokability/snipe-it'
90-
runs-on: ubuntu-24.04-arm
91-
env:
92-
# Define tags to use for Docker images based on Git tags/branches (for docker/metadata-action)
93-
# For a new commit on default branch (master), use the literal tag 'latest' on Docker image.
94-
# For a new commit on other branches, use the branch name as the tag for Docker image.
95-
# For a new tag, copy that tag name as the tag for Docker image.
96-
IMAGE_TAGS: |
97-
type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }},suffix=-alpine
98-
type=ref,event=branch,enable=${{ !endsWith(github.ref, github.event.repository.default_branch) }},suffix=-alpine
99-
type=ref,event=tag,suffix=-alpine
100-
type=semver,pattern=v{{major}}-latest-alpine
101-
# Define default tag "flavor" for docker/metadata-action per
102-
# https://github.com/docker/metadata-action#flavor-input
103-
# We turn off 'latest' tag by default.
104-
TAGS_FLAVOR: |
105-
latest=false
106-
107-
steps:
108-
# https://github.com/actions/checkout
109-
- name: Checkout codebase
110-
uses: actions/checkout@v4
111-
112-
# https://github.com/docker/setup-buildx-action
113-
- name: Setup Docker Buildx
114-
uses: docker/setup-buildx-action@v3
115-
116-
# https://github.com/docker/login-action
117-
- name: Login to DockerHub
118-
# Only login if not a PR, as PRs only trigger a Docker build and not a push
119-
if: github.event_name != 'pull_request'
120-
uses: docker/login-action@v3
121-
with:
122-
username: ${{ secrets.DOCKER_USERNAME }}
123-
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
124-
125-
###############################################
126-
# Build/Push the 'snipe/snipe-it' image
127-
###############################################
128-
# https://github.com/docker/metadata-action
129-
# Get Metadata for docker_build step below
130-
- name: Sync metadata (tags, labels) from GitHub to Docker for 'snipe-it' image
131-
id: meta_build
132-
uses: docker/metadata-action@v5
133-
with:
134-
images: snipe/snipe-it
135-
tags: ${{ env.IMAGE_TAGS }}
136-
flavor: ${{ env.TAGS_FLAVOR }}
137-
138-
# https://github.com/docker/build-push-action
139-
- name: Build and push 'snipe-it' image
140-
id: docker_build
141-
uses: docker/build-push-action@v6
142-
with:
143-
context: .
144-
file: ./Dockerfile.alpine
145-
platforms: linux/arm64
80+
platforms: linux/amd64,linux/arm64
14681
# For pull requests, we run the Docker build (to ensure no PR changes break the build),
14782
# but we ONLY do an image push to DockerHub if it's NOT a PR
14883
push: ${{ github.event_name != 'pull_request' }}

app/Http/Controllers/Assets/AssetsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ public function getQrCode(Asset $asset) : Response | BinaryFileResponse | string
519519
{
520520
$settings = Setting::getSettings();
521521

522-
if (($settings->qr_code == '1') && ($settings->label2_2d_type !== 'none')) {
522+
if ($settings->label2_2d_type !== 'none') {
523523

524524
if ($asset) {
525525
$size = Helper::barcodeDimensions($settings->label2_2d_type);

composer.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/version.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22
return array (
3-
'app_version' => 'v8.1.2',
4-
'full_app_version' => 'v8.1.2 - build 17914-g251851ec6',
5-
'build_version' => '17914',
3+
'app_version' => 'v8.1.3',
4+
'full_app_version' => 'v8.1.3 - build 18054-gd67933ab4',
5+
'build_version' => '18054',
66
'prerelease_version' => '',
7-
'hash_version' => 'g251851ec6',
8-
'full_hash' => 'v8.1.2-32-g251851ec6',
7+
'hash_version' => 'gd67933ab4',
8+
'full_hash' => 'v8.1.3-133-gd67933ab4',
99
'branch' => 'master',
1010
);

resources/lang/aa-ER/admin/custom_fields/general.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
'manage' => 'crwdns6501:0crwdne6501:0',
66
'field' => 'crwdns1487:0crwdne1487:0',
77
'about_fieldsets_title' => 'crwdns1488:0crwdne1488:0',
8-
'about_fieldsets_text' => 'crwdns13176:0crwdne13176:0',
8+
'about_fieldsets_text' => 'crwdns13226:0crwdne13226:0',
99
'custom_format' => 'crwdns6505:0crwdne6505:0',
1010
'encrypt_field' => 'crwdns1792:0crwdne1792:0',
1111
'encrypt_field_help' => 'crwdns1683:0crwdne1683:0',

resources/lang/aa-ER/admin/locations/table.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,5 @@
3939
'signed_by_finance_auditor' => 'crwdns6693:0crwdne6693:0',
4040
'signed_by_location_manager' => 'crwdns6695:0crwdne6695:0',
4141
'signed_by' => 'crwdns6697:0crwdne6697:0',
42+
'clone' => 'crwdns13240:0crwdne13240:0',
4243
];

resources/lang/aa-ER/admin/settings/general.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@
6464
'enabled' => 'crwdns6337:0crwdne6337:0',
6565
'eula_settings' => 'crwdns1296:0crwdne1296:0',
6666
'eula_markdown' => 'crwdns1261:0crwdne1261:0',
67+
'empty_row_count' => 'crwdns13236:0crwdne13236:0',
68+
'empty_row_count_help' => 'crwdns13238:0crwdne13238:0',
6769
'favicon' => 'crwdns5858:0crwdne5858:0',
6870
'favicon_format' => 'crwdns5860:0crwdne5860:0',
6971
'favicon_size' => 'crwdns5862:0crwdne5862:0',
@@ -152,6 +154,7 @@
152154
'full_multiple_companies_support_text' => 'crwdns1465:0crwdne1465:0',
153155
'scope_locations_fmcs_support_text' => 'crwdns13049:0crwdne13049:0',
154156
'scope_locations_fmcs_support_help_text' => 'crwdns13188:0crwdne13188:0',
157+
'scope_locations_fmcs_check_button' => 'crwdns13234:0crwdne13234:0',
155158
'scope_locations_fmcs_support_disabled_text' => 'crwdns13190:0crwdne13190:0',
156159
'show_in_model_list' => 'crwdns1990:0crwdne1990:0',
157160
'optional' => 'crwdns1298:0crwdne1298:0',

resources/lang/aa-ER/general.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,8 @@
389389
'new_license' => 'crwdns6249:0crwdne6249:0',
390390
'new_accessory' => 'crwdns6251:0crwdne6251:0',
391391
'new_consumable' => 'crwdns6253:0crwdne6253:0',
392+
'new_component' => 'crwdns13228:0crwdne13228:0',
393+
'new_user' => 'crwdns13230:0crwdne13230:0',
392394
'collapse' => 'crwdns6255:0crwdne6255:0',
393395
'assigned' => 'crwdns6257:0crwdne6257:0',
394396
'asset_count' => 'crwdns6259:0crwdne6259:0',

resources/lang/aa-ER/validation.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@
172172
'url' => 'crwdns12550:0crwdne12550:0',
173173
'ulid' => 'crwdns12552:0crwdne12552:0',
174174
'uuid' => 'crwdns12554:0crwdne12554:0',
175+
'fmcs_location' => 'crwdns13232:0crwdne13232:0',
175176

176177

177178
/*

0 commit comments

Comments
 (0)