From aed9628c7867fc35e803bea4f2089f02294d1976 Mon Sep 17 00:00:00 2001 From: AlexanderKaschta Date: Fri, 14 Aug 2020 19:16:23 +0200 Subject: [PATCH 01/11] Creating a new development branch --- core/config.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/config.php b/core/config.php index 172d793..27bce8d 100644 --- a/core/config.php +++ b/core/config.php @@ -17,3 +17,5 @@ //Beispiel für die E-Mail-Adresse des Administrators define("ADMINISTRATOR", "Hr. Mustermann"); +define("SCHULE", "Weidigschule"); + From 69d425fc65d0f20e97023d0ab4246dbc091cf21a Mon Sep 17 00:00:00 2001 From: AlexanderKaschta Date: Sat, 15 Aug 2020 20:47:12 +0200 Subject: [PATCH 02/11] Bugfix: Wrong redirect --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 30be445..053d01d 100644 --- a/index.php +++ b/index.php @@ -28,7 +28,7 @@
\ No newline at end of file From 75fca371c4198396bb8085439ecd2a61493b56ab Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 7 Sep 2020 00:44:06 +0200 Subject: [PATCH 07/11] - Added new parameter for the password length - Optimized footer --- core/.htaccess | 6 +++++- core/config.php | 7 ++++++- core/include/.htaccess | 7 ++++--- core/include/footer.php | 3 +-- core/parseStudentCSV.php | 6 +++++- 5 files changed, 21 insertions(+), 8 deletions(-) diff --git a/core/.htaccess b/core/.htaccess index 45552cb..1c7e001 100644 --- a/core/.htaccess +++ b/core/.htaccess @@ -1 +1,5 @@ -Options -Indexes \ No newline at end of file +Options -Indexes + + + Require all denied + \ No newline at end of file diff --git a/core/config.php b/core/config.php index 90a42c4..71aa77f 100644 --- a/core/config.php +++ b/core/config.php @@ -19,11 +19,16 @@ // GitHub-Link define("GITHUB_LINK", "https://www.github.com/AlexanderKaschta/WeidigWahl"); +// SICHERHEIT + +// Passwortlänge +define("PASSWORD_LENGTH", 8); + // ALLGEMEIN define("PROJECT_NAME", "WeidigWahl"); // Name der Schule, die das System verwendet -define("SCHULE", "Weidigschule"); +define("SCHOOL", "Weidigschule"); // Verantortlicher Administrator an der Schule für die Nutzung des Systens define("ADMINISTRATOR", "Hr. Mustermann"); diff --git a/core/include/.htaccess b/core/include/.htaccess index 09d10ec..9405fc0 100644 --- a/core/include/.htaccess +++ b/core/include/.htaccess @@ -1,6 +1,7 @@ Options -Indexes - - Order Allow,Deny - Deny from all +Require all denied + + + Require all granted \ No newline at end of file diff --git a/core/include/footer.php b/core/include/footer.php index f8ccd00..5e8ba50 100644 --- a/core/include/footer.php +++ b/core/include/footer.php @@ -27,8 +27,7 @@