Releases: ecoulthard/summitsearch
First Official Release
This is the first official release on github. There have been a number of previous major releases but these were done before the project became open source.
Features in this release
-
Completed the biggest refactor of the code to date. The Places model replaces the Feature and Area models. Features were objects on the map that were represented by a single coordinate. Areas were objects on the map that had a boundary. An area could contain many features in it's boundary. This was problematic as most mountains were stored as features but some need to be areas to represent the fact that they had many named peaks. To get both kinds of mountains to display in the mountains index page required an ugly hack. Promoting a mountain from a feature to an area required killing the feature and creating an area in the rails console. There was also a lot of duplicate code between the models. Addresses to the old objects redirect to the new objects.
-
Typing summitsearch.org/place-name will either open the page for the place with the slug "place-name" if it exists or it will open the page for the first search result of "place name". This allows people to skip the home page to get to the mountain page they are looking for in a lot of cases.
-
Prepared project for github.
-
Prior to the first commit I removed all keys, passwords and other sensitive strings. I moved a number of these strings into environment variables and deleted the other ones that were not needed. I also did a nuke of the previous repository to remove any history containing sensitive strings. I kept a copy of the old closed source repository in case it is needed to resolve bugs.
-
Added markdown files.
-