Rename edl -> erm

This commit is contained in:
JeremyStar™ 2024-03-31 17:35:09 +02:00
parent 0dac9b66c5
commit 5e9ef226d6
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
4 changed files with 6 additions and 9 deletions

View file

@ -20,7 +20,7 @@ Use these to access CORE's modules.
- [`misc`](/reference/misc) - [`misc`](/reference/misc)
- `logui` (not important for developers, displays the log graphically) - `logui` (not important for developers, displays the log graphically)
- [`sms`](/reference/sms) - [`sms`](/reference/sms)
- [`edl`](/reference/edl) - [`erm`](/reference/erm) (formerly `edl`)
- [`storage`](/reference/storage) - [`storage`](/reference/storage)
## Variables ## Variables

View file

@ -2,8 +2,8 @@
sidebar_position: 8 sidebar_position: 8
--- ---
# `Easy DownLoader` # `Easy Request Maker`
Pulls files from the internet, awaitable and batchable. Allows for awaited, batched and oneline requests.
## Functions ## Functions
### *Dictionary* <u>awaited_request</u>(*String* <u>url</u>, *bool* <u>parse_utf8</u>, *HTTPClient.Method* <u>method</u> = *HTTPClient.Method.METHOD_GET*, *PackedStringArray* <u>headers</u> = *PackedStringArray([])*, *String* <u>data</u> = *""*) ### *Dictionary* <u>awaited_request</u>(*String* <u>url</u>, *bool* <u>parse_utf8</u>, *HTTPClient.Method* <u>method</u> = *HTTPClient.Method.METHOD_GET*, *PackedStringArray* <u>headers</u> = *PackedStringArray([])*, *String* <u>data</u> = *""*)

View file

@ -31,7 +31,7 @@ const version_type: CoreTypes.VersionType = CoreTypes.VersionType.BETA
const version_typerelease: int = 4 const version_typerelease: int = 4
# Modules # Modules
const modules: Array[String] = [ "logger", "misc", "sms", "logui", "edl", "storage" ] const modules: Array[String] = [ "logger", "misc", "sms", "logui", "erm", "storage" ]
## Use this to access CORE's logging implementation. ## Use this to access CORE's logging implementation.
var logger: CoreBaseModule var logger: CoreBaseModule
## Use this to access various useful functions. ## Use this to access various useful functions.
@ -41,7 +41,7 @@ var sms: CoreBaseModule
## Use this to access the graphical log. Serves no importance to you (probably). ## Use this to access the graphical log. Serves no importance to you (probably).
var logui: CoreBaseModule var logui: CoreBaseModule
## Use this to access CORE's builtin HTTP request maker. ## Use this to access CORE's builtin HTTP request maker.
var edl: CoreBaseModule var erm: CoreBaseModule
## Use this to access configuration and settings files easily. ## Use this to access configuration and settings files easily.
var storage: CoreBaseModule var storage: CoreBaseModule
@ -207,7 +207,6 @@ func apply_configuration() -> void:
logger.verbf("Core", "Applying configuration") logger.verbf("Core", "Applying configuration")
if is_devmode(): logger.warnf("Core", "The CORE Framework is in development mode. Here be dragons!") if is_devmode(): logger.warnf("Core", "The CORE Framework is in development mode. Here be dragons!")
if config.headless: logger.warnf("Core", "CORE is in headless mode. Certain modules will not work as expected.") if config.headless: logger.warnf("Core", "CORE is in headless mode. Certain modules will not work as expected.")
edl._pull_config()
if !config.custom_modules: if !config.custom_modules:
logger.verbf("Core", "Removing all custom modules (custom modules support is disabled)") logger.verbf("Core", "Removing all custom modules (custom modules support is disabled)")
for module in custom_modules: unregister_custom_module(module) for module in custom_modules: unregister_custom_module(module)

View file

@ -15,9 +15,7 @@
# You should have received a copy of the GNU Affero General Public License # You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>. # along with this program. If not, see <https://www.gnu.org/licenses/>.
## A easy download/request maker. ## Allows for awaited, batched and oneline requests.
##
## Allows for awaited and/or batched requests.
extends CoreBaseModule extends CoreBaseModule
var list_queue: Dictionary = {} var list_queue: Dictionary = {}