From 3d5e24d49592de642e61f8b444e6aec0bfabf0f1 Mon Sep 17 00:00:00 2001 From: ! Freaku <92618708+Freaku17@users.noreply.github.com> Date: Wed, 30 Nov 2022 18:31:00 +0530 Subject: [PATCH 01/11] Switching to HTTPS (1/6 commits) --- plugin_manager.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/plugin_manager.py b/plugin_manager.py index e1db5b8..2db4eae 100644 --- a/plugin_manager.py +++ b/plugin_manager.py @@ -21,11 +21,8 @@ _uiscale = ba.app.ui.uiscale PLUGIN_MANAGER_VERSION = "0.1.7" -REPOSITORY_URL = "http://github.com/bombsquad-community/plugin-manager" +REPOSITORY_URL = "https://github.com/bombsquad-community/plugin-manager" CURRENT_TAG = "main" -# XXX: Using https with `ba.open_url` seems to trigger a pop-up dialog box on -# Android currently (v1.7.6) and won't open the actual URL in a web-browser. -# Let's fallback to http for now until this gets resolved. INDEX_META = "{repository_url}/{content_type}/{tag}/index.json" HEADERS = { "User-Agent": _env["user_agent_string"], @@ -36,7 +33,7 @@ REGEXP = { "plugin_entry_points": re.compile(b"(ba_meta export plugin\n+class )(.*)\\("), "minigames": re.compile(b"(ba_meta export game\n+class )(.*)\\("), } -DISCORD_URL = "http://ballistica.net/discord" +DISCORD_URL = "https://ballistica.net/discord" _CACHE = {} From ed9271ebf50845982e6594bccd074471e57fd412 Mon Sep 17 00:00:00 2001 From: ! Freaku <92618708+Freaku17@users.noreply.github.com> Date: Wed, 30 Nov 2022 18:31:55 +0530 Subject: [PATCH 02/11] Switching to HTTPS (2/6) --- index.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/index.json b/index.json index e4e02ca..471641a 100644 --- a/index.json +++ b/index.json @@ -1,5 +1,5 @@ { - "plugin_manager_url": "http://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py", + "plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py", "versions": { "0.1.7": { "api_version": 7, @@ -27,9 +27,9 @@ } }, "categories": [ - "http://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/utilities.json", - "http://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/minigames.json", - "http://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/maps.json" + "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/utilities.json", + "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/minigames.json", + "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/maps.json" ], - "external_source_url": "http://github.com/{repository}/{content_type}/{tag}/category.json" -} \ No newline at end of file + "external_source_url": "https://github.com/{repository}/{content_type}/{tag}/category.json" +} From 1fe32a559d7bc6301e126ac6a1a517329e228f91 Mon Sep 17 00:00:00 2001 From: ! Freaku <92618708+Freaku17@users.noreply.github.com> Date: Wed, 30 Nov 2022 18:33:01 +0530 Subject: [PATCH 03/11] Switching to HTTPS (3/6) --- plugins/utilities.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/utilities.json b/plugins/utilities.json index f9fea7d..48eefbe 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -1,7 +1,7 @@ { "name": "Utilities", "description": "Utilities", - "plugins_base_url": "http://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/utilities", + "plugins_base_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/utilities", "plugins": { "share_replay": { "description": "Export replays to mods folder and share them with friends or have a backup", @@ -161,7 +161,7 @@ }, "colorscheme": { "description": "Create custom UI colorschemes!", - "external_url": "http://www.youtube.com/watch?v=qatwWrBAvjc", + "external_url": "https://www.youtube.com/watch?v=qatwWrBAvjc", "authors": [ { "name": "Rikko", @@ -505,4 +505,4 @@ } } } -} \ No newline at end of file +} From 86bad1191a27573e19d97dda6526e1211488c453 Mon Sep 17 00:00:00 2001 From: ! Freaku <92618708+Freaku17@users.noreply.github.com> Date: Wed, 30 Nov 2022 18:33:39 +0530 Subject: [PATCH 04/11] Switching to HTTPS (4/6) --- plugins/minigames.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/minigames.json b/plugins/minigames.json index 4bfc496..043ab54 100644 --- a/plugins/minigames.json +++ b/plugins/minigames.json @@ -1,7 +1,7 @@ { "name": "Minigames", "description": "Minigames", - "plugins_base_url": "http://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/minigames", + "plugins_base_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/minigames", "plugins": { "soccer": { "description": "Shoot the ball in left or right edge of the map to score", @@ -251,4 +251,4 @@ } } } -} \ No newline at end of file +} From f9a429bfd9e1a540b73cd2c990a2fe3e0432539b Mon Sep 17 00:00:00 2001 From: ! Freaku <92618708+Freaku17@users.noreply.github.com> Date: Wed, 30 Nov 2022 18:34:29 +0530 Subject: [PATCH 05/11] Switching to HTTPS (5/6) --- plugins/maps.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/maps.json b/plugins/maps.json index 4aa2611..055d4b8 100644 --- a/plugins/maps.json +++ b/plugins/maps.json @@ -1,6 +1,6 @@ { "name": "Maps", "description": "Maps", - "plugins_base_url": "http://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/maps", + "plugins_base_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/maps", "plugins": {} } From c1feee14ec81657029f00ccf9ca5afcfd998424d Mon Sep 17 00:00:00 2001 From: ! Freaku <92618708+Freaku17@users.noreply.github.com> Date: Wed, 30 Nov 2022 18:35:17 +0530 Subject: [PATCH 06/11] Switching to HTTPS (6/6) --- test/test_checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_checks.py b/test/test_checks.py index cddc1be..a862f8f 100644 --- a/test/test_checks.py +++ b/test/test_checks.py @@ -95,7 +95,7 @@ class BaseCategoryMetadataTestCases: def test_keys(self): self.assertEqual(self.content["name"], self.name) self.assertTrue(isinstance(self.content["description"], str)) - self.assertTrue(self.content["plugins_base_url"].startswith("http")) + self.assertTrue(self.content["plugins_base_url"].startswith("https")) self.assertTrue(isinstance(self.content["plugins"], dict)) def test_versions_order(self): From db3d79df5425198fe21b423069b84d53fbc0c267 Mon Sep 17 00:00:00 2001 From: Freaku17 Date: Wed, 30 Nov 2022 13:09:12 +0000 Subject: [PATCH 07/11] [ci] apply-version-metadata --- index.json | 2 +- plugins/minigames.json | 2 +- plugins/utilities.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.json b/index.json index 471641a..7236d71 100644 --- a/index.json +++ b/index.json @@ -32,4 +32,4 @@ "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/maps.json" ], "external_source_url": "https://github.com/{repository}/{content_type}/{tag}/category.json" -} +} \ No newline at end of file diff --git a/plugins/minigames.json b/plugins/minigames.json index 043ab54..b1fb800 100644 --- a/plugins/minigames.json +++ b/plugins/minigames.json @@ -251,4 +251,4 @@ } } } -} +} \ No newline at end of file diff --git a/plugins/utilities.json b/plugins/utilities.json index 48eefbe..4200271 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -505,4 +505,4 @@ } } } -} +} \ No newline at end of file From 54478c61851e082b06deb1ee085d0323157befe6 Mon Sep 17 00:00:00 2001 From: Rikko Date: Wed, 30 Nov 2022 19:58:38 +0530 Subject: [PATCH 08/11] Release v0.1.8 --- index.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.json b/index.json index 7236d71..01079d9 100644 --- a/index.json +++ b/index.json @@ -1,6 +1,7 @@ { "plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py", "versions": { + "0.1.8": null, "0.1.7": { "api_version": 7, "commit_sha": "2fe966c", @@ -32,4 +33,4 @@ "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/maps.json" ], "external_source_url": "https://github.com/{repository}/{content_type}/{tag}/category.json" -} \ No newline at end of file +} From 31877d41994f6db031e084df8380b5a8a7451216 Mon Sep 17 00:00:00 2001 From: rikkolovescats Date: Wed, 30 Nov 2022 14:29:27 +0000 Subject: [PATCH 09/11] [ci] apply-version-metadata --- index.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/index.json b/index.json index 01079d9..1efd522 100644 --- a/index.json +++ b/index.json @@ -1,7 +1,12 @@ { "plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py", "versions": { - "0.1.8": null, + "0.1.8": { + "api_version": 7, + "commit_sha": "54478c6", + "released_on": "30-11-2022", + "md5sum": "2c67cd2405e4e34e1a3b6dfc30c8dc74" + }, "0.1.7": { "api_version": 7, "commit_sha": "2fe966c", @@ -33,4 +38,4 @@ "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/maps.json" ], "external_source_url": "https://github.com/{repository}/{content_type}/{tag}/category.json" -} +} \ No newline at end of file From bbce3bdb7b2de54939b1982ed8927aa08a1730ce Mon Sep 17 00:00:00 2001 From: Rikko Date: Wed, 30 Nov 2022 20:00:44 +0530 Subject: [PATCH 10/11] Bump source to v0.1.8 --- index.json | 9 ++------- plugin_manager.py | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/index.json b/index.json index 1efd522..01079d9 100644 --- a/index.json +++ b/index.json @@ -1,12 +1,7 @@ { "plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py", "versions": { - "0.1.8": { - "api_version": 7, - "commit_sha": "54478c6", - "released_on": "30-11-2022", - "md5sum": "2c67cd2405e4e34e1a3b6dfc30c8dc74" - }, + "0.1.8": null, "0.1.7": { "api_version": 7, "commit_sha": "2fe966c", @@ -38,4 +33,4 @@ "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/maps.json" ], "external_source_url": "https://github.com/{repository}/{content_type}/{tag}/category.json" -} \ No newline at end of file +} diff --git a/plugin_manager.py b/plugin_manager.py index 2db4eae..cd794df 100644 --- a/plugin_manager.py +++ b/plugin_manager.py @@ -20,7 +20,7 @@ _env = _ba.env() _uiscale = ba.app.ui.uiscale -PLUGIN_MANAGER_VERSION = "0.1.7" +PLUGIN_MANAGER_VERSION = "0.1.8" REPOSITORY_URL = "https://github.com/bombsquad-community/plugin-manager" CURRENT_TAG = "main" INDEX_META = "{repository_url}/{content_type}/{tag}/index.json" From 41f96ac428ec983b3a9a7e727fc7d498e7a6ab11 Mon Sep 17 00:00:00 2001 From: rikkolovescats Date: Wed, 30 Nov 2022 14:31:25 +0000 Subject: [PATCH 11/11] [ci] apply-version-metadata --- index.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/index.json b/index.json index 01079d9..33245fb 100644 --- a/index.json +++ b/index.json @@ -1,7 +1,12 @@ { "plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py", "versions": { - "0.1.8": null, + "0.1.8": { + "api_version": 7, + "commit_sha": "bbce3bd", + "released_on": "30-11-2022", + "md5sum": "0218c7d6b08896f18479467fdd45aa27" + }, "0.1.7": { "api_version": 7, "commit_sha": "2fe966c", @@ -33,4 +38,4 @@ "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/maps.json" ], "external_source_url": "https://github.com/{repository}/{content_type}/{tag}/category.json" -} +} \ No newline at end of file