Commit Graph

57 Commits

Author SHA1 Message Date
6faea3df16 chore(deps): update module github.com/golang-migrate/migrate/v4 to v4.16.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-06-08 12:36:45 +02:00
3a62752c7f chore(deps): update module github.com/stretchr/testify to v1.8.4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-05-30 12:11:35 +02:00
1cf5171945 chore(deps): update module github.com/golang-migrate/migrate/v4 to v4.16.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-05-29 11:14:06 +02:00
475be80ed7
Merge remote-tracking branch 'origin/renovate/github.com-stretchr-testify-1.x'
Some checks reported errors
continuous-integration/drone/push Build was killed
2023-05-21 12:03:54 +02:00
fc203c6afe chore(deps): update module github.com/lib/pq to v1.10.9
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-05-18 14:56:36 +02:00
682c3bafa3 chore(deps): update module github.com/stretchr/testify to v1.8.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-04-04 20:43:34 +02:00
b976988232 chore(deps): update module github.com/spf13/cobra to v1.7.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-04-04 17:37:41 +02:00
549b1e9041 chore(deps): update module github.com/mattn/go-sqlite3 to v1.14.16
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-26 15:22:31 +02:00
3c8a322f11 chore(deps): update module github.com/stretchr/testify to v1.8.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-25 04:23:08 +02:00
077486fc08 chore(deps): update module github.com/spf13/cobra to v1.6.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-25 04:04:39 +02:00
63fce1f96c chore(deps): update module github.com/lib/pq to v1.10.7
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-06 23:54:09 +02:00
b455e346e9
chore(deps): update module github.com/mattn/go-sqlite3 to v1.14.15 2022-08-22 12:35:01 +02:00
54e013595e chore(deps): update module github.com/stretchr/testify to v1.8.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-06-29 13:41:35 +02:00
8e95bc1a8a chore(deps): update module github.com/spf13/cobra to v1.5.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-06-26 12:21:36 +02:00
dae0335e34 chore(deps): update module github.com/stretchr/testify to v1.7.5
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-06-26 10:57:39 +02:00
aa8ec4c1b4 chore(deps): update module github.com/golang-migrate/migrate/v4 to v4.15.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-04-27 12:02:37 +02:00
1fcb05a678 chore(deps): update module github.com/lib/pq to v1.10.5
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-04-08 01:03:23 +02:00
183c64be03 chore(deps): update github.com/d2r2/go-logger commit hash to 60e9d12
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-03-19 10:02:08 +01:00
a15d781e15 chore(deps): update github.com/johejo/golang-migrate-extra commit hash to c17dd75
All checks were successful
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
All checks were successful
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
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-03-19 00:02:04 +01:00
debe53f20a chore(deps): update module github.com/stretchr/testify to v1.7.1
All checks were successful
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
All checks were successful
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
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-03-18 20:02:23 +01:00
226a5f3383
test(ci): start postgres db as drone service
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-18 18:37:53 +01:00
7153575e22
fix: upgrade golang version
Some checks failed
continuous-integration/drone/push Build is failing
2022-03-16 20:21:06 +01:00
ffbc8a793c
fix: golangci-lint and gosec warnings 2021-05-26 19:47:15 +02:00
f0d4c613ba
fix: remove paring semver 2021-04-10 17:02:43 +02:00
7a88aaac0c
refac: use embed instead of go-bindata, secure closing of transactions 2021-03-21 21:43:53 +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
Markus Pesch
d0cfdd7102
fix: exclude dockerutils and testutils package 2020-11-07 23:03:11 +01:00
Markus Pesch
592e9b7f5c
fix: upgrade dependencies 2020-11-06 23:08:54 +01: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
9ee9742aff
fix: use own dht pkg 2020-06-21 18:42:33 +02:00
a49546bd6d
fix: migrate to gitea 2020-06-10 21:13:05 +02:00
4931c63c10
fix: add postgres backend
changes:
- Add postgres backend
- Modified or added table attributes.
  UpdateDate, ForeignKeys, Booleans
- Fix test for sqlite and postgres. Compare json instead the struct.
2020-06-01 22:50:05 +02:00
43e9d00dcb
fix: implement repository test
changes:
- Implement repository test for the sqlite backend
- Add testutils package to start container images
- Remove deprecated till_date in measured values
- Renamed columns of the table humidities, pressures and temperatures
2020-06-01 00:56:04 +02:00
8f1c7b10f7
fix: implement repository pkg 2020-05-21 17:40:24 +02:00
fb916c94ae
fix: add, rename and remove sensor
changes:
- Implement function to add, rename and remove sensors
2020-05-17 13:00:51 +02:00
fb8d4dd5eb
fix: new implementation
changes:
- Remove cli
  Some cli commands are not complete tested and are deprecated.

- Daemon
  - Old version has a very bad implementation of how to verify, if the
    device or the sensors are in the database insert. The current
    implementation can be improved but this one is betten then the old
    one.
  - Remove complete the cache store implementation. Use a normal array
    and query the length and capacity to determine how the array cache
    must be cleaned.

- Type
  Remove unused types and functions
2020-05-03 14:09:22 +02:00
8cc232adc1
fix:_renamed import path to volker-raschek 2020-01-19 13:30:47 +01:00
25dd99cd3d
test(pkg/storage): add test for compression and rounding 2019-12-08 12:49:21 +01:00
ea83d43cd6
fix(pkg/logger): exclude logger library into an own repository 2019-12-08 12:49:20 +01:00
04bc3baffe
fix(pkg/daemon): save measured values into postgres database if defined 2019-12-08 12:49:19 +01:00
6223f4e79b
fix(pkg/db): create or upgrade postgres schema based on semver 2019-12-08 12:49:14 +01:00
60ee044b88
feat(pkg/db): postgres database 2019-08-25 13:16:21 +02:00
289aaf2093
feat(pkg/sensor): new support for sensor bme280 2019-07-02 22:47:28 +02:00
87475225bc
fix(test/logfile): valid temperatures 2019-06-21 13:45:58 +02:00
f6db6f9ce3
feat(pkg/logfile): support csv and xml logfile 2019-06-21 13:45:58 +02:00
49d66cfcbb
feat(cmd/rgb-led): add subcommands to operate with rgb-leds 2019-06-16 13:00:50 +02:00