- Update the statistics download folder for Dec 2024.
- Update global and country habitat stats for 2024-12 period.
- Update the statitics download folder for Nov 2024.
- Update global and country habitat stats for 2024-11 period.
- Update "eez_map_datasets_serializer.rb" to fix the WMS 'seagrasses' (plural) => 'Seagrasses_Projection' rather than 'seagrass' (singular)
- Update the statitics download folder for Nov 2023.
- update Readme for updating the global_statistics file.
- Update global and country habitat stats for 2023-11 period.
- Update global and country habitat stats for 2023-07 period.
- Update global and country habitat stats for 2023-02 period.
- Update global and country habitat stats for 2022-08 period.
- Update stats for IUCN Red List for 2022/06.
- Update global and country habitat stats for 2022-05 period.
- Update docs to correct path to country habitat stats (again).
- Update global and country habitat stats for 2022-04 period.
- Update docs to correct path to country habitat stats.
- Update global and country habitat stats for 2022-01 period.
- Do not automatically update the Redlist species timestamp.
- Add docs in readme on how to trigger a timestamp update.
- Automate update of Redlist Species last updated timestamp by using a dotfile
stored in the
tmp
directory. Defaults to the last known manual update Oct 2021 if not present.
The file is touched with RedlistSpeciesLastUpdated.touch!
after the
import_new_redlist_data
Rake task is completed.
If a deployment fails, there is a chance that this might be touched prematurely. There is currently no way to automatically revert this if such an event occurs. But we think it's negligible.
- Rename the variable used for the last updated formatted date.
- Update the docs for the statistics instructions to convey that the country statistics CSVs' filename should be checked against the specified format.
- Adjust value of Dial total_value so that it does not show zero for a value that is less than 0.1
- Correct filenames for the habitat country CSVs - must be plural.
- Update documentation to specify plural in CSV more clearly.
- Update the documentation to detail how to do a statistics update.
- chore: update statistics for December 2021
- chore: update statistics for October 2021
- Update the URLs and names of the data sources for the WDPA and WD-0ECM layers that are being pulled from ArcGis. Bug of them not displaying is now fixed.
- correctly merge develop into release and re-release
- chore: add
/TAGS
to .gitignore - chore: upgrade puma from 3.7 ~> 4.3
- fix: add missing "
WHERE geo_entities.iso3 IS NOT NULL
" to countries scope ingeo_entity.rb
and "WHERE geo_entities.iso3 <> 'GBL'
" to country_stats scope ingeo_entity_stat.rb
- fix: change global protection stats to be static within habitats table, as there was a problem with the automatic generation of global stats not including non-member state data yet.
- refactor: partially automate country last-updated by using the geo_entity's
updated_at
property - refactor: set Red List last updated date (
@red_list_last_updated
) in site & countries controller - feat: add rake invoke task to deploy.rb so that you can run any specified rake task before the deploy is published e.g.
bundle exec cap staging deploy TASK=import:refresh
- feat: add
BRANCH=
optioncap staging deploy
so you can specify the branch to deploy to staging (default to develop) - refactor: raise more informative exception in Esri class if the response is not what was expected
- feat: add utilities/files.rb with
latest_file_by_glob
method to help select the latest filename-timestamped CSV that is used in the habitat coverage protection imports - refactor: add more informative error when a CSV is missing an expected header
- fix: wrap import:refresh within a DB transaction so that it doesn't commit anything on failure
- RSpec + Capybara test suite created, with unit tests for statistics, request specs and system specs. Also included is a FactoryBot linter for linting factories. A couple of redundant methods have also been removed from the models.
- Merged in a number of PRs fixing vulnerabilities on the frontend and backend that were opened by Dependabot.
- Revamp importers to delete and recreate Habitat instances, as well as during seeds to avoid duplication of Habitats
- Use correct name for global_statistics zip on the homepage for purposes of GA tracking
- Revert emergency hotfixes
Ocean+ Habitats refresh
- Site refresh including underlying data and frontend
- Features individual country pages as well as global overview
Ocean+ Habitats first release
- Full user journey implementation
- Dyanimic charts
- Mapbox map with WDPA Carto layer and ArcGIS habitats layers
- Import static stats from file