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

Refactor ColdFront settings #264

Merged
merged 37 commits into from
Mar 2, 2021
Merged

Refactor ColdFront settings #264

merged 37 commits into from
Mar 2, 2021

Commits on Feb 27, 2021

  1. Refactor ColdFront settings.

    This commit attempts to better organize ColdFront settings and
    configuration. As the number of plugins grows having a well defined way
    to configure the ColdFront application will be imperative. The main
    goals are:
    
    1. Split the config/settings across multiple files for better
    organization.
    
    2. Allow configuring ColdFront from environment variables or a env file
    
    3. Enable easy way to set custom config values system wide for
    production installs as well as dev/staging environments
    
    In this commit we use django-environ to fetch config settings from the
    environment. We also use django-split-settings which provides a way to
    split up django settings across multiple files.
    
    The organization is as follows:
    
    - coldfront/config/base.py = Base Django config settings
    - coldfront/config/auth.py = Authenication backends
    - coldfront/config/database.py = Database backends
    - coldfront/config/email.py = Email settings
    - coldfront/config/logging.py = Logging settings
    - coldfront/config/core.py = Core ColdFront settings
    - coldfront/config/plugins/* = ColdFront Plugins
    
    Sites can override any config settings by creating a local_settings.py
    file in coldfront/config, or /etc/coldfront/local_settings.py.
    Additionally, they can override settings using environment variables, or
    an environment file. ColdFront will search for environment files in this
    order: .env (in current working directory) or
    /etc/coldfront/coldfront.env. You can also specify the path to the
    environment file using COLDFRONT_ENV.
    aebruno committed Feb 27, 2021
    Configuration menu
    Copy the full SHA
    7048714 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2021

  1. Configuration menu
    Copy the full SHA
    93d9449 View commit details
    Browse the repository at this point in the history
  2. Rename environment variables

    aebruno committed Feb 28, 2021
    Configuration menu
    Copy the full SHA
    9fe6f53 View commit details
    Browse the repository at this point in the history
  3. Remove not used

    aebruno committed Feb 28, 2021
    Configuration menu
    Copy the full SHA
    057bfef View commit details
    Browse the repository at this point in the history
  4. Remove not used

    aebruno committed Feb 28, 2021
    Configuration menu
    Copy the full SHA
    8849d80 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6944ee0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8c92a16 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    60cef81 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1280319 View commit details
    Browse the repository at this point in the history
  9. Fix circular import

    aebruno committed Feb 28, 2021
    Configuration menu
    Copy the full SHA
    6818cab View commit details
    Browse the repository at this point in the history
  10. Remove unused configs

    aebruno committed Feb 28, 2021
    Configuration menu
    Copy the full SHA
    48f766d View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2021

  1. Configuration menu
    Copy the full SHA
    44156ae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    266a351 View commit details
    Browse the repository at this point in the history
  3. Add BASE_DIR

    aebruno committed Mar 1, 2021
    Configuration menu
    Copy the full SHA
    ce58ed8 View commit details
    Browse the repository at this point in the history
  4. Fix timezone warning

    aebruno committed Mar 1, 2021
    Configuration menu
    Copy the full SHA
    561510a View commit details
    Browse the repository at this point in the history
  5. Fix docs

    aebruno committed Mar 1, 2021
    Configuration menu
    Copy the full SHA
    f61b993 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ff0bb95 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f93488c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5e9d971 View commit details
    Browse the repository at this point in the history
  9. Add upgrading docs

    aebruno committed Mar 1, 2021
    Configuration menu
    Copy the full SHA
    d1b4060 View commit details
    Browse the repository at this point in the history
  10. Minor doc updates

    aebruno committed Mar 1, 2021
    Configuration menu
    Copy the full SHA
    444e304 View commit details
    Browse the repository at this point in the history
  11. Fix plugin readmes

    aebruno committed Mar 1, 2021
    Configuration menu
    Copy the full SHA
    4a55373 View commit details
    Browse the repository at this point in the history
  12. Clean up readme

    aebruno committed Mar 1, 2021
    Configuration menu
    Copy the full SHA
    08fade0 View commit details
    Browse the repository at this point in the history
  13. Add link to upgrading

    aebruno committed Mar 1, 2021
    Configuration menu
    Copy the full SHA
    388affb View commit details
    Browse the repository at this point in the history
  14. Remove redundant verbiage

    aebruno committed Mar 1, 2021
    Configuration menu
    Copy the full SHA
    3213f08 View commit details
    Browse the repository at this point in the history
  15. Fix default value

    aebruno committed Mar 1, 2021
    Configuration menu
    Copy the full SHA
    98dd76a View commit details
    Browse the repository at this point in the history
  16. Fix typos

    aebruno committed Mar 1, 2021
    Configuration menu
    Copy the full SHA
    4542cab View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    1228f61 View commit details
    Browse the repository at this point in the history
  18. Update changelog

    aebruno committed Mar 1, 2021
    Configuration menu
    Copy the full SHA
    f425a3b View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2021

  1. Configuration menu
    Copy the full SHA
    91758ac View commit details
    Browse the repository at this point in the history
  2. Remove install demo

    aebruno committed Mar 2, 2021
    Configuration menu
    Copy the full SHA
    b3f0381 View commit details
    Browse the repository at this point in the history
  3. Merge intro into index

    aebruno committed Mar 2, 2021
    Configuration menu
    Copy the full SHA
    eb6bfa7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    41cc86d View commit details
    Browse the repository at this point in the history
  5. Change name

    aebruno committed Mar 2, 2021
    Configuration menu
    Copy the full SHA
    b841b03 View commit details
    Browse the repository at this point in the history
  6. Add docs on custom branding

    aebruno committed Mar 2, 2021
    Configuration menu
    Copy the full SHA
    3f56356 View commit details
    Browse the repository at this point in the history
  7. Add start to deployment docs

    aebruno committed Mar 2, 2021
    Configuration menu
    Copy the full SHA
    4883533 View commit details
    Browse the repository at this point in the history
  8. Minor tweaks

    aebruno committed Mar 2, 2021
    Configuration menu
    Copy the full SHA
    71723ae View commit details
    Browse the repository at this point in the history