Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
owlester12 committed Sep 27, 2024
2 parents 39f74f8 + fbedec8 commit ab07513
Show file tree
Hide file tree
Showing 6 changed files with 138 additions and 51 deletions.
4 changes: 2 additions & 2 deletions backend/clubs/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ def send_question_mail(self, request=None):

owner_emails = list(
self.club.membership_set.filter(
role__lte=Membership.ROLE_OFFICER
role__lte=Membership.ROLE_OFFICER, active=True
).values_list("person__email", flat=True)
)

Expand Down Expand Up @@ -1116,7 +1116,7 @@ def send_request(self, request=None):

owner_emails = list(
self.club.membership_set.filter(
role__lte=Membership.ROLE_OFFICER
role__lte=Membership.ROLE_OFFICER, active=True
).values_list("person__email", flat=True)
)

Expand Down
2 changes: 1 addition & 1 deletion backend/pennclubs/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
# Controls whether existing clubs can submit for reapproval
REAPPROVAL_QUEUE_OPEN = True
# Controls whether new clubs can submit for initial approval
NEW_APPROVAL_QUEUE_OPEN = False
NEW_APPROVAL_QUEUE_OPEN = True

# File upload settings

Expand Down
2 changes: 1 addition & 1 deletion backend/pennclubs/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
integrations=[DjangoIntegration(cache_spans=True)],
send_default_pii=False,
enable_tracing=True,
traces_sample_rate=0.05,
traces_sample_rate=0.01,
profiles_sample_rate=1.0,
)

Expand Down
6 changes: 3 additions & 3 deletions frontend/components/ClubEditPage/ApplicationsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,8 @@ export default function ApplicationsPage({
if (applications.length !== 0) {
setApplications(applications)
setCurrentApplication({
...applications[0],
name: format_app_name(applications[0]),
...applications[applications.length - 1],
name: format_app_name(applications[applications.length - 1]),
})
}
})
Expand Down Expand Up @@ -532,7 +532,7 @@ export default function ApplicationsPage({
CSV.
</Text>
<Select
options={applications.map((application) => {
options={applications.toReversed().map((application) => {
return {
...application,
value: application.id,
Expand Down
173 changes: 130 additions & 43 deletions frontend/pages/club/[club]/renew.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,40 +98,54 @@ const PolicyBox = ({ onChecked = () => undefined }: Props): ReactElement => {

const policies = [
{
name: 'Campus Membership',
name: 'Nondiscrimination',
content: (
<div>
Membership in registered campus organizations must be open to all
persons without regard to race, color, sex, sexual or affectional
orientation, religion, national or ethnic origin, handicap, or
disability. Under Title IX of the U.S. Education Act Amendment of
1972, certain exemptions may be granted for intercollegiate and
intramural athletics, fraternities and sororities, and musical groups
based on vocal range. Members of all campus organizations must conduct
themselves at all times in a mature and responsible manner.
In alignment with the University of Pennsylvania’s Nondiscrimination
Statement, student-run organizations are expected to uphold a
commitment to non-discrimination. This means that these organizations
will not engage in discriminatory practices based on factors such as
race, color, sex, sexual orientation, gender identity, religion,
creed, national or ethnic origin, citizenship status, age, disability,
veteran status, or any other legally protected class status. It is
essential for student organizations to recognize the University’s
dedication to providing academic, social, and recreational programs
and services that are equally accessible to all, and as such, all
student-run organizations are required to conduct themselves and their
activities in accordance with this commitment.
</div>
),
},
{
name: 'Legal Regulations',
name: 'Antihazing',
content: (
<div>
The rights and property of all persons are to be respected regardless
of time or place. Failure to comply with University, City, State, or
Federal laws and regulations can result in appropriate disciplinary
action. Members of campus organizations are expected to adhere to
standards of conduct established by Divisions and Departments of the
University.
Student organizations must fully comply with the University of
Pennsylvania’s Antihazing Regulations, as outlined in the{' '}
<a href="https://catalog.upenn.edu/pennbook/">Pennbook</a>. To ensure
compliance, students are encouraged to thoroughly review the
definition of hazing and the illustrative examples provided within the
the Antihazing Regulations. Additionally, it is vital for students to
understand the potential consequences of violating these regulations,
which may encompass University sanctions affecting both individuals
and organizations, as well as potential legal ramifications under
state law.
</div>
),
},
{
name: 'Hazing',
name: 'Compliance',
content: (
<div>
The University is an association of equals who, in working together,
comprise a scholarly community. Hazing is inconsistent with the goals
and purpose of the University and is explicitly forbidden.
Student organizations are obligated to adhere to all policies and
procedures established by the University of Pennsylvania. This
includes, but is not limited to, the policies outlined in the{' '}
<a href="https://catalog.upenn.edu/pennbook/">Pennbook</a> and the{' '}
<a href="https://catalog.upenn.edu/pennbook/code-of-student-conduct/">
Code of Student Conduct
</a>
. Furthermore, student organizations are expected to operate in
compliance with all relevant local, state, and federal laws.
</div>
),
},
Expand Down Expand Up @@ -226,6 +240,77 @@ const RenewPage = (props: RenewPageProps): ReactElement => {

const year = getCurrentSchoolYear()

const prerequisites = [
{
name: 'Membership Requirements',
content: (
<div style={{ display: 'inline-block' }}>
Each club must have at least eight active members, with a minimum of
three members designated as officers.
</div>
),
},
{
name: 'Group Contacts',
content: (
<div>
Listed group contacts are members of the organization who have
significant understanding of, and influence on, group operations.
</div>
),
},
{
name: 'Club Operations',
content: (
<div>
Student organizations are to be initiated by, organized, primarily
comprised of and solely led by undergraduate or graduate students.
</div>
),
},
{
name: 'Training and Workshops',
content: (
<div>
Organizations must complete any required student organization
trainings or workshops, such as the Student Organization Summit.
</div>
),
},
{
name: 'Branding Compliance',
content: (
<div>
Clubs must have logos that adhere to university branding standards and
ensure consistent use across all platforms, including social media and
websites. Refer to the{' '}
<a href="https://universitylife.upenn.edu/student-brand-guidelines/">
Student Branding Guidelines
</a>{' '}
for more information.
</div>
),
},
{
name: 'University Affiliation',
content: (
<div>
The club description must clearly state that the group is a student
organization at the University.
</div>
),
},
{
name: 'Policy Adherence',
content: (
<div>
All groups must comply with the relevant policies and guidelines for
student organizations.
</div>
),
},
]

const steps = [
{
name: 'Introduction',
Expand Down Expand Up @@ -254,39 +339,41 @@ const RenewPage = (props: RenewPageProps): ReactElement => {
)}
<TextInfoBox>
<p>
The annual club registration process is a procedure conducted by
the{' '}
The annual club registration process, conducted by the{' '}
<a target="_blank" href={APPROVAL_AUTHORITY_URL}>
{APPROVAL_AUTHORITY}
</a>{' '}
to ensure that student-run clubs are officially registered and
</a>
, ensures that student-run clubs are officially registered and
permitted to operate on campus for the upcoming academic year.
During this process, clubs are required to submit update their
club officers and membership roster information; if applicable,
update primary contact information fulfill any other requirements
set by the University.
During this process, clubs are required to submit updated officer
and membership roster information and, if applicable, update their
primary contact details.
</p>
<p>
The purpose of the annual club registration process is to maintain
a well-organized and vibrant campus community, allowing students
to explore various interests and engage in extracurricular
activities. By registering each year, clubs reaffirm their
commitment to following school policies, uphold their mission, and
demonstrate their ongoing relevance to the student body.
The purpose of this process is to maintain a well-organized and
vibrant campus community, enabling students to explore various
interests and engage in extracurricular activities. By registering
each year, clubs reaffirm their commitment to following university
policies, uphold their mission, and demonstrate their ongoing
relevance to the student body.
</p>
<p>
Benefits of club registration include access to funding
opportunities, the ability to reserve campus facilities for
events, eligibility to participate in campus-wide events like the
annual activities’ fairs, and access to resources and support from
the student affairs office or other university departments.
Registration identifies the organization as active and grants
access to essential university resources, such as reserving space,
accessing electronic resources, appropriate use of the Penn name,
potential funding opportunities, participation in activities
fairs, and the ability to advertise as a student-run organization
at the University of Pennsylvania.
</p>
<p>
Overall, the annual club registration process plays a crucial role
in fostering a diverse and active campus life, enriching the
educational experience of students, and promoting a sense of
community and belonging.
To successfully register or re-register your organization, the
following prerequisites must be met:
</p>
{prerequisites.map(({ name, content }) => (
<p>
<b>{name}</b>: {content}
</p>
))}
<p>
If you have any questions about the club registration process,
please contact the Office of Student Affairs at
Expand Down
2 changes: 1 addition & 1 deletion frontend/utils/branding.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ const sites = {

export const TICKETING_PAYMENT_ENABLED = false
export const REAPPROVAL_QUEUE_ENABLED = true
export const NEW_APPROVAL_QUEUE_ENABLED = false
export const NEW_APPROVAL_QUEUE_ENABLED = true
export const SITE_ID = site
export const SITE_NAME = sites[site].SITE_NAME
export const SITE_SUBTITLE = sites[site].SITE_SUBTITLE
Expand Down

0 comments on commit ab07513

Please sign in to comment.