iobroker.sbfspot 4.3.3 → 4.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/admin/i18n/de/translations.json +18 -0
- package/admin/i18n/en/translations.json +18 -0
- package/admin/i18n/es/translations.json +18 -0
- package/admin/i18n/fr/translations.json +18 -0
- package/admin/i18n/it/translations.json +18 -0
- package/admin/i18n/nl/translations.json +18 -0
- package/admin/i18n/pl/translations.json +18 -0
- package/admin/i18n/pt/translations.json +18 -0
- package/admin/i18n/ru/translations.json +18 -0
- package/admin/i18n/uk/translations.json +18 -0
- package/admin/i18n/zh-cn/translations.json +18 -0
- package/io-package.json +15 -16
- package/package.json +28 -24
- package/.eslintrc.json +0 -35
- package/.github/FUNDING.yml +0 -16
- package/.github/ISSUE_TEMPLATE/BugReport.md +0 -36
- package/.github/ISSUE_TEMPLATE/Enhancement.md +0 -19
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -32
- package/.github/dependabot.yml +0 -13
- package/.github/workflows/npmpublish.yml +0 -30
- package/.github/workflows/test-and-release.yml +0 -166
- package/.releaseconfig.json +0 -3
- package/docs/en/install_arm.md +0 -65
- package/widgets/sbfspot/img/Prev_tplSbfspot.png +0 -0
- package/widgets/sbfspot/lib/js/flot/jquery.canvaswrapper.js +0 -549
- package/widgets/sbfspot/lib/js/flot/jquery.colorhelpers.js +0 -199
- package/widgets/sbfspot/lib/js/flot/jquery.flot.axislabels.js +0 -212
- package/widgets/sbfspot/lib/js/flot/jquery.flot.browser.js +0 -98
- package/widgets/sbfspot/lib/js/flot/jquery.flot.categories.js +0 -202
- package/widgets/sbfspot/lib/js/flot/jquery.flot.composeImages.js +0 -330
- package/widgets/sbfspot/lib/js/flot/jquery.flot.crosshair.js +0 -202
- package/widgets/sbfspot/lib/js/flot/jquery.flot.drawSeries.js +0 -662
- package/widgets/sbfspot/lib/js/flot/jquery.flot.errorbars.js +0 -375
- package/widgets/sbfspot/lib/js/flot/jquery.flot.fillbetween.js +0 -254
- package/widgets/sbfspot/lib/js/flot/jquery.flot.flatdata.js +0 -47
- package/widgets/sbfspot/lib/js/flot/jquery.flot.hover.js +0 -361
- package/widgets/sbfspot/lib/js/flot/jquery.flot.image.js +0 -249
- package/widgets/sbfspot/lib/js/flot/jquery.flot.js +0 -2953
- package/widgets/sbfspot/lib/js/flot/jquery.flot.legend.js +0 -437
- package/widgets/sbfspot/lib/js/flot/jquery.flot.logaxis.js +0 -298
- package/widgets/sbfspot/lib/js/flot/jquery.flot.navigate.js +0 -834
- package/widgets/sbfspot/lib/js/flot/jquery.flot.pie.js +0 -794
- package/widgets/sbfspot/lib/js/flot/jquery.flot.resize.js +0 -60
- package/widgets/sbfspot/lib/js/flot/jquery.flot.saturated.js +0 -43
- package/widgets/sbfspot/lib/js/flot/jquery.flot.selection.js +0 -527
- package/widgets/sbfspot/lib/js/flot/jquery.flot.stack.js +0 -220
- package/widgets/sbfspot/lib/js/flot/jquery.flot.symbol.js +0 -98
- package/widgets/sbfspot/lib/js/flot/jquery.flot.threshold.js +0 -143
- package/widgets/sbfspot/lib/js/flot/jquery.flot.time.js +0 -586
- package/widgets/sbfspot/lib/js/flot/jquery.flot.touch.js +0 -320
- package/widgets/sbfspot/lib/js/flot/jquery.flot.touchNavigate.js +0 -360
- package/widgets/sbfspot/lib/js/flot/jquery.flot.uiConstants.js +0 -10
- package/widgets/sbfspot/lib/js/flot/jquery.js +0 -9473
- package/widgets/sbfspot/lib/js/lib/globalize.culture.en-US.js +0 -33
- package/widgets/sbfspot/lib/js/lib/globalize.js +0 -1601
- package/widgets/sbfspot/lib/js/lib/jquery.event.drag.js +0 -145
- package/widgets/sbfspot/lib/js/lib/jquery.mousewheel.js +0 -86
- package/widgets/sbfspot.html +0 -1597
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
name: Test and Release
|
|
2
|
-
|
|
3
|
-
# Run this job on all pushes and pull requests
|
|
4
|
-
# as well as tags with a semantic version
|
|
5
|
-
on:
|
|
6
|
-
push:
|
|
7
|
-
branches:
|
|
8
|
-
- '*'
|
|
9
|
-
tags:
|
|
10
|
-
# normal versions
|
|
11
|
-
- "v?[0-9]+.[0-9]+.[0-9]+"
|
|
12
|
-
# pre-releases
|
|
13
|
-
- "v?[0-9]+.[0-9]+.[0-9]+-**"
|
|
14
|
-
pull_request: {}
|
|
15
|
-
|
|
16
|
-
jobs:
|
|
17
|
-
# Performs quick checks before the expensive test runs
|
|
18
|
-
check-and-lint:
|
|
19
|
-
if: contains(github.event.head_commit.message, '[skip ci]') == false
|
|
20
|
-
|
|
21
|
-
runs-on: ubuntu-latest
|
|
22
|
-
|
|
23
|
-
steps:
|
|
24
|
-
- uses: actions/checkout@v4
|
|
25
|
-
- name: Use Node.js 18.x
|
|
26
|
-
uses: actions/setup-node@v4
|
|
27
|
-
with:
|
|
28
|
-
node-version: 18.x
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
- name: Install Dependencies
|
|
32
|
-
run: npm install
|
|
33
|
-
|
|
34
|
-
# - name: Perform a type check
|
|
35
|
-
# run: npm run check:ts
|
|
36
|
-
# env:
|
|
37
|
-
# CI: true
|
|
38
|
-
# - name: Lint TypeScript code
|
|
39
|
-
# run: npm run lint
|
|
40
|
-
# - name: Test package files
|
|
41
|
-
# run: npm run test:package
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
# Runs adapter tests on all supported node versions and OSes
|
|
45
|
-
adapter-tests:
|
|
46
|
-
if: contains(github.event.head_commit.message, '[skip ci]') == false
|
|
47
|
-
|
|
48
|
-
needs: [check-and-lint]
|
|
49
|
-
|
|
50
|
-
runs-on: ${{ matrix.os }}
|
|
51
|
-
strategy:
|
|
52
|
-
matrix:
|
|
53
|
-
node-version: [18.x, 20.x]
|
|
54
|
-
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
55
|
-
|
|
56
|
-
steps:
|
|
57
|
-
- uses: actions/checkout@v4
|
|
58
|
-
- name: Use Node.js ${{ matrix.node-version }}
|
|
59
|
-
uses: actions/setup-node@v4
|
|
60
|
-
with:
|
|
61
|
-
node-version: ${{ matrix.node-version }}
|
|
62
|
-
|
|
63
|
-
- name: Install Dependencies
|
|
64
|
-
run: npm install
|
|
65
|
-
|
|
66
|
-
- name: Run local tests
|
|
67
|
-
run: npm test
|
|
68
|
-
# - name: Run unit tests
|
|
69
|
-
# run: npm run test:unit
|
|
70
|
-
# - name: Run integration tests # (linux/osx)
|
|
71
|
-
# if: startsWith(runner.OS, 'windows') == false
|
|
72
|
-
# run: DEBUG=testing:* npm run test:integration
|
|
73
|
-
# - name: Run integration tests # (windows)
|
|
74
|
-
# if: startsWith(runner.OS, 'windows')
|
|
75
|
-
# run: set DEBUG=testing:* & npm run test:integration
|
|
76
|
-
# Deploys the final package to NPM
|
|
77
|
-
|
|
78
|
-
deploy:
|
|
79
|
-
needs: [check-and-lint, adapter-tests]
|
|
80
|
-
|
|
81
|
-
# Trigger this step only when a commit on master is tagged with a version number
|
|
82
|
-
if: |
|
|
83
|
-
contains(github.event.head_commit.message, '[skip ci]') == false &&
|
|
84
|
-
github.event_name == 'push' &&
|
|
85
|
-
startsWith(github.ref, 'refs/tags/')
|
|
86
|
-
runs-on: ubuntu-latest
|
|
87
|
-
|
|
88
|
-
steps:
|
|
89
|
-
- name: Checkout code
|
|
90
|
-
uses: actions/checkout@v4
|
|
91
|
-
|
|
92
|
-
- name: Use Node.js 18.x
|
|
93
|
-
uses: actions/setup-node@v4
|
|
94
|
-
with:
|
|
95
|
-
node-version: 18.x
|
|
96
|
-
|
|
97
|
-
- name: Extract the version and commit body from the tag
|
|
98
|
-
id: extract_release
|
|
99
|
-
# The body may be multiline, therefore we need to escape some characters
|
|
100
|
-
run: |
|
|
101
|
-
VERSION="${{ github.ref }}"
|
|
102
|
-
VERSION=${VERSION##*/}
|
|
103
|
-
VERSION=${VERSION##*v}
|
|
104
|
-
echo "::set-output name=VERSION::$VERSION"
|
|
105
|
-
BODY=$(git show -s --format=%b)
|
|
106
|
-
BODY="${BODY//'%'/'%25'}"
|
|
107
|
-
BODY="${BODY//$'\n'/'%0A'}"
|
|
108
|
-
BODY="${BODY//$'\r'/'%0D'}"
|
|
109
|
-
echo "::set-output name=BODY::$BODY"
|
|
110
|
-
|
|
111
|
-
- name: Install Dependencies
|
|
112
|
-
run: npm install
|
|
113
|
-
#- name: Create a clean build
|
|
114
|
-
# run: npm run build
|
|
115
|
-
- name: Publish package to npm
|
|
116
|
-
run: |
|
|
117
|
-
npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
|
|
118
|
-
npm whoami
|
|
119
|
-
npm publish
|
|
120
|
-
|
|
121
|
-
- name: Create Github Release
|
|
122
|
-
uses: actions/create-release@v1
|
|
123
|
-
env:
|
|
124
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
125
|
-
with:
|
|
126
|
-
tag_name: ${{ github.ref }}
|
|
127
|
-
release_name: Release v${{ steps.extract_release.outputs.VERSION }}
|
|
128
|
-
draft: false
|
|
129
|
-
# Prerelease versions create pre-releases on GitHub
|
|
130
|
-
prerelease: ${{ contains(steps.extract_release.outputs.VERSION, '-') }}
|
|
131
|
-
body: ${{ steps.extract_release.outputs.BODY }}
|
|
132
|
-
|
|
133
|
-
- name: Notify Sentry.io about the release
|
|
134
|
-
run: |
|
|
135
|
-
npm i -g @sentry/cli
|
|
136
|
-
export SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}
|
|
137
|
-
export SENTRY_URL=https://sentry.io
|
|
138
|
-
export SENTRY_ORG=rg-engineering
|
|
139
|
-
export SENTRY_PROJECT=iobroker_sbfspot
|
|
140
|
-
export SENTRY_VERSION=rg-engineering.sbfspot@${{ steps.extract_release.outputs.VERSION }}
|
|
141
|
-
sentry-cli releases new $SENTRY_VERSION
|
|
142
|
-
sentry-cli releases set-commits $SENTRY_VERSION --auto
|
|
143
|
-
sentry-cli releases finalize $SENTRY_VERSION
|
|
144
|
-
|
|
145
|
-
# Add the following line BEFORE finalize if sourcemap uploads are needed
|
|
146
|
-
# sentry-cli releases files $SENTRY_VERSION upload-sourcemaps build/
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
package/.releaseconfig.json
DELETED
package/docs/en/install_arm.md
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
First we need to install some packages:
|
|
4
|
-
|
|
5
|
-
>sudo apt-get update
|
|
6
|
-
>sudo apt-get --no-install-recommends install bluetooth libbluetooth-dev
|
|
7
|
-
>sudo apt-get install libboost-date-time-dev libboost-system-dev libboost-filesystem-dev libboost-regex-dev
|
|
8
|
-
>sudo apt-get install libboost-all-dev
|
|
9
|
-
>sudo apt-get install sqlite3 libsqlite3-dev
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
then check the existing users
|
|
13
|
-
>less /etc/passwd
|
|
14
|
-
|
|
15
|
-
user iobroker should be available
|
|
16
|
-
|
|
17
|
-
then we create some folders
|
|
18
|
-
>cd ~
|
|
19
|
-
>mkdir projects
|
|
20
|
-
>cd projects
|
|
21
|
-
>mkdir smadata
|
|
22
|
-
>mkdir SBFspot
|
|
23
|
-
>cd SBFspot
|
|
24
|
-
|
|
25
|
-
>sudo mkdir /var/log/sbfspot.3
|
|
26
|
-
>sudo chown -R iobroker:iobroker /var/log/sbfspot.3
|
|
27
|
-
|
|
28
|
-
and now we download the source code
|
|
29
|
-
we have two possibilities:
|
|
30
|
-
|
|
31
|
-
1. latest version
|
|
32
|
-
>git clone https://github.com/SBFspot/SBFspot .
|
|
33
|
-
|
|
34
|
-
2. released versions (here as a example version 3.6.0)
|
|
35
|
-
sbfspot_version=3.6.0
|
|
36
|
-
>wget �c https://github.com/SBFspot/SBFspot/archive/V$sbfspot_version.tar.gz
|
|
37
|
-
>tar -xvf V$sbfspot_version.tar.gz -C SBFspot --strip-components 1
|
|
38
|
-
|
|
39
|
-
then we start compilation and installation
|
|
40
|
-
>cd ~/projects/SBFspot/SBFspot
|
|
41
|
-
>make sqlite
|
|
42
|
-
>sudo make install_sqlite
|
|
43
|
-
|
|
44
|
-
we create a database
|
|
45
|
-
>cd ~/projects/smadata
|
|
46
|
-
>sqlite3 SBFspot.db < ~/projects/SBFspot/SBFspot/CreateSQLiteDB.sql
|
|
47
|
-
|
|
48
|
-
now we can test whether database is installed correctly
|
|
49
|
-
>sqlite3 SBFspot.db
|
|
50
|
-
>SQLite version 3.16.2 2017-01-06 16:32:41
|
|
51
|
-
>Enter ".help" for usage hints.
|
|
52
|
-
>sqlite> select * from config;
|
|
53
|
-
>SchemaVersion|1
|
|
54
|
-
>sqlite>.quit
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
finally we need to configure sbfspot
|
|
58
|
-
|
|
59
|
-
to do
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
in adapter admin we just need to set the path to database
|
|
64
|
-
|
|
65
|
-
/home/datalogger/projects/smadata/SBFspot.db
|
|
Binary file
|