Skip to content

Commit

Permalink
Bump copyright date to 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
NI committed Mar 2, 2021
1 parent 28922ca commit 5434ab0
Show file tree
Hide file tree
Showing 130 changed files with 254 additions and 215 deletions.
2 changes: 1 addition & 1 deletion application/application.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/command/commander.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/command/commands.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/command/fsm.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/command/handler.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/command/handler_echo_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/command/handler_stream_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/command/handler_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/command/header.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/command/streams.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/command/streams_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/commands/address.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/commands/address_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/commands/commands.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/commands/integer.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/commands/integer_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/commands/ssh.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/commands/string.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/commands/string_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/commands/telnet.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
17 changes: 17 additions & 0 deletions application/configuration/common.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

package configuration

func durationAtLeast(current, min int) int {
Expand Down
2 changes: 1 addition & 1 deletion application/configuration/config.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/configuration/loader.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/configuration/loader_direct.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/configuration/loader_enviro.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/configuration/loader_file.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/configuration/loader_redundant.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
17 changes: 17 additions & 0 deletions application/configuration/string.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

package configuration

import (
Expand Down
17 changes: 17 additions & 0 deletions application/configuration/string_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

package configuration

import (
Expand Down
2 changes: 1 addition & 1 deletion application/controller/base.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/controller/common.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/controller/common_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/controller/controller.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/controller/error.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/controller/failure.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/controller/home.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/controller/socket.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/controller/socket_verify.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/controller/static.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
4 changes: 2 additions & 2 deletions application/controller/static_page_generater/main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down Expand Up @@ -41,7 +41,7 @@ const (
const (
staticListHeader = `// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/log/ditch.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/log/log.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/log/writer.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
2 changes: 1 addition & 1 deletion application/log/writer_nodebug.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Sshwifty - A Web SSH client
//
// Copyright (C) 2019-2020 Rui NI <[email protected]>
// Copyright (C) 2019-2021 Ni Rui <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
Expand Down
Loading

0 comments on commit 5434ab0

Please sign in to comment.