-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Squashed commit of the following: commit c4a6556 Merge: 5b25b6a c4fef70 Author: Judith <[email protected]> Date: Wed Apr 6 16:02:16 2022 +0200 Merge branch 'development' into 372-agents-json commit 5b25b6a Author: NikkelM <[email protected]> Date: Wed Apr 6 15:09:15 2022 +0200 Updated comment commit 0433736 Author: NikkelM <[email protected]> Date: Wed Apr 6 13:43:15 2022 +0200 Recommerce :) commit 53b88d9 Author: NikkelM <[email protected]> Date: Wed Apr 6 10:20:27 2022 +0200 Added migration commit 5742f71 Author: NikkelM <[email protected]> Date: Wed Apr 6 09:42:27 2022 +0200 Added comment commit 2b2536e Author: NikkelM <[email protected]> Date: Wed Apr 6 09:24:51 2022 +0200 Updated docstring commit 4e072d2 Author: NikkelM <[email protected]> Date: Wed Apr 6 09:23:14 2022 +0200 Small refactoring commit 4e8f7d4 Merge: 0768372 545825a Author: Nikkel Mollenhauer <[email protected]> Date: Wed Apr 6 09:20:41 2022 +0200 Merge branch 'development' into 372-agents-json commit 0768372 Author: NikkelM <[email protected]> Date: Tue Apr 5 18:11:54 2022 +0200 Fixed tests commit ac6fa2e Author: NikkelM <[email protected]> Date: Tue Apr 5 17:52:35 2022 +0200 Fixed merge for agents commit 76a01e4 Author: NikkelM <[email protected]> Date: Tue Apr 5 17:36:41 2022 +0200 Fixed typo commit ceeae81 Author: NikkelM <[email protected]> Date: Tue Apr 5 17:36:12 2022 +0200 Adapted to new agents-format, upload still not working commit 39a33dd Author: NikkelM <[email protected]> Date: Tue Apr 5 16:33:40 2022 +0200 Adapted to new agents-format in json commit d72da1f Author: NikkelM <[email protected]> Date: Tue Apr 5 16:09:19 2022 +0200 Adapted to new agents-config format in json commit 673cdb4 Author: NikkelM <[email protected]> Date: Tue Apr 5 16:03:52 2022 +0200 Fixed tests commit b272fe8 Author: NikkelM <[email protected]> Date: Tue Apr 5 15:51:54 2022 +0200 Adapted to new agent-structure in json commit f4fb7c6 Author: NikkelM <[email protected]> Date: Tue Apr 5 15:39:38 2022 +0200 Adapted to new agent format in json commit 007f7d4 Author: NikkelM <[email protected]> Date: Tue Apr 5 14:32:47 2022 +0200 changed test-data commit e8e4cc6 Author: NikkelM <[email protected]> Date: Tue Apr 5 14:29:56 2022 +0200 changed jsons to new format * check button * prefill for agents works * Squashed commit of the following: commit 70bc36d Author: Nikkel Mollenhauer <[email protected]> Date: Thu Apr 7 10:39:56 2022 +0200 Include API status for docker, make docker API more failsafe (#401) * stop polling! on click api health only * Added differentiation between API unavailable and docker unavailable * api health button with checked time * Removed unnecessary print statement Co-authored-by: Judith <[email protected]> commit 01da9ac Author: Nikkel Mollenhauer <[email protected]> Date: Wed Apr 6 16:52:57 2022 +0200 Refactored agents-key in configuration files (#396) * changed jsons to new format * changed test-data * Adapted to new agent format in json * Adapted to new agent-structure in json * Fixed tests * Adapted to new agents-config format in json * Adapted to new agents-format in json * Adapted to new agents-format, upload still not working * Fixed typo * Fixed merge for agents * Fixed tests * Small refactoring * Updated docstring * Added comment * Added migration * Recommerce :) * Updated comment * Changed interval for updating API indicator Co-authored-by: Judith <[email protected]> * notice field for check button * footer * remove debug code * Updated some texts * Fixed wrong access to agent-class * Reverted type of comparison check * only one notice field * fixed template error * fix more template error * automatic template indentation Co-authored-by: NikkelM <[email protected]>
- Loading branch information
Showing
36 changed files
with
946 additions
and
738 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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<button class="btn btn-sm mt-1 bc-xs replace-me {% if api_success %}bc-outline-lightgreen{% elif api_docker_timeout %}bc-outline-orange{% elif api_timeout %}bc-outline-red{% else %}bc-outline-lightgray{% endif %}" | ||
type="button" | ||
data-url="/api_availability"> | ||
{% if api_success or api_docker_timeout or api_timeout %} | ||
{{api_success}}{{api_docker_timeout}}{{api_timeout}} | ||
{% else %} | ||
unknown | ||
{% endif %} | ||
<button class="btn btn-sm mt-1 bc-xs replace-me {% if api_success %}bc-outline-lightgreen{% elif api_docker_timeout %}bc-outline-orange{% elif api_timeout %}bc-outline-red{% else %}bc-outline-lightgray{% endif %}" | ||
type="button" | ||
data-url="/api_availability"> | ||
{% if api_success or api_docker_timeout or api_timeout %} | ||
{{api_success}}{{api_docker_timeout}}{{api_timeout}} | ||
{% else %} | ||
unknown | ||
{% endif %} | ||
</button> |
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,6 +1,6 @@ | ||
<form method="post" enctype="multipart/form-data"> | ||
{% csrf_token %} | ||
<input type="hidden" name="action", value="delete"> | ||
<button class="btn btn-outline-danger btn-sm" title="deletes all data we stored about the container" | ||
name="container_id" value="{{ container.id }}" type="submit">delete</button> | ||
{% csrf_token %} | ||
<input type="hidden" name="action", value="delete"> | ||
<button class="btn btn-outline-danger btn-sm" title="deletes all data we stored about the container" | ||
name="container_id" value="{{ container.id }}" type="submit">delete</button> | ||
</form> |
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,32 +1,32 @@ | ||
<div class="d-flex"> | ||
<form method="post" enctype="multipart/form-data"> | ||
{% csrf_token %} | ||
<input type="hidden" name="action" value="data"> | ||
<input type="hidden" name="file_type" value="zip"> | ||
<button class="btn btn-sm mx-auto {% if container.is_archived%} btn-outline-dark {% else %} bc-outline-download{% endif %}" | ||
name="container_id" value="{{ container.id }}" | ||
title="downloads data from running container as zip" | ||
type="{% if container.is_archived%}button{% else %}submit{% endif %}"> | ||
{% if container.is_archived%} | ||
not available | ||
{% else %} | ||
zip | ||
{% endif %} | ||
</button> | ||
</form> | ||
<form method="post" enctype="multipart/form-data"> | ||
{% csrf_token %} | ||
<input type="hidden" name="action" value="data"> | ||
<input type="hidden" name="file_type" value="tar"> | ||
<button class="btn btn-sm {% if container.is_archived%} btn-outline-dark {% else %}bc-outline-download{% endif %}" | ||
name="container_id" value="{{ container.id }}" | ||
title="downloads data from running container as tar" | ||
type="{% if container.is_archived%}button{% else %}submit{% endif %}"> | ||
{% if container.is_archived%} | ||
not available | ||
{% else %} | ||
tar | ||
{% endif %} | ||
</button> | ||
</form> | ||
<form method="post" enctype="multipart/form-data"> | ||
{% csrf_token %} | ||
<input type="hidden" name="action" value="data"> | ||
<input type="hidden" name="file_type" value="zip"> | ||
<button class="btn btn-sm mx-auto {% if container.is_archived%} btn-outline-dark {% else %} bc-outline-download{% endif %}" | ||
name="container_id" value="{{ container.id }}" | ||
title="downloads data from running container as zip" | ||
type="{% if container.is_archived%}button{% else %}submit{% endif %}"> | ||
{% if container.is_archived%} | ||
not available | ||
{% else %} | ||
zip | ||
{% endif %} | ||
</button> | ||
</form> | ||
<form method="post" enctype="multipart/form-data"> | ||
{% csrf_token %} | ||
<input type="hidden" name="action" value="data"> | ||
<input type="hidden" name="file_type" value="tar"> | ||
<button class="btn btn-sm {% if container.is_archived%} btn-outline-dark {% else %}bc-outline-download{% endif %}" | ||
name="container_id" value="{{ container.id }}" | ||
title="downloads data from running container as tar" | ||
type="{% if container.is_archived%}button{% else %}submit{% endif %}"> | ||
{% if container.is_archived%} | ||
not available | ||
{% else %} | ||
tar | ||
{% endif %} | ||
</button> | ||
</form> | ||
</div> |
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,7 +1,7 @@ | ||
<form method="post" enctype="multipart/form-data"> | ||
{% csrf_token %} | ||
<input type="hidden" name="action", value="health"> | ||
<button class="btn btn-sm bc-outline-lightgreen" | ||
title="check health of your container" | ||
name="container_id" value="{{ container.id }}" type="submit">check health</button> | ||
{% csrf_token %} | ||
<input type="hidden" name="action", value="health"> | ||
<button class="btn btn-sm bc-outline-lightgreen" | ||
title="check health of your container" | ||
name="container_id" value="{{ container.id }}" type="submit">check health</button> | ||
</form> |
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,9 +1,9 @@ | ||
<form method="post" enctype="multipart/form-data"> | ||
{% csrf_token %} | ||
<input type="hidden" name="action", value="logs"> | ||
<button class="btn btn-sm bc-outline-logs" | ||
name="container_id" | ||
value="{{ container.id }}" | ||
title="gets the logs of your container" | ||
type="submit">get logs</button> | ||
{% csrf_token %} | ||
<input type="hidden" name="action", value="logs"> | ||
<button class="btn btn-sm bc-outline-logs" | ||
name="container_id" | ||
value="{{ container.id }}" | ||
title="gets the logs of your container" | ||
type="submit">get logs</button> | ||
</form> |
Oops, something went wrong.