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

Remove bucket limit broadcast message #1414

Merged
merged 1 commit into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion controlpanel/oidc.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ class OIDCLoginRequiredMixin(LoginRequiredMixin):

def get_context_data(self, *args, **kwargs):
context = super().get_context_data(*args, **kwargs)
context["broadcast_messages"] = settings.BROADCAST_MESSAGE.split("|")
context["broadcast_messages"] = (
settings.BROADCAST_MESSAGE.split("|") if settings.BROADCAST_MESSAGE else []
)
context["settings"] = settings
return context

Expand Down
3 changes: 1 addition & 2 deletions settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ CUSTOM_AUTH_CONNECTIONS: "auth0_nomis"
AUTH0_NOMIS_GATEWAY_URL: "https://testing.com"


BROADCAST_MESSAGE: >
AWS have increased the S3 bucket limit from one thousand to one million. | While this means that the restriction on creating new buckets has been lifted, we still recommend that you use buckets efficiently.
BROADCAST_MESSAGE:

GITHUB_VERSION: "2022-11-28"

Expand Down
Loading