summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/inc/coursebackend/coursebackend_dummy.inc.php
Commit message (Collapse)AuthorAgeFilesLines
* [locationinfo] increased cached date span for backends: dummy, davinci and ↵Udo Walter2019-07-181-2/+2
| | | | exchange
* [locationinfo] Add error log for backendsSimon Rettberg2019-03-071-8/+4Star
|
* 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-071-0/+2
| | | | 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] Try working around messy time handling (timezones etc), CSSSimon Rettberg2017-07-071-9/+24
| | | | | | | | | | | | 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] CourseBackend: Rename some methods to be more descriptiveSimon Rettberg2017-04-191-1/+1
|
* [locationinfo] Better backend-specific property handling, get rid of URLSimon Rettberg2017-04-191-9/+8Star
| | | | | | | | - 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-8/+6Star
| | | | | | | | | | | | | 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-55/+74
|
* Dummy Klasse kommentiert und HisInOne erlaubt zwei Semester abzufragen falls ↵Dirk Riestere2017-03-291-2/+33
| | | | in dem Monat das Semester wechsel
* Backend credentials translation added. Bugfix: Checkboxes instead of bs ↵Jannik Schönartz2017-03-221-3/+2Star
| | | | switches were shown in the server settings
* 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
|
* 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!
* Noch mehr exeption werden gefangen und das verhalten bei errors ist ↵Dirk Riestere2017-03-051-4/+0Star
| | | | vereinheitlicht
* 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
|
* Added checkConnection in the Dummy classJannik Schönartz2017-03-021-0/+4
|
* API: Fixed Calendar function.Jannik Schönartz2017-03-011-2/+2
|
* Dummy modificationJannik Schönartz2017-02-281-1/+14
|
* Admin panel: New server GUI now using the backend types.Jannik Schönartz2017-02-271-0/+37