summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/inc/coursebackend
Commit message (Collapse)AuthorAgeFilesLines
* Fix A LOT of type problems, logic flaws, uninitialized variables etc.Simon Rettberg2017-12-161-2/+0Star
| | | | | Most of them were found by phpstorm, so I put in some time and went through the list, fixing quite a bunch of them.
* [locationinfo] Fix handling of invalid backends, remove dummy-backend in ↵Simon Rettberg2017-12-072-0/+5
| | | | production
* [locationinfo] Fix formatting of calendar starttime/endtime, remove if not ↵Simon Rettberg2017-12-051-2/+13
| | | | | | | | possible The weekcalendar plugin chokes on badly formatted timestamps, so either fix or remove dates which don't match the expectation. Fixes #3192
* [locationinfo] Disable exchangeSimon Rettberg2017-11-141-0/+0
|
* [locationinfo] Add backend for Microsoft Exchange ServerSteffen Ritter2017-08-291-0/+203
| | | | We use the php-ews library which can be easily integrated via composer
* [locationinfo] Fix davinci backend connection test, minor tweaks to web viewSimon Rettberg2017-08-161-2/+6
|
* [locationinfo] Better error handling in hisinone backendSimon Rettberg2017-07-251-13/+29
|
* [locationinfo] Improve dummy backend data generatorSimon Rettberg2017-07-121-4/+9
|
* [locationinfo] Try working around messy time handling (timezones etc), CSSSimon Rettberg2017-07-073-13/+28
| | | | | | | | | | | | 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-212-4/+4
| | | | service in hisinone a dropdown box
* [locationinfo] Properly support certificate and hostname verificationSimon Rettberg2017-04-212-6/+11
|
* [locationinfo] CourseBackend: Rename some methods to be more descriptiveSimon Rettberg2017-04-193-18/+18
|
* [locationinfo] Better backend-specific property handling, get rid of URLSimon Rettberg2017-04-193-43/+61
| | | | | | | | - 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-193-191/+150Star
| | | | | | | | | | | | | 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-123-74/+90
|
* Debug befehle entferntDirk Riestere2017-03-291-1/+0Star
|
* Dummy Klasse kommentiert und HisInOne erlaubt zwei Semester abzufragen falls ↵Dirk Riestere2017-03-292-4/+38
| | | | in dem Monat das Semester wechsel
* Bug das eine HisInOne Anfrage gestartet wird obwohl kein Shedule ↵Dirk Riestere2017-03-262-3/+4
| | | | aktualisiert werden muss ist behoben
* Übersetzungen der Credentials eingebaut und nicht fatale errors werden nun ↵Dirk Riestere2017-03-221-7/+8
| | | | im errorlog ausgegeben
* Backend credentials translation added. Bugfix: Checkboxes instead of bs ↵Jannik Schönartz2017-03-221-3/+2Star
| | | | switches were shown in the server settings
* Bug das der Name nicht gefunden wird, war ein Rechtschreibfehler der jetzt ↵Dirk Riestere2017-03-201-1/+1
| | | | behoben ist
* XML parser ist implementiert und HisInOne kann jetzt gelesen werdenDirk Riestere2017-03-202-91/+80Star
|
* Locationinfo: admin-panel: Fixed a Bug where a space in a credentialname ↵Jannik Schönartz2017-03-191-1/+2
| | | | caused errors. Changes the checkbox to bs-switch.
* Rework of the Server List. Many Bugfixes (see Mail).Jannik Schönartz2017-03-171-2/+2
|
* Codeormat verschönert für HisInOne und ein json_encode für das backend ↵Dirk Riestere2017-03-141-1/+1
| | | | eingefügt der vergessen wurde
* Codeormat verschönert für HisInOne und ein json_encode für das backend ↵Dirk Riestere2017-03-141-1/+1
| | | | eingefügt der vergessen wurde
* Fehler beim xml lesen behobenDirk Riestere2017-03-092-268/+197Star
|
* Locationinfo: Errors from the CourseBackend are now safes in the db and ↵Jannik Schönartz2017-03-091-4/+20
| | | | shown in the Admin-Panel. Refresh-button added for the servers. Install.php needs to be executed!
* Backend: Fixed a bug where inside an if there was only one = instead of 2. ↵Jannik Schönartz2017-03-081-1/+1
| | | | (Forgot to add file in the previous commit)
* setCredentials wie im Treffen besprochen geändert und fetchshedule gibt ↵Dirk Riestere2017-03-082-24/+41
| | | | jetzt nur noch arrays zurück
* Noch mehr exeption werden gefangen und die errors verhalten sich jetzt wie ↵Dirk Riestere2017-03-062-10/+14
| | | | beschrieben
* Noch mehr exeption werden gefangen und das verhalten bei errors ist ↵Dirk Riestere2017-03-053-72/+97
| | | | vereinheitlicht
* Checkconnection prüft jetzt ob eine url existiert, array exeption sollten ↵Dirk Riestere2017-03-052-34/+40
| | | | jetzt gefangen werden und die credentials werden gleich getestet
* Checkconnection prüft jetzt ob eine url existiert, array exeption sollten ↵Dirk Riestere2017-03-052-383/+412
| | | | jetzt gefangen werden und die credentials werden gleich getestet
* Admin-panel: Credentials Button is now red/green if the connection ↵Jannik Schönartz2017-03-051-1/+1
| | | | failed/succeeded. Also an error msg is shown if the connection failed.
* ServerList: Fixed a bug while editing the list would not show the not ↵Jannik Schönartz2017-03-041-2/+2
| | | | selected Servers. Dummy updates to a current-dated date.
* Fixed dummy classJannik Schönartz2017-03-031-1/+1
|
* Bugfixes und Code verschönertDirk Riestere2017-03-022-106/+124
|
* Added checkConnection in the Dummy classJannik Schönartz2017-03-021-0/+4
|
* Bugfixes und Davincii ist jetzt implementiertDirk Riestere2017-03-022-13/+70
|
* Das HisInOne Backend funktioniert nun auch mit OpenCourseServiceDirk Riestere2017-03-021-11/+34
|
* Klasse extends jetzt auch wieder CourseBackendDirk Riestere2017-03-021-1/+1
|
* DOM verkleinert in findUnitDirk Riestere2017-03-021-2/+2
|
* DOM verkleinert in findUnitDirk Riestere2017-03-021-30/+1Star
|
* Bugfixes und checkConection implementiertDirk Riestere2017-03-012-11/+25
|
* API: Fixed Calendar function.Jannik Schönartz2017-03-011-2/+2
|
* Dummy modificationJannik Schönartz2017-02-281-1/+14
|
* Bugfixes and Errorcode implementationDirk Riestere2017-02-271-2/+3
|