Jolien Trog
fe03c03cd9
Fix stacktrace for missing database connection
...
- Add error handling for database connection failures
- Suppress stacktrace and add error messages for user and admin
- Improve user experience with clear error messages
2025-08-08 12:25:24 +02:00
Johannes Meyer
c894333064
js: Fix that links without href are opened in a modal
2025-08-05 10:47:44 +02:00
Johannes Meyer
23e00754c6
css: Do better to ensure menu text is readable
...
In case background is adjusted, a suitable text
color should also be chosen. Rocket science!
2025-07-31 09:30:49 +02:00
Johannes Meyer
1b36d47e75
css: Hide background images for input.search
...
Some themes set only the image. Since we dropped
all other background options, default browser
behavior is applied which repeats by default.
2025-07-31 09:30:49 +02:00
Alex
43aae15c1b
Removed background search icon
2025-07-31 09:30:33 +02:00
Alexander A. Klimov
8345993480
Icinga.Loader#onFailure(): on 401, reload the whole page
...
instead of rendering 401 responses to all containers.
2025-07-08 16:56:52 +02:00
Sukhwinder Dhillon
09df8dcc5a
Don't let active .nav-level-2
menu item overlap the config nav flyout
...
- Set higher z-index than `#sidebar.menu .nav-level-2`
2025-07-08 16:50:16 +02:00
Florian Strohmaier
d56757f20f
menu.less: Make caret appear connected to main viewport
2025-05-15 16:54:45 +02:00
Jan Schuppik
750948a729
Fix: spacing and text-breaking ( #5355 )
...
Fix #5244
2025-05-14 15:34:12 +02:00
Johannes Meyer
9a9113bd2b
css: Center icons in collapsed menu with and without a scrollbar
2025-05-12 13:57:04 +02:00
Ravi Kumar Kempapura Srinivasa
63a73eab6f
Menu navigation: Improve flyout transition ( #5367 )
...
resolves #5160
2025-05-08 16:17:14 +02:00
Johannes Rauh
aa7a60c893
Replace search icon png with fontawesome icon
2025-05-08 08:37:37 +02:00
Johannes Meyer
eafb6c95b7
menu: Align badges correctly and ellipsize text again
2025-04-30 16:46:31 +02:00
Johannes Rauh
05f9e7c5ee
Show label as navigation flyout header
2025-04-30 15:29:59 +02:00
Johannes Meyer
6c57d32979
Fix menu caret positioning ( #5363 )
2025-04-30 15:18:14 +02:00
Johannes Meyer
6100281c89
menu: Always align the flyout caret with the menu item
2025-04-30 15:01:56 +02:00
Johannes Meyer
91396aeb73
css: Use a proper height for level 1 menu items
...
Helps with aligning the flyout caret next
2025-04-30 15:01:56 +02:00
Johannes Meyer
025ae944c5
css: Modernize pseudo element selectors in menu.less
2025-04-30 09:54:49 +02:00
raviks789
ef4b59123e
timezone.js: Remove unnecessary days parameter in writeCookie
method
...
Since the timezone cookie is not being expired, days parameter is not necessary in writeCookie method.
2025-04-24 10:38:43 +02:00
raviks789
2d265babf7
Fix browser timezone information being lost
2025-04-24 10:23:46 +02:00
Johannes Meyer
6c7f1e5466
Dashlet: Properly embed iframe urls
...
fixes #5346
2025-04-01 11:19:00 +02:00
Johannes Meyer
ec40efe157
Only open trusted iframe sources by default
...
Trusted in this case means, it was Icinga Web that
rendered a link and the user followed it. Whether
a source is trustworthy or not is detected by use
of the user's session id to hash it combined with
the source similar to how CSRF tokens are assembled.
2025-03-26 10:25:31 +01:00
Johannes Meyer
aad020511f
js: Only load URLs prefixed by the base URL
2025-03-26 10:25:05 +01:00
Sukhwinder Dhillon
f1fe2525bd
tabs.less: Don't let icinga-loader element overlap the dropdown nav
2025-03-20 17:48:37 +01:00
Johannes Meyer
ca2778eb46
form.js: Ignore buttons again when being asked to render content
...
This slipped through, as I thought the CSS selector `:input`, which
was used previously, is invalid. Although, it's a jQuery specific
selector -.-, which was also previously used.
fixes #5293
2024-11-28 16:57:19 +01:00
Johannes Meyer
eef276be93
js: Use a submit event's submitter
property to identify the submit button
2024-11-04 16:07:10 +01:00
Florian Strohmaier
48dcb051d1
CSS: Set correct height for input[type=“datetime-local”]
2024-11-04 16:06:54 +01:00
Sukhwinder Dhillon
cc9572d9c5
Flyout menu: Render menu bottom-up
if it exceeds the viewport height
2024-08-14 16:29:33 +02:00
Johannes Meyer
c27b43fb75
css: Increase settings flyout toggle hover area
2024-08-08 15:40:59 +02:00
Sukhwinder Dhillon
41a92e9d87
Css: Do not allow :hover
to affect the .active
list elements
2024-08-07 16:29:40 +02:00
Johannes Meyer
9ef4c71cec
js: Fix error on app startup
...
jQuery seems to re-cycle event object references oO
2024-08-07 14:35:14 +02:00
Johannes Meyer
97f8767970
js: Only add .impact
to a container's content
2024-08-07 14:33:14 +02:00
Johannes Meyer
8ec42b05f8
js: Explicitly update history when col2 is closed
...
Instead of doing this by default. There are too many
cases where this isn't necessary at all.
fixes #5178
2024-08-07 13:39:41 +02:00
Johannes Meyer
bb47844646
js: Don't adjust style by using element.cssText
...
That's prohibited if using `script-src 'self';` in the csp header
2024-08-07 11:39:58 +02:00
Johannes Meyer
6964bd19a2
js: Improve rejection of autorefresh responses
...
Don't reject autorefreshes if an autosubmit
element is focused but not interacted with
fixes #4996
2024-08-07 11:20:11 +02:00
Johannes Meyer
a48a6ebcb5
js: Really stop rendering if a hook discards content
...
This is a potential breaking change for behaviors which
rely on being able to change content in-place even if
the response's content is not applied. This is the case
for grafana's iframe behavior, though that's more a hack
than a necessity so it doesn't break. I've found no other
implementations so I guess it's fine including it here.
2024-08-07 11:20:11 +02:00
Johannes Meyer
c79b513066
js: Apply render hooks in a defined order
...
Currently, form first and detach second.
Any other last. (e.g. grafana's iframe)
2024-08-07 11:20:11 +02:00
Johannes Meyer
30b540952a
loader.js: Don't consider redirected form submits as auto submits
...
A redirect caused by a form submit is **never** an automatic submit.
Unless I'm missing something here. There is one way this may be true,
as ipl forms without a submit button are indeed successful due to a
autosubmit element, but they don't redirect by default. So if the
controller redirects in such a case, the form should have a submit
button, I guess..
Anyway, this is necessary due to the previous commit as this may
otherwise cause form submits, that re-render layout during a redirect,
are considered being auto submitted. (Such as the login form)
2023-10-27 10:15:47 +02:00
Johannes Meyer
4743c5f5c8
loader.js: Really don't push redirects to history
...
refs #4879
2023-10-27 10:15:47 +02:00
Johannes Meyer
9194378c3c
js: Don't refresh twice upon __BACK__
2023-09-26 15:04:07 +02:00
Yonas Habteab
d2ce60d4c0
Always right align control-label-group
2023-09-19 14:37:55 +02:00
Yonas Habteab
3f372330b3
CSS: Remove obsolete icinga-form
styles & store max view width in a variable
2023-09-19 14:37:55 +02:00
Yonas Habteab
2657f032dc
Allow to automatically fix missing grants & elevalte database users
...
Co-authored-by: Johannes Meyer
2023-09-19 14:37:55 +02:00
Yonas Habteab
821a6812ae
Use EmptyState(Bar)
classes where applicable
2023-09-19 14:37:55 +02:00
Florian Strohmaier
44897e4903
CSS: Styling
2023-09-19 14:37:55 +02:00
Yonas Habteab
ad02431bd1
Add extra class
to outer item lists & render subject header in the error box
2023-09-19 14:37:55 +02:00
Yonas Habteab
192a21b668
Don't use strong
tag to highlight unselectable items
2023-09-19 14:37:55 +02:00
Yonas Habteab
fb33a2097a
Defferentiate migrations with no provided descriptions
2023-09-19 14:37:55 +02:00
Yonas Habteab
d186604b62
Allow to define row count after which a collapsible can be collapsed
2023-09-19 14:37:55 +02:00
Yonas Habteab
dec24686bc
Pending migrations CSS enhancement
2023-09-19 14:37:55 +02:00