Skip to content

Commit

Permalink
Update dependencies, refspam, copyright message, and fix some minor l…
Browse files Browse the repository at this point in the history
…int issues
  • Loading branch information
arp242 committed Mar 5, 2022
1 parent a2bf498 commit 7b42aa9
Show file tree
Hide file tree
Showing 137 changed files with 469 additions and 418 deletions.
6 changes: 3 additions & 3 deletions acme/acme.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package acme

Expand Down
6 changes: 3 additions & 3 deletions acme/acme_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package acme_test

Expand Down
6 changes: 3 additions & 3 deletions api_token.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package goatcounter

Expand Down
6 changes: 3 additions & 3 deletions bgrun/bgrun.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

// Package bgrun runs jobs in the background.
//
Expand Down
6 changes: 3 additions & 3 deletions bgrun/bgrun_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package bgrun

Expand Down
6 changes: 3 additions & 3 deletions bosmang.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package goatcounter

Expand Down
6 changes: 3 additions & 3 deletions cmd/check/copyright.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package main

Expand Down
6 changes: 3 additions & 3 deletions cmd/check/defer.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package main

Expand Down
6 changes: 3 additions & 3 deletions cmd/check/defer_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package main

Expand Down
6 changes: 3 additions & 3 deletions cmd/check/main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package main

Expand Down
4 changes: 4 additions & 0 deletions cmd/check/testdata/src/deferr/deferr.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package deferr

import "fmt"
Expand Down
6 changes: 3 additions & 3 deletions cmd/gcbench/data.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package main

Expand Down
6 changes: 3 additions & 3 deletions cmd/gcbench/gcbench.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

// Commands gcbench inserts random data in a GoatCounter installation for
// performance testing purposes.
Expand Down
6 changes: 3 additions & 3 deletions cmd/goatcounter/buffer.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij <[email protected]>
// This file is part of GoatCounter and published under the terms of the EUPL
// v1.2, which can be found in the LICENSE file or at http://eupl12.zgo.at
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package main

Expand Down
8 changes: 4 additions & 4 deletions cmd/goatcounter/buffer_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij <[email protected]>
// This file is part of GoatCounter and published under the terms of the EUPL
// v1.2, which can be found in the LICENSE file or at http://eupl12.zgo.at
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package main

Expand Down Expand Up @@ -52,7 +52,7 @@ func TestBuffer(t *testing.T) {
var backend string
{
i := zsync.NewAtomicInt(0)
handle := handlers.NewBackend(zdb.MustGetDB(ctx), nil, false, false, "", 15)
handle := handlers.NewBackend(zdb.MustGetDB(ctx), nil, false, false, false, "", 15)
goatcounter.Memstore.TestInit(zdb.MustGetDB(ctx))

s := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
Expand Down
6 changes: 3 additions & 3 deletions cmd/goatcounter/db.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package main

Expand Down
6 changes: 3 additions & 3 deletions cmd/goatcounter/db_migrate.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package main

Expand Down
6 changes: 3 additions & 3 deletions cmd/goatcounter/db_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package main

Expand Down
6 changes: 3 additions & 3 deletions cmd/goatcounter/help.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package main

Expand Down
6 changes: 3 additions & 3 deletions cmd/goatcounter/help_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package main

Expand Down
6 changes: 3 additions & 3 deletions cmd/goatcounter/import.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij <[email protected]>
// This file is part of GoatCounter and published under the terms of the EUPL
// v1.2, which can be found in the LICENSE file or at http://eupl12.zgo.at
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package main

Expand Down
6 changes: 3 additions & 3 deletions cmd/goatcounter/import_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package main

Expand Down
6 changes: 3 additions & 3 deletions cmd/goatcounter/main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package main

Expand Down
6 changes: 3 additions & 3 deletions cmd/goatcounter/main_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package main

Expand Down
6 changes: 3 additions & 3 deletions cmd/goatcounter/monitor.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package main

Expand Down
6 changes: 3 additions & 3 deletions cmd/goatcounter/monitor_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package main

Expand Down
4 changes: 4 additions & 0 deletions cmd/goatcounter/old.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

//go:build !go1.17
// +build !go1.17

Expand Down
6 changes: 3 additions & 3 deletions cmd/goatcounter/pg_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

//go:build testpg
// +build testpg
Expand Down
6 changes: 3 additions & 3 deletions cmd/goatcounter/reindex.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package main

Expand Down
6 changes: 3 additions & 3 deletions cmd/goatcounter/reindex_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package main

Expand Down
6 changes: 3 additions & 3 deletions cmd/goatcounter/saas.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package main

Expand Down
6 changes: 3 additions & 3 deletions cmd/goatcounter/saas_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package main

Expand Down
6 changes: 3 additions & 3 deletions cmd/goatcounter/serve.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package main

Expand Down
6 changes: 3 additions & 3 deletions cmd/goatcounter/serve_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package main

Expand Down
6 changes: 3 additions & 3 deletions context.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package goatcounter

Expand Down
6 changes: 3 additions & 3 deletions context_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package goatcounter

Expand Down
6 changes: 3 additions & 3 deletions cron/browser_stat.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package cron

Expand Down
6 changes: 3 additions & 3 deletions cron/browser_stat_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

package cron_test

Expand Down
6 changes: 3 additions & 3 deletions cron/cron.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright © 2019 Martin Tournoij – This file is part of GoatCounter and
// published under the terms of a slightly modified EUPL v1.2 license, which can
// be found in the LICENSE file or at https://license.goatcounter.com
// Copyright © Martin Tournoij – This file is part of GoatCounter and published
// under the terms of a slightly modified EUPL v1.2 license, which can be found
// in the LICENSE file or at https://license.goatcounter.com

// Package cron schedules jobs.
package cron
Expand Down
Loading

0 comments on commit 7b42aa9

Please sign in to comment.