Skip to content

Big changes for Modularization#196

Merged
Schlaumeier5 merged 36 commits intomainfrom
modularization
Mar 31, 2026
Merged

Big changes for Modularization#196
Schlaumeier5 merged 36 commits intomainfrom
modularization

Conversation

@Schlaumeier5
Copy link
Copy Markdown
Member

  • you can now implement plugins
  • plenty of functionalities are now configurable via json files
  • new ResourceManager approach

new type of virtual resource: module resource
handled by ModuleRequestHandler
GetResponse using sql resources and module resources
new get_path: /module-list
GetResponse now using new AccessManager approach
modules now get loaded from jars inside the "modules" folder by the ClassLoader, and then registered by ModuleLoader
ignoring the modules folder to make debugging easier
Now using providers instead of scanning the classpath
Three types of providers (so far): File provider (from the filesystem), plugin provider (from a module), core provider (from the core system, i. e. the fat jar)
Currently supported: JSON object (shallow merge), JSON list (appending), js and css code (concatenation)
RegistryEnums basically work like enums, but the constants are initialized at runtime using a registry,that way it can be configured using a config file for example
NavigationType is now a RegistryEnum
EnumRegistries now use RegistryEnums instead of plain Enums
Comment thread src/main/resources/js/site/student-database.js Fixed
…ing or encoding

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Schlaumeier5 and others added 2 commits March 31, 2026 13:23
…uring archive extraction ("Zip Slip")

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

if (entry.isDirectory()) continue;

String name = entry.getName();

Check failure

Code scanning / CodeQL

Arbitrary file access during archive extraction ("Zip Slip") High

Unsanitized archive entry, which may contain '..', is used in a
file system operation
.
Unsanitized archive entry, which may contain '..', is used in a
file system operation
.

Copilot Autofix

AI about 1 month ago

Copilot could not generate an autofix suggestion

Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support.

@Schlaumeier5 Schlaumeier5 merged commit 194e3c1 into main Mar 31, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants