Skip to content

Commit

Permalink
feat: license the whole project under AGPL-3.0-or-later
Browse files Browse the repository at this point in the history
Yay
  • Loading branch information
WofWca committed May 27, 2022
2 parents a00166a + f11a98e commit 81b4e50
Show file tree
Hide file tree
Showing 116 changed files with 2,910 additions and 4 deletions.
20 changes: 20 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/**
* @license
* Copyright (C) 2021, 2022 WofWca <[email protected]>
*
* This file is part of Jump Cutter Browser Extension.
*
* Jump Cutter Browser Extension 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.
*
* Jump Cutter Browser Extension 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 Jump Cutter Browser Extension. If not, see <https://www.gnu.org/licenses/>.
*/

/* eslint-env node */
module.exports = {
env: {
Expand Down
18 changes: 18 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# Copyright (C) 2020, 2021, 2022 WofWca <[email protected]>

# This file is part of Jump Cutter Browser Extension.

# Jump Cutter Browser Extension 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.

# Jump Cutter Browser Extension 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 Jump Cutter Browser Extension. If not, see <https://www.gnu.org/licenses/>.


image: node
stages:
- build
Expand Down
661 changes: 661 additions & 0 deletions COPYING

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Inspired by [this video](https://youtu.be/DQ8orIurGxw) by carykh.
## Contribute

* [🌐 Translate (on Weblate)][weblate]
* 👨‍💻 Code contributions are welcome, but I have not decided on the license yet, so if you don't mind submitting your changes under the [CC0](https://creativecommons.org/publicdomain/zero/1.0/) license, please do. Feel free to contact me.
* 👨‍💻 Code. Feel free to contact me.
* [💸 Donate](#donate)
* General feedback and questioning my decisions is appreciated

Expand Down Expand Up @@ -92,6 +92,12 @@ Other than that, there are no known things concerning this.
* <bitcoin:bc1qdfz74882mlk64pj4ctpdegvxv9r7jgq8xs2qkxpv3gkv5xqygvgs0fyzm9>
* <https://liberapay.com/WofWca>

<br>
<br>
<br>

[![AGPLv3 Logo](docs/agplv3-with-text-162x68.png)](./COPYING)

[addons-mozilla-org]: https://addons.mozilla.org/firefox/addon/jump-cutter
[chrome-web-store]: https://chrome.google.com/webstore/detail/jump-cutter/lmppdpldfpfdlipofacekcfleacbbncp
[microsoft-edge-addons]: https://microsoftedge.microsoft.com/addons/detail/jlbjhoaphnkkjdafpjomedllppldjkbj
Expand Down
Binary file added docs/agplv3-with-text-162x68.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/_locales
Submodule _locales updated from 293048 to 5e121c
20 changes: 20 additions & 0 deletions src/declarations.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/**
* @license
* Copyright (C) 2021, 2022 WofWca <[email protected]>
*
* This file is part of Jump Cutter Browser Extension.
*
* Jump Cutter Browser Extension 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.
*
* Jump Cutter Browser Extension 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 Jump Cutter Browser Extension. If not, see <https://www.gnu.org/licenses/>.
*/

declare module 'tippy.js/dist/tippy.css'; // Not sure if it's the best way to go about suppressing that error.

declare module 'webextension-polyfill' {
Expand Down
20 changes: 20 additions & 0 deletions src/entry-points/background/initBrowserHotkeysListener.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/**
* @license
* Copyright (C) 2020, 2021, 2022 WofWca <[email protected]>
*
* This file is part of Jump Cutter Browser Extension.
*
* Jump Cutter Browser Extension 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.
*
* Jump Cutter Browser Extension 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 Jump Cutter Browser Extension. If not, see <https://www.gnu.org/licenses/>.
*/

import browser from '@/webextensions-api';
import { setSettings, getSettings } from '@/settings';

Expand Down
20 changes: 20 additions & 0 deletions src/entry-points/background/initIconAndBadgeUpdater.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/**
* @license
* Copyright (C) 2020, 2021, 2022 WofWca <[email protected]>
*
* This file is part of Jump Cutter Browser Extension.
*
* Jump Cutter Browser Extension 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.
*
* Jump Cutter Browser Extension 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 Jump Cutter Browser Extension. If not, see <https://www.gnu.org/licenses/>.
*/

import browser from '@/webextensions-api';
import { addOnStorageChangedListener, getSettings, Settings, MyStorageChanges, settingsChanges2NewValues } from '@/settings';

Expand Down
20 changes: 20 additions & 0 deletions src/entry-points/background/main.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/**
* @license
* Copyright (C) 2020, 2021, 2022 WofWca <[email protected]>
*
* This file is part of Jump Cutter Browser Extension.
*
* Jump Cutter Browser Extension 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.
*
* Jump Cutter Browser Extension 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 Jump Cutter Browser Extension. If not, see <https://www.gnu.org/licenses/>.
*/

// TODO split this script so its unused parts can be unloaded. If I understand it correctly.
// https://developer.chrome.com/extensions/background_pages#unloading
// 1. migrations
Expand Down
20 changes: 20 additions & 0 deletions src/entry-points/background/migrations/migrateFrom1_10_0.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/**
* @license
* Copyright (C) 2020, 2021, 2022 WofWca <[email protected]>
*
* This file is part of Jump Cutter Browser Extension.
*
* Jump Cutter Browser Extension 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.
*
* Jump Cutter Browser Extension 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 Jump Cutter Browser Extension. If not, see <https://www.gnu.org/licenses/>.
*/

import { HotkeyAction, HotkeyBinding, combinationIsEqual } from "@/hotkeys";
import browser from '@/webextensions-api';

Expand Down
20 changes: 20 additions & 0 deletions src/entry-points/background/migrations/migrateFrom1_16_7.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/**
* @license
* Copyright (C) 2021, 2022 WofWca <[email protected]>
*
* This file is part of Jump Cutter Browser Extension.
*
* Jump Cutter Browser Extension 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.
*
* Jump Cutter Browser Extension 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 Jump Cutter Browser Extension. If not, see <https://www.gnu.org/licenses/>.
*/

import type { Settings } from '@/settings';
import browser from '@/webextensions-api';

Expand Down
20 changes: 20 additions & 0 deletions src/entry-points/background/migrations/migrateFrom1_18_2.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/**
* @license
* Copyright (C) 2021, 2022 WofWca <[email protected]>
*
* This file is part of Jump Cutter Browser Extension.
*
* Jump Cutter Browser Extension 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.
*
* Jump Cutter Browser Extension 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 Jump Cutter Browser Extension. If not, see <https://www.gnu.org/licenses/>.
*/

import { defaultSettings, Settings } from '@/settings';
import browser from '@/webextensions-api';

Expand Down
20 changes: 20 additions & 0 deletions src/entry-points/background/migrations/migrateFrom1_18_3.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/**
* @license
* Copyright (C) 2021, 2022 WofWca <[email protected]>
*
* This file is part of Jump Cutter Browser Extension.
*
* Jump Cutter Browser Extension 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.
*
* Jump Cutter Browser Extension 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 Jump Cutter Browser Extension. If not, see <https://www.gnu.org/licenses/>.
*/

import browser from '@/webextensions-api';
import { defaultSettings, Settings } from '@/settings';

Expand Down
20 changes: 20 additions & 0 deletions src/entry-points/background/migrations/migrateFrom1_22_1.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/**
* @license
* Copyright (C) 2021, 2022 WofWca <[email protected]>
*
* This file is part of Jump Cutter Browser Extension.
*
* Jump Cutter Browser Extension 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.
*
* Jump Cutter Browser Extension 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 Jump Cutter Browser Extension. If not, see <https://www.gnu.org/licenses/>.
*/

import type { Settings } from '@/settings';
import browser from '@/webextensions-api';

Expand Down
20 changes: 20 additions & 0 deletions src/entry-points/background/migrations/migrateFrom1_3_0.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/**
* @license
* Copyright (C) 2020, 2021, 2022 WofWca <[email protected]>
*
* This file is part of Jump Cutter Browser Extension.
*
* Jump Cutter Browser Extension 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.
*
* Jump Cutter Browser Extension 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 Jump Cutter Browser Extension. If not, see <https://www.gnu.org/licenses/>.
*/

// Migration from 1.0.0. Number settings were saved as strings, but in later versions they're assumed to be numbers.
// Once everyone has installed this version or a later one, this file can be removed, along with other changes coming
// with this commit (so you could `git revert` it).
Expand Down
20 changes: 20 additions & 0 deletions src/entry-points/background/migrations/migrateFrom1_6_0.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/**
* @license
* Copyright (C) 2020, 2021, 2022 WofWca <[email protected]>
*
* This file is part of Jump Cutter Browser Extension.
*
* Jump Cutter Browser Extension 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.
*
* Jump Cutter Browser Extension 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 Jump Cutter Browser Extension. If not, see <https://www.gnu.org/licenses/>.
*/

// Since 1.7.0 we're going to store settings both in `browser.storage.local` and `browser.storage.sync`. This migration
// copies settings from sync storage to the local one.
import browser from '@/webextensions-api';
Expand Down
20 changes: 20 additions & 0 deletions src/entry-points/background/migrations/migrateFrom1_8_0.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/**
* @license
* Copyright (C) 2020, 2021, 2022 WofWca <[email protected]>
*
* This file is part of Jump Cutter Browser Extension.
*
* Jump Cutter Browser Extension 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.
*
* Jump Cutter Browser Extension 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 Jump Cutter Browser Extension. If not, see <https://www.gnu.org/licenses/>.
*/

import browser from '@/webextensions-api';
import type { Settings } from "@/settings";

Expand Down
20 changes: 20 additions & 0 deletions src/entry-points/background/migrations/runRequiredMigrations.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/**
* @license
* Copyright (C) 2020, 2021, 2022 WofWca <[email protected]>
*
* This file is part of Jump Cutter Browser Extension.
*
* Jump Cutter Browser Extension 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.
*
* Jump Cutter Browser Extension 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 Jump Cutter Browser Extension. If not, see <https://www.gnu.org/licenses/>.
*/

import type browser from '@/webextensions-api';
import migrateFrom1_3_0 from "./migrateFrom1_3_0";
import migrateFrom1_6_0 from "./migrateFrom1_6_0";
Expand Down
Loading

0 comments on commit 81b4e50

Please sign in to comment.