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
Commits on Dec 29, 2021
-
add a new method to specify an auth context (by callable) and discuss…
… steps forward for use cases not covered yet by auth policy
-
-
Commits on Dec 30, 2021
-
remove verbs from /api/dev/generic_assets API routes (HTTP method alr…
…eady defines what happens)
-
-
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
Commits on Jan 1, 2022
-
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;
-
-
add unique contraints: on GenericAssetType.name & on GenericAssets fo…
…r name+account_id
-
Commits on Jan 3, 2022
-
-
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
create_user function hashes the password
-e Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
more informative validation errror
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
allow creation of public Assets in UI
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
Commits on Jan 4, 2022
-
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
do not fail getting latest state if capacity_in_mw is not in attributes
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
better default for capacity_in_mw
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
-
use id in the dict, for sensors lookup
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
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>
-
small improvement on locating ea addresses
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
Describe current state of transition
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
deprecation notice in old-style asset API documentation
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
Update v2.0 connection entity addresses in documentation
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Correct quickrefs in v2.0 documentation
Signed-off-by: F.N. Claessen <felix@seita.nl>
Commits on Jan 5, 2022
-
Update other v2.0 sensor entity addresses in documentation
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Fix entity address dates corresponding to older previous domain name
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Adapt more occurrences of older dates in entity addresses, and switch…
… to fm1 scheme. Signed-off-by: F.N. Claessen <felix@seita.nl>