citrascope 0.9.0__tar.gz → 0.9.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. {citrascope-0.9.0 → citrascope-0.9.1}/PKG-INFO +2 -2
  2. {citrascope-0.9.0 → citrascope-0.9.1}/README.md +1 -1
  3. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/web/static/config.js +3 -3
  4. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/web/static/store-init.js +12 -0
  5. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/web/templates/dashboard.html +3 -2
  6. {citrascope-0.9.0 → citrascope-0.9.1}/pyproject.toml +2 -2
  7. {citrascope-0.9.0 → citrascope-0.9.1}/.devcontainer/devcontainer.json +0 -0
  8. {citrascope-0.9.0 → citrascope-0.9.1}/.flake8 +0 -0
  9. {citrascope-0.9.0 → citrascope-0.9.1}/.github/copilot-instructions.md +0 -0
  10. {citrascope-0.9.0 → citrascope-0.9.1}/.github/dependabot.yml +0 -0
  11. {citrascope-0.9.0 → citrascope-0.9.1}/.github/workflows/pypi-publish.yml +0 -0
  12. {citrascope-0.9.0 → citrascope-0.9.1}/.github/workflows/pytest.yml +0 -0
  13. {citrascope-0.9.0 → citrascope-0.9.1}/.gitignore +0 -0
  14. {citrascope-0.9.0 → citrascope-0.9.1}/.pre-commit-config.yaml +0 -0
  15. {citrascope-0.9.0 → citrascope-0.9.1}/.python-version +0 -0
  16. {citrascope-0.9.0 → citrascope-0.9.1}/.vscode/launch.json +0 -0
  17. {citrascope-0.9.0 → citrascope-0.9.1}/LICENSE +0 -0
  18. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/__init__.py +0 -0
  19. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/__main__.py +0 -0
  20. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/api/abstract_api_client.py +0 -0
  21. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/api/citra_api_client.py +0 -0
  22. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/citra_scope_daemon.py +0 -0
  23. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/constants.py +0 -0
  24. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/hardware/abstract_astro_hardware_adapter.py +0 -0
  25. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/hardware/adapter_registry.py +0 -0
  26. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/hardware/devices/__init__.py +0 -0
  27. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/hardware/devices/abstract_hardware_device.py +0 -0
  28. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/hardware/devices/camera/__init__.py +0 -0
  29. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/hardware/devices/camera/abstract_camera.py +0 -0
  30. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/hardware/devices/camera/rpi_hq_camera.py +0 -0
  31. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/hardware/devices/camera/usb_camera.py +0 -0
  32. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/hardware/devices/camera/ximea_camera.py +0 -0
  33. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/hardware/devices/device_registry.py +0 -0
  34. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/hardware/devices/filter_wheel/__init__.py +0 -0
  35. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/hardware/devices/filter_wheel/abstract_filter_wheel.py +0 -0
  36. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/hardware/devices/focuser/__init__.py +0 -0
  37. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/hardware/devices/focuser/abstract_focuser.py +0 -0
  38. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/hardware/devices/mount/__init__.py +0 -0
  39. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/hardware/devices/mount/abstract_mount.py +0 -0
  40. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/hardware/direct_hardware_adapter.py +0 -0
  41. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/hardware/dummy_adapter.py +0 -0
  42. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/hardware/filter_sync.py +0 -0
  43. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/hardware/indi_adapter.py +0 -0
  44. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/hardware/kstars_dbus_adapter.py +0 -0
  45. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/hardware/kstars_scheduler_template.esl +0 -0
  46. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/hardware/kstars_sequence_template.esq +0 -0
  47. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/hardware/nina_adv_http_adapter.py +0 -0
  48. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/hardware/nina_adv_http_survey_template.json +0 -0
  49. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/logging/__init__.py +0 -0
  50. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/logging/_citrascope_logger.py +0 -0
  51. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/logging/web_log_handler.py +0 -0
  52. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/settings/__init__.py +0 -0
  53. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/settings/citrascope_settings.py +0 -0
  54. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/settings/settings_file_manager.py +0 -0
  55. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/tasks/runner.py +0 -0
  56. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/tasks/scope/base_telescope_task.py +0 -0
  57. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/tasks/scope/static_telescope_task.py +0 -0
  58. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/tasks/scope/tracking_telescope_task.py +0 -0
  59. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/tasks/task.py +0 -0
  60. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/time/__init__.py +0 -0
  61. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/time/time_health.py +0 -0
  62. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/time/time_monitor.py +0 -0
  63. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/time/time_sources.py +0 -0
  64. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/web/__init__.py +0 -0
  65. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/web/app.py +0 -0
  66. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/web/server.py +0 -0
  67. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/web/static/api.js +0 -0
  68. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/web/static/app.js +0 -0
  69. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/web/static/components.js +0 -0
  70. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/web/static/filters.js +0 -0
  71. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/web/static/formatters.js +0 -0
  72. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/web/static/img/citra.png +0 -0
  73. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/web/static/img/favicon.png +0 -0
  74. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/web/static/style.css +0 -0
  75. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/web/static/websocket.js +0 -0
  76. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/web/templates/_config.html +0 -0
  77. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/web/templates/_config_hardware.html +0 -0
  78. {citrascope-0.9.0 → citrascope-0.9.1}/citrascope/web/templates/_monitoring.html +0 -0
  79. {citrascope-0.9.0 → citrascope-0.9.1}/tests/unit/test_api_client.py +0 -0
  80. {citrascope-0.9.0 → citrascope-0.9.1}/tests/unit/test_device_dependencies.py +0 -0
  81. {citrascope-0.9.0 → citrascope-0.9.1}/tests/unit/test_hardware_adapter.py +0 -0
  82. {citrascope-0.9.0 → citrascope-0.9.1}/tests/unit/test_task_manager.py +0 -0
  83. {citrascope-0.9.0 → citrascope-0.9.1}/tests/unit/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: citrascope
3
- Version: 0.9.0
3
+ Version: 0.9.1
4
4
  Summary: Remotely control a telescope while it polls for tasks, collects and edge processes data, and delivers results and data for further processing.
5
5
  Project-URL: Homepage, https://citra.space
6
6
  Project-URL: Documentation, https://docs.citra.space/citrascope/
@@ -203,7 +203,7 @@ This ensures code style and quality checks are enforced for all contributors.
203
203
 
204
204
  ### Releasing a New Version
205
205
 
206
- To bump the version and create a release:
206
+ To bump the version and create a release from in the venv:
207
207
 
208
208
  ```sh
209
209
  bump-my-version bump patch # 0.1.3 → 0.1.4
@@ -120,7 +120,7 @@ This ensures code style and quality checks are enforced for all contributors.
120
120
 
121
121
  ### Releasing a New Version
122
122
 
123
- To bump the version and create a release:
123
+ To bump the version and create a release from in the venv:
124
124
 
125
125
  ```sh
126
126
  bump-my-version bump patch # 0.1.3 → 0.1.4
@@ -67,9 +67,9 @@ async function checkConfigStatus() {
67
67
  // Show setup wizard if not configured
68
68
  const wizardModal = new bootstrap.Modal(document.getElementById('setupWizard'));
69
69
  wizardModal.show();
70
- }
71
-
72
- if (status.error) {
70
+ } else if (status.error) {
71
+ // Only show error toast if configured but there's an error (e.g., connection issue)
72
+ // Don't show toast for "not configured" since modal already handles that
73
73
  showConfigError(status.error);
74
74
  }
75
75
  } catch (error) {
@@ -198,6 +198,18 @@ import * as components from './components.js';
198
198
  this.versionCheckState = 'error';
199
199
  this.versionCheckResult = { status: 'error', currentVersion: 'unknown' };
200
200
  }
201
+ },
202
+
203
+ showConfigSection() {
204
+ // Close setup wizard modal
205
+ const wizardModal = bootstrap.Modal.getInstance(document.getElementById('setupWizard'));
206
+ if (wizardModal) {
207
+ wizardModal.hide();
208
+ }
209
+
210
+ // Navigate to config section
211
+ this.currentSection = 'config';
212
+ window.location.hash = 'config';
201
213
  }
202
214
  });
203
215
  });
@@ -61,11 +61,12 @@
61
61
 
62
62
 
63
63
  <!-- Setup Wizard Modal -->
64
- <div class="modal fade" id="setupWizard" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-hidden="true">
64
+ <div class="modal fade" id="setupWizard" tabindex="-1" aria-hidden="true">
65
65
  <div class="modal-dialog modal-lg modal-dialog-centered">
66
66
  <div class="modal-content bg-dark text-light border-secondary">
67
67
  <div class="modal-header border-secondary">
68
68
  <h5 class="modal-title">Welcome to CitraScope Setup</h5>
69
+ <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button>
69
70
  </div>
70
71
  <div class="modal-body">
71
72
  <p class="lead">Let's configure your telescope system.</p>
@@ -77,7 +78,7 @@
77
78
  </ul>
78
79
  </div>
79
80
  <div class="modal-footer border-secondary">
80
- <button type="button" class="btn btn-primary" onclick="showConfigSection()">Configure Now</button>
81
+ <button type="button" class="btn btn-primary" @click="$store.citrascope.showConfigSection()">Configure Now</button>
81
82
  </div>
82
83
  </div>
83
84
  </div>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "citrascope"
3
- version = "0.9.0"
3
+ version = "0.9.1"
4
4
  description = "Remotely control a telescope while it polls for tasks, collects and edge processes data, and delivers results and data for further processing."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10,<3.13"
@@ -142,7 +142,7 @@ omit = ["tests/*", "__init__.py"]
142
142
  allow-direct-references = true
143
143
 
144
144
  [tool.bumpversion]
145
- current_version = "0.9.0"
145
+ current_version = "0.9.1"
146
146
  commit = true
147
147
  tag = true
148
148
 
File without changes
File without changes
File without changes
File without changes