brain/04 Ressourcen/IT/OS-Ticket Modifications.md

67 lines
1.6 KiB
Markdown

---
tags:
- upnote-import
---
# OS-Ticket Modifications
# Verbesserungen
Einträge via PHP löschen und Neuberechnung anstoßen
Einträge editieren und Neuberechnung anstoßen
Favoriten ergänzen
Möglichkeit Einträge für mehrere Tage zu erzeugen, zumindest für Abwesenheit
- Jahr
- Mitarbeiter
- Monat
- Kontierung
- Tickets
# Modifications
## Hide local login form for endusers
Add style="display:none" to login-box in login.inc.php
![](https://notes.straso.com/api/file_storage/7f2dc6d8-e16f-49eb-a4c6-01c7a87e5718/v1/blob/e9c0ae10%2D74b6%2D40b0%2D9cd2%2D577c24c8c7b2/_VIKAgKyGxiwvcKVn4e7iupDZYNSES20sBxjd52MoX8=.png)
## Allow email as valid username
Add
if (self::is\_valid\_email( $username))
return $error == '';
in is\_username method of class Validator in class.Validator.php
![](https://notes.straso.com/api/file_storage/7f2dc6d8-e16f-49eb-a4c6-01c7a87e5718/v1/blob/e9c0ae10%2D74b6%2D40b0%2D9cd2%2D577c24c8c7b2/aLBy3Ht1YwoO-rCCoX6dyX17K1P3eiNXXU8i_EHnIig=.png)
## Avoid selection of top-helptopics, if children are available
Add
jsTreeOpts\['parentSelectable'\]=0;
in include/client/open.in.php
![](https://notes.straso.com/api/file_storage/7f2dc6d8-e16f-49eb-a4c6-01c7a87e5718/v1/blob/e9c0ae10%2D74b6%2D40b0%2D9cd2%2D577c24c8c7b2/Xh-M0QjI3lBe3K665uVWn6gwvb48wrnEz-HJw4YzvtM=.png)
## API-Extensions
added
in http-.php
# Debugging
## Analyse problems with OAuth
Check exception in callback method in oauth2.php
![](https://notes.straso.com/api/file_storage/7f2dc6d8-e16f-49eb-a4c6-01c7a87e5718/v1/blob/e9c0ae10%2D74b6%2D40b0%2D9cd2%2D577c24c8c7b2/bzBUoBHJ15kJlVY42xp7CKJ55nrinoxCLEGXZAETFSc=.png)<br>