mirror of
https://github.com/Karaka-Management/Developer-Guide.git
synced 2026-02-08 00:28:41 +00:00
bump
This commit is contained in:
parent
52505439e3
commit
913f79913f
12
.github/FUNDING.yml
vendored
12
.github/FUNDING.yml
vendored
|
|
@ -1,12 +0,0 @@
|
||||||
# These are supported funding model platforms
|
|
||||||
|
|
||||||
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
|
||||||
patreon: # orange_management
|
|
||||||
open_collective: # Replace with a single Open Collective username
|
|
||||||
ko_fi: # Replace with a single Ko-fi username
|
|
||||||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
|
||||||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
|
||||||
liberapay: # Replace with a single Liberapay username
|
|
||||||
issuehunt: # Replace with a single IssueHunt username
|
|
||||||
otechie: # Replace with a single Otechie username
|
|
||||||
custom: ['https://paypal.me/orangemgmt']
|
|
||||||
|
|
@ -9,7 +9,7 @@ Alerts are boxes styled in such a way that they attract the attention of the use
|
||||||

|

|
||||||
|
|
||||||
```html
|
```html
|
||||||
<div class="log-msg log-msg-status-ok"><i class="fa fa-check"></i>This is ok</div>
|
<div class="log-msg log-lvl-ok"><i class="fa fa-check"></i>This is ok</div>
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Advanced
|
#### Advanced
|
||||||
|
|
@ -17,7 +17,7 @@ Alerts are boxes styled in such a way that they attract the attention of the use
|
||||||

|

|
||||||
|
|
||||||
```html
|
```html
|
||||||
<div class="log-msg log-msg-status-ok">
|
<div class="log-msg log-lvl-ok">
|
||||||
<h1 class="log-msg-title">This is a Title</h1><i class="close fa fa-times"></i>
|
<h1 class="log-msg-title">This is a Title</h1><i class="close fa fa-times"></i>
|
||||||
<div class="log-msg-content">This is a message</div>
|
<div class="log-msg-content">This is a message</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -28,7 +28,7 @@ Alerts are boxes styled in such a way that they attract the attention of the use
|
||||||

|

|
||||||
|
|
||||||
```html
|
```html
|
||||||
<div class="log-msg log-msg-status-info"><i class="fa fa-bell"></i>This is a info</div>
|
<div class="log-msg log-lvl-info"><i class="fa fa-bell"></i>This is a info</div>
|
||||||
```
|
```
|
||||||
|
|
||||||
### Warning
|
### Warning
|
||||||
|
|
@ -36,7 +36,7 @@ Alerts are boxes styled in such a way that they attract the attention of the use
|
||||||

|

|
||||||
|
|
||||||
```html
|
```html
|
||||||
<div class="log-msg log-msg-status-warning"><i class="fa fa-exclamation-triangle"></i>This is a warning</div>
|
<div class="log-msg log-lvl-warning"><i class="fa fa-exclamation-triangle"></i>This is a warning</div>
|
||||||
```
|
```
|
||||||
|
|
||||||
### Error
|
### Error
|
||||||
|
|
@ -44,7 +44,7 @@ Alerts are boxes styled in such a way that they attract the attention of the use
|
||||||

|

|
||||||
|
|
||||||
```html
|
```html
|
||||||
<div class="log-msg log-msg-status-error"><i class="fa fa-times"></i>This is an error</div>
|
<div class="log-msg log-lvl-error"><i class="fa fa-times"></i>This is an error</div>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,7 @@ Additional tools and settings coming with the VM:
|
||||||
5. `sitespeed.io ./Build/Helper/Scripts/sitespeedDemoUrls.txt -b chrome --outputFolder /var/www/html/sitespeed`
|
5. `sitespeed.io ./Build/Helper/Scripts/sitespeedDemoUrls.txt -b chrome --outputFolder /var/www/html/sitespeed`
|
||||||
6. Slow sql query threashold is defined as 0.5s.
|
6. Slow sql query threashold is defined as 0.5s.
|
||||||
|
|
||||||
<p class="centerText">
|
<p class="cT">
|
||||||
<img width="150px" tabindex="0" src="./Developer-Guide/general/img/webgrind.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/general/img/trace_visualizer.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/general/img/sitespeed.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/general/img/codecoverage.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/general/img/coverage_analysis.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/general/img/metrics.jpg">
|
<img width="150px" tabindex="0" src="./Developer-Guide/general/img/webgrind.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/general/img/trace_visualizer.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/general/img/sitespeed.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/general/img/codecoverage.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/general/img/coverage_analysis.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/general/img/metrics.jpg">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ The user request gets passed through the entire application to all modules. The
|
||||||
|
|
||||||
The routes usually reference endpoints in the module `controllers` which collects the model data through the model `mapper` and creates a partial response `view` with an assigned `template` and the collected model data.
|
The routes usually reference endpoints in the module `controllers` which collects the model data through the model `mapper` and creates a partial response `view` with an assigned `template` and the collected model data.
|
||||||
|
|
||||||
<p class="centerText">
|
<p class="cT">
|
||||||
<img alt="Application Flow" src="./Developer-Guide/general/app_flow.drawio.svg">
|
<img alt="Application Flow" src="./Developer-Guide/general/app_flow.drawio.svg">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
@ -35,6 +35,6 @@ Furthermore the Application also performs a `CSRF` check, defines the `CSP`, aut
|
||||||
|
|
||||||
A short extract of the database structure can be seen below. Please note that this only contains the very basic tables from a fresh install with very few modules and even then we only included the key tables for simplicity reasons.
|
A short extract of the database structure can be seen below. Please note that this only contains the very basic tables from a fresh install with very few modules and even then we only included the key tables for simplicity reasons.
|
||||||
|
|
||||||
<p class="centerText">
|
<p class="cT">
|
||||||
<img alt="Application UML" src="./Developer-Guide/general/base_uml.drawio.svg">
|
<img alt="Application UML" src="./Developer-Guide/general/base_uml.drawio.svg">
|
||||||
</p>
|
</p>
|
||||||
|
|
@ -17,7 +17,7 @@ The following automated tests must pass without errors, failures and warnings fo
|
||||||
* `./cOMS/tests/test.sh`
|
* `./cOMS/tests/test.sh`
|
||||||
* see [other checks](#other-checks) below
|
* see [other checks](#other-checks) below
|
||||||
|
|
||||||
<p class="centerText">
|
<p class="cT">
|
||||||
<img width="150px" tabindex="0" src="./Developer-Guide/quality/img/webgrind.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/quality/img/trace_visualizer.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/quality/img/sitespeed.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/quality/img/sitespeed_waterfall.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/quality/img/codecoverage.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/quality/img/coverage_analysis.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/quality/img/metrics.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/quality/img/phpunit_html.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/quality/img/phpcs.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/quality/img/phpstan.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/quality/img/rector.jpg">
|
<img width="150px" tabindex="0" src="./Developer-Guide/quality/img/webgrind.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/quality/img/trace_visualizer.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/quality/img/sitespeed.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/quality/img/sitespeed_waterfall.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/quality/img/codecoverage.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/quality/img/coverage_analysis.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/quality/img/metrics.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/quality/img/phpunit_html.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/quality/img/phpcs.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/quality/img/phpstan.jpg"> <img width="150px" tabindex="0" src="./Developer-Guide/quality/img/rector.jpg">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -72,8 +72,8 @@ Javascript can now be included like this:
|
||||||
$head = $response->data['Content']->head;
|
$head = $response->data['Content']->head;
|
||||||
$nonce = $this->app->appSettings->getOption('script-nonce');
|
$nonce = $this->app->appSettings->getOption('script-nonce');
|
||||||
|
|
||||||
$head->addAsset(AssetType::JSLATE, 'Resources/chartjs/Chartjs/chart.js', ['nonce' => $nonce]);
|
$head->addAsset(AssetType::JSLATE, 'Resources/chartjs/Chartjs/chart.js?v=' . $this->app->version, ['nonce' => $nonce]);
|
||||||
$head->addAsset(AssetType::JSLATE, 'Modules/ItemManagement/Controller.js', ['nonce' => $nonce, 'type' => 'module']);
|
$head->addAsset(AssetType::JSLATE, 'Modules/ItemManagement/Controller.js?v=' . self::VERSION, ['nonce' => $nonce, 'type' => 'module']);
|
||||||
```
|
```
|
||||||
|
|
||||||
### X-XSS-Protection
|
### X-XSS-Protection
|
||||||
|
|
|
||||||
|
|
@ -188,11 +188,19 @@ In code todos can be created like this
|
||||||
```php
|
```php
|
||||||
/**
|
/**
|
||||||
* @todo Multi line todo
|
* @todo Multi line todo
|
||||||
* This way developers can see todos directly in the code without going to an external source.
|
* This way developers can see todos directly in the code without going to an external source.
|
||||||
* Todos must not have empty lines in their descriptions.
|
* Todos must not have empty lines in their descriptions.
|
||||||
* If the external ressources have empty lines they must be removed in the todo comment.
|
* If the external resources have empty lines they must be removed in the todo comment.
|
||||||
* 1. list item 1
|
* 1. list item 1
|
||||||
* 2. list item 2
|
* 2. list item 2
|
||||||
*/
|
*/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
We support and recognize the following todo tags:
|
||||||
|
|
||||||
|
* @security For todos which have a strong security impact
|
||||||
|
* @bug For bugs
|
||||||
|
* @feature For features that should be implemented
|
||||||
|
* @performance For ideas/concerns regarding performance
|
||||||
|
* @todo General todos
|
||||||
|
* @question Ideas and concerns that need further investigation
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user