-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: license the whole project under AGPL-3.0-or-later
Yay
- Loading branch information
Showing
116 changed files
with
2,910 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Submodule _locales
updated
from 293048 to 5e121c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
20 changes: 20 additions & 0 deletions
20
src/entry-points/background/migrations/migrateFrom1_10_0.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'; | ||
|
||
|
20 changes: 20 additions & 0 deletions
20
src/entry-points/background/migrations/migrateFrom1_16_7.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'; | ||
|
||
|
20 changes: 20 additions & 0 deletions
20
src/entry-points/background/migrations/migrateFrom1_18_2.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'; | ||
|
||
|
20 changes: 20 additions & 0 deletions
20
src/entry-points/background/migrations/migrateFrom1_18_3.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'; | ||
|
||
|
20 changes: 20 additions & 0 deletions
20
src/entry-points/background/migrations/migrateFrom1_22_1.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'; | ||
|
||
|
20 changes: 20 additions & 0 deletions
20
src/entry-points/background/migrations/migrateFrom1_3_0.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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). | ||
|
20 changes: 20 additions & 0 deletions
20
src/entry-points/background/migrations/migrateFrom1_6_0.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'; | ||
|
20 changes: 20 additions & 0 deletions
20
src/entry-points/background/migrations/migrateFrom1_8_0.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; | ||
|
||
|
20 changes: 20 additions & 0 deletions
20
src/entry-points/background/migrations/runRequiredMigrations.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; | ||
|
Oops, something went wrong.