Commit Graph

196 Commits

Author SHA1 Message Date
7e018280fb
fix: replace travis with drone 2020-06-10 21:19:27 +02:00
a49546bd6d
fix: migrate to gitea 2020-06-10 21:13:05 +02:00
940e04371c
feat: dockerutils lib to start container images 2020-06-10 09:42:40 +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
a1c28a0a2e
fix: ci steps, disable arm5 and arm7 architectures
changes:
- Remove obsolete architectures and environment variables from the
  Makefile. Remove rpm-build steps. This will be exported in an own
  repository.
- Adapt the travis file. Remove obsolete architecture steps.
2020-06-01 17:57:27 +02:00
10069568f9
fix: renamed storage endpoint into dsn
Changes:
- Renamed storage endpoint into dsn (data source name).
- Add additional dsn fallback property. This dsn will be used in futes
  to store informations, if the main dsn backend does not work
  correctly. For example, if no connection can be established over the
  network to a database.
2020-06-01 12:41:48 +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
11717679bc
fix: daemon load sensors from repo instead config 2020-05-22 07:45:14 +02:00
d0e238e64a
fix: use repository instead db package 2020-05-21 20:07:32 +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
84d052184e
fix(Makefile): container image registry login 2020-01-21 18:26:22 +01:00
0f9b62fb81
fix(ci): list build steps seperate 2020-01-20 23:08:17 +01:00
c679b29051
fix(ci): add codecov 2020-01-20 21:45:58 +01:00
17dda6a987
fix(README): supported backends, sensors and distribution specific repos 2020-01-19 14:48:18 +01:00
cc317e0b6c
fix(Makefile): use full container image names 2020-01-19 14:19:14 +01:00
8cc232adc1
fix:_renamed import path to volker-raschek 2020-01-19 13:30:47 +01:00
671a3eb748
fix(pkg/server): logging and save values into postgres 2020-01-18 14:55:43 +01:00
6f45c2957a
test(postgres): add missing tests 2020-01-18 14:42:15 +01:00
546139492b
fix(Makefile): step to generate html coverage site 2020-01-18 14:41:17 +01:00
3581424bd2
fix(pkg/storage): write creation date in storage pkg 2020-01-18 14:40:47 +01:00
c266117785
fix(pkg/storage/logfile): remove func append - dead code 2020-01-13 22:45:51 +01:00
0765bd29d1
refac(cmd): mergeing, ordering and outsourcing cmd subcommands 2020-01-13 22:32:00 +01:00
0261203395
fix(cmd): remove obsolete semver 2020-01-11 17:24:34 +01:00
12246aae0c
fix(pkg/daemon): write values into logfile 2020-01-11 17:24:18 +01:00
002f3e9e25
fix(cmd/sensor): set tick duration for new sensors 2020-01-11 13:18:38 +01:00
40857249c4
test(pkg/cli): Implementation of test to stabilize the code 2020-01-11 13:03:58 +01:00
b595cf1ac8
fix(pkg/cli): GetSensorIDsByMeasuredValues 2020-01-11 12:10:26 +01:00
f1a4ade402
fix(Makefile): remove deprecated test-update step 2020-01-10 22:09:24 +01:00
2cd2188dcb
refac(pkg/types): remove deprecated prefix name of struct attributes 2020-01-10 22:03:49 +01:00
95fb1f6745
fix(pkg/sensor): reduce interface functions for better error handling 2020-01-10 19:42:19 +01:00
ca4269fff8
fix(Makefile): generate shell completions on remote system 2020-01-09 21:59:18 +01:00
a507bef108
fix(Makefile, Dockerfile): optimization of the container image building process 2020-01-09 21:59:18 +01:00
f0bba4a202
fix(Makefile): change semver pattern 2020-01-08 21:54:39 +01:00
111dc0e4f1
feat(cmd/completion): generate shell completion files 2020-01-08 21:54:15 +01:00
5f48d29dae
fix(Makefile): remove obsolete steps
changes:
- Replace substr func with variable patterns.
- Remove deploy and compression steps
2020-01-08 18:08:55 +01:00
39b3a495ac
fix: remove root check
Changes:
- The owner of the flucky binary must be root. To grant access to the
  binary and third party libs, for example wire1, gpio or i2c, the
  binary must have a sticky bit
2019-12-08 15:07:24 +01:00
b125bf432c
fix(cli/db): remove obsolete db subcommand 2019-12-08 12:49:21 +01:00
dbef4f8241
fix(pkg/config): use storage endpoints
changes:
- Only one storage endpoint can be defined. This consists of a URL which
  can be used to specify whether the data is to be stored in a file or
  in a database.
2019-12-08 12:49:21 +01:00
afe55b3d33
fix(pkg/daemon): compression and rounding 2019-12-08 12:49:21 +01:00
25dd99cd3d
test(pkg/storage): add test for compression and rounding 2019-12-08 12:49:21 +01:00
86f598bc7d
fix(test): goldenFiles 2019-12-08 12:49:20 +01:00
a7722e028a
fix(pkg/storage/logfile): create logfile if not exists 2019-12-08 12:49:20 +01:00
ea83d43cd6
fix(pkg/logger): exclude logger library into an own repository 2019-12-08 12:49:20 +01:00
bacddcfbf9
fix(Makefile, travis): define correct make steps 2019-12-08 12:49:20 +01:00
4e531b8734
fix(README): make steps 2019-12-08 12:49:20 +01:00
4ed014c0df
fix(README): docker pull shield 2019-12-08 12:49:20 +01:00
036ff28175
doc(Makefile): describe some environment variables 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