From 4e7f1546d8948cba2047ca10e4566cdf7f01c290 Mon Sep 17 00:00:00 2001 From: KlZOnmyway Date: Tue, 21 Mar 2023 19:19:42 -0600 Subject: [PATCH 1/3] addValidCommandHint --- .gitattributes | 0 .github/ISSUE_TEMPLATE/bug-report.md | 0 .github/ISSUE_TEMPLATE/feature-request.md | 0 .github/workflows/docker-build.yml | 0 .github/workflows/tests.yml | 0 .gitignore | 0 .gitmodules | 0 .travis.yml | 0 INSTALL-OLD.md | 0 INSTALL.md | 0 README.md | 0 automation.py | 0 automation.txt | 0 cli.py | 0 comm.py | 0 dev.Dockerfile | 0 docker-compose.prod.yml | 0 docker-compose.yml | 0 docs/.nojekyll | 0 docs/Makefile | 0 docs/_sources/backend_api_docs.rst.txt | 0 docs/_sources/endpoints_api.rst.txt | 0 docs/_sources/groundstation.rst.txt | 0 docs/_sources/groundstation_modules.rst.txt | 0 docs/_sources/groundstation_tests.rst.txt | 0 docs/_sources/index.rst.txt | 0 docs/_sources/modules_api.rst.txt | 0 docs/_static/alabaster.css | 0 docs/_static/basic.css | 0 docs/_static/custom.css | 0 docs/_static/doctools.js | 0 docs/_static/documentation_options.js | 0 docs/_static/file.png | Bin docs/_static/jquery-3.4.1.js | 0 docs/_static/jquery.js | 0 docs/_static/language_data.js | 0 docs/_static/minus.png | Bin docs/_static/plus.png | Bin docs/_static/pygments.css | 0 docs/_static/searchtools.js | 0 docs/_static/underscore-1.3.1.js | 0 docs/_static/underscore.js | 0 docs/backend_api_docs.html | 0 docs/endpoints_api.html | 0 docs/genindex.html | 0 docs/groundstation.html | 0 docs/groundstation_modules.html | 0 docs/groundstation_tests.html | 0 docs/index.html | 0 docs/make.bat | 0 docs/modules_api.html | 0 docs/objects.inv | Bin docs/py-modindex.html | 0 docs/requirements.txt | 0 docs/search.html | 0 docs/searchindex.js | 0 docs/source/backend_api_docs.rst | 0 docs/source/conf.py | 0 docs/source/endpoints_api.rst | 0 docs/source/groundstation.rst | 0 docs/source/groundstation_modules.rst | 0 docs/source/groundstation_tests.rst | 0 docs/source/index.rst | 0 docs/source/modules_api.rst | 0 flightschedules/README.md | 0 groundstation/__init__.py | 0 groundstation/backend_api/__init__.py | 0 groundstation/backend_api/auth.py | 0 groundstation/backend_api/automatedcommand.py | 0 groundstation/backend_api/communications.py | 0 groundstation/backend_api/flightschedule.py | 0 groundstation/backend_api/housekeeping.py | 0 groundstation/backend_api/models.py | 0 groundstation/backend_api/passover.py | 0 groundstation/backend_api/telecommand.py | 0 groundstation/backend_api/user.py | 0 groundstation/backend_api/utils.py | 0 groundstation/backend_api/validators.py | 0 groundstation/config.py | 0 groundstation/public/css/App.css | 0 groundstation/public/css/main.css | 0 groundstation/static/.babelrc | 0 groundstation/static/.prettierrc | 0 groundstation/static/__init__.py | 0 groundstation/static/js/App.jsx | 0 .../js/components/AddFlightschedule.jsx | 0 .../static/js/components/AddUser.jsx | 0 .../components/AutomatedCommandSequence.jsx | 0 .../AutomatedCommandSequenceList.jsx | 0 .../js/components/CommunicationsListFull.jsx | 0 .../static/js/components/Countdown.jsx | 0 .../js/components/DeleteFlightschedule.jsx | 0 .../static/js/components/FlightSchedule.jsx | 0 .../js/components/FlightScheduleList.jsx | 0 .../js/components/FlightscheduleCommand.jsx | 0 groundstation/static/js/components/Help.jsx | 0 groundstation/static/js/components/Home.jsx | 0 .../static/js/components/Housekeeping.jsx | 0 .../js/components/HousekeepingDialog.jsx | 0 .../js/components/HousekeepingListFull.jsx | 0 .../static/js/components/LiveCommands.jsx | 54 ++++++++++++++++-- groundstation/static/js/components/Login.jsx | 0 groundstation/static/js/components/Logout.jsx | 0 .../static/js/components/ManageUsers.jsx | 0 .../static/js/components/Passovers.jsx | 0 .../static/js/components/ResetPassword.jsx | 0 .../static/js/components/ViewLogs.jsx | 0 groundstation/static/js/helpers.js | 0 groundstation/static/js/index.jsx | 0 groundstation/static/js/routes.jsx | 0 groundstation/static/package-lock.json | 0 groundstation/static/package.json | 0 groundstation/static/webpack.config.js | 0 groundstation/templates/__init__.py | 0 groundstation/templates/index.html | 0 groundstation/tests/__init__.py | 0 groundstation/tests/base.py | 0 groundstation/tests/frontend_test.py | 0 groundstation/tests/groundstation_test.py | 0 groundstation/tests/test_api.py | 0 groundstation/tests/test_auth.py | 0 groundstation/tests/test_backend_utils.py | 0 groundstation/tests/test_config.py | 0 groundstation/tests/test_models.py | 0 groundstation/tests/test_sat_sim.py | 0 groundstation/tests/utils.py | 0 groundstation/views.py | 0 manage.py | 0 migrations/README | 0 migrations/alembic.ini | 0 migrations/env.py | 0 migrations/script.py.mako | 0 .../caeaf052096c_initial_migration.py | 0 nginx.conf | 0 requirements.txt | 0 run.py | 0 sat_sim_example_usage.py | 0 satellite_simulator/__init__.py | 0 satellite_simulator/antenna.py | 0 satellite_simulator/helpers.py | 0 satellite_simulator/sat_server.py | 0 satellite_simulator/sat_sim.py | 0 satellite_simulator/test_flight_schedule1.txt | 0 setup.txt | 0 test_key.dat | 0 user.Dockerfile | 0 146 files changed, 48 insertions(+), 6 deletions(-) mode change 100644 => 100755 .gitattributes mode change 100644 => 100755 .github/ISSUE_TEMPLATE/bug-report.md mode change 100644 => 100755 .github/ISSUE_TEMPLATE/feature-request.md mode change 100644 => 100755 .github/workflows/docker-build.yml mode change 100644 => 100755 .github/workflows/tests.yml mode change 100644 => 100755 .gitignore mode change 100644 => 100755 .gitmodules mode change 100644 => 100755 .travis.yml mode change 100644 => 100755 INSTALL-OLD.md mode change 100644 => 100755 INSTALL.md mode change 100644 => 100755 README.md mode change 100644 => 100755 automation.py mode change 100644 => 100755 automation.txt mode change 100644 => 100755 cli.py mode change 100644 => 100755 comm.py mode change 100644 => 100755 dev.Dockerfile mode change 100644 => 100755 docker-compose.prod.yml mode change 100644 => 100755 docker-compose.yml mode change 100644 => 100755 docs/.nojekyll mode change 100644 => 100755 docs/Makefile mode change 100644 => 100755 docs/_sources/backend_api_docs.rst.txt mode change 100644 => 100755 docs/_sources/endpoints_api.rst.txt mode change 100644 => 100755 docs/_sources/groundstation.rst.txt mode change 100644 => 100755 docs/_sources/groundstation_modules.rst.txt mode change 100644 => 100755 docs/_sources/groundstation_tests.rst.txt mode change 100644 => 100755 docs/_sources/index.rst.txt mode change 100644 => 100755 docs/_sources/modules_api.rst.txt mode change 100644 => 100755 docs/_static/alabaster.css mode change 100644 => 100755 docs/_static/basic.css mode change 100644 => 100755 docs/_static/custom.css mode change 100644 => 100755 docs/_static/doctools.js mode change 100644 => 100755 docs/_static/documentation_options.js mode change 100644 => 100755 docs/_static/file.png mode change 100644 => 100755 docs/_static/jquery-3.4.1.js mode change 100644 => 100755 docs/_static/jquery.js mode change 100644 => 100755 docs/_static/language_data.js mode change 100644 => 100755 docs/_static/minus.png mode change 100644 => 100755 docs/_static/plus.png mode change 100644 => 100755 docs/_static/pygments.css mode change 100644 => 100755 docs/_static/searchtools.js mode change 100644 => 100755 docs/_static/underscore-1.3.1.js mode change 100644 => 100755 docs/_static/underscore.js mode change 100644 => 100755 docs/backend_api_docs.html mode change 100644 => 100755 docs/endpoints_api.html mode change 100644 => 100755 docs/genindex.html mode change 100644 => 100755 docs/groundstation.html mode change 100644 => 100755 docs/groundstation_modules.html mode change 100644 => 100755 docs/groundstation_tests.html mode change 100644 => 100755 docs/index.html mode change 100644 => 100755 docs/make.bat mode change 100644 => 100755 docs/modules_api.html mode change 100644 => 100755 docs/objects.inv mode change 100644 => 100755 docs/py-modindex.html mode change 100644 => 100755 docs/requirements.txt mode change 100644 => 100755 docs/search.html mode change 100644 => 100755 docs/searchindex.js mode change 100644 => 100755 docs/source/backend_api_docs.rst mode change 100644 => 100755 docs/source/conf.py mode change 100644 => 100755 docs/source/endpoints_api.rst mode change 100644 => 100755 docs/source/groundstation.rst mode change 100644 => 100755 docs/source/groundstation_modules.rst mode change 100644 => 100755 docs/source/groundstation_tests.rst mode change 100644 => 100755 docs/source/index.rst mode change 100644 => 100755 docs/source/modules_api.rst mode change 100644 => 100755 flightschedules/README.md mode change 100644 => 100755 groundstation/__init__.py mode change 100644 => 100755 groundstation/backend_api/__init__.py mode change 100644 => 100755 groundstation/backend_api/auth.py mode change 100644 => 100755 groundstation/backend_api/automatedcommand.py mode change 100644 => 100755 groundstation/backend_api/communications.py mode change 100644 => 100755 groundstation/backend_api/flightschedule.py mode change 100644 => 100755 groundstation/backend_api/housekeeping.py mode change 100644 => 100755 groundstation/backend_api/models.py mode change 100644 => 100755 groundstation/backend_api/passover.py mode change 100644 => 100755 groundstation/backend_api/telecommand.py mode change 100644 => 100755 groundstation/backend_api/user.py mode change 100644 => 100755 groundstation/backend_api/utils.py mode change 100644 => 100755 groundstation/backend_api/validators.py mode change 100644 => 100755 groundstation/config.py mode change 100644 => 100755 groundstation/public/css/App.css mode change 100644 => 100755 groundstation/public/css/main.css mode change 100644 => 100755 groundstation/static/.babelrc mode change 100644 => 100755 groundstation/static/.prettierrc mode change 100644 => 100755 groundstation/static/__init__.py mode change 100644 => 100755 groundstation/static/js/App.jsx mode change 100644 => 100755 groundstation/static/js/components/AddFlightschedule.jsx mode change 100644 => 100755 groundstation/static/js/components/AddUser.jsx mode change 100644 => 100755 groundstation/static/js/components/AutomatedCommandSequence.jsx mode change 100644 => 100755 groundstation/static/js/components/AutomatedCommandSequenceList.jsx mode change 100644 => 100755 groundstation/static/js/components/CommunicationsListFull.jsx mode change 100644 => 100755 groundstation/static/js/components/Countdown.jsx mode change 100644 => 100755 groundstation/static/js/components/DeleteFlightschedule.jsx mode change 100644 => 100755 groundstation/static/js/components/FlightSchedule.jsx mode change 100644 => 100755 groundstation/static/js/components/FlightScheduleList.jsx mode change 100644 => 100755 groundstation/static/js/components/FlightscheduleCommand.jsx mode change 100644 => 100755 groundstation/static/js/components/Help.jsx mode change 100644 => 100755 groundstation/static/js/components/Home.jsx mode change 100644 => 100755 groundstation/static/js/components/Housekeeping.jsx mode change 100644 => 100755 groundstation/static/js/components/HousekeepingDialog.jsx mode change 100644 => 100755 groundstation/static/js/components/HousekeepingListFull.jsx mode change 100644 => 100755 groundstation/static/js/components/LiveCommands.jsx mode change 100644 => 100755 groundstation/static/js/components/Login.jsx mode change 100644 => 100755 groundstation/static/js/components/Logout.jsx mode change 100644 => 100755 groundstation/static/js/components/ManageUsers.jsx mode change 100644 => 100755 groundstation/static/js/components/Passovers.jsx mode change 100644 => 100755 groundstation/static/js/components/ResetPassword.jsx mode change 100644 => 100755 groundstation/static/js/components/ViewLogs.jsx mode change 100644 => 100755 groundstation/static/js/helpers.js mode change 100644 => 100755 groundstation/static/js/index.jsx mode change 100644 => 100755 groundstation/static/js/routes.jsx mode change 100644 => 100755 groundstation/static/package-lock.json mode change 100644 => 100755 groundstation/static/package.json mode change 100644 => 100755 groundstation/static/webpack.config.js mode change 100644 => 100755 groundstation/templates/__init__.py mode change 100644 => 100755 groundstation/templates/index.html mode change 100644 => 100755 groundstation/tests/__init__.py mode change 100644 => 100755 groundstation/tests/base.py mode change 100644 => 100755 groundstation/tests/frontend_test.py mode change 100644 => 100755 groundstation/tests/groundstation_test.py mode change 100644 => 100755 groundstation/tests/test_api.py mode change 100644 => 100755 groundstation/tests/test_auth.py mode change 100644 => 100755 groundstation/tests/test_backend_utils.py mode change 100644 => 100755 groundstation/tests/test_config.py mode change 100644 => 100755 groundstation/tests/test_models.py mode change 100644 => 100755 groundstation/tests/test_sat_sim.py mode change 100644 => 100755 groundstation/tests/utils.py mode change 100644 => 100755 groundstation/views.py mode change 100644 => 100755 manage.py mode change 100644 => 100755 migrations/README mode change 100644 => 100755 migrations/alembic.ini mode change 100644 => 100755 migrations/env.py mode change 100644 => 100755 migrations/script.py.mako mode change 100644 => 100755 migrations/versions/caeaf052096c_initial_migration.py mode change 100644 => 100755 nginx.conf mode change 100644 => 100755 requirements.txt mode change 100644 => 100755 run.py mode change 100644 => 100755 sat_sim_example_usage.py mode change 100644 => 100755 satellite_simulator/__init__.py mode change 100644 => 100755 satellite_simulator/antenna.py mode change 100644 => 100755 satellite_simulator/helpers.py mode change 100644 => 100755 satellite_simulator/sat_server.py mode change 100644 => 100755 satellite_simulator/sat_sim.py mode change 100644 => 100755 satellite_simulator/test_flight_schedule1.txt mode change 100644 => 100755 setup.txt mode change 100644 => 100755 test_key.dat mode change 100644 => 100755 user.Dockerfile diff --git a/.gitattributes b/.gitattributes old mode 100644 new mode 100755 diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md old mode 100644 new mode 100755 diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md old mode 100644 new mode 100755 diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml old mode 100644 new mode 100755 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml old mode 100644 new mode 100755 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/.gitmodules b/.gitmodules old mode 100644 new mode 100755 diff --git a/.travis.yml b/.travis.yml old mode 100644 new mode 100755 diff --git a/INSTALL-OLD.md b/INSTALL-OLD.md old mode 100644 new mode 100755 diff --git a/INSTALL.md b/INSTALL.md old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/automation.py b/automation.py old mode 100644 new mode 100755 diff --git a/automation.txt b/automation.txt old mode 100644 new mode 100755 diff --git a/cli.py b/cli.py old mode 100644 new mode 100755 diff --git a/comm.py b/comm.py old mode 100644 new mode 100755 diff --git a/dev.Dockerfile b/dev.Dockerfile old mode 100644 new mode 100755 diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml old mode 100644 new mode 100755 diff --git a/docker-compose.yml b/docker-compose.yml old mode 100644 new mode 100755 diff --git a/docs/.nojekyll b/docs/.nojekyll old mode 100644 new mode 100755 diff --git a/docs/Makefile b/docs/Makefile old mode 100644 new mode 100755 diff --git a/docs/_sources/backend_api_docs.rst.txt b/docs/_sources/backend_api_docs.rst.txt old mode 100644 new mode 100755 diff --git a/docs/_sources/endpoints_api.rst.txt b/docs/_sources/endpoints_api.rst.txt old mode 100644 new mode 100755 diff --git a/docs/_sources/groundstation.rst.txt b/docs/_sources/groundstation.rst.txt old mode 100644 new mode 100755 diff --git a/docs/_sources/groundstation_modules.rst.txt b/docs/_sources/groundstation_modules.rst.txt old mode 100644 new mode 100755 diff --git a/docs/_sources/groundstation_tests.rst.txt b/docs/_sources/groundstation_tests.rst.txt old mode 100644 new mode 100755 diff --git a/docs/_sources/index.rst.txt b/docs/_sources/index.rst.txt old mode 100644 new mode 100755 diff --git a/docs/_sources/modules_api.rst.txt b/docs/_sources/modules_api.rst.txt old mode 100644 new mode 100755 diff --git a/docs/_static/alabaster.css b/docs/_static/alabaster.css old mode 100644 new mode 100755 diff --git a/docs/_static/basic.css b/docs/_static/basic.css old mode 100644 new mode 100755 diff --git a/docs/_static/custom.css b/docs/_static/custom.css old mode 100644 new mode 100755 diff --git a/docs/_static/doctools.js b/docs/_static/doctools.js old mode 100644 new mode 100755 diff --git a/docs/_static/documentation_options.js b/docs/_static/documentation_options.js old mode 100644 new mode 100755 diff --git a/docs/_static/file.png b/docs/_static/file.png old mode 100644 new mode 100755 diff --git a/docs/_static/jquery-3.4.1.js b/docs/_static/jquery-3.4.1.js old mode 100644 new mode 100755 diff --git a/docs/_static/jquery.js b/docs/_static/jquery.js old mode 100644 new mode 100755 diff --git a/docs/_static/language_data.js b/docs/_static/language_data.js old mode 100644 new mode 100755 diff --git a/docs/_static/minus.png b/docs/_static/minus.png old mode 100644 new mode 100755 diff --git a/docs/_static/plus.png b/docs/_static/plus.png old mode 100644 new mode 100755 diff --git a/docs/_static/pygments.css b/docs/_static/pygments.css old mode 100644 new mode 100755 diff --git a/docs/_static/searchtools.js b/docs/_static/searchtools.js old mode 100644 new mode 100755 diff --git a/docs/_static/underscore-1.3.1.js b/docs/_static/underscore-1.3.1.js old mode 100644 new mode 100755 diff --git a/docs/_static/underscore.js b/docs/_static/underscore.js old mode 100644 new mode 100755 diff --git a/docs/backend_api_docs.html b/docs/backend_api_docs.html old mode 100644 new mode 100755 diff --git a/docs/endpoints_api.html b/docs/endpoints_api.html old mode 100644 new mode 100755 diff --git a/docs/genindex.html b/docs/genindex.html old mode 100644 new mode 100755 diff --git a/docs/groundstation.html b/docs/groundstation.html old mode 100644 new mode 100755 diff --git a/docs/groundstation_modules.html b/docs/groundstation_modules.html old mode 100644 new mode 100755 diff --git a/docs/groundstation_tests.html b/docs/groundstation_tests.html old mode 100644 new mode 100755 diff --git a/docs/index.html b/docs/index.html old mode 100644 new mode 100755 diff --git a/docs/make.bat b/docs/make.bat old mode 100644 new mode 100755 diff --git a/docs/modules_api.html b/docs/modules_api.html old mode 100644 new mode 100755 diff --git a/docs/objects.inv b/docs/objects.inv old mode 100644 new mode 100755 diff --git a/docs/py-modindex.html b/docs/py-modindex.html old mode 100644 new mode 100755 diff --git a/docs/requirements.txt b/docs/requirements.txt old mode 100644 new mode 100755 diff --git a/docs/search.html b/docs/search.html old mode 100644 new mode 100755 diff --git a/docs/searchindex.js b/docs/searchindex.js old mode 100644 new mode 100755 diff --git a/docs/source/backend_api_docs.rst b/docs/source/backend_api_docs.rst old mode 100644 new mode 100755 diff --git a/docs/source/conf.py b/docs/source/conf.py old mode 100644 new mode 100755 diff --git a/docs/source/endpoints_api.rst b/docs/source/endpoints_api.rst old mode 100644 new mode 100755 diff --git a/docs/source/groundstation.rst b/docs/source/groundstation.rst old mode 100644 new mode 100755 diff --git a/docs/source/groundstation_modules.rst b/docs/source/groundstation_modules.rst old mode 100644 new mode 100755 diff --git a/docs/source/groundstation_tests.rst b/docs/source/groundstation_tests.rst old mode 100644 new mode 100755 diff --git a/docs/source/index.rst b/docs/source/index.rst old mode 100644 new mode 100755 diff --git a/docs/source/modules_api.rst b/docs/source/modules_api.rst old mode 100644 new mode 100755 diff --git a/flightschedules/README.md b/flightschedules/README.md old mode 100644 new mode 100755 diff --git a/groundstation/__init__.py b/groundstation/__init__.py old mode 100644 new mode 100755 diff --git a/groundstation/backend_api/__init__.py b/groundstation/backend_api/__init__.py old mode 100644 new mode 100755 diff --git a/groundstation/backend_api/auth.py b/groundstation/backend_api/auth.py old mode 100644 new mode 100755 diff --git a/groundstation/backend_api/automatedcommand.py b/groundstation/backend_api/automatedcommand.py old mode 100644 new mode 100755 diff --git a/groundstation/backend_api/communications.py b/groundstation/backend_api/communications.py old mode 100644 new mode 100755 diff --git a/groundstation/backend_api/flightschedule.py b/groundstation/backend_api/flightschedule.py old mode 100644 new mode 100755 diff --git a/groundstation/backend_api/housekeeping.py b/groundstation/backend_api/housekeeping.py old mode 100644 new mode 100755 diff --git a/groundstation/backend_api/models.py b/groundstation/backend_api/models.py old mode 100644 new mode 100755 diff --git a/groundstation/backend_api/passover.py b/groundstation/backend_api/passover.py old mode 100644 new mode 100755 diff --git a/groundstation/backend_api/telecommand.py b/groundstation/backend_api/telecommand.py old mode 100644 new mode 100755 diff --git a/groundstation/backend_api/user.py b/groundstation/backend_api/user.py old mode 100644 new mode 100755 diff --git a/groundstation/backend_api/utils.py b/groundstation/backend_api/utils.py old mode 100644 new mode 100755 diff --git a/groundstation/backend_api/validators.py b/groundstation/backend_api/validators.py old mode 100644 new mode 100755 diff --git a/groundstation/config.py b/groundstation/config.py old mode 100644 new mode 100755 diff --git a/groundstation/public/css/App.css b/groundstation/public/css/App.css old mode 100644 new mode 100755 diff --git a/groundstation/public/css/main.css b/groundstation/public/css/main.css old mode 100644 new mode 100755 diff --git a/groundstation/static/.babelrc b/groundstation/static/.babelrc old mode 100644 new mode 100755 diff --git a/groundstation/static/.prettierrc b/groundstation/static/.prettierrc old mode 100644 new mode 100755 diff --git a/groundstation/static/__init__.py b/groundstation/static/__init__.py old mode 100644 new mode 100755 diff --git a/groundstation/static/js/App.jsx b/groundstation/static/js/App.jsx old mode 100644 new mode 100755 diff --git a/groundstation/static/js/components/AddFlightschedule.jsx b/groundstation/static/js/components/AddFlightschedule.jsx old mode 100644 new mode 100755 diff --git a/groundstation/static/js/components/AddUser.jsx b/groundstation/static/js/components/AddUser.jsx old mode 100644 new mode 100755 diff --git a/groundstation/static/js/components/AutomatedCommandSequence.jsx b/groundstation/static/js/components/AutomatedCommandSequence.jsx old mode 100644 new mode 100755 diff --git a/groundstation/static/js/components/AutomatedCommandSequenceList.jsx b/groundstation/static/js/components/AutomatedCommandSequenceList.jsx old mode 100644 new mode 100755 diff --git a/groundstation/static/js/components/CommunicationsListFull.jsx b/groundstation/static/js/components/CommunicationsListFull.jsx old mode 100644 new mode 100755 diff --git a/groundstation/static/js/components/Countdown.jsx b/groundstation/static/js/components/Countdown.jsx old mode 100644 new mode 100755 diff --git a/groundstation/static/js/components/DeleteFlightschedule.jsx b/groundstation/static/js/components/DeleteFlightschedule.jsx old mode 100644 new mode 100755 diff --git a/groundstation/static/js/components/FlightSchedule.jsx b/groundstation/static/js/components/FlightSchedule.jsx old mode 100644 new mode 100755 diff --git a/groundstation/static/js/components/FlightScheduleList.jsx b/groundstation/static/js/components/FlightScheduleList.jsx old mode 100644 new mode 100755 diff --git a/groundstation/static/js/components/FlightscheduleCommand.jsx b/groundstation/static/js/components/FlightscheduleCommand.jsx old mode 100644 new mode 100755 diff --git a/groundstation/static/js/components/Help.jsx b/groundstation/static/js/components/Help.jsx old mode 100644 new mode 100755 diff --git a/groundstation/static/js/components/Home.jsx b/groundstation/static/js/components/Home.jsx old mode 100644 new mode 100755 diff --git a/groundstation/static/js/components/Housekeeping.jsx b/groundstation/static/js/components/Housekeeping.jsx old mode 100644 new mode 100755 diff --git a/groundstation/static/js/components/HousekeepingDialog.jsx b/groundstation/static/js/components/HousekeepingDialog.jsx old mode 100644 new mode 100755 diff --git a/groundstation/static/js/components/HousekeepingListFull.jsx b/groundstation/static/js/components/HousekeepingListFull.jsx old mode 100644 new mode 100755 diff --git a/groundstation/static/js/components/LiveCommands.jsx b/groundstation/static/js/components/LiveCommands.jsx old mode 100644 new mode 100755 index d422b18..78212c8 --- a/groundstation/static/js/components/LiveCommands.jsx +++ b/groundstation/static/js/components/LiveCommands.jsx @@ -52,6 +52,11 @@ class LiveCommands extends Component { last_id: undefined, errorMessage: '', textBoxValue: '', + execCommand: { + command_name: '', + num_arguments: '', + about_info: '' + }, displayLog: [], isSatCli: false, currentSatCli: { @@ -60,6 +65,7 @@ class LiveCommands extends Component { } }; this.handleChangeCommand = this.handleChangeCommand.bind(this); + this.handleChangeText = this.handleChangeText.bind(this); this.handleToggleSatCli = this.handleToggleSatCli.bind(this); this.handleChangeSatCli = this.handleChangeSatCli.bind(this); this.formatToSatCliCommand = this.formatToSatCliCommand.bind(this); @@ -92,7 +98,6 @@ class LiveCommands extends Component { ...option, } }) - console.log(options) this.setState({options:options}) } else { console.error('Error loading telecommands!'); @@ -190,8 +195,17 @@ class LiveCommands extends Component { return true; } - handleChangeCommand(event) { - this.setState({ textBoxValue: event.target.value }); + handleChangeCommand(event, value) { + const command = this.state.options.find( + (option) => option.command_name === value.command_name + ); + if (command) { + this.setState({execCommand: command}) + } + } + + handleChangeText(event){ + this.setState({textBoxValue: event.target.value}) } handleToggleSatCli(event) { @@ -301,6 +315,7 @@ class LiveCommands extends Component { options={this.state.options.sort((a, b) => -b.firstLetter.localeCompare(a.firstLetter))} groupBy={(option) => option.firstLetter} getOptionLabel={(option) => option.command_name} + onChange={(event, value) => this.handleChangeCommand(event, value)} sx={{ width: '100%'}} renderInput={(params) => this.handleChangeCommand(event)} + onChange={(event) => this.handleChangeText(event)} onKeyDown={(event) => this.handleKeyPress(event)} error={!(this.state.errorMessage === '')}/>} /> @@ -342,9 +357,36 @@ class LiveCommands extends Component {
http://anon:anon@129.128.208.184/cgi-bin/video.cgi + alt="http://anon:anon@129.128.208.184/cgi-bin/video.cgi" classNmae="shrinkToFit" style={{ marginBottom: '30px' , marginRight: '10px'}}/> http://anon:anon@129.128.208.190/cgi-bin/video.cgi + alt="http://anon:anon@129.128.208.190/cgi-bin/video.cgi" className="shrinkToFit" style={{ marginBottom: '30px' , marginRight: '10px'}}/> + + { + this.state.execCommand.command_name!='' + ? ( + + {this.state.execCommand.command_name.slice(4)} + + {" (" + this.state.execCommand.num_arguments + ")"} + + {this.state.execCommand.about_info != null ? ( +

{this.state.execCommand.about_info}

+ ) : null} +
+
+ ) + : null + } +
diff --git a/groundstation/static/js/components/Login.jsx b/groundstation/static/js/components/Login.jsx old mode 100644 new mode 100755 diff --git a/groundstation/static/js/components/Logout.jsx b/groundstation/static/js/components/Logout.jsx old mode 100644 new mode 100755 diff --git a/groundstation/static/js/components/ManageUsers.jsx b/groundstation/static/js/components/ManageUsers.jsx old mode 100644 new mode 100755 diff --git a/groundstation/static/js/components/Passovers.jsx b/groundstation/static/js/components/Passovers.jsx old mode 100644 new mode 100755 diff --git a/groundstation/static/js/components/ResetPassword.jsx b/groundstation/static/js/components/ResetPassword.jsx old mode 100644 new mode 100755 diff --git a/groundstation/static/js/components/ViewLogs.jsx b/groundstation/static/js/components/ViewLogs.jsx old mode 100644 new mode 100755 diff --git a/groundstation/static/js/helpers.js b/groundstation/static/js/helpers.js old mode 100644 new mode 100755 diff --git a/groundstation/static/js/index.jsx b/groundstation/static/js/index.jsx old mode 100644 new mode 100755 diff --git a/groundstation/static/js/routes.jsx b/groundstation/static/js/routes.jsx old mode 100644 new mode 100755 diff --git a/groundstation/static/package-lock.json b/groundstation/static/package-lock.json old mode 100644 new mode 100755 diff --git a/groundstation/static/package.json b/groundstation/static/package.json old mode 100644 new mode 100755 diff --git a/groundstation/static/webpack.config.js b/groundstation/static/webpack.config.js old mode 100644 new mode 100755 diff --git a/groundstation/templates/__init__.py b/groundstation/templates/__init__.py old mode 100644 new mode 100755 diff --git a/groundstation/templates/index.html b/groundstation/templates/index.html old mode 100644 new mode 100755 diff --git a/groundstation/tests/__init__.py b/groundstation/tests/__init__.py old mode 100644 new mode 100755 diff --git a/groundstation/tests/base.py b/groundstation/tests/base.py old mode 100644 new mode 100755 diff --git a/groundstation/tests/frontend_test.py b/groundstation/tests/frontend_test.py old mode 100644 new mode 100755 diff --git a/groundstation/tests/groundstation_test.py b/groundstation/tests/groundstation_test.py old mode 100644 new mode 100755 diff --git a/groundstation/tests/test_api.py b/groundstation/tests/test_api.py old mode 100644 new mode 100755 diff --git a/groundstation/tests/test_auth.py b/groundstation/tests/test_auth.py old mode 100644 new mode 100755 diff --git a/groundstation/tests/test_backend_utils.py b/groundstation/tests/test_backend_utils.py old mode 100644 new mode 100755 diff --git a/groundstation/tests/test_config.py b/groundstation/tests/test_config.py old mode 100644 new mode 100755 diff --git a/groundstation/tests/test_models.py b/groundstation/tests/test_models.py old mode 100644 new mode 100755 diff --git a/groundstation/tests/test_sat_sim.py b/groundstation/tests/test_sat_sim.py old mode 100644 new mode 100755 diff --git a/groundstation/tests/utils.py b/groundstation/tests/utils.py old mode 100644 new mode 100755 diff --git a/groundstation/views.py b/groundstation/views.py old mode 100644 new mode 100755 diff --git a/manage.py b/manage.py old mode 100644 new mode 100755 diff --git a/migrations/README b/migrations/README old mode 100644 new mode 100755 diff --git a/migrations/alembic.ini b/migrations/alembic.ini old mode 100644 new mode 100755 diff --git a/migrations/env.py b/migrations/env.py old mode 100644 new mode 100755 diff --git a/migrations/script.py.mako b/migrations/script.py.mako old mode 100644 new mode 100755 diff --git a/migrations/versions/caeaf052096c_initial_migration.py b/migrations/versions/caeaf052096c_initial_migration.py old mode 100644 new mode 100755 diff --git a/nginx.conf b/nginx.conf old mode 100644 new mode 100755 diff --git a/requirements.txt b/requirements.txt old mode 100644 new mode 100755 diff --git a/run.py b/run.py old mode 100644 new mode 100755 diff --git a/sat_sim_example_usage.py b/sat_sim_example_usage.py old mode 100644 new mode 100755 diff --git a/satellite_simulator/__init__.py b/satellite_simulator/__init__.py old mode 100644 new mode 100755 diff --git a/satellite_simulator/antenna.py b/satellite_simulator/antenna.py old mode 100644 new mode 100755 diff --git a/satellite_simulator/helpers.py b/satellite_simulator/helpers.py old mode 100644 new mode 100755 diff --git a/satellite_simulator/sat_server.py b/satellite_simulator/sat_server.py old mode 100644 new mode 100755 diff --git a/satellite_simulator/sat_sim.py b/satellite_simulator/sat_sim.py old mode 100644 new mode 100755 diff --git a/satellite_simulator/test_flight_schedule1.txt b/satellite_simulator/test_flight_schedule1.txt old mode 100644 new mode 100755 diff --git a/setup.txt b/setup.txt old mode 100644 new mode 100755 diff --git a/test_key.dat b/test_key.dat old mode 100644 new mode 100755 diff --git a/user.Dockerfile b/user.Dockerfile old mode 100644 new mode 100755 From 5f6682cc30ffe9ca7d6daf438a8c5aa65cd93aa3 Mon Sep 17 00:00:00 2001 From: KlZOnmyway Date: Tue, 21 Mar 2023 19:26:55 -0600 Subject: [PATCH 2/3] doublecheck --- groundstation/static/js/components/LiveCommands.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/groundstation/static/js/components/LiveCommands.jsx b/groundstation/static/js/components/LiveCommands.jsx index 78212c8..79d50cc 100755 --- a/groundstation/static/js/components/LiveCommands.jsx +++ b/groundstation/static/js/components/LiveCommands.jsx @@ -357,9 +357,9 @@ class LiveCommands extends Component {
http://anon:anon@129.128.208.184/cgi-bin/video.cgi + alt="http://anon:anon@129.128.208.184/cgi-bin/video.cgi" class="shrinkToFit" style={{ marginBottom: '30px' , marginRight: '10px'}}/> http://anon:anon@129.128.208.190/cgi-bin/video.cgi + alt="http://anon:anon@129.128.208.190/cgi-bin/video.cgi" class="shrinkToFit" style={{ marginBottom: '30px' , marginRight: '10px'}}/> Date: Tue, 4 Apr 2023 15:58:43 -0600 Subject: [PATCH 3/3] commandHint2 --- groundstation/static/js/components/LiveCommands.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/groundstation/static/js/components/LiveCommands.jsx b/groundstation/static/js/components/LiveCommands.jsx index 79d50cc..e29f886 100755 --- a/groundstation/static/js/components/LiveCommands.jsx +++ b/groundstation/static/js/components/LiveCommands.jsx @@ -195,6 +195,7 @@ class LiveCommands extends Component { return true; } + // Check value updated by auto complete handleChangeCommand(event, value) { const command = this.state.options.find( (option) => option.command_name === value.command_name @@ -204,6 +205,7 @@ class LiveCommands extends Component { } } + // Update value in text field handleChangeText(event){ this.setState({textBoxValue: event.target.value}) }