e035d49284
Merge pull request 'chore(deps): update dependency postgres to v14' ( #12 ) from renovate/postgres-14.x into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: #12
2022-03-19 08:59:54 +00:00
31f63e1750
Merge pull request 'chore(deps): update github.com/johejo/golang-migrate-extra commit hash to c17dd75' ( #3 ) from renovate/github.com-johejo-golang-migrate-extra-digest into master
...
continuous-integration/drone/push Build is passing
Reviewed-on: #3
2022-03-19 08:59:29 +00:00
37121272bd
chore(deps): update dependency postgres to v14
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-03-19 02:01:36 +01:00
a15d781e15
chore(deps): update github.com/johejo/golang-migrate-extra commit hash to c17dd75
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-03-19 02:01:31 +01:00
96618051fe
chore(deps): update module github.com/spf13/cobra to v1.4.0
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-03-19 01:03:28 +01:00
1578756004
chore(deps): update module github.com/golang-migrate/migrate/v4 to v4.15.1
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-03-19 00:02:04 +01:00
5ed644426c
chore(deps): update dependency docker.io/volkerraschek/markdownlint to v0.31.1
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-03-18 23:02:58 +01:00
debe53f20a
chore(deps): update module github.com/stretchr/testify to v1.7.1
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-03-18 22:02:01 +01:00
6095674d60
chore(deps): update module github.com/mattn/go-sqlite3 to v2.0.6
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-03-18 21:02:45 +01:00
484cb28e18
chore(deps): update module github.com/lib/pq to v1.10.4
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-03-18 20:02:23 +01:00
def69802f4
chore(deps): update dependency docker.io/volkerraschek/gosec to v2.9.6
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-03-18 19:01:42 +01:00
1601b9ba6d
fix(ci): restrict on push and pull_requests
continuous-integration/drone/push Build is passing
2022-03-18 18:59:06 +01:00
226a5f3383
test(ci): start postgres db as drone service
continuous-integration/drone/push Build is passing
2022-03-18 18:37:53 +01:00
ccf3f3dc5f
fix: nosec for potential file inclusion via variable
continuous-integration/drone/push Build was killed
2022-03-16 20:28:33 +01:00
a1b87ba90e
fix: markdown capitalization error
continuous-integration/drone/push Build is failing
2022-03-16 20:23:26 +01:00
93d94d88e7
fix(ci): golang image version
continuous-integration/drone/push Build is failing
2022-03-16 20:22:19 +01:00
7153575e22
fix: upgrade golang version
continuous-integration/drone/push Build is failing
2022-03-16 20:21:06 +01:00
d45f760b93
fix: add markdownlint config
continuous-integration/drone/push Build is failing
2022-03-16 20:18:24 +01:00
ed06727fe3
fix(drone): use golang:1.17.6
continuous-integration/drone/push Build is failing
2022-02-09 22:55:04 +01:00
eb56976b83
fix(drone): add unit tests for arm64
continuous-integration/drone/push Build is failing
2022-02-09 22:54:28 +01:00
caac54fae6
fix(renovate): init
continuous-integration/drone/push Build is passing
2022-02-09 22:52:14 +01:00
a62bf175cb
fix: Makefile
2021-05-26 19:57:47 +02:00
ffbc8a793c
fix: golangci-lint and gosec warnings
2021-05-26 19:47:15 +02:00
f7bb283784
fix: rename completion file
2021-05-26 17:41:03 +02:00
f0d4c613ba
fix: remove paring semver
2021-04-10 17:02:43 +02:00
4f2c03b0d5
fix: Makefile install target
2021-04-10 16:52:29 +02:00
12f05ec68e
fix: Makefile targets
2021-04-10 16:06:47 +02:00
93bbc9d6b9
feat: add sub-command to generate completions
2021-04-10 10:30:37 +02:00
6e6a1cbbb6
fix: adapt go proxy settings
2021-04-09 17:11:51 +02:00
9207833a71
fix: add missing error handling
2021-04-09 16:55:35 +02:00
749f2697c7
feat: import from sqlite or postgres
2021-04-09 16:52:25 +02:00
8c2090a316
fix: rename ddl assets
2021-04-06 19:40:56 +02:00
a48ae72b4b
fix: postgres embed - use direct sql statements instead of asset paths
2021-04-06 19:19:29 +02:00
b7e7e55916
fix: sqlite3 embed - use direct sql statements instead of asset paths
2021-04-06 19:19:25 +02:00
53d4a78adc
refac: sort sqlite and postgres funcs
2021-03-21 22:31:00 +01:00
fb23874422
fix: remove deprecated repository code
2021-03-21 22:22:40 +01:00
344e6641d8
fix: remove integration step
2021-03-21 21:47:58 +01:00
7a88aaac0c
refac: use embed instead of go-bindata, secure closing of transactions
2021-03-21 21:43:53 +01:00
59db7cfc85
fix: rename postgresql constraints
2021-01-30 16:51:21 +01:00
366dccde12
fix: use go-migrate pkg to init or update db schema
...
Instead to implement own logic how the database scheme should be updated
or migrated to a newer or older version flucky use now instead the
go-migrate package.
2021-01-30 15:44:21 +01:00
23695b4513
fix: update rows when already exist during an import
...
When rows in the table devices, sensors, humidities, pressures and
temperatures already exist, they will only be updated.
2020-12-14 20:54:20 +01:00
522fe2746a
fix: add or update devices, sensors and measured values
...
Add additional functions to the repository to add or update devices,
sensors or measured values. Furthermore the test has been adapt to the
new functions.
2020-12-14 20:54:20 +01:00
Markus Pesch
d0cfdd7102
fix: exclude dockerutils and testutils package
2020-11-07 23:03:11 +01:00
Markus Pesch
675af77965
feat: import from sqlite or postgresql
2020-11-07 22:59:48 +01:00
Markus Pesch
592e9b7f5c
fix: upgrade dependencies
2020-11-06 23:08:54 +01:00
Markus Pesch
a2e66ce08b
fix: sqlite and postgres, close rows and pass nothing instead nil
2020-11-06 23:07:10 +01:00
Markus Pesch
1701db7b8e
fix: define cache values
...
The number of measured values in the cache before they are stored in the
database can not be defined over the flag --cached-values.
2020-10-07 23:59:27 +02:00
Markus Pesch
0fc4aa7c28
fix: postgres columns with timezone
...
Add timezone for the columns creation_date and update_date, otherwise
it's difficult to compare the times correctly in the unit test.
Furthermore the default value of the creation_date will now be defined
by the postgres implementation of the database interface.
2020-10-07 23:38:27 +02:00
3a090d190e
fix: cli temperature read
...
changes:
- fix: read temperature values without daemon
Add subcommand to read temperature values without starting the daemon
- fix: implement measured value types
Replace measured value types with constants
- fix: add sensor pipelines
Add functions which returns a channel with measured values
- fix: filter measured values from a channel
Add functions to filter measured values by sensor id or measured
value types.
2020-09-21 20:05:37 +02:00
7cbd80c726
fix: remove obsolete attributes from config.json
...
changes:
- removed unused attributes from config.json
2020-09-07 19:12:30 +02:00