summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php
Commit message (Collapse)AuthorAgeFilesLines
* [locationinfo] davinchi: Reuse curl handleSimon Rettberg2018-04-181-5/+17
|
* [locationinfo] Fix handling of invalid backends, remove dummy-backend in ↵Simon Rettberg2017-12-071-0/+3
| | | | production
* [locationinfo] Fix davinci backend connection test, minor tweaks to web viewSimon Rettberg2017-08-161-2/+6
|
* [locationinfo] Improve dummy backend data generatorSimon Rettberg2017-07-121-4/+9
|
* [locationinfo] Try working around messy time handling (timezones etc), CSSSimon Rettberg2017-07-071-2/+2
| | | | | | | | | | | | Webkit/Presto and Blink/Gecko (or rather the corresponding JS engine) disagree about how to handle certain date format strings wrt. time zones. This leads to nasty discrepancies of events being displayed in the calendar. (Unfortunately the students working on this project could not be convinced that properly handling time zones when dealing with time information should be considered important.) Also, some tweaks to CSS/layout have been implemented so the design isn't as messed up on old webkits that don't support flex layout.
* [locationinfo] Backend: Proper checkConnection() for davinci, make course ↵Simon Rettberg2017-04-211-2/+2
| | | | service in hisinone a dropdown box
* [locationinfo] Properly support certificate and hostname verificationSimon Rettberg2017-04-211-4/+9
|
* [locationinfo] CourseBackend: Rename some methods to be more descriptiveSimon Rettberg2017-04-191-3/+3
|
* [locationinfo] Better backend-specific property handling, get rid of URLSimon Rettberg2017-04-191-4/+8
| | | | | | | | - The backend URL still had special treatment for legacy reasons, when it would be perfectly fine to make it just another generic property the backend has to define. - Allow for the backend to declare a default value for properties. - Base class will now check and sanitize the setCredentials() input.
* [locationinfo] Enable 30 minutes caching for davinciSimon Rettberg2017-04-191-1/+1
|
* [locationinfo] CourseBackends: Lots of bug fixes, missing error checks, ↵Simon Rettberg2017-04-191-55/+39Star
| | | | | | | | | | | | | improvements: - Add more checks for returned data structures from backend, like keys in arrays - Better error messages if something goes wrong, not just "server sent wrong xml" - Make checkConnection() of davinci and hisinone not require a valid room id, which we don't have in general - hisinone: Parse data structure just once for every room - Request coalescing: Only try so if getRefreshTime() > getCacheTime() - Move toArray() to base class instead of having two copies - Sanitize variable naming conventions
* [locationinfo] Davinci: Fix requested timespan, use single quotes for regex ↵Simon Rettberg2017-04-181-3/+4
| | | | with backslashes to prevent evaluation by php
* [locationinfo] Format php filesSimon Rettberg2017-04-121-2/+2
|
* Bug das eine HisInOne Anfrage gestartet wird obwohl kein Shedule ↵Dirk Riestere2017-03-261-1/+0Star
| | | | aktualisiert werden muss ist behoben
* XML parser ist implementiert und HisInOne kann jetzt gelesen werdenDirk Riestere2017-03-201-7/+14
|
* Fehler beim xml lesen behobenDirk Riestere2017-03-091-32/+31Star
|
* setCredentials wie im Treffen besprochen geändert und fetchshedule gibt ↵Dirk Riestere2017-03-081-5/+9
| | | | jetzt nur noch arrays zurück
* Noch mehr exeption werden gefangen und die errors verhalten sich jetzt wie ↵Dirk Riestere2017-03-061-3/+4
| | | | beschrieben
* Noch mehr exeption werden gefangen und das verhalten bei errors ist ↵Dirk Riestere2017-03-051-9/+16
| | | | vereinheitlicht
* Checkconnection prüft jetzt ob eine url existiert, array exeption sollten ↵Dirk Riestere2017-03-051-1/+1
| | | | jetzt gefangen werden und die credentials werden gleich getestet
* Checkconnection prüft jetzt ob eine url existiert, array exeption sollten ↵Dirk Riestere2017-03-051-21/+34
| | | | jetzt gefangen werden und die credentials werden gleich getestet
* Bugfixes und Code verschönertDirk Riestere2017-03-021-90/+102
|
* Bugfixes und Davincii ist jetzt implementiertDirk Riestere2017-03-021-9/+66
|
* Bugfixes und checkConection implementiertDirk Riestere2017-03-011-0/+5
|
* Bugfixes and Errorcode implementationDirk Riestere2017-02-271-2/+3
|
* Bugfixes and Errorcode implementationDirk Riestere2017-02-271-0/+2
|
* Bugfixes und Caching wie besprochen verändertDirk Riestere2017-02-241-1/+1
|
* die klassen können jetzt ohne parameter erstellt werden, die url und die ↵Dirk Riestere2017-02-221-0/+32
serverID wird jetzt in setCredentials gesetzt