Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

398 Support optional "source" in /sensors/data [GET] #543

Merged
merged 23 commits into from Dec 2, 2022

Commits on Nov 28, 2022

  1. Make SourceIdField importable and usable for API validation

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Nov 28, 2022
    Copy the full SHA
    83dfe54 View commit details
    Browse the repository at this point in the history
  2. Allow filtering sensor data by source in API

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Nov 28, 2022
    Copy the full SHA
    ca7d9a9 View commit details
    Browse the repository at this point in the history
  3. Show source id in chart tooltip so users have somewhere to find them

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Nov 28, 2022
    Copy the full SHA
    d00be86 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2022

  1. Add test for /sensors/data [GET]

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Nov 29, 2022
    Copy the full SHA
    f4987db View commit details
    Browse the repository at this point in the history
  2. Test source field, and refactor test setup

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Nov 29, 2022
    Copy the full SHA
    764b7cf View commit details
    Browse the repository at this point in the history
  3. Test resolution field

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Nov 29, 2022
    Copy the full SHA
    d389c4a View commit details
    Browse the repository at this point in the history
  4. Test averaging event values when using resolution field

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Nov 29, 2022
    Copy the full SHA
    aa2eb22 View commit details
    Browse the repository at this point in the history
  5. Add type annotations, flake8

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Nov 29, 2022
    Copy the full SHA
    d89c22c View commit details
    Browse the repository at this point in the history
  6. Remove double line breaks

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Nov 29, 2022
    Copy the full SHA
    62488c3 View commit details
    Browse the repository at this point in the history
  7. API changelog entry for introduction of 'source' field

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Nov 29, 2022
    Copy the full SHA
    eb8a951 View commit details
    Browse the repository at this point in the history
  8. Missing punctuation

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Nov 29, 2022
    Copy the full SHA
    12537d3 View commit details
    Browse the repository at this point in the history
  9. API changelog entry for return message fix

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Nov 29, 2022
    Copy the full SHA
    5cd066c View commit details
    Browse the repository at this point in the history
  10. Add missing API documentation for optional fields

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Nov 29, 2022
    Copy the full SHA
    30f5dbb View commit details
    Browse the repository at this point in the history
  11. Update API documentation section on sources

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Nov 29, 2022
    Copy the full SHA
    d02dc94 View commit details
    Browse the repository at this point in the history
  12. Move test to module using fresh db for each test to avoid session flush

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Nov 29, 2022
    Copy the full SHA
    eeb2e85 View commit details
    Browse the repository at this point in the history
  13. Faster conversion of NaN values (we were just missing the dtype conve…

    …rsion)
    
    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Nov 29, 2022
    Copy the full SHA
    a5a150a View commit details
    Browse the repository at this point in the history
  14. Update inline comment

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Nov 29, 2022
    Copy the full SHA
    a050342 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2022

  1. typo

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Dec 1, 2022
    Copy the full SHA
    4759a0c View commit details
    Browse the repository at this point in the history
  2. Redundant flush

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Dec 1, 2022
    Copy the full SHA
    b1aae10 View commit details
    Browse the repository at this point in the history
  3. Ownership is an asset property, not a sensor property

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Dec 1, 2022
    Copy the full SHA
    6b39307 View commit details
    Browse the repository at this point in the history
  4. Move flush to where it's needed (not the conftest)

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Dec 1, 2022
    Copy the full SHA
    2cebe89 View commit details
    Browse the repository at this point in the history
  5. No need to set up gas measurements as part of another fixture

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Dec 1, 2022
    Copy the full SHA
    92a2a47 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2022

  1. Changelog entries

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Dec 2, 2022
    Copy the full SHA
    da437ba View commit details
    Browse the repository at this point in the history