Bug fixes
- Fix warning icon size/position
Bug fixes
- Revert bad fix orthophoto url for 3d
Bug fixes
- Allow access to filtered results from any page
- Fix main content height on IOS
Enhancements
- Sequential loading for markers pois and services types icons
Enhancements
- Use
ORTHOPHOTO_TILELAYERS
as layer for rando-3d
Bug fixes
- Fix test dataset (add limits to profile.json)
- Avoid crash when no services.geojson
- Avoid crash when dataset do not fills requirements
- Fix detail aside items opacity
- Fix custom path in documentation
- Fix rando3d image path
- Bundle template for rando-3d
Major change
- Create an empty
custom/
directory if none - Only ignore
/dist/
(from root) - No need to ignore anything from
src/
anymore - Add
public/
directory level for dist & customs - Add a symlink in webroot to public files from
custom/
directory - Adjust http paths for custom templates
- Replace
*-custom.po
files by acustom-po
symlink to/custom/po
- Custom
.po
files should not includecustom
in there filename anymore.
- Custom
- Adjust
.gitignore
, all bundles are created intodist/
- Put
.gitignore
rule about!.gitkeep
at the end of file - Renames SCSS files
_config-custom
&_config-default
to_configuration
&_configuration.default
- Bundle home default template at build time
- Bundle footer default template at build time
- Bundle header default template at build time
- Rename
build.js
gulp task tojs-bundle.js
- Use
public
as webroot directory instead ofsrc
- Move
tests
directory one level up - Create
public
directory and put static files in it - Change target dir for bundles (scripts, styles, translations)
- Init
dist
directory - Delete now useless
config.js
- Don't concat scss files before compiling
- Merge
settings.custom
&settings.default
at runtime
Enhancements
- Update image path from docs
- Adapt
README.md
to forward user to new doc about settings - Adjust documentation to match new directories structure
- Allow to use a symlink as custom files directory
- Change default path for custom images
- Remove unused
vendors
task - Shrink gulp translate task
- Unfactorize config for tests task
- Unfactorize config for rando3D.js task
- Unfactorize config for sass task
- Remove unused gulp task & npm dependencies
- Remove useless code blocks & unused vars
- Simplify required conf files creation
Bug fixes
- Fix
stylesConfigService
condition for trek color path - Fix loading of
rando-3D.js
in HTML5 mode - Fix
isConfigAvailable
condition
New features
- Generate custom colors CSS in js to allow customisation with Geotrek Admin
- Add
tinycolor
to customise color render in js - Add categories colors and primary color classes in templates for new styles
- Set a condition for all css style with
$category
and$primary-color
: only if$json-custom-style
is true - Set
isConfigAvailable
to false to disable style generation (for retrocompatibility)
Bug fixes
- Fix home filtering
- Set favorite category icons width and height to 100%
New features
- Close global filters aside on click outside
Enhancements
- Refactor isOnMap service
Bug fixes
- Fix filter by map button
- Avoid filter by map when button is checked
- Fix header mobile menu on ios
Bug fixes
- Fix loader on flat pages
Bug fixes
- Fix collapser counters ie10
- Fix steps markers centering ie10
- Fix category icon size on detail page
- Fix search icon color on mobile
- Fix search icon on mobile
- Change loader style and show it when update filters
- Fix tooltip bug wih category icon in results
- Fix nginx config example in README
- Fix node version in README
- Change fullscreen size to avoid map on detail pane background. Remove useless css
Enhancements
- JS for 3D in a separate script
- Optimize header dropdowns height
- Add tooltips on categories and themes solo icons
- Force size of pictograms and remove useless styles and some ng-include svg
- Put email field in contact card
- Remove the pin for POI types in default customization file. Set a default icon size of 32x32 pixels.
- Changed mobile header switch icon
Major change
- Update rando3D library, add gulp task for external script rando-3D
New features
- Add previous and next steps buttons on detail page
- Order steps by number
- Contextualise parent for detail view
- Add condition in steps controller for tests
- Replace category/use picto with step number for list element if children
- Set step number in controller instead of map service
- Add number in steps markers on detail map
- Add a directive to close menu on click everywhere except on the menu
Enhancements
- Use sass var for font family
- Remove useless style
- Remove blue border and white background from services icon
- Add a paragraph in doc to redirect urls from v1
Bug fixes
- Fix pois english translation
- Allow cluster on detail page
- Fix ref points style
- Fix close menu button position
New features
- Doc: Init the
contribute.md
page
Enhancements
- Remove outline on rzslider focus
- Upgrade angular-slider with last upstream version
- New module for loader
- Show toggle all categories checkbox by default
- Replace "Commune de départ" by "Commune"
Bug fixes
- Change loader style
- Fix results list loading
Enhancements
- Replace facebook share link by sdk
- Remove useless comment
- Add english translation for DATE_FILTER
Bug fixes
- Replace leaflet.fullscreen by leaflet-fullscreen
- Add external links in flat pages menu
- Change z-index to 2147483647 (max z-index number)
Bug fixes
- Fix
_.uniq
to_.uniqBy
upgrade
Enhancements
- Update a bunch of npm dependencies
- Remove dependency to
lodash.assign
usinglodash/assign
instead - Upgrade
lodash
dependency to 4.3.0 - Upgrade
karma-phantomjs-launcher
dependency to 1.0.0
Enhancements
- Update
package.json
dependencies versions (no changes in shrinkwrap) - Merge dependencies & devDependencies from package.json
- Remove dependency to
browser-sync
- Replace deprecated
gulp-karma
bykarma
- Remove useless dependency
- Lint
package.json
file - Update npm-shrinkwrap
Bug fixes
- Adjust icons url from relative to absolute
Enhancements
- Better management of pictures height in result list
Bug fixes
- Switching language now close categories menu
- Use a local version of jQuery.scrollTo to avoid loading dependency
- Convert
data-src
tosrc
when opening popups
Bug fixes
- Fix content listing from detail page
- Add
lazy-check
for aside contents
Enhancements
- Create npm-shrinkwrap to lock packages versions
- Fix npm dependencies coming from git with commit hash
Bug fixes
- Change modules order to avoid overriding L
Bug fixes
- Do not disable transitions globally
- Fix structures filter
Bug fixes
- Init
self._trekList
as Objet instead of Array - Replace irregular whitespaces
- Use a previously declared
lang
var
Enhancements
- Add eslintrc rule to avoid warning on console.log
- Allow early return if any required filter returns false
- Remove redundant var init
- Use
$q.when
instead of creating a Defer object for returning it immediately - Use $http service instead of $resource for fetching Treks/Contents/Events
- Do not delay resetting promise cache
- Add a comments
- Use private (instead of public) var for storing getSVGIcon promises
- Better use of
lang
var for storing contents - Add initialization for
_categoriesList
- Add argument for filtering specific language contents
- Rename method to avoid confusion with
filtersService
- Add condition to
simpleEach
to avoid exceptions - ESLint correction pass
Performance enhancements
-
Use service var instead of argument for preprocessing Treks/Contents/Events
-
Refactor
getCategoriesIcons
method -
Debounce
getCategoryIcon
getter calls -
Debounce
getCategories
getter calls -
Debounce
getFilteredResults
getter calls -
Use $http service instead of $resource for fetching Treks/Contents/Events/Cat icons
-
Use independent storage for each language for categories
-
Use current language for storing promises of
getCategories
-
Add comments and move IDs setup to top in
refactorTrek
-
Use a categories preprocess instead of one more promise chaining
-
Use a storage in
$rootScope
for each language inresultsService
-
Use
$rootScope
variable for displaying results -
Adapt
mapServices
to$rootScope
results storage -
Store counts of results & display it
-
Now caching inside each content the filtering result
-
Adjust e2e tests
-
Add default placeholder to results
-
Use lazy loading for results themes icon
-
Avoid injecting non-used service
-
Remove style attribute for placeholder picture
-
Create a directive for lazy loading pictures with data-src
-
Disable CSS transitions when there are more than 100 contents
-
Add argument for getting specific language contents
-
Add an angular service for cleaning filters object from empty values
-
Maintain a strict ordering for
activeFilters
, allowing pseudo-footprint
Enhancements
- Debounce contents getter calls && use a storage for each language
- Avoid a useless object merge
- Add marker layers only once to clustering layers
- Add
ngNonBindable
for #map - Use bind-once for result items cards fields
- Use $http service instead of $resource for fetching SVG
- Debounce getSVGIcon calls
- Debounce getCategoriesIcons calls
- Debounce displayResults calls
- Use onetime binding for results list items translations
- Remove useless listener on nearMarkers
- Avoid multiple event bind for resultsVisibility
Bug fixes
- Quick fix: avoid
undefined
value for forceRefresh arg
New features
- Init a new browsable documentation
- Add a PNG version of main logo
Bug fixes
- force warning panel to close on route change
Enhancements
- Move marker created from optional geoJSON layers to back
- Add a simple npm command to checkout origin/latest
- Update package.json version number to match current release tag
Bug fixes
- Move map controls in fullscreen only accordingly to current map state
Enhancements
- Use L.icon config for geoJSON layer custom icon
- Remove useless dependency to gulp-streamify
- Remove useless function
Bug fixes
- Don't pollute rootScope with local scope vars
- Cleanup rootScope event when destroying warning controller
- Remove useless console.log
- Fixed collapser in asides
New features
- Manage popup for geoJson layer with associate properties
Bug fixes
- Fixed warning marker icon position
Enhancements
- Add default leaflet config in map service
Bug fixes
- fix ie map controllers position
- Change $state.go to $state.transitionTo to prevent controller reload on switch lang
- Force angular digest after setting rootscope var
- Add specific ie rule for map right controllers position in fullscreen
Enhancements
- Change translation for date filter title
- Add tests for map detail page
- Adapt CHANGES.md style to
hub changelog
style
New features
- Add a way to manage a "always active" layer
Bug fixes
- Fixed categories menu scroll system
Enhancements
- Replaced datepicker clear button with a cross inside the input
Bug fixes
- Create elevation profile only for treks
- Force services to use cache
- Always cache requests in pois service
- Do not force refresh of pois icons on each call
Enhancements
- Remove useless argument from function call
- Remove useless dependencies
- Use 'update' instead of 'install' with npm
- Add TravisCI specific dependencies to use Node >4
- Use .nvmrc node version for TravisCI
Bug fixes
- Fix style aside pane on safari and firefox
- Fix translation typo
- Add page url on twitter share link
- Fix style aside content for ipad
Enhancements
- Adjust tests to match new categories menu markup
- Better way to hide sidebar of categories list
- Add a 'CSS browser selector' like library to add conditional classes to
<html>
tag
Bug fixes
- Map controls style on fullscreen and fold-aside
- Fullscreen style (change selector to apply only on aside)
- Load initFilters() call in rootScopeEvents to prevent filters disappearing
- Add 'close' translation
- Disable center on detail page - need to improve centerService
- Redirect to home if content not available in selected language
- Fix poi svg error on switch language
- add option to state.go to avoid reload page
- Add forceRefresh and fix map controller
Enhancements
- Enable scrolling categories icon whith small viewport height
- Change function order to avoid lint errors
- Change forceRefresh option on some controllers
- set forceRefresh option and remove useless elements
Hot fixes
- Hot fix to avoid map crash when switching language
Bug fixes
- Adjust favicon path for detail page
New Features
- Add rootScope.lang in html tag
New Features
- New datepicker
- Adapt text and translations for single datepicker
- Change datepicker directive by daterangepicker
Bug fixes
- Debug miniMap zoom limits overriding main map zoom limits
- Remove dependency to tag to allow xlink:href of SVG when using html5mode
- Fix lint errors
New Features
- Adjust .gitignore so we do not create useless empty dir
- Add .nvmrc file to have a reference to the most preferable version of Node
- Command 'npm run export' now resolve symlinks
Bug fixes
- Add test to check if language in local storage is not a json
Redesign
- Complete rebuild of UI look & feel
Bug fixes
- A lot of things
Bug fixes
- fixed results list item responsive
- better responsive for themes filters
- update parents display and options for new API
Breaking changes
SHOW_HOME
is now totrue
by default in order to test home page. You need to set it to false if you didn't have a home page
New Features
- Add random content widget and method
- Add random contents widgets on default home page
- Remove system dependency to gulp by using npm scripts (npm run)
- Add a gulp task helping extraction of customization files
- Add select filters auto-closing option
Bug fixes
- Type 1 and 2 categories filters should always be last on the list
- Remove useless spaces in categories filters template
- Fixed results ordering
New Features
- Changed configuration method allowing to override only what is needed and offerring easier customisation and maintainability.
- New warning module allowing users to send a message to Geotrek Admin.
- Show services (trek info) on map
- Add a setting to check "Filter with map" by default
- Add function to get random element from a category
- Events are displayed after other elements on lists
- Add picto to bookmarks elements (fixes #342)
- Sort bookmarks by name (fixes #343)
- Enable map constraints to defined bounds (fixes #8770)
- Add date filters for touristic events
- Add optional tiles layers support
- Flatten altimetric profile
- Various other improvements…
Bug fixes
- Fix path of png pictograms for type1/type2
- Prevent horizontal scroll bar to show on favorite dropdown
- Fixed issue with lang if no favoriteLang
- Fixed services map control images path
- Fixed satellite view with tileLayers
- Various other fixes…
How to update
Because of the new configuration system, few files had their contents and names changed. You will need to:
- Backup your old configs and custom files
- Update your repository (either using git or downloading an archive)
- Update your config
- go to
src/app/config
folder - duplicate the
settings.default.json
file and rename itsettings.custom.json
- in this file
settings.custom.json
you need to change variables according to your old fileconfig.js
- remove all the variables that are not different from the default file you've copied
- remove your old
configs.js
file
- go to
- Update your style config
- go to
src/app/config/styles
folder - rename your
_config.scss
to_config-custom.scss
- go to
- Update your style override
- go to
src/app/custom/styles
- remove
_custom.scss
file if it exists
- go to
- Update your languages customisation
- go to
src/app/translation/po
- you should see folders for each lang and your old
lang-custom.po
files - put your old
lang-custom.po
files in respective folder (ex:fr-custom.po
goes into thefr
folder)
- go to
Initial release of v2
Geotrek-rando V2 has been totally redesigned from scratch with AngularJS, to be full JS. This allows to host it on a shared hosting or a CDN.
It requires Geotrek-admin version 2.X and can't be synchronised with Geotrek-admin v0.X and v1.X.
Geotrek-rando v1 is available at https://github.com/makinacorpus/Geotrek-rando/tree/v1.X