Skip to content

Add ENOTF_REQUIRE_USER_AUTH config and modernize setup design - #2

Merged
itshypax merged 6 commits into
mainfrom
copilot/add-config-variables-and-update-design
Nov 4, 2025
Merged

Add ENOTF_REQUIRE_USER_AUTH config and modernize setup design#2
itshypax merged 6 commits into
mainfrom
copilot/add-config-variables-and-update-design

Conversation

Copilot AI commented Nov 4, 2025

Copy link
Copy Markdown
Contributor

Adds new config variable ENOTF_REQUIRE_USER_AUTH to control whether users must authenticate in the main system to access eNOTF, and updates the setup page design to align with the main intraRP system's visual style.

Changes

  • Config Variable: Added ENOTF_REQUIRE_USER_AUTH checkbox after eNOTF PIN configuration

    • Defaults to false
    • Generates define with German comment on separate line for readability
  • Design Updates: Updated gradient from purple/violet to dark blue theme

    • Background: #1a1a2e → #16213e → #0f3460
    • Container: Enhanced shadows and increased border radius to 16px

Generated Config Example

define('ENOTF_PIN', '1234');
// Wird eine Registrierung/Anmeldung im Hauptsystem für den Zugang zum eNOTF vorausgesetzt? (true = ja, false = nein)
define('ENOTF_REQUIRE_USER_AUTH', false);

Screenshots

Updated design with dark gradient:
Setup Header

New ENOTF_REQUIRE_USER_AUTH checkbox:
eNOTF Config

Original prompt

This section details on the original issue you should resolve

<issue_title>Neue Config-Variablen hinzufügen und Design überarbeiten</issue_title>
<issue_description>1. Hinter ENOTF_PIN noch define('ENOTF_REQUIRE_USER_AUTH', false); // Wird eine Registrierung/Anmeldung im Hauptsystem für den Zugang zum eNOTF vorausgesetzt? (true = ja, false = nein) hinzufügen
2. Außerdem das Design weiter an das Hauptsystem anpassen: https://github.com/EmergencyForge/intraRP</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 3 commits November 4, 2025 03:59
Co-authored-by: itshypax <33388336+itshypax@users.noreply.github.com>
Co-authored-by: itshypax <33388336+itshypax@users.noreply.github.com>
Co-authored-by: itshypax <33388336+itshypax@users.noreply.github.com>
Copilot AI changed the title [WIP] Add new config variables and update design Add ENOTF_REQUIRE_USER_AUTH config and modernize setup design Nov 4, 2025
Copilot AI requested a review from itshypax November 4, 2025 04:06
@itshypax
itshypax marked this pull request as ready for review November 4, 2025 04:08
@itshypax
itshypax merged commit e7bdce9 into main Nov 4, 2025
@itshypax
itshypax deleted the copilot/add-config-variables-and-update-design branch November 4, 2025 04:09
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.

Neue Config-Variablen hinzufügen und Design überarbeiten

2 participants