From bf2a5e9b3495912bc4e266052e15cceedab131cf Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Thu, 17 Jan 2019 14:13:25 +0200 Subject: Update license and sort imports --- matrix/pushrules/action.go | 10 +++++----- matrix/pushrules/action_test.go | 10 +++++----- matrix/pushrules/condition.go | 11 ++++++----- matrix/pushrules/condition_displayname_test.go | 10 +++++----- matrix/pushrules/condition_eventmatch_test.go | 10 +++++----- matrix/pushrules/condition_membercount_test.go | 10 +++++----- matrix/pushrules/condition_test.go | 10 +++++----- matrix/pushrules/pushrules_test.go | 10 +++++----- matrix/pushrules/rule.go | 12 +++++++----- matrix/pushrules/rule_array_test.go | 10 +++++----- matrix/pushrules/rule_test.go | 10 +++++----- matrix/pushrules/ruleset.go | 10 +++++----- 12 files changed, 63 insertions(+), 60 deletions(-) (limited to 'matrix/pushrules') diff --git a/matrix/pushrules/action.go b/matrix/pushrules/action.go index 64dfddd..4637950 100644 --- a/matrix/pushrules/action.go +++ b/matrix/pushrules/action.go @@ -1,18 +1,18 @@ // gomuks - A terminal Matrix client written in Go. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by +// 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 General Public License for more details. +// GNU Affero General Public License for more details. // -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package pushrules diff --git a/matrix/pushrules/action_test.go b/matrix/pushrules/action_test.go index 41a1056..79b2fdf 100644 --- a/matrix/pushrules/action_test.go +++ b/matrix/pushrules/action_test.go @@ -1,18 +1,18 @@ // gomuks - A terminal Matrix client written in Go. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by +// 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 General Public License for more details. +// GNU Affero General Public License for more details. // -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package pushrules_test diff --git a/matrix/pushrules/condition.go b/matrix/pushrules/condition.go index d547a3f..12fd3f3 100644 --- a/matrix/pushrules/condition.go +++ b/matrix/pushrules/condition.go @@ -1,18 +1,18 @@ // gomuks - A terminal Matrix client written in Go. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by +// 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 General Public License for more details. +// GNU Affero General Public License for more details. // -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package pushrules @@ -22,6 +22,7 @@ import ( "strings" "maunium.net/go/mautrix" + "maunium.net/go/gomuks/lib/glob" ) diff --git a/matrix/pushrules/condition_displayname_test.go b/matrix/pushrules/condition_displayname_test.go index 0ae85d1..fd3f374 100644 --- a/matrix/pushrules/condition_displayname_test.go +++ b/matrix/pushrules/condition_displayname_test.go @@ -1,18 +1,18 @@ // gomuks - A terminal Matrix client written in Go. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by +// 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 General Public License for more details. +// GNU Affero General Public License for more details. // -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package pushrules_test diff --git a/matrix/pushrules/condition_eventmatch_test.go b/matrix/pushrules/condition_eventmatch_test.go index 0591656..e5761fc 100644 --- a/matrix/pushrules/condition_eventmatch_test.go +++ b/matrix/pushrules/condition_eventmatch_test.go @@ -1,18 +1,18 @@ // gomuks - A terminal Matrix client written in Go. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by +// 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 General Public License for more details. +// GNU Affero General Public License for more details. // -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package pushrules_test diff --git a/matrix/pushrules/condition_membercount_test.go b/matrix/pushrules/condition_membercount_test.go index 32a776b..ad5da9f 100644 --- a/matrix/pushrules/condition_membercount_test.go +++ b/matrix/pushrules/condition_membercount_test.go @@ -1,18 +1,18 @@ // gomuks - A terminal Matrix client written in Go. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by +// 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 General Public License for more details. +// GNU Affero General Public License for more details. // -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package pushrules_test diff --git a/matrix/pushrules/condition_test.go b/matrix/pushrules/condition_test.go index 4e8e8a1..163c964 100644 --- a/matrix/pushrules/condition_test.go +++ b/matrix/pushrules/condition_test.go @@ -1,18 +1,18 @@ // gomuks - A terminal Matrix client written in Go. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by +// 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 General Public License for more details. +// GNU Affero General Public License for more details. // -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package pushrules_test diff --git a/matrix/pushrules/pushrules_test.go b/matrix/pushrules/pushrules_test.go index c56fd10..1883c97 100644 --- a/matrix/pushrules/pushrules_test.go +++ b/matrix/pushrules/pushrules_test.go @@ -1,18 +1,18 @@ // gomuks - A terminal Matrix client written in Go. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by +// 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 General Public License for more details. +// GNU Affero General Public License for more details. // -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package pushrules_test diff --git a/matrix/pushrules/rule.go b/matrix/pushrules/rule.go index 62318ac..ef43721 100644 --- a/matrix/pushrules/rule.go +++ b/matrix/pushrules/rule.go @@ -1,24 +1,26 @@ // gomuks - A terminal Matrix client written in Go. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by +// 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 General Public License for more details. +// GNU Affero General Public License for more details. // -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package pushrules import ( "encoding/gob" + "maunium.net/go/mautrix" + "maunium.net/go/gomuks/lib/glob" ) diff --git a/matrix/pushrules/rule_array_test.go b/matrix/pushrules/rule_array_test.go index 5a5bd3d..8bfc5e9 100644 --- a/matrix/pushrules/rule_array_test.go +++ b/matrix/pushrules/rule_array_test.go @@ -1,18 +1,18 @@ // gomuks - A terminal Matrix client written in Go. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by +// 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 General Public License for more details. +// GNU Affero General Public License for more details. // -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package pushrules_test diff --git a/matrix/pushrules/rule_test.go b/matrix/pushrules/rule_test.go index aad6a77..56d48fd 100644 --- a/matrix/pushrules/rule_test.go +++ b/matrix/pushrules/rule_test.go @@ -1,18 +1,18 @@ // gomuks - A terminal Matrix client written in Go. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by +// 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 General Public License for more details. +// GNU Affero General Public License for more details. // -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package pushrules_test diff --git a/matrix/pushrules/ruleset.go b/matrix/pushrules/ruleset.go index 366702e..33036c4 100644 --- a/matrix/pushrules/ruleset.go +++ b/matrix/pushrules/ruleset.go @@ -1,18 +1,18 @@ // gomuks - A terminal Matrix client written in Go. -// Copyright (C) 2018 Tulir Asokan +// Copyright (C) 2019 Tulir Asokan // // This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by +// 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 General Public License for more details. +// GNU Affero General Public License for more details. // -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . package pushrules -- cgit v1.2.3