This project is mirrored from https://github.com/aims-group/metagrid.git. Pull mirroring updated .
  1. 23 Sep, 2022 1 commit
  2. 02 Sep, 2022 1 commit
    • Carlos Downie's avatar
      v1.0.7-beta branch (#454) · dd2f7c2c
      Carlos Downie authored
      
      
      * Bumped version number.
      
      * Changes to fix wget download issues. (#452)
      
      * changes to fix wget download issues: multiple download, direct link handed to browser
      
      * Removed uneccessary import
      
      Co-authored-by: default avatarSasha Ames <amysash2006@gmail.com>
      
      * Update dependency @types/jest to v28.1.6 (#444)
      
      Co-authored-by: default avatarrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
      
      * Update typescript-eslint monorepo to v5.30.7 (#445)
      
      * hotfix to get wget script download to work (#449) (#450)
      
      * hotfix to get wget script download to work (#449)
      
      * hotfix to get wget script download to work
      
      * fix removed return
      
      * Updating file to fix minor blank line issue.
      
      Co-authored-by: default avatarSasha Ames <sashakames@users.noreply.github.com>
      
      * Update typescript-eslint monorepo to v5.30.7
      
      Co-authored-by: default avatarCarlos Downie <42552189+downiec@users.noreply.github.com>
      Co-authored-by: default avatarSasha Ames <sashakames@users.noreply.github.com>
      Co-authored-by: default avatarrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
      
      * Update dependency moment to v2.29.4 [SECURITY] (#443)
      
      Co-authored-by: default avatarrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
      
      * Bump terser from 5.12.1 to 5.14.2 in /frontend (#451)
      
      Bumps [terser](https://github.com/terser/terser) from 5.12.1 to 5.14.2.
      - [Release notes](https://github.com/terser/terser/releases)
      - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
      - [Commits](https://github.com/terser/terser/commits
      
      )
      
      ---
      updated-dependencies:
      - dependency-name: terser
        dependency-type: indirect
      ...
      
      Signed-off-by: default avatardependabot[bot] <support@github.com>
      
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      
      * Bump moment from 2.29.2 to 2.29.4 in /frontend (#442)
      
      Bumps [moment](https://github.com/moment/moment) from 2.29.2 to 2.29.4.
      - [Release notes](https://github.com/moment/moment/releases)
      - [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
      - [Commits](https://github.com/moment/moment/compare/2.29.2...2.29.4
      
      )
      
      ---
      updated-dependencies:
      - dependency-name: moment
        dependency-type: direct:production
      ...
      
      Signed-off-by: default avatardependabot[bot] <support@github.com>
      
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      Co-authored-by: default avatarCarlos Downie <42552189+downiec@users.noreply.github.com>
      
      * Feature/453 update deployment configs (#458)
      
      * Testing the use of a central config file and a manager script. Created a metagrid_configs folder where different configs can be stored and used.
      
      * updates to scripts and dockerfile for traefik to handle empty prefx variables.
      
      * More fixes and updates.
      
      * Refactoring to fix issues with the variables used in the master config file, so that they don't repeat in the config. Removed unnecessary folders and updated the manage_metagrid script to allow saving and restoring of config files in an automated way. Every time changes are made to the config, a backup will be created which will have date and time associated to it. Users can then restore that backup with a simple command in the script (which will also save the current config that is replaced. Note that if lots of changes are made, config backups should probably be deleted now and then.
      
      * Updated script to include sudo that was missing and also copy to traefik when a backup is restored.
      
      * updates t the script for local testing. Fixed a docker-compose minor issue in the backend production so it points to correct config file.
      
      * Updated the scripts to save environment file in each docker directory. It seems that the frontend uses the package.json build call rather than the one in docker compose, so the environment file was not found when building react. Modifications should help fix that issue.
      
      * Added cors proxy variable because it still seems necessary for the backend communication with frontend...
      
      * Updates to the metagrid documentation. A restructuring update needs to be done for getting_started_production.md in order to reflect the new way which configuration is setup and updated in production.
      
      * Updated manage script to include the option for starting/stopping the docs local containers. Updated django version to 3.2.15
      
      * Updated the documentation to specify the manage_metagrid.sh scripts and how to update the projects. Also updated the configuration steps and how to get production started.
      
      * Feature/447 generalize redirects (#465)
      
      * redirect test.
      
      * Change the order in the server location directive and update the entrypoint to use the new PREVIOUS_URL variable.
      
      * Connected environment variables in config to the front-end redirect logic to allow frontend to redirect if a previous url is specified in the config
      
      * Updated the manage_metagrid script to not use sudo. Updated the previous url env variable name so that it is useable in the front end. All variables used in the frontend need to be prefixed with REACT_APP_ otherwise they aren't visible and are undefined. Removed the console log statements.
      
      * Updated the git ignore files. Attempted to create mock imports for testing the generateRedirects function, however after various attempts and research, found out it would have required a significant rewrite and the test itself is not going to be worth it, so I cleaned up my changes and resorted to using the istanbul ignore.
      
      * Feature/459 expand all button facets (#467)
      
      * redirect test.
      
      * Change the order in the server location directive and update the entrypoint to use the new PREVIOUS_URL variable.
      
      * Added expand and collapse functionality to the facet forms. Opened the additional properties panel by default.
      
      * Updated tests for full coverage. Updated the joyride tour to include the new expand/collapse button functionality.
      
      Co-authored-by: default avatarSasha Ames <amysash2006@gmail.com>
      Co-authored-by: default avatarrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
      Co-authored-by: default avatarSasha Ames <sashakames@users.noreply.github.com>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      dd2f7c2c
  3. 18 Jul, 2022 1 commit
  4. 08 Jul, 2022 1 commit
    • Carlos Downie's avatar
      V1.0.6 (#440) · 9e29e7dc
      Carlos Downie authored
      
      
      * Updated version value.
      
      * Update dependency @types/jest to v28 (#431)
      
      * Update pytz from 2021.3 to 2022.1 (#422)
      
      Co-authored-by: default avatarpyup-bot <github-bot@pyup.io>
      
      * Update newrelic from 6.10.0.165 to 7.6.0.173 (#423)
      
      Co-authored-by: default avatarpyup-bot <github-bot@pyup.io>
      
      * Update dependency @types/jest to v27.5.1 (#424)
      
      Co-authored-by: default avatarRenovate Bot <bot@renovateapp.com>
      
      * Update typescript-eslint monorepo to v5.23.0 (#421)
      
      Co-authored-by: default avatarRenovate Bot <bot@renovateapp.com>
      
      * Updated version number to 1.0.4
      
      * Update typescript-eslint monorepo to v5.27.0 (#427)
      
      Co-authored-by: default avatarRenovate Bot <bot@renovateapp.com>
      Co-authored-by: default avatarCarlos Downie <42552189+downiec@users.noreply.github.com>
      
      * Update dependency react-router-dom to v5.3.3 (#428)
      
      Co-authored-by: default avatarRenovate Bot <bot@renovateapp.com>
      
      * Feature/324 new project support (#426)
      
      * Reverted react back to 17 to avoid issues with latest react version 18. Added a data migration file for project urls, so they are automatically included in the database. Updated django DEFAULT_AUTO_FIELD to fix issue from migration to django 3.2.
      
      * Performed a total refresh of the backend database migrations. Significantly simplified the migration files and ensured the models match the latest database schema. Created insert functions which will populate the database projects automatically using the data contained within the initial_data.py file. Adding/modifying project descriptions, links, facets, facet groups etc can now be done easily by modifying the initial_data.py file. Removed reduntant unneccessary migration files.
      
      * Minor comment in scripts
      
      * Updated import_functions code so that existing projects will be updated rather than attempting to create new ones over existing ones. Hopefully project updates would be more straight forward.
      
      * Relocated and renames inital_data.py to initial_projects_data.py located directly in backend/metagrid.
      
      * Fixed initial data artifact from testing.
      
      * Modified the migration script to update projects without conflicting on existing projects. Projects will be deleted if they are not listed in the initial_project_data file, to prevent empty projects from being created. Project names can now be modified without deleting the project however names must still remain unique. Also reduce the unique requirement for project_url and project_full_name to further reduce migration errors (although these constraints can be added back if we wish to be strict). Created an updateProjects script which greatly simplifies the upgrade process and handles the commands needed to get the migrations going.
      
      * Updated the projects script and simplified the cart migrations to try to fix the tests and improve the table functionality. Initial tests seems to work well so far.
      
      * Updated the import functions to use 'name' rather than 'id' and ran several updates to the script in order to remove errors. Further simplified the cart migrations file into a single file. Did some reformating of migrations files using Black.
      
      * Added new display_order field to the projects model. I noticed when projects are deleted and then readded with the script, their order was being changed to to the database changes. The change in order was then reflected in the front-end drop-down form. Adding a display order field makes it so that the order used in the initial_projects_data will then be reflected in the order that projects are sent through the project viewset and how they're reflected in the front-end.
      
      * Update dependency @types/jest to v28
      
      Co-authored-by: default avatarCarlos Downie <42552189+downiec@users.noreply.github.com>
      Co-authored-by: default avatarpyup-bot <github-bot@pyup.io>
      Co-authored-by: default avatarrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
      Co-authored-by: default avatarRenovate Bot <bot@renovateapp.com>
      
      * Update typescript-eslint monorepo to v5.29.0 (#432)
      
      Co-authored-by: default avatarrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
      
      * Update dependency eslint-plugin-react-hooks to v4.6.0 (#435)
      
      Co-authored-by: default avatarrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
      
      * Feature/341 combine online offline cart searches (#436)
      
      * Updated the app to make it so changes to the cart or searches will be updating the local storage and the database simultaneously to keep them in sync. When user is authenticated, the database entries are compared with local entries and merged while avoiding duplicates. Unit tests still need updating for improved coverage.
      
      * Added a function to test whether a search already is in the library and used that to prevent users from accidentally adding duplicate searches to their library. Created a hash function that removes the unique identifiers and user from a search so the duplicate comparison would work correctly, otherwise every search would have been considered unique despite having the exact same search parameters.
      
      * Added tests for full coverage, minor updates.
      
      * Updated version number.
      
      * Proxy api (#429)
      
      * initial start to integrated proxy capability to address CORS issues
      
      * typofix
      
      * switch search to integrated proxy
      
      * revamp for different request types
      
      * add more types
      
      * update to proxy of functionality
      
      * remove cors proxy
      
      * updates to remove cors-proxy
      
      * correct depends, add template
      
      * initial for proxy tests
      
      * code the test
      
      * update naming conv, fix typo
      
      * update tests to improve coverage
      
      * fix test add dataset id
      
      * change wget api url
      
      * initial start to integrated proxy capability to address CORS issues
      
      * typofix
      
      * switch search to integrated proxy
      
      * revamp for different request types
      
      * add more types
      
      * update to proxy of functionality
      
      * remove cors proxy
      
      * updates to remove cors-proxy
      
      * initial for proxy tests
      
      * code the test
      
      * update naming conv, fix typo
      
      * correct depends, add template
      
      * update tests to improve coverage
      
      * fix test add dataset id
      
      * change wget api url
      
      * update proxy views and tests
      
      * try to make cov happy
      
      * Fixed issue with cors-proxy requirement show in docker-compose. Removed unused imports to get rid of warnings.
      
      * remove headers/comtent from response, and citation works again
      
      * remove additonal response settings
      
      * revert wget API url
      
      * Fixing remaining front-end tests, minor updates to the server handler for specific tests.
      
      * Updated Django to 3.2.14.
      
      Co-authored-by: default avatarroot <root@esgf-dev1.llnl.gov>
      Co-authored-by: default avatarCarlos Downie <42552189+downiec@users.noreply.github.com>
      
      * Update typescript-eslint monorepo to v5.30.5 (#437)
      
      Co-authored-by: default avatarrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
      Co-authored-by: default avatarCarlos Downie <42552189+downiec@users.noreply.github.com>
      
      * Removing references to cors-proxy, files associated with cors-proxy and documentation mentioning the proxy.
      
      * Formatted views.py to see if pre-commit passes.
      
      * Formatted test_views.py and updated tests to see if pre-commit passes.
      
      * Performed isort on config/urls.py to see if pre-commit passes.
      
      Co-authored-by: default avatarrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
      Co-authored-by: default avatarpyup-bot <github-bot@pyup.io>
      Co-authored-by: default avatarRenovate Bot <bot@renovateapp.com>
      Co-authored-by: default avatarSasha Ames <sashakames@users.noreply.github.com>
      Co-authored-by: default avatarroot <root@esgf-dev1.llnl.gov>
      9e29e7dc
  5. 13 Jun, 2022 1 commit
    • Carlos Downie's avatar
      Fix Google Analytics (#433) · a1c1845f
      Carlos Downie authored
      * Updated version value.
      
      * Removed outdated react-ga dependency and its references. Inserted the google analytics code into the html header as specified by google. Will probably need to refine and add custom events code later.
      a1c1845f
  6. 07 Jun, 2022 1 commit
    • Carlos Downie's avatar
      V1.0.4 beta (#425) · a38f3f78
      Carlos Downie authored
      
      
      * Update pytz from 2021.3 to 2022.1 (#422)
      
      Co-authored-by: default avatarpyup-bot <github-bot@pyup.io>
      
      * Update newrelic from 6.10.0.165 to 7.6.0.173 (#423)
      
      Co-authored-by: default avatarpyup-bot <github-bot@pyup.io>
      
      * Update dependency @types/jest to v27.5.1 (#424)
      
      Co-authored-by: default avatarRenovate Bot <bot@renovateapp.com>
      
      * Update typescript-eslint monorepo to v5.23.0 (#421)
      
      Co-authored-by: default avatarRenovate Bot <bot@renovateapp.com>
      
      * Updated version number to 1.0.4
      
      * Update typescript-eslint monorepo to v5.27.0 (#427)
      
      Co-authored-by: default avatarRenovate Bot <bot@renovateapp.com>
      Co-authored-by: default avatarCarlos Downie <42552189+downiec@users.noreply.github.com>
      
      * Update dependency react-router-dom to v5.3.3 (#428)
      
      Co-authored-by: default avatarRenovate Bot <bot@renovateapp.com>
      
      * Feature/324 new project support (#426)
      
      * Reverted react back to 17 to avoid issues with latest react version 18. Added a data migration file for project urls, so they are automatically included in the database. Updated django DEFAULT_AUTO_FIELD to fix issue from migration to django 3.2.
      
      * Performed a total refresh of the backend database migrations. Significantly simplified the migration files and ensured the models match the latest database schema. Created insert functions which will populate the database projects automatically using the data contained within the initial_data.py file. Adding/modifying project descriptions, links, facets, facet groups etc can now be done easily by modifying the initial_data.py file. Removed reduntant unneccessary migration files.
      
      * Minor comment in scripts
      
      * Updated import_functions code so that existing projects will be updated rather than attempting to create new ones over existing ones. Hopefully project updates would be more straight forward.
      
      * Relocated and renames inital_data.py to initial_projects_data.py located directly in backend/metagrid.
      
      * Fixed initial data artifact from testing.
      
      * Modified the migration script to update projects without conflicting on existing projects. Projects will be deleted if they are not listed in the initial_project_data file, to prevent empty projects from being created. Project names can now be modified without deleting the project however names must still remain unique. Also reduce the unique requirement for project_url and project_full_name to further reduce migration errors (although these constraints can be added back if we wish to be strict). Created an updateProjects script which greatly simplifies the upgrade process and handles the commands needed to get the migrations going.
      
      * Updated the projects script and simplified the cart migrations to try to fix the tests and improve the table functionality. Initial tests seems to work well so far.
      
      * Updated the import functions to use 'name' rather than 'id' and ran several updates to the script in order to remove errors. Further simplified the cart migrations file into a single file. Did some reformating of migrations files using Black.
      
      * Added new display_order field to the projects model. I noticed when projects are deleted and then readded with the script, their order was being changed to to the database changes. The change in order was then reflected in the front-end drop-down form. Adding a display order field makes it so that the order used in the initial_projects_data will then be reflected in the order that projects are sent through the project viewset and how they're reflected in the front-end.
      
      Co-authored-by: default avatarpyup-bot <github-bot@pyup.io>
      Co-authored-by: default avatarrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
      Co-authored-by: default avatarRenovate Bot <bot@renovateapp.com>
      a38f3f78
  7. 29 Apr, 2022 14 commits
  8. 24 Mar, 2022 1 commit
    • Carlos Downie's avatar
      V1.0.2 beta (#392) · 8f19a8df
      Carlos Downie authored
      * Updated the facets form (#390)
      
      * Updated the facets form to remove the accordian behavior so that the fields don't collapse automatically when selecting a different field. Updated the facet selector items to reduce the text length and add a tooltip if the item is too long for the form.
      
      * Added a long facet to test the long facet names case.
      
      * Feature/383 opendap url extension correction (#391)
      
      * Added regex statement to replace openDap urls containing .dods, .dods.nc, .nc.dods, .dods.html, and .dods with .nc extension. Updated tests to include the new url conversions.
      
      * Attempting to resolve test issue. Tests pass locally but failed in github workflow.
      
      * Attempting to resolve test issue. Tests pass locally but failed in github workflow.
      
      * Attempting to update github workflow to perform tests after each commit to a pull request.
      
      * Adding backend tests as well.
      
      * Feature/383 opendap url extension correction (#393)
      
      * Attempting to resolve test issue. Tests pass locally but failed in github workflow.
      
      * Attempting to resolve test issue. Tests pass locally but failed in github workflow.
      
      * Added the .nc.html extension
      8f19a8df
  9. 22 Mar, 2022 1 commit
  10. 16 Mar, 2022 1 commit
  11. 23 Feb, 2022 1 commit
  12. 22 Feb, 2022 2 commits
  13. 18 Feb, 2022 1 commit
  14. 04 Feb, 2022 1 commit
  15. 01 Feb, 2022 4 commits
  16. 28 Jan, 2022 1 commit
  17. 27 Jan, 2022 5 commits
  18. 26 Jan, 2022 2 commits