summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/inc/coursebackend/coursebackend_hisinone.inc.php
Commit message (Collapse)AuthorAgeFilesLines
* Roundup of issues reported by PHPStormSimon Rettberg2023-11-021-2/+1Star
| | | | Mostly redundant checks, logic errors, dead code, etc.
* [locationinfo] HiS: ID-regex for title was apparently to shortSimon Rettberg2023-04-171-1/+1
|
* [locationinfo] Add typesSimon Rettberg2022-05-231-7/+7
|
* [locationinfo] His: Remove lecture IDs from event namesSimon Rettberg2022-05-131-0/+9
|
* [locationinfo] Add generic ical backendSimon Rettberg2021-01-191-102/+7Star
| | | | Closes #3824
* [locationinfo] his: Change error_log to GUI errorSimon Rettberg2021-01-151-1/+1
|
* [locationinfo] His: Switch from SOAP to iCalSimon Rettberg2020-09-081-282/+62Star
| | | | | | | | | iCal downloads are much faster in more revent HisInOne versions, while the SOAP API will make cobbling together a time table for a specific room even more complicated in the next release (2020.12). Switch to iCal for now and see how it goes. TODO: Create a generic iCal backend module based on this.
* [locationinfo] Add ability to select the start day of the calendarUdo Walter2019-07-161-3/+4
|
* [locationinfo] Introduce timeouts for curl operationsSimon Rettberg2019-03-071-3/+4
|
* [locationinfo] Add error log for backendsSimon Rettberg2019-03-071-42/+28Star
|
* [locationinfo] Fix events not showingSimon Rettberg2019-02-191-1/+7
| | | | | HISinOne start and end dates are not reliable - ignore and check individual planned dates.
* [locationinfo] HisInOne: Properly handle multiple plannedDatesSimon Rettberg2019-01-291-0/+7
| | | | | | If a course has been running for several semesters, older plannedDate entries tend to have no individualDate entries. Ignore those and don't error_log about it.
* [locationinfo] HiS: Check if event has any planned datesSimon Rettberg2018-12-031-0/+2
|
* [inc/User] Fix access to Page if class is not loadedSimon Rettberg2018-08-071-18/+30
|
* [locationinfo] hisinone: Query relevant days only, not whole year/semesterSimon Rettberg2018-04-181-38/+46
| | | | | | | Speed up queries significantly by not going through all the courses for the whole year, but just query those that take place in the next seven days. We also reuse the curl handle now for some additional speedup.
* [locationinfo] Better error handling in hisinone backendSimon Rettberg2017-07-251-13/+29
|
* [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-2/+2
|
* [locationinfo] CourseBackend: Rename some methods to be more descriptiveSimon Rettberg2017-04-191-14/+14
|
* [locationinfo] Better backend-specific property handling, get rid of URLSimon Rettberg2017-04-191-30/+45
| | | | | | | | - 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] CourseBackends: Lots of bug fixes, missing error checks, ↵Simon Rettberg2017-04-191-128/+105Star
| | | | | | | | | | | | | 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] Format php filesSimon Rettberg2017-04-121-17/+14Star
|
* Debug befehle entferntDirk Riestere2017-03-291-1/+0Star
|
* Dummy Klasse kommentiert und HisInOne erlaubt zwei Semester abzufragen falls ↵Dirk Riestere2017-03-291-2/+5
| | | | in dem Monat das Semester wechsel
* Bug das eine HisInOne Anfrage gestartet wird obwohl kein Shedule ↵Dirk Riestere2017-03-261-2/+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
* 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-201-84/+66Star
|
* 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-091-236/+166Star
|
* 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-081-19/+32
| | | | jetzt nur noch arrays zurück
* Noch mehr exeption werden gefangen und die errors verhalten sich jetzt wie ↵Dirk Riestere2017-03-061-7/+10
| | | | beschrieben
* Noch mehr exeption werden gefangen und das verhalten bei errors ist ↵Dirk Riestere2017-03-051-59/+81
| | | | vereinheitlicht
* Checkconnection prüft jetzt ob eine url existiert, array exeption sollten ↵Dirk Riestere2017-03-051-33/+39
| | | | jetzt gefangen werden und die credentials werden gleich getestet
* Checkconnection prüft jetzt ob eine url existiert, array exeption sollten ↵Dirk Riestere2017-03-051-362/+378
| | | | jetzt gefangen werden und die credentials werden gleich getestet
* Bugfixes und Code verschönertDirk Riestere2017-03-021-16/+22
|
* Bugfixes und Davincii ist jetzt implementiertDirk Riestere2017-03-021-4/+4
|
* 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-011-11/+20
|
* Bugfixes and Errorcode implementationDirk Riestere2017-02-271-44/+126
|
* BugfixesDirk Riestere2017-02-241-2/+2
|
* Bugfixes und Caching wie besprochen verändertDirk Riestere2017-02-241-1/+6
|
* die klassen können jetzt ohne parameter erstellt werden, die url und die ↵Dirk Riestere2017-02-221-6/+4Star
| | | | serverID wird jetzt in setCredentials gesetzt
* fetchSchedule nimmt jetzt einen Array an und gibt mehrere Schedules zurückDirk Riestere2017-02-221-1/+3
|