Commit graph sunders/web
Author SHA1 Message Date
ea5e305304
fix: Handles issue where error handler was skipped, if database DNS request fails 2026-11-15 14:24:12 +01:00
d9529cf6c0
fix: Enables PHP log output when running in development 2026-11-15 14:24:12 +01:00
7727c56351
feat: web healthcheck returns 503 status code if database is unavailable 2026-11-15 14:24:12 +01:00
aso
6f633a400c
first changes for sync of instances 2026-11-15 14:24:12 +01:00
stb
2b47d340c3 Merge branch 'main' into security-fixes
All checks were successful
Build (and tag) Images / Build data_handler Image (push) Successful in 42s
Build (and tag) Images / Build web Image (push) Successful in 57s
2026-11-15 13:38:04 +01:00
da84719d3c fix: Removes trailing comma from links.json
All checks were successful
Build (and tag) Images / build (push) Successful in 1m34s
Removing the last German entry left a trailing comma, which makes json_decode() fail and hides the whole links section.
2026-11-15 11:47:13 +01:00
9d7b66cb3c Merge remote-tracking branch 'origin/main' into link-updates 2026-11-15 11:47:13 +01:00
3211e0f355 Merge remote-tracking branch 'origin/main' into security-fixes
Some checks failed
Build (and tag) Images / build (push) Has been cancelled
2026-11-15 11:45:52 +01:00
cdf90a04d3 fix: Corrects country code check in statistics filter
Some checks failed
Build (and tag) Images / build (push) Failing after 12s
Operator precedence made the check always true; it now accepts two capital letters or '--' as intended.
2026-11-15 11:36:49 +01:00
344232fb75 fix: Hardens web container
- document root is owned by root and not writable by www-data
  (the base image ships /var/www/html as www-data with mode 1777)
- uses php.ini-production, so errors are not shown to clients
- disables directory listings, expose_php and the detailed server signature
2026-11-15 11:36:49 +01:00
6a64083175 fix: Escapes location search results
Nominatim results were inserted via innerHTML and loaded as a JSONP script
with an unencoded query. Results are now fetched as JSON, the query is URL
encoded, text is escaped and coordinates must be numeric.
2026-11-15 11:36:49 +01:00
100762ea2e fix: Escapes OSM tag data in camera popups
camera.php built its JSON by hand with htmlentities(), which leaves
backslashes intact, and the client parsed it with eval() and inserted tag
values into the popup as HTML. A tag value such as <img ...> therefore
became live markup (stored XSS for anyone able to edit OSM data), and a lone
backslash broke parsing of the whole response.

- camera.php now builds the response with json_encode() and returns raw values
- tags named lat, lon, id, count, multi or poly no longer override the
  fields set by the server
- error responses no longer include database error messages
- the client uses JSON.parse() and escapes all keys and values; only
  http(s) URLs are rendered as links/images
2026-11-15 11:36:49 +01:00
3590da7e26 fix: Removes offline and unavailable links
Some checks failed
Build (and tag) Images / build (push) Failing after 27s
2026-06-17 16:50:13 +02:00
42f7456e18
fix: Panoramic camera details can be shown
Some checks failed
Build (and tag) Images / build (push) Failing after 55s
2026-03-20 19:20:14 +01:00
df45b9bbc4
fix: Adds missing localization 2026-03-20 19:17:31 +01:00
6ab393b2af
feat: Adds frontend logic to render camera:type=panorama 2026-03-20 17:42:00 +01:00
4b5811d951
feat: Adds images for camera:type=panorama 2026-03-20 17:41:59 +01:00
3b92dbade7 renamed db-user to CAMERA_SELECT_USER
All checks were successful
Build (and tag) Images / build (push) Successful in 47s
Build (and tag) Images / build (pull_request) Successful in 47s
2025-10-25 17:46:37 +02:00
7ab17a1af5 added impressum as a var
All checks were successful
Build (and tag) Images / build (push) Successful in 49s
Build (and tag) Images / build (pull_request) Successful in 47s
2025-10-25 17:33:24 +02:00
c5cc45aa23 added impressum
All checks were successful
Build (and tag) Images / build (push) Successful in 1m9s
Build (and tag) Images / build (pull_request) Successful in 1m1s
2025-10-25 16:56:26 +02:00
10fcf55b10 moved files into subdirs 2025-10-13 16:28:20 +02:00