Skip to content
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

Documentation #227

Merged
merged 2 commits into from
Oct 7, 2023
Merged

Documentation #227

merged 2 commits into from
Oct 7, 2023

Conversation

realashleybailey
Copy link

No description provided.

Ashley added 2 commits October 7, 2023 20:02
This change enables the OpenLayersMap component in the frontend by importing the vue3-openlayers package. It also adds a global property `env` to the app instance, which contains the `NODE_ENV` variable. This variable determines whether the app is running in development or production mode.

The code changes in the UserManager, Tabbed, Main, and MapWidget components introduce a new `hidden` attribute to certain buttons and sections. This attribute is used to conditionally hide buttons and sections based on the `NODE_ENV` variable in production mode.

The MapWidget component is now fully functional and displays a map using the OpenLayers library. It also incorporates the theme specified by the `theme` variable in the app, which determines whether the map is displayed in light or dark mode.
- Imported `get_latest_version` and `get_latest_beta_version` functions from `software_lifecycle` module
- Removed `get_need_update` method from `Server` class
- Added `latest_version` and `latest_beta_version` fields to the response
- Updated Flask cache to use a cached session for API requests
- Updated the `get_latest_version` function to use the GitHub API to get the latest release
- Updated the `get_latest_beta_version` function to use the GitHub API to get all releases and retrieve the latest beta version
- Updated the `need_update` function to always use the latest version, regardless of beta or stable release
- Updated the `requirements.txt` file to include the `requests-cache` package
- Updated the `server.ts` file in the frontend to include the `latest_version` and `latest_beta_version` fields in the `server_data` object
@realashleybailey realashleybailey merged commit c24c29a into v3-beta Oct 7, 2023
@JamsRepos JamsRepos deleted the documentation branch May 10, 2024 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant