summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/inc
Commit message (Collapse)AuthorAgeFilesLines
* [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] Suppress XML parsing error spamSimon Rettberg2019-01-291-1/+1
| | | | | | The SimpleXML constructor is quite verbose if you pass it e.g. an HTML error page instead of the expected XML. Suppress those errors, we'll do our own (more concise) logging in the exception handler.
* [locationinfo] set roomplanner default on false for existing panelsChristian Hofmaier2019-01-081-0/+3
| | | | - if panel is already existing without roomplanner value in database
* [locationinfo] roomplaner -> roomplannerSimon Rettberg2018-12-051-2/+2
|
* [locationinfo] Prevent undefined index accessSimon Rettberg2018-12-041-5/+7
|
* [locationinfo] add new settings for panels (counter, updaterate)Christian Hofmaier2018-12-031-3/+4
| | | | | | | | - setting: consider only clients in roomplaner, instead of ip range - add option to set update rate in summary panels - directly initialize when mode is "only calendar" - Set counter to "-" if room has ongoing event - fix some spelling / unused code
* [locationinfo] HiS: Check if event has any planned datesSimon Rettberg2018-12-031-0/+2
|
* [locationinfo] Fix infinite loop with malformed backend dataSimon Rettberg2018-11-211-0/+6
|
* [inc/User] Fix access to Page if class is not loadedSimon Rettberg2018-08-071-18/+30
|
* [locationinfo] Default language to slx-admin session language for new panelSimon Rettberg2018-04-251-2/+2
|
* [locationinfo] davinchi: Reuse curl handleSimon Rettberg2018-04-181-5/+17
|
* [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] Fix default setting for "select" backend optionsSimon Rettberg2018-04-051-1/+4
|
* [locationinfo] Add exchange backendSimon Rettberg2018-04-052-203/+242
| | | | Closes #3170
* [locationinfo] Add permissionsSimon Rettberg2018-03-051-0/+80
|
* [locationinfo] URL: Add field to specify reload interval in minutesSimon Rettberg2018-01-111-0/+3
|
* [locationinfo] Fix infinite reload loopSimon Rettberg2017-12-191-2/+1Star
|
* Fix A LOT of type problems, logic flaws, uninitialized variables etc.Simon Rettberg2017-12-162-4/+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-073-14/+31
| | | | production
* [locationinfo] Native panels should ignore SSL errors for now ...Simon Rettberg2017-12-051-5/+2Star
| | | | Until we can push self-signed certs to the client for validation
* [locationinfo] Fix formatting of calendar starttime/endtime, remove if not ↵Simon Rettberg2017-12-052-6/+43
| | | | | | | | possible The weekcalendar plugin chokes on badly formatted timestamps, so either fix or remove dates which don't match the expectation. Fixes #3192
* [locationinfo] Return all openingtimes for SUMMARY panel (recursively)Simon Rettberg2017-12-041-9/+19
| | | | TODO: Actually use them in frontend-summary.html
* [runmode] Fix client filter logicSimon Rettberg2017-12-011-1/+1
|
* [statistics, roomplanner, locationinfo] Ignore machines with runmode:isclient==0Simon Rettberg2017-12-011-1/+9
|
* [locationinfo] Reworked summary-panel to the new panel uuid stuff.Jannik Schönartz2017-11-302-16/+63
|
* [statistics] Introduce state column to get rid of complicated state ↵Simon Rettberg2017-11-282-11/+5Star
| | | | | | determination This also adds support for the STANDBY state
* [locationinfo] Set SLX_AUTOLOGIN in configSimon Rettberg2017-11-141-0/+1
|
* [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] Make panel accessible via slxadmin, add URL type panelSimon Rettberg2017-07-252-2/+233
|
* [locationinfo] Better error handling in hisinone backendSimon Rettberg2017-07-252-29/+43
|
* [runmode] Tweaks, support NO_CONFIG and systemd targetSimon Rettberg2017-07-121-0/+8
|
* [locationinfo] Improve dummy backend data generatorSimon Rettberg2017-07-121-4/+9
|
* [locationinfo] Try working around messy time handling (timezones etc), CSSSimon Rettberg2017-07-074-13/+30
| | | | | | | | | | | | 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] Support runmode moduleSimon Rettberg2017-07-061-0/+11
|
* [locationinfo] Frontend mostly working again...Simon Rettberg2017-06-161-9/+1Star
|
* [locationinfo] slxadmin part done, todo: frontend+apiSimon Rettberg2017-06-131-0/+23
|
* [locationinfo] Backend: Proper checkConnection() for davinci, make course ↵Simon Rettberg2017-04-212-4/+4
| | | | service in hisinone a dropdown box
* [locationinfo] Generate credentials in server-settings server sideSimon Rettberg2017-04-211-0/+39
| | | | | | | There's no need to generate parameters server side that get passed to the template engine which generates javascript code that generates html snippets in the browser. We now generate everything server side right away.
* [locationinfo] Properly support certificate and hostname verificationSimon Rettberg2017-04-212-6/+11
|
* [locationinfo] Rename tables to use module name as prefix; room -> locationSimon Rettberg2017-04-202-11/+11
|
* [locationinfo] CourseBackend: Rename some methods to be more descriptiveSimon Rettberg2017-04-194-24/+24
|
* [locationinfo] Better backend-specific property handling, get rid of URLSimon Rettberg2017-04-194-53/+98
| | | | | | | | - 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-194-263/+238Star
| | | | | | | | | | | | | 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] Use Location helper for getRoomTree, check backend validity ↵Simon Rettberg2017-04-181-0/+24
| | | | in getCalendar
* [locationinfo] Davinci: Fix requested timespan, use single quotes for regex ↵Simon Rettberg2017-04-181-3/+4
| | | | with backslashes to prevent evaluation by php
* [locationinfo] Refactor the main viewSimon Rettberg2017-04-131-1/+1
| | | | | | | - Simplify javascript - Remove client count and locationid column from view, not useful for the average user - Remove/simplify queries, use Location helper more to deal with locations