Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add function param/return types, fix a lot more phpstorm complaints | Simon Rettberg | 2023-11-14 | 2 | -3/+8 |
| | |||||
* | [locationinfo] Fix crash with null-deref in exchange backend | Simon Rettberg | 2023-11-14 | 1 | -13/+15 |
| | |||||
* | Roundup of issues reported by PHPStorm | Simon Rettberg | 2023-11-02 | 1 | -2/+1 |
| | | | | Mostly redundant checks, logic errors, dead code, etc. | ||||
* | [locationinfo] HiS: ID-regex for title was apparently to short | Simon Rettberg | 2023-04-17 | 1 | -1/+1 |
| | |||||
* | [locationinfo] Add types | Simon Rettberg | 2022-05-23 | 5 | -41/+41 |
| | |||||
* | [locationinfo] His: Remove lecture IDs from event names | Simon Rettberg | 2022-05-13 | 1 | -0/+9 |
| | |||||
* | [locationinfo] Add generic ical backend | Simon Rettberg | 2021-01-19 | 2 | -102/+68 |
| | | | | Closes #3824 | ||||
* | [locationinfo] his: Change error_log to GUI error | Simon Rettberg | 2021-01-15 | 1 | -1/+1 |
| | |||||
* | [locationinfo] His: Switch from SOAP to iCal | Simon Rettberg | 2020-09-08 | 1 | -282/+62 |
| | | | | | | | | | 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. | ||||
* | Fix some typos (found by codespell) | Stefan Weil | 2019-12-14 | 1 | -1/+1 |
| | | | | Signed-off-by: Stefan Weil <sw@weilnetz.de> | ||||
* | [locationinfo] increased cached date span for backends: dummy, davinci and ↵ | Udo Walter | 2019-07-18 | 3 | -6/+6 |
| | | | | exchange | ||||
* | [locationinfo] Add ability to select the start day of the calendar | Udo Walter | 2019-07-16 | 1 | -3/+4 |
| | |||||
* | [locationinfo] Introduce timeouts for curl operations | Simon Rettberg | 2019-03-07 | 3 | -3/+8 |
| | |||||
* | [locationinfo] Add error log for backends | Simon Rettberg | 2019-03-07 | 4 | -76/+54 |
| | |||||
* | [locationinfo] Stoffelsteffen! | Simon Rettberg | 2019-02-20 | 1 | -6/+6 |
| | | | | | | - Enable caching for Exchange backend - Update curl option setting - Proper timestamp formatting | ||||
* | [locationinfo] Fix events not showing | Simon Rettberg | 2019-02-19 | 1 | -1/+7 |
| | | | | | HISinOne start and end dates are not reliable - ignore and check individual planned dates. | ||||
* | [locationinfo] HisInOne: Properly handle multiple plannedDates | Simon Rettberg | 2019-01-29 | 1 | -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 dates | Simon Rettberg | 2018-12-03 | 1 | -0/+2 |
| | |||||
* | [inc/User] Fix access to Page if class is not loaded | Simon Rettberg | 2018-08-07 | 1 | -18/+30 |
| | |||||
* | [locationinfo] davinchi: Reuse curl handle | Simon Rettberg | 2018-04-18 | 1 | -5/+17 |
| | |||||
* | [locationinfo] hisinone: Query relevant days only, not whole year/semester | Simon Rettberg | 2018-04-18 | 1 | -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] Add exchange backend | Simon Rettberg | 2018-04-05 | 2 | -203/+242 |
| | | | | Closes #3170 | ||||
* | Fix A LOT of type problems, logic flaws, uninitialized variables etc. | Simon Rettberg | 2017-12-16 | 1 | -2/+0 |
| | | | | | 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 Rettberg | 2017-12-07 | 2 | -0/+5 |
| | | | | production | ||||
* | [locationinfo] Fix formatting of calendar starttime/endtime, remove if not ↵ | Simon Rettberg | 2017-12-05 | 1 | -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 exchange | Simon Rettberg | 2017-11-14 | 1 | -0/+0 |
| | |||||
* | [locationinfo] Add backend for Microsoft Exchange Server | Steffen Ritter | 2017-08-29 | 1 | -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 view | Simon Rettberg | 2017-08-16 | 1 | -2/+6 |
| | |||||
* | [locationinfo] Better error handling in hisinone backend | Simon Rettberg | 2017-07-25 | 1 | -13/+29 |
| | |||||
* | [locationinfo] Improve dummy backend data generator | Simon Rettberg | 2017-07-12 | 1 | -4/+9 |
| | |||||
* | [locationinfo] Try working around messy time handling (timezones etc), CSS | Simon Rettberg | 2017-07-07 | 3 | -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 Rettberg | 2017-04-21 | 2 | -4/+4 |
| | | | | service in hisinone a dropdown box | ||||
* | [locationinfo] Properly support certificate and hostname verification | Simon Rettberg | 2017-04-21 | 2 | -6/+11 |
| | |||||
* | [locationinfo] CourseBackend: Rename some methods to be more descriptive | Simon Rettberg | 2017-04-19 | 3 | -18/+18 |
| | |||||
* | [locationinfo] Better backend-specific property handling, get rid of URL | Simon Rettberg | 2017-04-19 | 3 | -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 davinci | Simon Rettberg | 2017-04-19 | 1 | -1/+1 |
| | |||||
* | [locationinfo] CourseBackends: Lots of bug fixes, missing error checks, ↵ | Simon Rettberg | 2017-04-19 | 3 | -191/+150 |
| | | | | | | | | | | | | | 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 Rettberg | 2017-04-18 | 1 | -3/+4 |
| | | | | with backslashes to prevent evaluation by php | ||||
* | [locationinfo] Format php files | Simon Rettberg | 2017-04-12 | 3 | -74/+90 |
| | |||||
* | Debug befehle entfernt | Dirk Riestere | 2017-03-29 | 1 | -1/+0 |
| | |||||
* | Dummy Klasse kommentiert und HisInOne erlaubt zwei Semester abzufragen falls ↵ | Dirk Riestere | 2017-03-29 | 2 | -4/+38 |
| | | | | in dem Monat das Semester wechsel | ||||
* | Bug das eine HisInOne Anfrage gestartet wird obwohl kein Shedule ↵ | Dirk Riestere | 2017-03-26 | 2 | -3/+4 |
| | | | | aktualisiert werden muss ist behoben | ||||
* | Übersetzungen der Credentials eingebaut und nicht fatale errors werden nun ↵ | Dirk Riestere | 2017-03-22 | 1 | -7/+8 |
| | | | | im errorlog ausgegeben | ||||
* | Backend credentials translation added. Bugfix: Checkboxes instead of bs ↵ | Jannik Schönartz | 2017-03-22 | 1 | -3/+2 |
| | | | | switches were shown in the server settings | ||||
* | Bug das der Name nicht gefunden wird, war ein Rechtschreibfehler der jetzt ↵ | Dirk Riestere | 2017-03-20 | 1 | -1/+1 |
| | | | | behoben ist | ||||
* | XML parser ist implementiert und HisInOne kann jetzt gelesen werden | Dirk Riestere | 2017-03-20 | 2 | -91/+80 |
| | |||||
* | Locationinfo: admin-panel: Fixed a Bug where a space in a credentialname ↵ | Jannik Schönartz | 2017-03-19 | 1 | -1/+2 |
| | | | | caused errors. Changes the checkbox to bs-switch. | ||||
* | Rework of the Server List. Many Bugfixes (see Mail). | Jannik Schönartz | 2017-03-17 | 1 | -2/+2 |
| | |||||
* | Codeormat verschönert für HisInOne und ein json_encode für das backend ↵ | Dirk Riestere | 2017-03-14 | 1 | -1/+1 |
| | | | | eingefügt der vergessen wurde | ||||
* | Codeormat verschönert für HisInOne und ein json_encode für das backend ↵ | Dirk Riestere | 2017-03-14 | 1 | -1/+1 |
| | | | | eingefügt der vergessen wurde |