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

Issue 247 generic asset crud #290

Merged
merged 35 commits into from Jan 5, 2022
Merged

Commits on Dec 29, 2021

  1. add a new method to specify an auth context (by callable) and discuss…

    … steps forward for use cases not covered yet by auth policy
    nhoening committed Dec 29, 2021
    Copy the full SHA
    a36eeaa View commit details
    Browse the repository at this point in the history
  2. add ACL for GenericAsset

    nhoening committed Dec 29, 2021
    Copy the full SHA
    00d5651 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    63ee1fd View commit details
    Browse the repository at this point in the history
  4. fix asset icon in asset view

    nhoening committed Dec 29, 2021
    Copy the full SHA
    02edb47 View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2021

  1. remove verbs from /api/dev/generic_assets API routes (HTTP method alr…

    …eady defines what happens)
    nhoening committed Dec 30, 2021
    Copy the full SHA
    c6a0b50 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    6018004 View commit details
    Browse the repository at this point in the history
  3. auth policy: change 'create' to 'create-children' permission (removin…

    …g the need for issue#200); fix modelling problem if several distinct principal formulations exist for one permission
    nhoening committed Dec 30, 2021
    Copy the full SHA
    e922e39 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2022

  1. separate fresh tests from others; only generate copies of generic ass…

    …ets when we don't already have them (distinguish by name); re-add old asset tests;
    nhoening committed Jan 1, 2022
    Copy the full SHA
    4c6e213 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    f304a98 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    b0fbff6 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    3982e0f View commit details
    Browse the repository at this point in the history
  5. update changelog

    nhoening committed Jan 1, 2022
    Copy the full SHA
    2ae8aad View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2022

  1. Copy the full SHA
    fdfca9c View commit details
    Browse the repository at this point in the history
  2. comments next to test cases

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Jan 3, 2022
    Copy the full SHA
    4c95ff9 View commit details
    Browse the repository at this point in the history
  3. create_user function hashes the password

    -e
    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Jan 3, 2022
    Copy the full SHA
    5518c17 View commit details
    Browse the repository at this point in the history
  4. more informative validation errror

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Jan 3, 2022
    Copy the full SHA
    0c492a0 View commit details
    Browse the repository at this point in the history
  5. allow creation of public Assets in UI

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Jan 3, 2022
    Copy the full SHA
    2ab9f5b View commit details
    Browse the repository at this point in the history
  6. Fix display of owning account

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Jan 3, 2022
    Copy the full SHA
    f75982c View commit details
    Browse the repository at this point in the history
  7. better changelog docs

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Jan 3, 2022
    Copy the full SHA
    912b81e View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2022

  1. list sensors on asset page

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Jan 4, 2022
    Copy the full SHA
    7d7e5a1 View commit details
    Browse the repository at this point in the history
  2. do not fail getting latest state if capacity_in_mw is not in attributes

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Jan 4, 2022
    Copy the full SHA
    b2479db View commit details
    Browse the repository at this point in the history
  3. better default for capacity_in_mw

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Jan 4, 2022
    Copy the full SHA
    850b92d View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    c5ce5a9 View commit details
    Browse the repository at this point in the history
  5. use id in the dict, for sensors lookup

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Jan 4, 2022
    Copy the full SHA
    2d463bb View commit details
    Browse the repository at this point in the history
  6. Suggested fixes to pr 290 (#299)

    Remove the entity addresses from the generic asset listing, and list the number of sensors instead.
    
    
    * grammar
    
    Signed-off-by: F.N. Claessen <felix@seita.nl>
    
    * Update generic asset listing, replacing entity addresses with number of sensors
    
    Signed-off-by: F.N. Claessen <felix@seita.nl>
    
    * Avoid crashing on formatting None values
    
    Signed-off-by: F.N. Claessen <felix@seita.nl>
    
    * Fix wrong variable name
    
    Signed-off-by: F.N. Claessen <felix@seita.nl>
    
    * Fix incorrect type annotation
    
    Signed-off-by: F.N. Claessen <felix@seita.nl>
    
    * Partly revert cefe320
    
    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Jan 4, 2022
    Copy the full SHA
    a7f1d7f View commit details
    Browse the repository at this point in the history
  7. small improvement on locating ea addresses

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Jan 4, 2022
    Copy the full SHA
    50248bb View commit details
    Browse the repository at this point in the history
  8. Describe current state of transition

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Jan 4, 2022
    Copy the full SHA
    8359502 View commit details
    Browse the repository at this point in the history
  9. deprecation notice in old-style asset API documentation

    Signed-off-by: Nicolas Höning <nicolas@seita.nl>
    nhoening committed Jan 4, 2022
    Copy the full SHA
    d50c4f4 View commit details
    Browse the repository at this point in the history
  10. Fix type annotation

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Jan 4, 2022
    Copy the full SHA
    133e04b View commit details
    Browse the repository at this point in the history
  11. Update documentation

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Jan 4, 2022
    Copy the full SHA
    93c9a69 View commit details
    Browse the repository at this point in the history
  12. Update v2.0 connection entity addresses in documentation

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Jan 4, 2022
    Copy the full SHA
    c4262ce View commit details
    Browse the repository at this point in the history
  13. Correct quickrefs in v2.0 documentation

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

Commits on Jan 5, 2022

  1. Update other v2.0 sensor entity addresses in documentation

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Jan 5, 2022
    Copy the full SHA
    81d6f6a View commit details
    Browse the repository at this point in the history
  2. Fix entity address dates corresponding to older previous domain name

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Jan 5, 2022
    Copy the full SHA
    70f180c View commit details
    Browse the repository at this point in the history
  3. Adapt more occurrences of older dates in entity addresses, and switch…

    … to fm1 scheme.
    
    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Jan 5, 2022
    Copy the full SHA
    9165e79 View commit details
    Browse the repository at this point in the history