Skip to content

Commit

Permalink
Update copyright blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
questionlp committed Jan 8, 2023
1 parent 453862c commit 51e6dab
Show file tree
Hide file tree
Showing 31 changed files with 55 additions and 33 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changes

## 5.2.0

### Component Changes

- Upgrade Materialize from 1.1.0 to 1.2.1

### Other Changes

- Updating copyright year for all code files and add copyright block to `static/css/style.css` and `static/js/init.js`

## 5.1.5

### Application Changes
Expand Down
2 changes: 1 addition & 1 deletion app/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Core Application for Wait Wait Stats Page"""
from flask import Flask
Expand Down
2 changes: 1 addition & 1 deletion app/config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Configuration Loading and Parsing for Wait Wait Stats Page"""
import json
Expand Down
2 changes: 1 addition & 1 deletion app/dicts.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Dictionary objects used by the Wait Wait Stats Page"""

Expand Down
2 changes: 1 addition & 1 deletion app/errors/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Errors module for Wait Wait Stats Page"""
2 changes: 1 addition & 1 deletion app/errors/handlers.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Error Handlers Module for Wait Wait Stats Page"""
from flask import render_template
Expand Down
2 changes: 1 addition & 1 deletion app/guests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Guests Module for Wait Wait Stats Page"""
2 changes: 1 addition & 1 deletion app/guests/routes.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Guests Routes for Wait Wait Stats Page"""
from flask import Blueprint, current_app, redirect, render_template, url_for
Expand Down
2 changes: 1 addition & 1 deletion app/hosts/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Hosts Module for Wait Wait Stats Page"""
2 changes: 1 addition & 1 deletion app/hosts/routes.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Hosts Routes for Wait Wait Stats Page"""
from flask import Blueprint, current_app, redirect, render_template, url_for
Expand Down
2 changes: 1 addition & 1 deletion app/locations/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Locations Module for Wait Wait Stats Page"""
2 changes: 1 addition & 1 deletion app/locations/routes.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Locations Routes for Wait Wait Stats Page"""
from flask import Blueprint, current_app, render_template, url_for
Expand Down
2 changes: 1 addition & 1 deletion app/locations/utility.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Location name formatting functions used by the Stats Page"""

Expand Down
2 changes: 1 addition & 1 deletion app/main/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Main Modules for Wait Wait Stats Page"""
2 changes: 1 addition & 1 deletion app/main/redirects.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Main Redirect Routes for Wait Wait Stats Page"""
from datetime import datetime
Expand Down
2 changes: 1 addition & 1 deletion app/main/routes.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Main Routes for Wait Wait Stats Page"""
from os.path import exists, join
Expand Down
2 changes: 1 addition & 1 deletion app/panelists/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Panelists Module for Wait Wait Stats Page"""
2 changes: 1 addition & 1 deletion app/panelists/routes.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Panelists Routes for Wait Wait Stats Page"""
from flask import Blueprint, current_app, redirect, render_template, url_for
Expand Down
2 changes: 1 addition & 1 deletion app/scorekeepers/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Scorekeepers Module for Wait Wait Stats Page"""
2 changes: 1 addition & 1 deletion app/scorekeepers/routes.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Scorekeepers Routes for Wait Wait Stats Page"""
from flask import Blueprint, current_app, redirect, render_template, url_for
Expand Down
2 changes: 1 addition & 1 deletion app/shows/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Shows Module for Wait Wait Stats Page"""
2 changes: 1 addition & 1 deletion app/shows/routes.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Shows Routes for Wait Wait Stats Page"""
from datetime import date
Expand Down
2 changes: 1 addition & 1 deletion app/sitemaps/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Sitemap Modules for Wait Wait Stats Page"""
2 changes: 1 addition & 1 deletion app/sitemaps/routes.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Sitemap Routes for Wait Wait Stats Page"""
from flask import Blueprint, Response, current_app, render_template
Expand Down
6 changes: 6 additions & 0 deletions app/static/css/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*!
* stats.wwdt.me (https://github.com/questionlp/stats.wwdt.me_v5)
* Copyright 2018-2023 Linh Pham
* Apache License 2.0 (https://github.com/questionlp/stats.wwdt.me_v5/blob/main/LICENSE)
*/

@media all {
/* Comment out following two lines to disable sticky footer */
body { display: flex; min-height: 100vh; flex-direction: column; }
Expand Down
10 changes: 8 additions & 2 deletions app/static/js/init.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
document.addEventListener('DOMContentLoaded', function() {
/*!
* stats.wwdt.me (https://github.com/questionlp/stats.wwdt.me_v5)
* Copyright 2018-2023 Linh Pham
* Apache License 2.0 (https://github.com/questionlp/stats.wwdt.me_v5/blob/main/LICENSE)
*/

document.addEventListener('DOMContentLoaded', function () {
var sidenav_elems = document.querySelectorAll(".sidenav");
var dropdown_elems = document.querySelectorAll(".dropdown-trigger");
var collapsible_elems = document.querySelectorAll(".collapsible");
Expand All @@ -18,4 +24,4 @@ document.addEventListener('DOMContentLoaded', function() {
var dropdown_instances = M.Dropdown.init(dropdown_elems, dropdown_options);
var collapsible_instances = M.Collapsible.init(collapsible_elems);
var materialboxed_instances = M.Materialbox.init(materialboxed_elems);
});
});
2 changes: 1 addition & 1 deletion app/utility.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Utility functions used by the Wait Wait Stats Page"""
import json
Expand Down
4 changes: 2 additions & 2 deletions app/version.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Application Version for Wait Wait Stats Page"""
APP_VERSION = "5.1.5"
APP_VERSION = "5.2.0"
4 changes: 2 additions & 2 deletions conftest.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# stats.wwdt.me is relased under the terms of the Apache License 2.0
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""pytest conftest.py File"""

import pytest
Expand Down
4 changes: 2 additions & 2 deletions gunicorn.conf.py.dist
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# stats.wwdt.me is relased under the terms of the Apache License 2.0
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Gunicorn Configuration File"""

# Make a copy of this file and name it `gunicorn.conf.py` in order
Expand Down
2 changes: 1 addition & 1 deletion stats.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2022 Linh Pham
# Copyright (c) 2018-2023 Linh Pham
# stats.wwdt.me is released under the terms of the Apache License 2.0
"""Application Bootstrap Script for Wait Wait Stats Page"""
from app import create_app
Expand Down

0 comments on commit 51e6dab

Please sign in to comment.