-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* style: updated pre commit to latest versions (#159) style: update pre-commit to latest version * chore: clean up development branch * 1.1.0 Automatically generated by python-semantic-release * docs: update roadmap * 1.1.0 Automatically generated by python-semantic-release * chore: remove extra files created by semantic release * fix: rework semantic release * chore: add configuration to publishes artefacts to GitHub Releases * chore: remove auto created CHANGELOG.md * chore: release version 1.1.0 Automatically generated by python-semantic-release --------- Co-authored-by: github-actions <github-actions@github.com> * feat: add data model module to entirety * chore: smart data model crud * refactor: remove test code * chore: github link for data model loading * refactor: name change from github_link to schema_link * feat: add create service group from data model * feat: add boolean field to only apply required attrs from data model * chore: create temporary parser * feat: sdm parsed into entity form * fix: can't load schema from link because of wrong id of field * chore: add jsonschemaparser to requirements * chore: save local schema as temp file * chore: change sidebar icon * chore: update requirements.txt * feat: clean up functions for temporary files * chore: remove unused data model handler * chore: merge "create" and "creat from data model" in entity module * fix: deactivate load data model for updating * Feat: Load button added to devices moddule * Feat: Added Dropdown button to add new devices and batch device. * Feat: Added Dropdown button to add new devices and batch device. * Feat: Added URL for creating batch devices * Feat: Assign unique ID when new entity is loaded from datamodels * Feat: Assign unique ID when new entity is loaded from datamodels * Feat: Added parse_device function * chore: adjust views in devices modules * feat: parser for devices * chore: move and rename SmartDataModelEntitiesForm * feat: add load data model for devices * chore: add missing context * feat: implement data model load for servicegroups * fix: revise parse entity * chore: add initial resource for service group after loading from data model * fix: import error * chore: remove unused line * feat: implement viewer only for data model module * chore: rename edit button to inspect * build: included missing import * fix: save button not display for all users * chore: adjust layout for loading data models * chore: remove blank space in devices module * chore: update repo link for parser * fix: fixed search button displacement * chore: adjust layout of inspect button --------- Co-authored-by: JunsongDu <junsong.du@eonerc.rwth-aachen.de> Co-authored-by: Ganesh Thimmankatti <ganesh.thimmankatti@eonerc.rwth-aachen.de> * perf: update pillow version to include patch against DoS (#164) Co-authored-by: Sebastian Blechmann <51322874+SBlechmann@users.noreply.github.com> * chore: add load semantics option in .env.example * chore: implemented switch to load semantics module * chore: implemented switch for local auth or OIDC auth * build(entirety): change format of release notes (#172) * build: change format of release notes * docs (entirety): update commit convention in contribution guideline * fix(entirety): handle none scope --------- Co-authored-by: JunsongDu <101181614+djs0109@users.noreply.github.com> --------- Co-authored-by: Saira Bano <79838286+sbanoeon@users.noreply.github.com> Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Ganesh Thimmankatti <ganesh.thimmankatti@eonerc.rwth-aachen.de> Co-authored-by: Sebastian Blechmann <51322874+SBlechmann@users.noreply.github.com>
- Loading branch information
1 parent
b7efea1
commit 5a3f189
Showing
46 changed files
with
1,362 additions
and
295 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
exclude: '^static/[bootstrap|htmx]/' | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v2.3.0 | ||
rev: v4.5.0 | ||
hooks: | ||
- id: check-yaml | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- repo: https://github.com/psf/black | ||
rev: 22.3.0 | ||
rev: 24.1.1 | ||
hooks: | ||
- id: black |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{% extends '_base.html' %} | ||
{% load static %} | ||
{% load compress %} | ||
{% load crispy_forms_tags %} | ||
|
||
|
||
{% block title %}Create device or service group from data model {% endblock %} | ||
|
||
{% block content %} | ||
{# <span class="h3">Create Device</span>#} | ||
<form action="{% url 'projects:devices:create_submit_group_datamodel' project.uuid %}" method="post" novalidate> | ||
{% crispy smart_data_model_form %} | ||
<button class="btn btn-primary rounded-pill" type="submit">Confirm</button> | ||
</form> | ||
{# <form method="post" action="" id="jsonForm" {% if form_submitted %}class="was-validated" {% endif %}>#} | ||
{# <div>#} | ||
{# {% csrf_token %}#} | ||
{# {{ json_form.media }}#} | ||
{# {{ json_form }}#} | ||
{# <button class="btn btn-warning rounded-pill" type="submit">Create</button>#} | ||
{# </div>#} | ||
{# </form>#} | ||
|
||
{# {% compress js %}#} | ||
{# <script src="{% static 'js/jsoneditor.js' %}"></script>#} | ||
{# {% endcompress %}#} | ||
|
||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.