From 6601f83332ef92521f3b4db0825359fc087fdbf3 Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Mon, 1 Jul 2024 17:49:59 +0300 Subject: [PATCH] Rename store_info.md to extension_repository.md, add Voxelorama and remove other store links The reason for removing the other store link is because I am worried that adding more links by default, can make it easier to compromise security. Extensions can be dangerous, and even if one link gets injected by malware, users are in danger, so I think it's better to keep the extensions is one, centralized place. I included all of the extensions listed in Variable's store link in this file. I also renamed it from store to repository, as I think it's a more fitting name. --- src/UI/ExtensionExplorer/Store.gd | 2 +- .../ExtensionExplorer/extension_repository.md | 36 +++++++++++++++++++ src/UI/ExtensionExplorer/store_info.md | 28 --------------- 3 files changed, 37 insertions(+), 29 deletions(-) create mode 100644 src/UI/ExtensionExplorer/extension_repository.md delete mode 100644 src/UI/ExtensionExplorer/store_info.md diff --git a/src/UI/ExtensionExplorer/Store.gd b/src/UI/ExtensionExplorer/Store.gd index cbdb3253b..07d7e3e41 100644 --- a/src/UI/ExtensionExplorer/Store.gd +++ b/src/UI/ExtensionExplorer/Store.gd @@ -6,7 +6,7 @@ extends Window const STORE_NAME := "Extension Explorer" # gdlint: ignore=max-line-length -const STORE_LINK := "https://raw.githubusercontent.com/Orama-Interactive/Pixelorama/master/src/UI/ExtensionExplorer/store_info.md" +const STORE_LINK := "https://raw.githubusercontent.com/Orama-Interactive/Pixelorama/master/src/UI/ExtensionExplorer/extension_repository.md" ## File that will contain information about extensions available for download const STORE_INFORMATION_FILE := STORE_NAME + ".md" const EXTENSION_ENTRY_TSCN := preload("res://src/UI/ExtensionExplorer/Entry/ExtensionEntry.tscn") diff --git a/src/UI/ExtensionExplorer/extension_repository.md b/src/UI/ExtensionExplorer/extension_repository.md new file mode 100644 index 000000000..cfb2b1150 --- /dev/null +++ b/src/UI/ExtensionExplorer/extension_repository.md @@ -0,0 +1,36 @@ +// This file is for online use.
+ +## Rules for writing a repository file: +// 1. A repository entry is one large Array (referred to as "entry") consisting of sub-arrays (referred to as "data")
+// e.g `[[keyword, ....], [keyword, ....], [keyword, ....], .......]`
+// 2. Each data must have a keyword of type `String` at it's first index which helps in identifying what the data represents.
+// e.g, ["name", "name of extension"] is the data giving information about "name".
+// Valid keywords are `name`, `version`, `description`, `tags`, `thumbnail`, `download_link`
+// Put quotation marks ("") to make it a string, otherwise errors will occur.
+// 3. One repository entry must occupy only one line.
+// 4. Comments are supported. You can comment an entire line by placing `#` or `//` at the start of the line. Comments between or at end of line are not allowed.
+// 5. Links to another extension_repository file can be placed inside another extension_repository file, and it will get detected as a custom repository file.
+ +## TIPS: +// - `thumbnail` is the link you get by right clicking an image (uploaded somewhere on the internet) and selecting Copy Image Link.
+// - `download_link` is usually of the form `{repo}/raw/{Path of extension within repo}`
+// e.g, if `https://github.com/Variable-ind/Pixelorama-Extensions/blob/master/Extensions/Example.pck` is the URL path to your extension then replace "blob" with "raw" +// and the link becomes `"https://github.com/Variable-ind/Pixelorama-Extensions/raw/master/Extensions/Example.pck"`
+ +// For further help see the entries below for reference of how it's done +## Entries: +[["name", "Voxelorama"], ["version", 1.0], ["description", "An extension for Pixelorama that generates 3D voxel art out of 2D pixel art. ."], ["tags", "Tool", "3D"], ["thumbnail", https://user-images.githubusercontent.com/35376950/185218214-c8356f86-00ed-4f39-b0f8-458a29d0061b.png"], ["download_link", "https://github.com/Orama-Interactive/VoxeloramaExtension/releases/download/1.0/Voxelorama.pck"]] + +[["name", "LospecPaletteImporter"], ["version", 1.1], ["description", "A Pixelorama extension for downloading and importing palettes directly from Lospec."], ["tags", "Palettes"], ["thumbnail", "https://github.com/Variable-ind/Lospec-Palette-Importer/assets/77773850/7ac86623-c428-4409-8f81-c7406527126f"], ["download_link", "https://github.com/OverloadedOrama/Lospec-Palette-Importer/releases/download/v1.1/LospecPaletteImporter.pck"]] + +[["name", "OpenDyslexicFont"], ["version", 1.0], ["description", "A Pixelorama extension that sets the OpenDyslexic font as the main font of the user interface."], ["tags", "Fonts"], ["download_link", "https://github.com/OverloadedOrama/OpenDyslexic-Pixelorama-Extension/releases/download/v1.0/OpenDyslexicFont.pck"]] + +[["name", "ExtensionCreator"], ["version", 1.0], ["description", "Used as a guide by beginers for creating extensions (Open from help menu)"], ["tags", "Tutorial"], ["thumbnail", "https://user-images.githubusercontent.com/77773850/283574411-952f6032-dadb-4bab-998c-f90c236f7fe8.png"], ["download_link", "https://github.com/Variable-ind/Pixelorama-Extensions/raw/4.0/Extensions/ExtensionCreator.pck"]] + +[["name", "Audia"], ["version", 1.0], ["description", "Allows to play a specific audio on a specific tag. (Open it through Window Menu > Audia) How to use: Change the driver from (Dummy) to something other driver. Drag and drop the audio to place it in (Music Library). Write any tag's name in (Play on Tag) field. You will hear sound whenever that tag is played"], ["tags", "UI", "Exporter", "Audio"], ["thumbnail", "https://user-images.githubusercontent.com/77773850/261408793-3f80c3be-4dd8-41cd-ad99-f04291064333.png"], ["download_link", "https://github.com/Variable-ind/Pixelorama-Extensions/raw/4.0/Extensions/Audia.pck"]] + +[["name", "KeyDisplay"], ["version", 1.0], ["description", "Handy extension to display shortcuts for use in videos etc.)"], ["tags", "UI"], ["thumbnail", "https://github.com/Variable-ind/Pixelorama-Extensions/assets/77773850/dcedd193-1c37-4311-8dc2-ee0b65de8cec"], ["download_link", "https://github.com/Variable-ind/Pixelorama-Extensions/raw/4.0/Extensions/KeyDisplay.pck"]] + +[["name", "Swappy"], ["version", 0.2], ["description", "Helper Extension for Re-Coloring. Replaces all instances of a Color with a New Color."], ["tags", "Tool", "UI"], ["thumbnail", "https://user-images.githubusercontent.com/77773850/246190032-e4d1e2b9-03d8-4a6d-9834-e29ca7fbf463.png"], ["download_link", "https://github.com/Variable-ind/Pixelorama-Extensions/raw/4.0/Extensions/Swappy.pck"]] + +[["name", "TimeTracking"], ["version", 0.2], ["description", "Saves project statistics in the .pxo file (access with Help>Project Statistics)"], ["tags", "Analytics"], ["thumbnail", "https://user-images.githubusercontent.com/77773850/272894172-5c2aec0e-944e-4e91-90ee-8fe1803cf83d.png"], ["download_link", "https://github.com/Variable-ind/Pixelorama-Extensions/raw/4.0/Extensions/TimeTracking.pck"]] diff --git a/src/UI/ExtensionExplorer/store_info.md b/src/UI/ExtensionExplorer/store_info.md deleted file mode 100644 index feaf1b9b2..000000000 --- a/src/UI/ExtensionExplorer/store_info.md +++ /dev/null @@ -1,28 +0,0 @@ -// This file is for online use.
- -## Rules for writing a (store_info) file: -// 1. The Store Entry is one large Array (referred to as "entry") consisting of sub-arrays (referred to as "data")
-// e.g `[[keyword, ....], [keyword, ....], [keyword, ....], .......]`
-// 2. Each data must have a keyword of type `String` at it's first index which helps in identifying what the data represents.
-// e.g, ["name", "name of extension"] is the data giving information about "name".
-// Valid keywords are `name`, `version`, `description`, `tags`, `thumbnail`, `download_link`
-// Put quotation marks ("") to make it a string, otherwise errors will occur.
-// 3. One store entry must occupy only one line (and vice-versa).
-// 4. Comments are supported. You can comment an entire line by placing `#` or `//` at the start of the line. Comments between or at end of line are not allowed.
-// 5. Links to another store_info file can be placed inside another store_info file, and it will get detected as a custom store file.
- -## TIPS: -// - `thumbnail` is the link you get by right clicking an image (uploaded somewhere on the internet) and selecting Copy Image Link.
-// - `download_link` is usually of the form `{repo}/raw/{Path of extension within repo}`
-// e.g, if `https://github.com/Variable-ind/Pixelorama-Extensions/blob/master/Extensions/Example.pck` is the URL path to your extension then replace "blob" with "raw" -// and the link becomes `"https://github.com/Variable-ind/Pixelorama-Extensions/raw/master/Extensions/Example.pck"`
- -// For further help see the entries below for reference of how it's done -## Entries: -[["name", "LospecPaletteImporter"], ["version", 1.1], ["description", "A Pixelorama extension for downloading and importing palettes directly from Lospec."], ["tags", "Palettes"], ["thumbnail", "https://github.com/Variable-ind/Lospec-Palette-Importer/assets/77773850/7ac86623-c428-4409-8f81-c7406527126f"], ["download_link", "https://github.com/OverloadedOrama/Lospec-Palette-Importer/releases/download/v1.1/LospecPaletteImporter.pck"]] -[["name", "OpenDyslexicFont"], ["version", 1.0], ["description", "A Pixelorama extension that sets the OpenDyslexic font as the main font of the user interface."], ["tags", "Fonts"], ["download_link", "https://github.com/OverloadedOrama/OpenDyslexic-Pixelorama-Extension/releases/download/v1.0/OpenDyslexicFont.pck"]] - - -## Other store links: -### VariableStore -https://raw.githubusercontent.com/Variable-ind/Pixelorama-Extensions/4.0/store_info.md