Skip to content

Commit cc0b9f4

Browse files
committed
merged develop, fix conflicts
2 parents 16d322d + 3928c8a commit cc0b9f4

File tree

1,125 files changed

+13888
-6196
lines changed

Some content is hidden

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

1,125 files changed

+13888
-6196
lines changed

.all-contributorsrc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3271,6 +3271,24 @@
32713271
"contributions": [
32723272
"code"
32733273
]
3274+
},
3275+
{
3276+
"login": "addex12",
3277+
"name": "Adugna Gizaw",
3278+
"avatar_url": "https://avatars.githubusercontent.com/u/18550946?v=4",
3279+
"profile": "https://orbalia.pythonanywhere.com/",
3280+
"contributions": [
3281+
"translation"
3282+
]
3283+
},
3284+
{
3285+
"login": "jostrander",
3286+
"name": "Jesse Ostrander",
3287+
"avatar_url": "https://avatars.githubusercontent.com/u/760989?v=4",
3288+
"profile": "https://github.com/jostrander",
3289+
"contributions": [
3290+
"code"
3291+
]
32743292
}
32753293
]
32763294
}

.env.dev.docker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ APP_DEBUG=true
1616
APP_KEY=base64:3ilviXqB9u6DX1NRcyWGJ+sjySF+H18CPDGb3+IVwMQ=
1717
APP_URL=http://localhost:8000
1818
APP_TIMEZONE='UTC'
19-
APP_LOCALE=en
19+
APP_LOCALE=en-US
2020
MAX_RESULTS=500
2121

2222
# --------------------------------------------

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ PASSPORT_COOKIE_NAME='snipeit_passport_token'
9999
COOKIE_DOMAIN=null
100100
SECURE_COOKIES=false
101101
API_TOKEN_EXPIRATION_YEARS=15
102-
BS_TABLE_STORAGE=cookieStorage
102+
BS_TABLE_STORAGE=localStorage
103103
BS_TABLE_DEEPLINK=true
104104

105105
# --------------------------------------------

.github/workflows/tests-mysql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
fail-fast: false
2626
matrix:
2727
php-version:
28-
- "8.1"
2928
- "8.2"
3029
- "8.3"
30+
- "8.4"
3131

3232
name: PHP ${{ matrix.php-version }}
3333

@@ -67,7 +67,7 @@ jobs:
6767
run: |
6868
php artisan key:generate
6969
php artisan migrate --force
70-
php artisan passport:install
70+
php artisan passport:install --no-interaction
7171
chmod -R 777 storage bootstrap/cache
7272
7373
- name: Execute tests (Unit and Feature tests) via PHPUnit

.github/workflows/tests-postgres.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
php-version:
24-
- "8.1"
2524
- "8.2"
2625
- "8.3"
26+
- "8.4"
27+
2728

2829
name: PHP ${{ matrix.php-version }}
2930

@@ -64,7 +65,7 @@ jobs:
6465
run: |
6566
php artisan key:generate
6667
php artisan migrate --force
67-
php artisan passport:install
68+
php artisan passport:install --no-interaction
6869
chmod -R 777 storage bootstrap/cache
6970
7071
- name: Execute tests (Unit and Feature tests) via PHPUnit

.github/workflows/tests-sqlite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
php-version:
18-
- "8.1.1"
18+
- "8.3"
1919

2020
name: PHP ${{ matrix.php-version }}
2121

.upgrade_requirements.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"DOC2": "In other words, what you see locally are the requirements for your _current_ install",
44
"DOC3": "Please don't rely on these versions for planning upgrades unless you've fetched the most recent version",
55
"DOC4": "You should really just ignore it and run upgrade.php. Really",
6-
"php_min_version": "8.1.0",
7-
"php_max_major_minor": "8.3",
8-
"php_max_wontwork": "8.4.0",
9-
"current_snipeit_version": "7.0"
6+
"php_min_version": "8.2.0",
7+
"php_max_major_minor": "8.4",
8+
"php_max_wontwork": "8.5.0",
9+
"current_snipeit_version": "8.0"
1010
}

CONTRIBUTORS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Thanks goes to all of these wonderful people ([emoji key](https://github.com/ken
5353
| [<img src="https://avatars.githubusercontent.com/u/55590532?v=4" width="110px;"/><br /><sub>squintfox</sub>](https://github.com/squintfox)<br />[💻](https://github.com/snipe/snipe-it/commits?author=squintfox "Code") | [<img src="https://avatars.githubusercontent.com/u/1380084?v=4" width="110px;"/><br /><sub>Jeff Clay</sub>](https://github.com/jeffclay)<br />[💻](https://github.com/snipe/snipe-it/commits?author=jeffclay "Code") | [<img src="https://avatars.githubusercontent.com/u/52716446?v=4" width="110px;"/><br /><sub>Phil J R</sub>](https://github.com/PP-JN-RL)<br />[💻](https://github.com/snipe/snipe-it/commits?author=PP-JN-RL "Code") | [<img src="https://avatars.githubusercontent.com/u/1496725?v=4" width="110px;"/><br /><sub>i_virus</sub>](https://www.corelight.com/)<br />[💻](https://github.com/snipe/snipe-it/commits?author=chandanchowdhury "Code") | [<img src="https://avatars.githubusercontent.com/u/1020541?v=4" width="110px;"/><br /><sub>Paul Grime</sub>](https://github.com/gitgrimbo)<br />[💻](https://github.com/snipe/snipe-it/commits?author=gitgrimbo "Code") | [<img src="https://avatars.githubusercontent.com/u/922815?v=4" width="110px;"/><br /><sub>Lee Porte</sub>](https://leeporte.co.uk)<br />[💻](https://github.com/snipe/snipe-it/commits?author=LeePorte "Code") | [<img src="https://avatars.githubusercontent.com/u/23613427?v=4" width="110px;"/><br /><sub>BRYAN </sub>](https://github.com/bryanlopezinc)<br />[💻](https://github.com/snipe/snipe-it/commits?author=bryanlopezinc "Code") [⚠️](https://github.com/snipe/snipe-it/commits?author=bryanlopezinc "Tests") |
5454
| [<img src="https://avatars.githubusercontent.com/u/64061710?v=4" width="110px;"/><br /><sub>U-H-T</sub>](https://github.com/U-H-T)<br />[💻](https://github.com/snipe/snipe-it/commits?author=U-H-T "Code") | [<img src="https://avatars.githubusercontent.com/u/5395363?v=4" width="110px;"/><br /><sub>Matt Tyree</sub>](https://github.com/Tyree)<br />[📖](https://github.com/snipe/snipe-it/commits?author=Tyree "Documentation") | [<img src="https://avatars.githubusercontent.com/u/292081?v=4" width="110px;"/><br /><sub>Florent Bervas</sub>](http://spoontux.net)<br />[💻](https://github.com/snipe/snipe-it/commits?author=FlorentDotMe "Code") | [<img src="https://avatars.githubusercontent.com/u/4498077?v=4" width="110px;"/><br /><sub>Daniel Albertsen</sub>](https://ditscheri.com)<br />[💻](https://github.com/snipe/snipe-it/commits?author=dbakan "Code") | [<img src="https://avatars.githubusercontent.com/u/100710244?v=4" width="110px;"/><br /><sub>r-xyz</sub>](https://github.com/r-xyz)<br />[💻](https://github.com/snipe/snipe-it/commits?author=r-xyz "Code") | [<img src="https://avatars.githubusercontent.com/u/47491036?v=4" width="110px;"/><br /><sub>Steven Mainor</sub>](https://github.com/DrekiDegga)<br />[💻](https://github.com/snipe/snipe-it/commits?author=DrekiDegga "Code") | [<img src="https://avatars.githubusercontent.com/u/65785975?v=4" width="110px;"/><br /><sub>arne-kroeger</sub>](https://github.com/arne-kroeger)<br />[💻](https://github.com/snipe/snipe-it/commits?author=arne-kroeger "Code") |
5555
| [<img src="https://avatars.githubusercontent.com/u/167117705?v=4" width="110px;"/><br /><sub>Glukose1</sub>](https://github.com/Glukose1)<br />[💻](https://github.com/snipe/snipe-it/commits?author=Glukose1 "Code") | [<img src="https://avatars.githubusercontent.com/u/1197791?v=4" width="110px;"/><br /><sub>Scarzy</sub>](https://github.com/Scarzy)<br />[💻](https://github.com/snipe/snipe-it/commits?author=Scarzy "Code") | [<img src="https://avatars.githubusercontent.com/u/37372069?v=4" width="110px;"/><br /><sub>setpill</sub>](https://github.com/setpill)<br />[💻](https://github.com/snipe/snipe-it/commits?author=setpill "Code") | [<img src="https://avatars.githubusercontent.com/u/3755203?v=4" width="110px;"/><br /><sub>swift2512</sub>](https://github.com/swift2512)<br />[🐛](https://github.com/snipe/snipe-it/issues?q=author%3Aswift2512 "Bug reports") | [<img src="https://avatars.githubusercontent.com/u/6136439?v=4" width="110px;"/><br /><sub>Darren Rainey</sub>](https://darrenraineys.co.uk)<br />[💻](https://github.com/snipe/snipe-it/commits?author=DarrenRainey "Code") | [<img src="https://avatars.githubusercontent.com/u/133033121?v=4" width="110px;"/><br /><sub>maciej-poleszczyk</sub>](https://github.com/maciej-poleszczyk)<br />[💻](https://github.com/snipe/snipe-it/commits?author=maciej-poleszczyk "Code") | [<img src="https://avatars.githubusercontent.com/u/143394709?v=4" width="110px;"/><br /><sub>Sebastian Groß</sub>](https://github.com/sgross-emlix)<br />[💻](https://github.com/snipe/snipe-it/commits?author=sgross-emlix "Code") |
56-
| [<img src="https://avatars.githubusercontent.com/u/41107778?v=4" width="110px;"/><br /><sub>Anouar Touati</sub>](https://github.com/AnouarTouati)<br />[💻](https://github.com/snipe/snipe-it/commits?author=AnouarTouati "Code") | [<img src="https://avatars.githubusercontent.com/u/25596663?v=4" width="110px;"/><br /><sub>aHVzY2g</sub>](https://github.com/aHVzY2g)<br />[💻](https://github.com/snipe/snipe-it/commits?author=aHVzY2g "Code") | [<img src="https://avatars.githubusercontent.com/u/13408130?v=4" width="110px;"/><br /><sub>林博仁 Buo-ren Lin</sub>](https://brlin.me)<br />[💻](https://github.com/snipe/snipe-it/commits?author=brlin-tw "Code") |
56+
| [<img src="https://avatars.githubusercontent.com/u/41107778?v=4" width="110px;"/><br /><sub>Anouar Touati</sub>](https://github.com/AnouarTouati)<br />[💻](https://github.com/snipe/snipe-it/commits?author=AnouarTouati "Code") | [<img src="https://avatars.githubusercontent.com/u/25596663?v=4" width="110px;"/><br /><sub>aHVzY2g</sub>](https://github.com/aHVzY2g)<br />[💻](https://github.com/snipe/snipe-it/commits?author=aHVzY2g "Code") | [<img src="https://avatars.githubusercontent.com/u/13408130?v=4" width="110px;"/><br /><sub>林博仁 Buo-ren Lin</sub>](https://brlin.me)<br />[💻](https://github.com/snipe/snipe-it/commits?author=brlin-tw "Code") | [<img src="https://avatars.githubusercontent.com/u/18550946?v=4" width="110px;"/><br /><sub>Adugna Gizaw</sub>](https://orbalia.pythonanywhere.com/)<br />[🌍](#translation-addex12 "Translation") | [<img src="https://avatars.githubusercontent.com/u/760989?v=4" width="110px;"/><br /><sub>Jesse Ostrander</sub>](https://github.com/jostrander)<br />[💻](https://github.com/snipe/snipe-it/commits?author=jostrander "Code") |
5757
<!-- ALL-CONTRIBUTORS-LIST:END -->
5858

5959
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!

Dockerfile

Lines changed: 15 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:22.04
1+
FROM ubuntu:24.04
22
LABEL maintainer="Brady Wetherington <[email protected]>"
33

44
# No need to add `apt-get clean` here, reference:
@@ -14,16 +14,16 @@ RUN export DEBIAN_FRONTEND=noninteractive; \
1414
apt-utils \
1515
apache2 \
1616
apache2-bin \
17-
libapache2-mod-php8.1 \
18-
php8.1-curl \
19-
php8.1-ldap \
20-
php8.1-mysql \
21-
php8.1-gd \
22-
php8.1-xml \
23-
php8.1-mbstring \
24-
php8.1-zip \
25-
php8.1-bcmath \
26-
php8.1-redis \
17+
libapache2-mod-php8.3 \
18+
php8.3-curl \
19+
php8.3-ldap \
20+
php8.3-mysql \
21+
php8.3-gd \
22+
php8.3-xml \
23+
php8.3-mbstring \
24+
php8.3-zip \
25+
php8.3-bcmath \
26+
php8.3-redis \
2727
php-memcached \
2828
patch \
2929
curl \
@@ -40,8 +40,7 @@ autoconf \
4040
libc-dev \
4141
libldap-common \
4242
pkg-config \
43-
libmcrypt-dev \
44-
php8.1-dev \
43+
php8.3-dev \
4544
ca-certificates \
4645
unzip \
4746
dnsutils \
@@ -51,18 +50,13 @@ dnsutils \
5150
RUN curl -L -O https://github.com/pear/pearweb_phars/raw/master/go-pear.phar
5251
RUN php go-pear.phar
5352

54-
RUN pecl install mcrypt
55-
56-
RUN bash -c "echo extension=/usr/lib/php/20210902/mcrypt.so > /etc/php/8.1/mods-available/mcrypt.ini"
57-
58-
RUN phpenmod mcrypt
5953
RUN phpenmod gd
6054
RUN phpenmod bcmath
6155

62-
RUN sed -i 's/variables_order = .*/variables_order = "EGPCS"/' /etc/php/8.1/apache2/php.ini
63-
RUN sed -i 's/variables_order = .*/variables_order = "EGPCS"/' /etc/php/8.1/cli/php.ini
56+
RUN sed -i 's/variables_order = .*/variables_order = "EGPCS"/' /etc/php/8.3/apache2/php.ini
57+
RUN sed -i 's/variables_order = .*/variables_order = "EGPCS"/' /etc/php/8.3/cli/php.ini
6458

65-
RUN useradd -m --uid 1000 --gid 50 docker
59+
RUN useradd -m --uid 10000 --gid 50 docker
6660

6761
RUN echo export APACHE_RUN_USER=docker >> /etc/apache2/envvars
6862
RUN echo export APACHE_RUN_GROUP=staff >> /etc/apache2/envvars

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
This is a FOSS project for asset management in IT Operations. Knowing who has which laptop, when it was purchased in order to depreciate it correctly, handling software licenses, etc.
99

10-
It is built on [Laravel 10](http://laravel.com).
10+
It is built on [Laravel 11](http://laravel.com).
1111

1212
Snipe-IT is actively developed and we [release quite frequently](https://github.com/snipe/snipe-it/releases). ([Check out the live demo here](https://snipeitapp.com/demo/).)
1313

@@ -94,6 +94,8 @@ Since the release of the JSON REST API, several third-party developers have been
9494
- [SnipeAgent](https://github.com/ReticentRobot/SnipeAgent) by [@ReticentRobot](https://github.com/ReticentRobot) - Windows agent for Snipe-IT.
9595
- [Gate Pass Generator](https://github.com/cha7uraAE/snipe-it-gate-pass-system) by [@cha7uraAE](https://github.com/cha7uraAE) - A Streamlit application for generating gate passes based on hardware data from a Snipe-IT API.
9696

97+
We also have a handful of [Google Apps scripts](https://github.com/grokability/google-apps-scripts-for-snipe-it) to help with various tasks.
98+
9799
-----
98100

99101
### Join the Community!

0 commit comments

Comments
 (0)