Skip to content

Commit 6f17618

Browse files
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2 parents 5ea2591 + 2f03e05 commit 6f17618

File tree

1,249 files changed

+279650
-199478
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,249 files changed

+279650
-199478
lines changed

.cirrus.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ task:
22
name: freebsd-build
33
freebsd_instance:
44
matrix:
5-
- image_family: freebsd-12-3
6-
- image_family: freebsd-13-0
5+
- image_family: freebsd-14-0
6+
- image_family: freebsd-13-3
77

88
prepare_script:
9-
- pkg install -yq git cmake pkgconf jpeg-turbo mysql80-client ffmpeg libvncserver libjwt catch p5-DBI p5-DBD-mysql p5-Date-Manip p5-Test-LWP-UserAgent p5-Sys-Mmap v4l_compat
9+
- pkg install -yq git cmake pkgconf jpeg-turbo mysql80-client ffmpeg libvncserver libjwt catch2 p5-DBI p5-DBD-mysql p5-Date-Manip p5-Test-LWP-UserAgent p5-Sys-Mmap v4l_compat
1010

1111
configure_script:
1212
- git submodule update --init --recursive

.eslintignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,22 @@
44
web/api/lib
55
web/includes/csrf/
66
web/js/videojs.zoomrotate.js
7+
web/js/fontfaceobserver.standalone.js
78
web/skins/classic/js/bootstrap-4.5.0.js
89
web/skins/classic/js/bootstrap.bundle.min.js
9-
web/skins/classic/js/bootstrap-table-1.21.1
10+
web/skins/classic/js/bootstrap-table-1.23.5
1011
web/skins/classic/js/chosen
1112
web/skins/classic/js/dateTimePicker
1213
web/skins/classic/js/jquery-*.js
1314
web/skins/classic/js/jquery-ui-*
1415
web/skins/classic/js/jquery.js
1516
web/skins/classic/js/moment.js
1617
web/skins/classic/js/video.js
17-
web/tools/mootools
18+
web/skins/classic/assets
1819
web/js/janus.js
1920
web/js/ajaxQueue.js
21+
web/js/hls.js
22+
web/js/dms.js
2023

2124
# Cannot be parsed as JS
2225
web/skins/classic/includes/export_functions.php

.eslintrc.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module.exports = {
44
"env": {
55
"browser": true,
6-
"es2017": true,
6+
"es2021": true,
77
},
88
"extends": ["google"],
99
"overrides": [{
@@ -20,12 +20,13 @@ module.exports = {
2020
"php-markup",
2121
],
2222
"rules": {
23+
"no-invalid-this": "off",
2324
"camelcase": "off",
2425
"comma-dangle": "off",
2526
"guard-for-in": "off",
2627
"max-len": "off",
2728
"new-cap": ["error", {
28-
capIsNewExceptions: ["Error", "Warning", "Debug", "Polygon_calcArea", "Play", "Stop"],
29+
capIsNewExceptions: ["Error", "Warning", "Debug", "Polygon_calcArea", "Play", "Stop", "Panzoom"],
2930
newIsCapExceptionPattern: "^Asset\.."
3031
}],
3132
"no-array-constructor": "off",
@@ -47,5 +48,5 @@ module.exports = {
4748
"php/remove-whitespace": false,
4849
"php/remove-empty-line": false,
4950
"php/remove-php-lint": false
50-
},
51+
}
5152
};
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI Debian Buster
1+
name: CI Debian Bookworm
22

33
on:
44
push:
@@ -30,14 +30,14 @@ jobs:
3030
- crypto_backend: gnutls
3131
jwt_backend: jwt_cpp
3232
runs-on: ubuntu-latest
33-
container: debian:buster
33+
container: debian:bookworm
3434

3535
steps:
3636
- name: Update packages
3737
run: apt-get -qq update && apt-get -qq upgrade
3838
- name: Install git
3939
run: apt-get -qq install git
40-
- uses: actions/checkout@v3
40+
- uses: actions/checkout@v4
4141
with:
4242
submodules: recursive
4343
- name: Install dependencies
@@ -47,7 +47,7 @@ jobs:
4747
libavcodec-dev libavformat-dev libavutil-dev libswresample-dev libswscale-dev libavdevice-dev
4848
libcurl4-gnutls-dev libvlc-dev libvncserver-dev
4949
libdate-manip-perl libdbd-mysql-perl libsys-mmap-perl libwww-perl
50-
libpolkit-gobject-1-dev
50+
libpolkit-gobject-1-dev gsoap
5151
${{ matrix.crypto_package }} ${{ matrix.jwt_package }}
5252
- name: Prepare
5353
run: mkdir build

.github/workflows/ci-bullseye.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run: apt-get -qq update && apt-get -qq upgrade
3838
- name: Install git
3939
run: apt-get -qq install git
40-
- uses: actions/checkout@v3
40+
- uses: actions/checkout@v4
4141
with:
4242
submodules: recursive
4343
- name: Install dependencies
@@ -53,8 +53,8 @@ jobs:
5353
- name: Prepare
5454
run: mkdir build
5555
- name: Configure
56-
run: cd build && cmake --version && cmake .. -DBUILD_MAN=0 -DBUILD_TEST_SUITE=1 -DENABLE_WERROR=1 -DZM_CRYPTO_BACKEND=${{ matrix.crypto_backend }} -DZM_JWT_BACKEND=${{ matrix.jwt_backend }}
56+
run: cd build && cmake --version && cmake .. -DBUILD_MAN=0 -DBUILD_TEST_SUITE=0 -DENABLE_WERROR=1 -DZM_CRYPTO_BACKEND=${{ matrix.crypto_backend }} -DZM_JWT_BACKEND=${{ matrix.jwt_backend }}
5757
- name: Build
5858
run: cd build && make -j3 | grep --line-buffered -Ev '^(cp lib\/|Installing.+\.pm)' && (exit ${PIPESTATUS[0]})
59-
- name: Run tests
60-
run: cd build/tests && ./tests "~[notCI]"
59+
#- name: Run tests
60+
#run: cd build/tests && ./tests "~[notCI]"

.github/workflows/ci-centos-7.yml

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

.github/workflows/ci-centos-8.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@ jobs:
2929
run: yum -y install "dnf-command(config-manager)" https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && yum config-manager --set-enabled powertools
3030
- name: Install git
3131
run: yum -y install git
32-
- uses: actions/checkout@v3
32+
- uses: actions/checkout@v4
3333
with:
3434
submodules: recursive
3535
- name: Install dependencies
3636
run: yum -y update && yum -y install make cmake gcc-c++ catch-devel mariadb-devel ffmpeg-devel libcurl-devel vlc-devel libvncserver-devel libjpeg-turbo-devel "perl(Date::Manip)" "perl(DBD::mysql)" "perl(ExtUtils::MakeMaker)" "perl(Sys::Mmap)" "perl(Sys::Syslog)" "perl(LWP::UserAgent)" polkit-devel libjwt-devel
3737
- name: Prepare
3838
run: mkdir build
3939
- name: Configure
40-
run: cd build && cmake --version && cmake .. -DBUILD_MAN=0 -DBUILD_TEST_SUITE=1 -DENABLE_WERROR=1 -DZM_CRYPTO_BACKEND=${{ matrix.crypto_backend }} -DZM_JWT_BACKEND=${{ matrix.jwt_backend }}
40+
run: cd build && cmake --version && cmake .. -DBUILD_MAN=0 -DBUILD_TEST_SUITE=0 -DENABLE_WERROR=1 -DZM_CRYPTO_BACKEND=${{ matrix.crypto_backend }} -DZM_JWT_BACKEND=${{ matrix.jwt_backend }}
4141
- name: Build
4242
run: cd build && make -j3 | grep --line-buffered -Ev '^(cp lib\/|Installing.+\.pm)' && (exit ${PIPESTATUS[0]})
43-
- name: Run tests
44-
run: cd build/tests && ./tests "~[notCI]"
43+
#- name: Run tests
44+
#run: cd build/tests && ./tests "~[notCI]"

.github/workflows/ci-eslint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
with:
2020
submodules: recursive
2121
- name: Install ESLint
2222
2323
- name: Run ESLint
24-
run: npx eslint --ext .php,.js .
24+
run: npx eslint --ext .js.php,.js .
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI Ubuntu Bionic (18.04)
1+
name: CI Ubuntu Focal (20.04)
22

33
on:
44
push:
@@ -24,7 +24,7 @@ jobs:
2424
crypto_package: libssl-dev
2525
jwt_package: libjwt-dev
2626
runs-on: ubuntu-latest
27-
container: ubuntu:bionic
27+
container: ubuntu:focal
2828

2929
steps:
3030
- name: Update packages
@@ -34,7 +34,7 @@ jobs:
3434
add-apt-repository ppa:git-core/ppa
3535
apt-get -qq update
3636
apt-get -qq install git
37-
- uses: actions/checkout@v3
37+
- uses: actions/checkout@v4
3838
with:
3939
submodules: recursive
4040
- name: Install dependencies

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ jobs:
3737

3838
steps:
3939
- name: Checkout repository
40-
uses: actions/checkout@v3
40+
uses: actions/checkout@v4
4141
with:
4242
# We must fetch at least the immediate parents so that if this is
4343
# a pull request then we can checkout the head.
4444
fetch-depth: 2
4545

4646
# Initializes the CodeQL tools for scanning.
4747
- name: Initialize CodeQL
48-
uses: github/codeql-action/init@v2
48+
uses: github/codeql-action/init@v3
4949
with:
5050
languages: ${{ matrix.language }}
5151
config-file: ./.github/codeql/codeql-config.yml
@@ -68,7 +68,7 @@ jobs:
6868
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
6969
# If this step fails, then you should remove it and run the build manually (see below)
7070
- name: Autobuild
71-
uses: github/codeql-action/autobuild@v2
71+
uses: github/codeql-action/autobuild@v3
7272

7373
# ℹ️ Command-line programs to run using the OS shell.
7474
# 📚 https://git.io/JvXDl-
@@ -83,4 +83,4 @@ jobs:
8383
# make release
8484

8585
- name: Perform CodeQL Analysis
86-
uses: github/codeql-action/analyze@v2
86+
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)