aboutsummaryrefslogtreecommitdiff
// SPDX-License-Identifier: CC0-1.0

// Copyright (C) 2022 Wojtek Kosior <koszko@koszko.org>
// Available under the terms of Creative Commons Zero v1.0 Universal.

{
    "$schema": "https://hydrilla.koszko.org/schemas/package_source-2.schema.json",
    "source_name": "docs-google-com-fix-forms",
    "copyright":  [
	{"file": "report.spdx"},
	{"file": "LICENSES/Apache-2.0.txt"},
	{"file": "LICENSES/CC0-1.0.txt"}
    ],
    "upstream_url": "https://git.koszko.org/hydrilla-fixes-bundle/tree/src/docs-google-com-fix-forms",
    "definitions": [{
	"type":         "mapping_and_resource",
	"identifier":   "docs-google-com-fix-forms",
	"long_name":    "Google Forms submission fix",
	"uuid":         "23f51630-6118-4ef2-9709-2a1dba7ebb52",
	"version":      [2022, 8, 17],
	"revision":     1,
	"description":  "Enable filling and submitting of Google Forms without relying on site-served JavaScript.",
	"dependencies": [],
	"scripts":      [{"file": "google_forms.js"}],
	"payloads": {
	    // * https://old.reddit.com/search?q=url%3Adocs.google.com%2Fforms <- to get testing links
	    // note: forms tend to expire quickly
	    "https://docs.google.com/forms/d/**": {
		"identifier": "docs-google-com-fix-forms"
	    },
	    "https://docs.google.com/forms/u/1/d/**": {
		"identifier": "docs-google-com-fix-forms"
	    }
	}
    }, {
	"type":         "mapping_and_resource",
	"identifier":   "docs-google-com-fix-forms-hacktcha",
	"long_name":    "Google Forms submission fix (with reCAPTCHA/Hacktcha support)",
	"uuid":         "a8433924-102b-482a-9958-f7e8880f539e",
	"version":      [2022, 8, 17],
	"revision":     1,
	"description":  "Enable filling and submitting of Google Forms without relying on site-served JavaScript. Also submit forms with reCAPTCHA challenge.",
	"dependencies": [{"identifier": "hacktcha"}, {"identifier": "docs-google-com-fix-forms"}],
	"scripts":      [{"file": "google-forms-hacktcha.js"}],
	"payloads": {
	    // same as above
	    "https://docs.google.com/forms/d/**": {
		"identifier": "docs-google-com-fix-forms-hacktcha"
	    },
	    "https://docs.google.com/forms/u/1/d/**": {
		"identifier": "docs-google-com-fix-forms-hacktcha"
	    }
	}
    }, {
	"type":	        "mapping",
	"identifier":   "google-forms-fix",
	"long_name":    "Google Forms submission fix (transitional package)",
	"uuid":	        "0aba91dc-e552-4276-a981-1a56d30f9058",
	"version":      [2022, 3, 7, 2],
	"description":  "This is a transitional package and can be safely removed.",
	"required_mappings": [{"identifier": "docs-google-com-fix-forms"}],
	"payloads":     {}
    }],
    "reuse_generate_spdx_report": true
}