Merge remote-tracking branch 'origin/main'
This commit is contained in:
35
.vscode/launch.json
vendored
Normal file
35
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
// Use IntelliSense to find out which attributes exist for C# debugging
|
||||||
|
// Use hover for the description of the existing attributes
|
||||||
|
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
|
||||||
|
"name": ".NET Core Launch (web)",
|
||||||
|
"type": "coreclr",
|
||||||
|
"request": "launch",
|
||||||
|
"preLaunchTask": "build",
|
||||||
|
// If you have changed target frameworks, make sure to update the program path.
|
||||||
|
"program": "${workspaceFolder}/BetterIServ.Backend/bin/Debug/net7.0/BetterIServ.Backend.dll",
|
||||||
|
"args": [],
|
||||||
|
"cwd": "${workspaceFolder}/BetterIServ.Backend",
|
||||||
|
"stopAtEntry": false,
|
||||||
|
// Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser
|
||||||
|
"serverReadyAction": {
|
||||||
|
"action": "openExternally",
|
||||||
|
"pattern": "\\bNow listening on:\\s+(https?://\\S+)"
|
||||||
|
},
|
||||||
|
"env": {
|
||||||
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||||
|
},
|
||||||
|
"sourceFileMap": {
|
||||||
|
"/Views": "${workspaceFolder}/Views"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": ".NET Core Attach",
|
||||||
|
"type": "coreclr",
|
||||||
|
"request": "attach"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
41
.vscode/tasks.json
vendored
Normal file
41
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "build",
|
||||||
|
"command": "dotnet",
|
||||||
|
"type": "process",
|
||||||
|
"args": [
|
||||||
|
"build",
|
||||||
|
"${workspaceFolder}/BetterIServ.Backend/BetterIServ.Backend.csproj",
|
||||||
|
"/property:GenerateFullPaths=true",
|
||||||
|
"/consoleloggerparameters:NoSummary"
|
||||||
|
],
|
||||||
|
"problemMatcher": "$msCompile"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "publish",
|
||||||
|
"command": "dotnet",
|
||||||
|
"type": "process",
|
||||||
|
"args": [
|
||||||
|
"publish",
|
||||||
|
"${workspaceFolder}/BetterIServ.Backend/BetterIServ.Backend.csproj",
|
||||||
|
"/property:GenerateFullPaths=true",
|
||||||
|
"/consoleloggerparameters:NoSummary"
|
||||||
|
],
|
||||||
|
"problemMatcher": "$msCompile"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "watch",
|
||||||
|
"command": "dotnet",
|
||||||
|
"type": "process",
|
||||||
|
"args": [
|
||||||
|
"watch",
|
||||||
|
"run",
|
||||||
|
"--project",
|
||||||
|
"${workspaceFolder}/BetterIServ.Backend/BetterIServ.Backend.csproj"
|
||||||
|
],
|
||||||
|
"problemMatcher": "$msCompile"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -57,7 +57,7 @@ public class UnitsController : ControllerBase {
|
|||||||
|
|
||||||
if (!classes.StartsWith("Q")) {
|
if (!classes.StartsWith("Q")) {
|
||||||
string grade = new string(classes.ToCharArray().Where(char.IsNumber).ToArray());
|
string grade = new string(classes.ToCharArray().Where(char.IsNumber).ToArray());
|
||||||
if (string.IsNullOrEmpty(grade)) break;
|
if (string.IsNullOrEmpty(grade)) continue;
|
||||||
|
|
||||||
var subClasses = classes.Replace(grade, "").ToCharArray();
|
var subClasses = classes.Replace(grade, "").ToCharArray();
|
||||||
var result = new string[subClasses.Length];
|
var result = new string[subClasses.Length];
|
||||||
|
|||||||
16
README.md
Normal file
16
README.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# BetterIServ
|
||||||
|
BetterIServ ist ein Programm, welches semtliche Funktionen von IServ in ein Modernes Design verpackt.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
- [x] E-Mails
|
||||||
|
- [x] Datein
|
||||||
|
- [x] Stundenplan
|
||||||
|
- [x] Vertretungsplan
|
||||||
|
- [ ] Aufgaben
|
||||||
|
- [ ] Kalender
|
||||||
|
|
||||||
|
## Self host
|
||||||
|
Wärend es möglich ist, die docker images selbst zu hosten, gibt es noch keine Konfiguration. Somit müsste man in den Code der jeweiligen Dienste gehen und die domains und endpunkte manuell ändern.
|
||||||
|
|
||||||
|
## Contribute
|
||||||
|
Um am Projekt mitzuwirken, können sie entweder ein Issue erstellen und ein Feature anfragen oder ein Bug melden. Sofern sie selber den Code verbessern wollen, sind pull requests auch sehr gerne gesehen.
|
||||||
Reference in New Issue
Block a user