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

Upgrade to Django 4.2, add actions, integrate tycho and cleanup. #350

Merged
merged 26 commits into from
May 20, 2024

Conversation

hina-shah
Copy link
Contributor

No description provided.

joshua-seals and others added 26 commits January 30, 2024 10:42
Eduhelx-data715 settings changes.
fix: Re-add install clause of Makefile.
Update django 4.2.
This merge is accompanied with appstore-chart PR: helxplatform/appstore-chart#107
feat: Adding whitelisting via usernames (onyens for UNC SAML)
@joshua-seals joshua-seals changed the title Upgrade to Django 4.2, add actions, and cleanup. Upgrade to Django 4.2, add actions, integrate tycho and cleanup. May 20, 2024
@joshua-seals joshua-seals self-requested a review May 20, 2024 19:27
@joshua-seals joshua-seals requested a review from Hoid May 20, 2024 19:34
Comment on lines +244 to +245
# UNC Relay: relay.unc.edu:25
# Renci Relay: relay.renci.org
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would just remove these kinds of things if we don't need them anymore. If we need to go back and find them later, that's what version control is for

@@ -18,9 +18,16 @@


class AllowWhiteListedUserOnly(MiddlewareMixin):
def __init__(self, get_response=None):
if get_response is not None:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be rewritten as

self.get_response = get_response ? get_response : self._get_response

if you care about that kind of thing. No big deal though.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is Ternary too clever?

@hina-shah hina-shah merged commit 3390da2 into master May 20, 2024
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants