Skip to content

Commit

Permalink
Copyright year.
Browse files Browse the repository at this point in the history
  • Loading branch information
kohler committed Feb 24, 2021
1 parent afecaef commit d73b4fc
Show file tree
Hide file tree
Showing 183 changed files with 194 additions and 179 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2006-2020 Eddie Kohler
Copyright (c) 2006-2021 Eddie Kohler
Copyright (c) 2006-2008 Regents of the University of California

Permission is hereby granted, free of charge, to any person obtaining a
Expand Down
2 changes: 1 addition & 1 deletion assign.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// assign.php -- HotCRP per-paper assignment/conflict management page
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

require_once("src/initweb.php");
require_once("src/papertable.php");
Expand Down
2 changes: 1 addition & 1 deletion autoassign.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// autoassign.php -- HotCRP automatic paper assignment page
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

require_once("src/initweb.php");
if (!$Me->is_manager()) {
Expand Down
2 changes: 1 addition & 1 deletion batch/cleandocstore.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// cleandocstore.php -- HotCRP maintenance script
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

require_once(preg_replace('/\/batch\/[^\/]+/', '/src/siteloader.php', __FILE__));

Expand Down
3 changes: 3 additions & 0 deletions batch/paperjson.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?php
// paperjson.php -- HotCRP paper export script
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

require_once(preg_replace('/\/batch\/[^\/]+/', '/src/siteloader.php', __FILE__));

$arg = Getopt::rest($argv, "hn:t:N1", ["help", "name:", "type:", "sitename", "single"]);
Expand Down
3 changes: 3 additions & 0 deletions batch/reviewcsv.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?php
// reviewcsv.php -- HotCRP review export script
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

require_once(preg_replace('/\/batch\/[^\/]+/', '/src/siteloader.php', __FILE__));

$arg = Getopt::rest($argv, "hn:t:xwacN", ["help", "name:", "type:", "narrow", "wide", "all", "no-header", "comments", "sitename"]);
Expand Down
3 changes: 3 additions & 0 deletions batch/saveusers.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?php
// saveusers.php -- HotCRP maintenance script
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

require_once(preg_replace('/\/batch\/[^\/]+/', '/src/siteloader.php', __FILE__));

$arg = Getopt::rest($argv, "hn:e:u:r:", ["help", "name:", "no-email", "no-notify", "notify", "modify-only", "create-only", "no-modify", "no-create", "expression:", "expr:", "user:", "roles:", "uname:"]);
Expand Down
3 changes: 3 additions & 0 deletions batch/search.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?php
// search.php -- HotCRP batch search script
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

require_once(preg_replace('/\/batch\/[^\/]+/', '/src/siteloader.php', __FILE__));

$arg = Getopt::rest($argv, "hn:t:f:N", ["help", "name:", "type:", "field:", "show:", "header", "no-header", "sitename"]);
Expand Down
3 changes: 3 additions & 0 deletions batch/updatecontactdb.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?php
// updatecontactdb.php -- HotCRP maintenance script
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

require_once(preg_replace('/\/batch\/[^\/]+/', '/src/siteloader.php', __FILE__));

$arg = Getopt::rest($argv, "hn:pu", ["help", "name:", "papers", "users", "collaborators"]);
Expand Down
2 changes: 1 addition & 1 deletion bulkassign.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// bulkassign.php -- HotCRP bulk paper assignment page
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

require_once("src/initweb.php");
if (!$Me->is_manager()) {
Expand Down
2 changes: 1 addition & 1 deletion deadlines.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// deadlines.php -- HotCRP deadline reporting page
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

require_once("src/initweb.php");

Expand Down
2 changes: 1 addition & 1 deletion lib/base.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// base.php -- HotCRP base helper functions
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.
/** @phan-file-suppress PhanRedefineFunction */

// type helpers
Expand Down
2 changes: 1 addition & 1 deletion lib/csv.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// csv.php -- HotCRP CSV parsing functions
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

if (!function_exists("gmp_init")) {
require_once(SiteLoader::find("lib/polyfills.php"));
Expand Down
2 changes: 1 addition & 1 deletion lib/dbl.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// dbl.php -- database interface layer
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

class Dbl_Result {
/** @var int */
Expand Down
2 changes: 1 addition & 1 deletion lib/ht.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// ht.php -- HotCRP HTML helper functions
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

class Ht {
public static $img_base = "";
Expand Down
2 changes: 1 addition & 1 deletion lib/login.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// login.php -- HotCRP login helpers
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

class LoginHelper {
/** @var bool */
Expand Down
2 changes: 1 addition & 1 deletion lib/mailer.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// mailer.php -- HotCRP mail template manager
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

class MailPreparation {
/** @var Conf */
Expand Down
2 changes: 1 addition & 1 deletion lib/mincostmaxflow.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// mincostmaxflow.php -- HotCRP min-cost max-flow
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

class MinCostMaxFlow_Node {
/** @var string */
Expand Down
2 changes: 1 addition & 1 deletion lib/s3client.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// s3client.php -- helper class for S3 access papers
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

class S3Client {
const EMPTY_SHA256 = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";
Expand Down
2 changes: 1 addition & 1 deletion lib/tagger.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// tagger.php -- HotCRP helper class for dealing with tags
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

// Note that tags MUST NOT contain HTML or URL special characters:
// no "'&<>. If you add PHP-protected characters, such as $, make sure you
Expand Down
2 changes: 1 addition & 1 deletion lib/text.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// text.php -- HotCRP text helper functions
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

class TextPregexes {
/** @var ?string */
Expand Down
2 changes: 1 addition & 1 deletion log.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// log.php -- HotCRP action log
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

require_once("src/initweb.php");
if (!$Me->is_manager()) {
Expand Down
2 changes: 1 addition & 1 deletion mail.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// mail.php -- HotCRP mail tool
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

require_once("src/initweb.php");
require_once("src/papersearch.php");
Expand Down
2 changes: 1 addition & 1 deletion manualassign.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// manualassign.php -- HotCRP chair's paper assignment page
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

require_once("src/initweb.php");
require_once("src/papersearch.php");
Expand Down
2 changes: 1 addition & 1 deletion mergeaccounts.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// mergeaccounts.php -- HotCRP account merging page
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

require_once("src/initweb.php");
if (!$Me->email) {
Expand Down
2 changes: 1 addition & 1 deletion offline.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// offline.php -- HotCRP offline review management page
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

require_once("src/initweb.php");
if (!$Me->email) {
Expand Down
2 changes: 1 addition & 1 deletion paper.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// paper.php -- HotCRP paper view and edit page
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

require_once("src/initweb.php");
require_once("src/papertable.php");
Expand Down
2 changes: 1 addition & 1 deletion profile.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// profile.php -- HotCRP profile management page
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

require_once("src/initweb.php");

Expand Down
2 changes: 1 addition & 1 deletion review.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// review.php -- HotCRP paper review display/edit page
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

require_once("src/initweb.php");
require_once("src/papertable.php");
Expand Down
2 changes: 1 addition & 1 deletion reviewprefs.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// reviewprefs.php -- HotCRP review preference global settings page
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

require_once("src/initweb.php");
require_once("src/papersearch.php");
Expand Down
2 changes: 1 addition & 1 deletion scripts/script.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// script.js -- HotCRP JavaScript library
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

var siteinfo, hotcrp, hotcrp_status;

Expand Down
2 changes: 1 addition & 1 deletion search.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// search.php -- HotCRP paper search page
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

require_once("src/initweb.php");
require_once("src/papersearch.php");
Expand Down
2 changes: 1 addition & 1 deletion settings.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// settings.php -- HotCRP chair-only conference settings management page
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

require_once("src/initweb.php");
if (isset($Qreq->cancel)) {
Expand Down
2 changes: 1 addition & 1 deletion src/api/api_alltags.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// api_alltags.php -- HotCRP tag completion API call
// Copyright (c) 2008-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2008-2021 Eddie Kohler; see LICENSE.

class AllTags_API {
static function run(Contact $user) {
Expand Down
2 changes: 1 addition & 1 deletion src/api/api_requestreview.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// api_requestreview.php -- HotCRP review-request API calls
// Copyright (c) 2008-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2008-2021 Eddie Kohler; see LICENSE.

class RequestReview_API {
/** @param Contact $user
Expand Down
2 changes: 1 addition & 1 deletion src/api/api_search.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// api_search.php -- HotCRP search-related API calls
// Copyright (c) 2008-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2008-2021 Eddie Kohler; see LICENSE.

class Search_API {
static function search(Contact $user, Qrequest $qreq) {
Expand Down
2 changes: 1 addition & 1 deletion src/api/api_searchconfig.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// api_searchconfig.php -- HotCRP search configuration API calls
// Copyright (c) 2008-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2008-2021 Eddie Kohler; see LICENSE.

class SearchConfig_API {
static function viewoptions(Contact $user, Qrequest $qreq) {
Expand Down
2 changes: 1 addition & 1 deletion src/api/api_tags.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// api/api_tags.php -- HotCRP tags API call
// Copyright (c) 2008-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2008-2021 Eddie Kohler; see LICENSE.

class Tags_API {
/** @param ?PaperInfo $prow */
Expand Down
2 changes: 1 addition & 1 deletion src/assigners/a_conflict.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// a_conflict.php -- HotCRP assignment helper classes
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

class Conflict_Assignable extends Assignable {
/** @var int */
Expand Down
2 changes: 1 addition & 1 deletion src/assigners/a_decision.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// a_decision.php -- HotCRP assignment helper classes
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

class Decision_Assignable extends Assignable {
/** @var ?int */
Expand Down
2 changes: 1 addition & 1 deletion src/assigners/a_error.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// a_error.php -- HotCRP assignment helper classes
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

class Error_AssignmentParser extends UserlessAssignmentParser {
private $iswarning;
Expand Down
2 changes: 1 addition & 1 deletion src/assigners/a_lead.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// a_lead.php -- HotCRP assignment helper classes
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

class Lead_Assignable extends Assignable {
/** @var ?int */
Expand Down
2 changes: 1 addition & 1 deletion src/assigners/a_review.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// a_review.php -- HotCRP assignment helper classes
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

class Review_Assignable extends Assignable {
/** @var ?int */
Expand Down
2 changes: 1 addition & 1 deletion src/assigners/a_status.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// a_status.php -- HotCRP assignment helper classes
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

class Status_Assignable extends Assignable {
/** @var ?int */
Expand Down
2 changes: 1 addition & 1 deletion src/assigners/a_tag.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// a_tag.php -- HotCRP assignment helper classes
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

class Tag_Assignable extends Assignable {
/** @var string */
Expand Down
2 changes: 1 addition & 1 deletion src/assigners/a_unsubmitreview.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// a_unsubmitreview.php -- HotCRP assignment helper classes
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

class UnsubmitReview_AssignmentParser extends AssignmentParser {
function __construct() {
Expand Down
2 changes: 1 addition & 1 deletion src/assignmentset.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// assignmentset.php -- HotCRP helper classes for assignments
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

class Assignable {
/** @var string */
Expand Down
2 changes: 1 addition & 1 deletion src/author.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// author.php -- HotCRP author objects
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

class Author {
/** @var string */
Expand Down
2 changes: 1 addition & 1 deletion src/authormatcher.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// authormatcher.php -- HotCRP author matchers
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

class AuthorMatcher extends Author {
/** @var ?TextPregexes */
Expand Down
2 changes: 1 addition & 1 deletion src/autoassigner.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// autoassigner.php -- HotCRP helper classes for autoassignment
// Copyright (c) 2006-2020 Eddie Kohler; see LICENSE.
// Copyright (c) 2006-2021 Eddie Kohler; see LICENSE.

class AutoassignerCosts implements JsonSerializable {
public $assignment = 100;
Expand Down
Loading

0 comments on commit d73b4fc

Please sign in to comment.