summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/inc
Commit message (Collapse)AuthorAgeFilesLines
* [locationinfo] Fix machine state updatingSimon Rettberg2023-12-141-2/+2
|
* Fix more type errors, stricter typingSimon Rettberg2023-11-151-4/+1Star
|
* Add function param/return types, fix a lot more phpstorm complaintsSimon Rettberg2023-11-149-63/+44Star
|
* [locationinfo] Fix crash with null-deref in exchange backendSimon Rettberg2023-11-141-13/+15
|
* Roundup of issues reported by PHPStormSimon Rettberg2023-11-023-6/+3Star
| | | | Mostly redundant checks, logic errors, dead code, etc.
* [locationinfo] text-muted for "inherited" up-arrowSimon Rettberg2023-10-063-287/+306
|
* [locationinfo] HiS: ID-regex for title was apparently to shortSimon Rettberg2023-04-171-1/+1
|
* [locationinfo] Change "broken" timeout from 21 to 30 daysSimon Rettberg2023-01-051-1/+1
|
* [locationinfo] Add Slider to configure browser zoom in URL panelSimon Rettberg2022-12-062-0/+4
| | | | Closes #3915
* [statistics] Per-location usage stats; include active lecture countSimon Rettberg2022-12-021-0/+100
|
* [locationinfo] Proper handling/setting auf SLX_AUTOLOGINSimon Rettberg2022-09-301-3/+4
| | | | Enabled should be 'ON', not '1' (even though 1 works for now)
* [locationinfo] Disable shutdown timeout if autologin is enabledSimon Rettberg2022-09-301-0/+3
| | | | | | | | | This is probably only accidentally enabled (from location), as an info-panel is always idle and would then probably shutdown frequently. It currently didn't happen because we already clear the logout timeout, and the shutdown timeout only starts running at the login screen. But we want to change that for when we use autologin manually, or in case of an exam.
* [locationinfo] Add typesSimon Rettberg2022-05-237-77/+65Star
|
* [locationinfo] His: Remove lecture IDs from event namesSimon Rettberg2022-05-132-3/+13
|
* Moderize Database handlingSimon Rettberg2021-05-112-4/+4
| | | | | | | * Auto-convert to utf8mb4_unicode_520_ci * Use foreach instead of while to loop over results * Drop useless statement caching * Keep emulated prepares, as we sometimes loop over nested queries
* [locationinfo] Add missing default keys for panelsSimon Rettberg2021-05-061-0/+2
|
* [locationinfo] Remove insecure SSL hackSimon Rettberg2021-03-111-1/+0Star
| | | | | We now have our own CA for the satellite server that's trusted by clients, so this hack is not required anymore.
* [locationinfo] Ignore position of machines with mismatching locationSimon Rettberg2021-03-041-2/+5
| | | | | If locationid != fixedlocationid, something must be off, and we better ignore that machine's position in the room.
* [locationinfo] Fix conversion of time zone argument to DateTimeSimon Rettberg2021-02-051-2/+4
| | | | | | | Now we properly always convert time zone strings to DateTimeZone instances before passing them to the DateTime(Immutable) constructor as the second argument. The timeZoneStringToDateTimeZone() was made idempotent, to simplify code using it.
* [locationinfo] Add generic ical backendSimon Rettberg2021-01-193-102/+219
| | | | Closes #3824
* [locationinfo] his: Change error_log to GUI errorSimon Rettberg2021-01-151-1/+1
|
* [locationinfo] ical: Fix undefined index accessSimon Rettberg2020-11-041-1/+2
|
* [locationinfo] URLPANEL: Allow black- and whitelist simultaneouslySimon Rettberg2020-10-212-4/+23
| | | | References #3790
* [baseconfig_bwlp/locationinfo] Add SLX_TTY_SWITCHSimon Rettberg2020-10-202-0/+4
| | | | | | | | This will be used (to be implemented client side) to diallow tty switching from within the X session, as the exam mode currently already does. References #3793
* [locationinfo] Always use cached data if backend failsSimon Rettberg2020-09-111-10/+9Star
| | | | | | | Previously, we'd only deliver calendar data to the panel if the cache timeout hasn't been reached yet. In case fetching fresh data from the backend fails, go ahead and deliver the old cached data, no matter how old it is.
* [locations] Migrate openingtimes from infoscreen to locations moduleChristian Hofmaier2020-09-081-1/+1
| | | | | - move openingtimes from infoscreen db to locations db - read-only openingtimes in infoscreen
* [locationinfo] His: Switch from SOAP to iCalSimon Rettberg2020-09-084-284/+2368
| | | | | | | | | 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] Support styling clients with special runmodeSimon Rettberg2020-07-071-1/+2
| | | | Implemented for remoteaccess runmode for now
* [locationinfo] Add option to show hostnamesSimon Rettberg2020-06-292-4/+23
|
* [locationinfo] Fix slx-browser interactive logicSimon Rettberg2020-01-171-3/+1Star
|
* [locationinfo] SLX_BROWSER_INTERACTIVE handled for slx-browserSimon Rettberg2020-01-131-3/+6
| | | | No bookmark support for slx-browser
* Fix some typos (found by codespell)Stefan Weil2019-12-143-4/+4
| | | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
* [locationinfo] Don't disable SLX_ADDONS in split-login modeSimon Rettberg2019-12-131-1/+2
|
* [locationinfo] add new kiosk-mode options to url-panelsChristian Hofmaier2019-11-271-0/+4
| | | | | | | - guest / guest+user login - browser selection - interactive mode - bookmarks
* [locationinfo/runmode] Support new infoscreen variablesSimon Rettberg2019-11-121-1/+22
| | | | Interactive mode, autologin, browser type, bookmarks
* [sysconfig/runmode] Remove "noSysconfig" functionalitySimon Rettberg2019-11-122-45/+53
| | | | Was of limited use and not properly implemented anyways.
* [locationinfo] increased cached date span for backends: dummy, davinci and ↵Udo Walter2019-07-183-6/+6
| | | | exchange
* [locationinfo] Add ability to select the start day of the calendarUdo Walter2019-07-161-3/+4
|
* [locationinfo] fix overrides reference is null errorChristian Hofmaier2019-03-281-0/+1
| | | | - the switch for activating override for a room is now working correctly
* [locationinfo] Add black/whitelist stuff for URL panelsSimon Rettberg2019-03-142-20/+27
|
* [locationinfo] Introduce timeouts for curl operationsSimon Rettberg2019-03-073-3/+8
|
* [locationinfo] Add error log for backendsSimon Rettberg2019-03-076-84/+95
|
* AAAAAnd I'm retardedSimon Rettberg2019-02-201-1/+1
|
* [locationinfo] Don't refresh calendars indefinitelySimon Rettberg2019-02-201-4/+8
| | | | | | | | We try to refresh calendars that have recently been used to coalesce requests, which helps especially with HisInOne. However, this would in turn make the calendar recently refreshed so it would keep going on and on, as long as there is at least one active info panel making actual requests.
* [locationinfo] Fix minor issuesSimon Rettberg2019-02-201-9/+24
| | | | | | | - Potential race with calendar updates - Coalesqing depends on total number of locations, not just additional ones - Copypasta error in date fix function
* [locationinfo] Stoffelsteffen!Simon Rettberg2019-02-201-6/+6
| | | | | | - Enable caching for Exchange backend - Update curl option setting - Proper timestamp formatting
* [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