Commit Graph
13 Commits
Author SHA1 Message Date
volker.raschek 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
volker.raschek 0384bbd574 fix: move sql driver import into main.go 2020-06-10 21:25:52 +02:00
volker.raschek a49546bd6d fix: migrate to gitea 2020-06-10 21:13:05 +02:00
volker.raschek fb916c94ae fix: add, rename and remove sensor
changes:
- Implement function to add, rename and remove sensors
2020-05-17 13:00:51 +02:00
volker.raschek 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
volker.raschek 8cc232adc1 fix:_renamed import path to volker-raschek 2020-01-19 13:30:47 +01:00
volker.raschek 0765bd29d1 refac(cmd): mergeing, ordering and outsourcing cmd subcommands 2020-01-13 22:32:00 +01:00
volker.raschek 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
volker.raschek 04bc3baffe fix(pkg/daemon): save measured values into postgres database if defined 2019-12-08 12:49:19 +01:00
volker.raschek 6223f4e79b fix(pkg/db): create or upgrade postgres schema based on semver 2019-12-08 12:49:14 +01:00
volker.raschek 518855bedf refact(pkg): adapt go dependancies 2019-06-15 15:58:41 +02:00
volker.raschek c5233d578a fix: rename packages 2019-05-12 11:57:53 +02:00
volker.raschek 41a6d4e7ee fix: first temperature post request 2018-11-07 20:07:15 +01:00