This commit is contained in:
Torsten 2024-12-23 15:46:37 +01:00
parent 35bd66f21f
commit 8ab76adbe6
146 changed files with 101 additions and 40 deletions

View file

@ -0,0 +1,3 @@
```bash
python3 -m http.server
```

View file

@ -0,0 +1,54 @@
https://codeigniter.com/user_guide/libraries/cors.html
app/Config/Filters.php
```php
public array $filters = [
// ...
'cors' => [
'before' => ['api/*'],
'after' => ['api/*'],
],
];
```
app/Config/Routes.php
```php
// API routes (put below service('auth'))
// For Cors preflight check
$routes->group('', ['filter' => 'cors'], static function (RouteCollection $routes) {
$routes->options('api/(:any)', static function () {});
});
$routes->group("api", ["filter" => "cors", "namespace" => "App\Controllers\Api"], function($routes) {
$routes->post("register", "AuthController::register");
$routes->post("login", "AuthController::login", ["filter"=>"cors"]);
$routes->get("profile", "AuthController::profile");
$routes->get("logout", "AuthController::logout", ["filter"=>"apiauth"]);
$routes->get("invalid-access", "AuthController::accessDenied");
$routes->get("test2" , "AuthController::test2");
# WORKS
$routes->get("test" , "TestController::test");
//$routes->post("add-project", "ProjectController::addProject");
//$routes->get("list-projects", "ProjectController::listProjects");
//$routes->delete("delete-project/(:num)", "ProjectController::deleteProject/$1");
});
```
app/Config/Cors.php
```php
'allowedOrigins' => ['*'],
'allowedOriginsPatterns' => ['http://.*','https://.*'],
'allowedMethods' => ['GET', 'POST', 'PUT', 'DELETE'],
'allowedHeaders' => ['*'],
'maxAge' => 7200,
```

View file

@ -28,73 +28,78 @@ AWA Verwendete Tools
{
"type": "excalidraw",
"version": 2,
"source": "https://github.com/zsviczian/obsidian-excalidraw-plugin/releases/tag/1.9.12",
"source": "https://github.com/zsviczian/obsidian-excalidraw-plugin/releases/tag/2.0.17",
"elements": [
{
"id": "feJFj2ek",
"type": "text",
"x": -128.25,
"y": -498.4453125,
"width": 325.599609375,
"height": 325,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"version": 393,
"versionNonce": 1918635412,
"isDeleted": false,
"id": "feJFj2ek",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -128.25,
"y": -498.4453125,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 254.375,
"height": 325,
"seed": 9804352,
"groupIds": [],
"frameId": null,
"roundness": null,
"seed": 9804352,
"version": 392,
"versionNonce": 415726144,
"isDeleted": false,
"boundElements": null,
"updated": 1703072229416,
"boundElements": [],
"updated": 1734941612700,
"link": null,
"locked": false,
"text": "AWA Verwendete Tools\n Godot (aktuelle Version 4.2)\n Blender 3.6.4\n Add-On AutoRig Pro\n Add-On SimpleBake\n Add-On Human Generator\n Add-On Quad Remesher\n Add-On Sanctus Lib\n Add-On SimplyCloth Pro\n Gimp\n Krita\n \n ",
"rawText": "AWA Verwendete Tools\n Godot (aktuelle Version 4.2)\n Blender 3.6.4\n Add-On AutoRig Pro\n Add-On SimpleBake\n Add-On Human Generator\n Add-On Quad Remesher\n Add-On Sanctus Lib\n Add-On SimplyCloth Pro\n Gimp\n Krita\n \n ",
"fontSize": 20,
"fontFamily": 1,
"text": "AWA Verwendete Tools\n Godot (aktuelle Version 4.2)\n Blender 3.6.4\n Add-On AutoRig Pro\n Add-On SimpleBake\n Add-On Human Generator\n Add-On Quad Remesher\n Add-On Sanctus Lib\n Add-On SimplyCloth Pro\n Gimp\n Krita\n \n ",
"rawText": "AWA Verwendete Tools\n Godot (aktuelle Version 4.2)\n Blender 3.6.4\n Add-On AutoRig Pro\n Add-On SimpleBake\n Add-On Human Generator\n Add-On Quad Remesher\n Add-On Sanctus Lib\n Add-On SimplyCloth Pro\n Gimp\n Krita\n \n ",
"textAlign": "left",
"verticalAlign": "top",
"baseline": 318,
"containerId": null,
"originalText": "AWA Verwendete Tools\n Godot (aktuelle Version 4.2)\n Blender 3.6.4\n Add-On AutoRig Pro\n Add-On SimpleBake\n Add-On Human Generator\n Add-On Quad Remesher\n Add-On Sanctus Lib\n Add-On SimplyCloth Pro\n Gimp\n Krita\n \n ",
"lineHeight": 1.25
"lineHeight": 1.25,
"baseline": 319
},
{
"id": "OyjLcS3Lz6WXQ8QA6f9va",
"type": "line",
"x": -129.25,
"y": -475.4453125,
"width": 226,
"height": 2,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"version": 52,
"versionNonce": 1014911424,
"isDeleted": false,
"id": "OyjLcS3Lz6WXQ8QA6f9va",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -129.25,
"y": -475.4453125,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 226,
"height": 2,
"seed": 551352896,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 2
},
"seed": 551352896,
"version": 52,
"versionNonce": 1014911424,
"isDeleted": false,
"boundElements": null,
"boundElements": [],
"updated": 1703072051030,
"link": null,
"locked": false,
"startBinding": null,
"endBinding": null,
"lastCommittedPoint": null,
"startArrowhead": null,
"endArrowhead": null,
"points": [
[
0,
@ -104,12 +109,7 @@ AWA Verwendete Tools
226,
-2
]
],
"lastCommittedPoint": null,
"startBinding": null,
"endBinding": null,
"startArrowhead": null,
"endArrowhead": null
]
}
],
"appState": {
@ -127,13 +127,17 @@ AWA Verwendete Tools
"currentItemTextAlign": "left",
"currentItemStartArrowhead": null,
"currentItemEndArrowhead": "arrow",
"scrollX": 311.751285302639,
"scrollY": 624.01171875,
"scrollX": 412.613589990139,
"scrollY": 628.0078125,
"zoom": {
"value": 2
},
"currentItemRoundness": "round",
"gridSize": null,
"gridColor": {
"Bold": "#C9C9C9FF",
"Regular": "#EDEDEDFF"
},
"currentStrokeOptions": null,
"previousGridSize": null,
"frameRendering": {

View file

Before

Width:  |  Height:  |  Size: 201 KiB

After

Width:  |  Height:  |  Size: 201 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 415 KiB

After

Width:  |  Height:  |  Size: 415 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 332 KiB

After

Width:  |  Height:  |  Size: 332 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 362 KiB

After

Width:  |  Height:  |  Size: 362 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 524 KiB

After

Width:  |  Height:  |  Size: 524 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 323 KiB

After

Width:  |  Height:  |  Size: 323 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 432 KiB

After

Width:  |  Height:  |  Size: 432 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 224 KiB

After

Width:  |  Height:  |  Size: 224 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 59 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 66 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 209 KiB

After

Width:  |  Height:  |  Size: 209 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 198 KiB

After

Width:  |  Height:  |  Size: 198 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 53 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 2 KiB

After

Width:  |  Height:  |  Size: 2 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 64 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 112 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 254 KiB

After

Width:  |  Height:  |  Size: 254 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 195 KiB

After

Width:  |  Height:  |  Size: 195 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 153 KiB

After

Width:  |  Height:  |  Size: 153 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 283 KiB

After

Width:  |  Height:  |  Size: 283 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 190 KiB

After

Width:  |  Height:  |  Size: 190 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 64 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 168 KiB

After

Width:  |  Height:  |  Size: 168 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 226 KiB

After

Width:  |  Height:  |  Size: 226 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 293 KiB

After

Width:  |  Height:  |  Size: 293 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 354 KiB

After

Width:  |  Height:  |  Size: 354 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 328 KiB

After

Width:  |  Height:  |  Size: 328 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 224 KiB

After

Width:  |  Height:  |  Size: 224 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 155 KiB

After

Width:  |  Height:  |  Size: 155 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 249 KiB

After

Width:  |  Height:  |  Size: 249 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 172 KiB

After

Width:  |  Height:  |  Size: 172 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 170 KiB

After

Width:  |  Height:  |  Size: 170 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 228 KiB

After

Width:  |  Height:  |  Size: 228 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 261 KiB

After

Width:  |  Height:  |  Size: 261 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 192 KiB

After

Width:  |  Height:  |  Size: 192 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 206 KiB

After

Width:  |  Height:  |  Size: 206 KiB

Before After
Before After

Some files were not shown because too many files have changed in this diff Show more