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

Update license year (#3183) #3184

Merged
merged 2 commits into from
Jan 3, 2025
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
2 changes: 1 addition & 1 deletion docker/settings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

from .base_settings import *
Expand Down
2 changes: 1 addition & 1 deletion docker/urls.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

from .base_urls import *
Expand Down
2 changes: 1 addition & 1 deletion myuw/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

default_app_config = 'myuw.apps.MyUWConfig'
2 changes: 1 addition & 1 deletion myuw/apps.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

from __future__ import unicode_literals
Expand Down
2 changes: 1 addition & 1 deletion myuw/authorization.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

import re
Expand Down
2 changes: 1 addition & 1 deletion myuw/context_processors.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

# Determins if the requesting device is a native hybrid app (android/ios)
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

import logging
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/admin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

import logging
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/adviser.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/affiliation.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/affiliation_data.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

import os
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/applications.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

import logging
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/calendar.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

import re
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/calendar_mapping.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

import csv
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/campus_building.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

import logging
Expand Down
11 changes: 7 additions & 4 deletions myuw/dao/canvas.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

import logging
Expand Down Expand Up @@ -50,19 +50,22 @@ def set_section_canvas_course_urls(canvas_active_enrollments, schedule,
cid = section.canvas_course_sis_id()
if cid not in canvas_sis_ids:
canvas_sis_ids[cid] = section.primary_section_label()
except InvalidCanvasIndependentStudyCourse as ex:
except InvalidCanvasIndependentStudyCourse:
# REQ3132940 known SWS issue:
# prior quarter's registration data has
# no independent study instructor.
# If independent_study_instructor being None occurs
# in current or future quarter, likely is a data error.
logger.warning(f"canvas_course_sis_id of {section_label} {ex}")
continue
try:
cid = section.canvas_section_sis_id()
canvas_sis_ids[cid] = section.primary_section_label()
except InvalidCanvasSection:
continue
except Exception as ex:
logger.warning(f"canvas_section_sis_id of {section_label} {ex}")
log_err(
logger, f"Get canvas_section_sis_id({section_label}) {ex}",
traceback, request)
logger.debug({'canvas_sis_ids': canvas_sis_ids})

canvas_links = {} # primary_section_label: canvas course_url
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/card_display_dates.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/category_links.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

import csv
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/category_notice.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/coda.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

import logging
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/degree.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/emaillink.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/enrollment.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/finance.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/grad.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/gws.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/hfs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/hx_toolkit_dao.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

import math
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/iasystem.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/instructor.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

import logging
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/instructor_mini_course_card.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

from myuw.models import UserCourseDisplay
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/instructor_schedule.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/library.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/mailman.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/myplan.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

import logging
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/myuw_notice.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

import logging
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/notice.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/notice_categorization.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

NOTICE_CATEGORIES = {
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/notice_mapping.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/password.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/persistent_messages.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

import logging
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/pws.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/quicklinks.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

import csv
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/registration.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/stud_future_terms.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/student_profile.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/term.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/textbook.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/thrive.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

import csv
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/upass.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/user.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

import logging
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/user_course_display.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/user_pref.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

import logging
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/uwnetid.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/dao/visual_schedule.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

import logging
Expand Down
2 changes: 1 addition & 1 deletion myuw/event/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

from myuw.util.cache import MyUWMemcachedCache
Expand Down
2 changes: 1 addition & 1 deletion myuw/event/section_status.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
2 changes: 1 addition & 1 deletion myuw/logger/logresp.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

import logging
Expand Down
2 changes: 1 addition & 1 deletion myuw/logger/session_log.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

import hashlib
Expand Down
2 changes: 1 addition & 1 deletion myuw/logger/timer.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

import time
Expand Down
2 changes: 1 addition & 1 deletion myuw/management/commands/check_reslinks.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 UW-IT, University of Washington
# Copyright 2025 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down
Loading