Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
0daf95ec34 | ||
|
4ab0863f24 | ||
|
4957e1f484 | ||
|
dd97a49741 | ||
|
0bc71eaa5b | ||
|
a0dc7f4558 | ||
|
9e3d0a4937 | ||
|
52b52d1a0f | ||
|
fc9323506f | ||
|
f33dc5bc7e |
13
CHANGELOG.md
13
CHANGELOG.md
@@ -79,3 +79,16 @@
|
|||||||
* Unification of OBD speed units
|
* Unification of OBD speed units
|
||||||
* Event buffer limit in the web app (should improve performance)
|
* Event buffer limit in the web app (should improve performance)
|
||||||
* Automatic update check for the web app
|
* Automatic update check for the web app
|
||||||
|
|
||||||
|
[1.7.1]
|
||||||
|
* Update traccar to 5.11
|
||||||
|
* [Full changelog](https://github.com/traccar/traccar/releases/tag/v5.11)
|
||||||
|
* Update web submodule
|
||||||
|
|
||||||
|
[1.7.2]
|
||||||
|
* Update traccar to 5.12
|
||||||
|
* [Full changelog](https://www.traccar.org/blog/traccar-5-12/)
|
||||||
|
|
||||||
|
[1.7.3]
|
||||||
|
* Only create admin account on fresh installation
|
||||||
|
|
||||||
|
@@ -5,8 +5,8 @@
|
|||||||
"description": "file://DESCRIPTION.md",
|
"description": "file://DESCRIPTION.md",
|
||||||
"changelog": "file://CHANGELOG.md",
|
"changelog": "file://CHANGELOG.md",
|
||||||
"tagline": "Modern GPS Tracking Platform",
|
"tagline": "Modern GPS Tracking Platform",
|
||||||
"version": "1.7.0",
|
"version": "1.7.3",
|
||||||
"upstreamVersion": "5.10",
|
"upstreamVersion": "5.12",
|
||||||
"minBoxVersion": "7.1.0",
|
"minBoxVersion": "7.1.0",
|
||||||
"memoryLimit": 1073741824,
|
"memoryLimit": 1073741824,
|
||||||
"healthCheckPath": "/",
|
"healthCheckPath": "/",
|
||||||
|
@@ -3,7 +3,7 @@ FROM cloudron/base:4.2.0@sha256:46da2fffb36353ef714f97ae8e962bd2c212ca091108d768
|
|||||||
RUN mkdir -p /app/code
|
RUN mkdir -p /app/code
|
||||||
WORKDIR /app/code
|
WORKDIR /app/code
|
||||||
|
|
||||||
ARG VERSION=5.10
|
ARG VERSION=5.12
|
||||||
|
|
||||||
RUN wget https://github.com/traccar/traccar/releases/download/v${VERSION}/traccar-linux-64-${VERSION}.zip -O traccar.zip && \
|
RUN wget https://github.com/traccar/traccar/releases/download/v${VERSION}/traccar-linux-64-${VERSION}.zip -O traccar.zip && \
|
||||||
unzip traccar.zip && \
|
unzip traccar.zip && \
|
||||||
|
5
start.sh
5
start.sh
@@ -28,7 +28,7 @@ ensure_admin_account() {
|
|||||||
wait_for_table tc_users;
|
wait_for_table tc_users;
|
||||||
|
|
||||||
echo "==> Ensure admin account"
|
echo "==> Ensure admin account"
|
||||||
count=`$mysql --skip-column-names -s -e "SELECT COUNT(*) FROM tc_users WHERE name='admin';"`
|
count=`$mysql --skip-column-names -s -e "SELECT COUNT(*) FROM tc_users;"`
|
||||||
if [[ "$count" = "0" ]]; then
|
if [[ "$count" = "0" ]]; then
|
||||||
echo "==> Create initial admin account"
|
echo "==> Create initial admin account"
|
||||||
# Values are from https://github.com/traccar/traccar/blob/master/schema/changelog-3.3.xml#L179 which is not used anymore, but we still want the admin account
|
# Values are from https://github.com/traccar/traccar/blob/master/schema/changelog-3.3.xml#L179 which is not used anymore, but we still want the admin account
|
||||||
@@ -80,8 +80,7 @@ xmlstarlet ed --inplace \
|
|||||||
--update '//properties/entry[@key="mail.smtp.password"]' -v "${CLOUDRON_MAIL_SMTP_PASSWORD}" \
|
--update '//properties/entry[@key="mail.smtp.password"]' -v "${CLOUDRON_MAIL_SMTP_PASSWORD}" \
|
||||||
/app/data/traccar.xml
|
/app/data/traccar.xml
|
||||||
|
|
||||||
disable_registration &
|
(disable_registration; ensure_admin_account) &
|
||||||
ensure_admin_account &
|
|
||||||
|
|
||||||
chown -R cloudron /run/traccar /app/data
|
chown -R cloudron /run/traccar /app/data
|
||||||
|
|
||||||
|
672
test/package-lock.json
generated
672
test/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -10,10 +10,10 @@
|
|||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"expect.js": "^0.3.1",
|
"expect.js": "^0.3.1",
|
||||||
"mocha": "^10.2.0",
|
"mocha": "^10.3.0",
|
||||||
"selenium-webdriver": "^4.15.0"
|
"selenium-webdriver": "^4.18.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chromedriver": "^119.0.1"
|
"chromedriver": "^123.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user