Compare commits
12 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
b5a542e2b1 | ||
|
1565a0f774 | ||
|
4dbbc317a8 | ||
|
53a09ffee2 | ||
|
bb0d170b27 | ||
|
f9360a5752 | ||
|
afd9d1646c | ||
|
abb8c8b871 | ||
|
0daf95ec34 | ||
|
4ab0863f24 | ||
|
4957e1f484 | ||
|
dd97a49741 |
21
CHANGELOG.md
21
CHANGELOG.md
@@ -89,3 +89,24 @@
|
||||
* 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
|
||||
|
||||
[1.8.0]
|
||||
* Update traccar to 6.0
|
||||
* [Full changelog](https://www.traccar.org/blog/traccar-6-0/)
|
||||
|
||||
[1.9.0]
|
||||
* Update traccar to 6.1
|
||||
* [Full changelog](https://www.traccar.org/blog/traccar-6-1/)
|
||||
|
||||
[1.10.0]
|
||||
* Update traccar to 6.2
|
||||
* [Full changelog](https://www.traccar.org/blog/traccar-6-2/)
|
||||
* Computed attributes can now be ordered using priority
|
||||
* Support token authentication for WebSocket
|
||||
* Allow regular users to edit hours and total distance
|
||||
* Support for right-to-left languages on map
|
||||
* Terms and privacy policy option
|
||||
* Engine hours are now calculated after computed attributes
|
||||
* Default configuration file is now removed to avoid confusion and misconfiguration
|
||||
|
@@ -5,8 +5,8 @@
|
||||
"description": "file://DESCRIPTION.md",
|
||||
"changelog": "file://CHANGELOG.md",
|
||||
"tagline": "Modern GPS Tracking Platform",
|
||||
"version": "1.7.2",
|
||||
"upstreamVersion": "5.12",
|
||||
"version": "1.10.0",
|
||||
"upstreamVersion": "6.2",
|
||||
"minBoxVersion": "7.1.0",
|
||||
"memoryLimit": 1073741824,
|
||||
"healthCheckPath": "/",
|
||||
|
@@ -3,7 +3,7 @@ FROM cloudron/base:4.2.0@sha256:46da2fffb36353ef714f97ae8e962bd2c212ca091108d768
|
||||
RUN mkdir -p /app/code
|
||||
WORKDIR /app/code
|
||||
|
||||
ARG VERSION=5.12
|
||||
ARG VERSION=6.2
|
||||
|
||||
RUN wget https://github.com/traccar/traccar/releases/download/v${VERSION}/traccar-linux-64-${VERSION}.zip -O traccar.zip && \
|
||||
unzip traccar.zip && \
|
||||
|
5
start.sh
5
start.sh
@@ -28,7 +28,7 @@ ensure_admin_account() {
|
||||
wait_for_table tc_users;
|
||||
|
||||
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
|
||||
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
|
||||
@@ -80,8 +80,7 @@ xmlstarlet ed --inplace \
|
||||
--update '//properties/entry[@key="mail.smtp.password"]' -v "${CLOUDRON_MAIL_SMTP_PASSWORD}" \
|
||||
/app/data/traccar.xml
|
||||
|
||||
disable_registration &
|
||||
ensure_admin_account &
|
||||
(disable_registration; ensure_admin_account) &
|
||||
|
||||
chown -R cloudron /run/traccar /app/data
|
||||
|
||||
|
798
test/package-lock.json
generated
798
test/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -10,10 +10,10 @@
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"expect.js": "^0.3.1",
|
||||
"mocha": "^10.2.0",
|
||||
"selenium-webdriver": "^4.17.0"
|
||||
"mocha": "^10.4.0",
|
||||
"selenium-webdriver": "^4.21.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"chromedriver": "^121.0.0"
|
||||
"chromedriver": "^125.0.3"
|
||||
}
|
||||
}
|
||||
|
@@ -144,7 +144,7 @@ describe('Application life cycle test', function () {
|
||||
});
|
||||
|
||||
// test update
|
||||
it('can install app', function () { execSync(`cloudron install --appstore-id org.traccar.cloudronapp --location ${LOCATION}`, EXEC_ARGS); });
|
||||
it('can install app for update', function () { execSync(`cloudron install --appstore-id org.traccar.cloudronapp --location ${LOCATION}`, EXEC_ARGS); });
|
||||
it('can get app information', getAppInfo);
|
||||
it('can login', login.bind(null, ADMIN_USERNAME, ADMIN_PASSWORD));
|
||||
it('can add device', addDevice);
|
||||
|
Reference in New Issue
Block a user