Skip to content

Commit

Permalink
Merge pull request #314 from fasrc/development
Browse files Browse the repository at this point in the history
Fix ifx plugin INSTALLED_APPS modification
  • Loading branch information
claire-peters authored Aug 7, 2024
2 parents 4eeb8de + 4276505 commit 9880f41
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions coldfront/config/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
# 'ifxuser',
# 'author',
# 'ifxbilling',
# 'ifxreport',
]

# ColdFront Apps
Expand Down
5 changes: 3 additions & 2 deletions coldfront/config/plugins/ifx.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
'''
import os
from decimal import Decimal
from coldfront.config.base import INSTALLED_APPS, MIDDLEWARE
from coldfront.config.base import MIDDLEWARE, INSTALLED_APPS

INSTALLED_APPS = ['ifxuser'] + INSTALLED_APPS + ['author', 'ifxbilling', 'rest_framework.authtoken', 'ifxreport', 'django_extensions']
INSTALLED_APPS.insert(0, 'ifxuser')
INSTALLED_APPS += ['author', 'ifxbilling', 'rest_framework.authtoken', 'ifxreport', 'django_extensions']

MIDDLEWARE += [
'author.middlewares.AuthorDefaultBackendMiddleware',
Expand Down
5 changes: 2 additions & 3 deletions coldfront/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from split_settings.tools import optional, include
from coldfront.config.env import ENV, PROJECT_ROOT


# enable correct url to be displayed in e.g. email correspondence
USE_X_FORWARDED_HOST = True

Expand All @@ -18,10 +17,11 @@

# ColdFront plugin settings
plugin_configs = {
'PLUGIN_IFX': 'plugins/ifx.py',
'PLUGIN_SLURM': 'plugins/slurm.py',
'PLUGIN_IQUOTA': 'plugins/iquota.py',
'PLUGIN_FREEIPA': 'plugins/freeipa.py',
'PLUGIN_SYSMON': 'plugins/system_montior.py',
'PLUGIN_SYSMON': 'plugins/system_monitor.py',
'PLUGIN_XDMOD': 'plugins/xdmod.py',
'PLUGIN_AUTH_OIDC': 'plugins/openid.py',
'PLUGIN_AUTH_LDAP': 'plugins/ldap.py',
Expand All @@ -30,7 +30,6 @@
'PLUGIN_LDAP': 'plugins/ldap_fasrc.py',
'PLUGIN_SFTOCF': 'plugins/sftocf.py',
'PLUGIN_FASRC': 'plugins/fasrc.py',
'PLUGIN_IFX': 'plugins/ifx.py',
'PLUGIN_FASRC_MONITORING': 'plugins/fasrc_monitoring.py',
'PLUGIN_ISILON': 'plugins/isilon.py',
}
Expand Down

0 comments on commit 9880f41

Please sign in to comment.