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

Update Map configuration section #38

Closed
wants to merge 16 commits into from
Closed

Conversation

taitus
Copy link
Member

@taitus taitus commented Jul 29, 2019

References

Related Issues: #18 #19 #20

Objectives

  • Move secrets related with 'Map' to Configuration Map section:
    • Rails.application.secrets.map_tiles_provider
    • Rails.application.secrets.map_tiles_provider_attribution
  • Backwards compatibility

Visual Changes

Captura de pantalla 2019-07-29 a las 12 17 43

Notes

The backward compatibility consists of trying to recover always the value of Settings, but in case it is empty we try to recover the value of the Secrets.
This PR starts #37

taitus added 15 commits July 10, 2019 15:41
- Remove old tabs structure on settings#index
- Add new partial '_settings_sections_list' to render all sections
- Add locales for each section (:title and :description)
Every section will be rendered thought action settings#show.
- Add routes
- Add action :show
- Fix feature settings specs .
- Add new feature settings specs for new show action.
Rename Keys:
 - 'feature.facebook_login' to 'social.facebook.login'
 - 'feature.twitter_login' to 'social.twitter.login'
 - 'feature.google_login' to to 'social.google.login'
…ings

Update devise.rb initializer to load keys and secrets from Settings always if it's
posible.
- Create settings related with secrets.
- Add related locales titles and descriptions.
Use Retrocompatibility lib to load values from Settings always if it's
posible.
When Settings are blank, application will continue to use Secrets.
When update map values force redirect to same page, so as not to lose
the page we are updating.
@taitus
Copy link
Member Author

taitus commented Sep 9, 2019

Close via: #45

@taitus taitus closed this Sep 9, 2019
taitus pushed a commit that referenced this pull request Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant