From 78fdb6f1755aacd32cd9e5e664610276e4451272 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 30 Oct 2020 23:18:55 +0200 Subject: Switch license to AGPLv3+ The license was initially MPLv2 as I expected the project to be a fairly simple tiny web app, but it has already grown into multiple files. Now that I'm going to add a server component, I'm switching the license for future versions to AGPL like all my other non-library projects. --- web/src/frequently-used.js | 18 ++++++++++++++---- web/src/index.js | 18 ++++++++++++++---- web/src/spinner.js | 18 ++++++++++++++---- web/src/widget-api.js | 18 ++++++++++++++---- web/style/index.sass | 18 ++++++++++++++---- 5 files changed, 70 insertions(+), 20 deletions(-) (limited to 'web') diff --git a/web/src/frequently-used.js b/web/src/frequently-used.js index 1601e03..a754e9a 100644 --- a/web/src/frequently-used.js +++ b/web/src/frequently-used.js @@ -1,8 +1,18 @@ -// Copyright (c) 2020 Tulir Asokan +// maunium-stickerpicker - A fast and simple Matrix sticker picker widget. +// Copyright (C) 2020 Tulir Asokan // -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. +// 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 . const FREQUENTLY_USED = JSON.parse(window.localStorage.mauFrequentlyUsedStickerIDs || "{}") let FREQUENTLY_USED_SORTED = null diff --git a/web/src/index.js b/web/src/index.js index 625ed00..5de4bd5 100644 --- a/web/src/index.js +++ b/web/src/index.js @@ -1,8 +1,18 @@ -// Copyright (c) 2020 Tulir Asokan +// maunium-stickerpicker - A fast and simple Matrix sticker picker widget. +// Copyright (C) 2020 Tulir Asokan // -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. +// 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 . import { html, render, Component } from "../lib/htm/preact.js" import { Spinner } from "./spinner.js" import * as widgetAPI from "./widget-api.js" diff --git a/web/src/spinner.js b/web/src/spinner.js index b44740e..e89dd02 100644 --- a/web/src/spinner.js +++ b/web/src/spinner.js @@ -1,8 +1,18 @@ -// Copyright (c) 2020 Tulir Asokan +// maunium-stickerpicker - A fast and simple Matrix sticker picker widget. +// Copyright (C) 2020 Tulir Asokan // -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. +// 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 . import { html } from "../lib/htm/preact.js" export const Spinner = ({ size = 40, noCenter = false, noMargin = false, green = false }) => { diff --git a/web/src/widget-api.js b/web/src/widget-api.js index 3efca0e..fa72165 100644 --- a/web/src/widget-api.js +++ b/web/src/widget-api.js @@ -1,8 +1,18 @@ -// Copyright (c) 2020 Tulir Asokan +// maunium-stickerpicker - A fast and simple Matrix sticker picker widget. +// Copyright (C) 2020 Tulir Asokan // -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. +// 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 . let widgetId = null window.onmessage = event => { diff --git a/web/style/index.sass b/web/style/index.sass index 4936836..2b61292 100644 --- a/web/style/index.sass +++ b/web/style/index.sass @@ -1,8 +1,18 @@ -// Copyright (c) 2020 Tulir Asokan +// maunium-stickerpicker - A fast and simple Matrix sticker picker widget. +// Copyright (C) 2020 Tulir Asokan // -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at http://mozilla.org/MPL/2.0/. +// 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 . * font-family: sans-serif -- cgit v1.2.3