14011 Commits

Author SHA1 Message Date
Yonas Habteab
a167b6d21a Rename migration list item classes 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
Yonas Habteab
13569a34b7 Check explicitly for false before raising an unknown error 2023-09-19 14:37:55 +02:00
Yonas Habteab
4b2784f85e Use Icinga Web as a component name 2023-09-19 14:37:55 +02:00
Yonas Habteab
2944ceaa52 Rename getSchemaQueryFor() & drop $version param 2023-09-19 14:37:55 +02:00
Florian Strohmaier
7e313c921a MigrationListItemMinimal: Customize markup for styling 2023-09-19 14:37:55 +02:00
Florian Strohmaier
44897e4903 CSS: Styling 2023-09-19 14:37:55 +02:00
Yonas Habteab
a00f094e10 Add extra collapsible container around error section 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
fdadba59ca Fix form with mulitple buttons doesn't recognize whether it's been submitted 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
ce012dcdb2 Hook: Don't abort loading remaining hooks due to one broken hook
`Hook::all()` shouldn't abort loading the remaining hooks when one of
the provided hook is broken.
2023-09-19 14:37:55 +02:00
Yonas Habteab
dec24686bc Pending migrations CSS enhancement 2023-09-19 14:37:55 +02:00
Yonas Habteab
15792fb59a Provide DbMigration hook & register when bootstrapping 2023-09-19 14:37:55 +02:00
Florian Strohmaier
bc3c444cf5 CSS: Adjust styles 2023-09-19 14:37:55 +02:00
Yonas Habteab
1da5487066 Introduce MigrationsController & add pending migrations list in about view 2023-09-19 14:37:55 +02:00
Yonas Habteab
a9db85ed71 Introduce application/migrations permission 2023-09-19 14:37:55 +02:00
Yonas Habteab
faaebaeffb Forward failed requests for routes with pending migrations 2023-09-19 14:37:55 +02:00
Yonas Habteab
85b63dd067 Introduce migration ListItem & ItemList classes 2023-09-19 14:37:55 +02:00
Yonas Habteab
2daa1447b7 Introduce MigrationForm class 2023-09-19 14:37:55 +02:00
Yonas Habteab
81c9e5cfc5 Introduce MigrationManager class 2023-09-19 14:37:55 +02:00
Yonas Habteab
babc59437f Introduce base MigrationHook class & helpers 2023-09-19 14:37:54 +02:00
Yonas Habteab
21bde13274 Introduce database models required by migration hooks 2023-09-19 14:37:54 +02:00
Yonas Habteab
ac369f9156 X509\Sni: Clear backend instances before performing actual DB queries 2023-09-18 13:58:22 +02:00
Johannes Meyer
c170727fc3 WebWizard: Define icingaweb_schema as database table
fixes #5112
2023-09-14 13:12:29 +02:00
Johannes Meyer
76ad2a4133 css: Register missing ipl-web less variable overrides 2023-09-13 10:39:08 +02:00
Yonas Habteab
ab96f66e72 Add never return type to redirect methods 2023-09-07 15:33:39 +02:00
Johannes Meyer
36d4e6db29 Response: Fix backwards compatibilty for __CLOSE__
If the redirect target changes, `__CLOSE__` has no effect

fixes #5081
2023-09-07 13:51:55 +02:00
Johannes Meyer
bfda21b725
Remove redundant gravatar in contact detail (#5088)
The gravatar for contacts was never correctly rendered in the detailed
page. Hence it will be completely removed.

ref #5089
2023-09-07 13:51:19 +02:00
raviks789
b7677cc4ef Update PHPStan baseline related to StaticController::gravatarAction() 2023-09-07 13:38:02 +02:00
raviks789
91ad755759 Remove redundant gravatar in contact detail
The gravatar for contacts was never correctly rendered in the detailed page. Hence it will be
completely removed.
2023-09-07 13:38:02 +02:00
Sukhwinder Dhillon
8739a9da73
Fix setup wizard (#5094) 2023-09-07 13:37:10 +02:00
Alexander A. Klimov
783fe036f1 Release GHA: create only one Docker image at the same time
Just like in all other repos making Docker images.

The following tasks finish our ARM support and depend on each other:

* [ ] Push only one Docker image at the same time (this PR)
* [ ] GHA repo: auto-create not just X.Y.Z tags, but also X.Y, X and latest
* [ ] GHA repo: build multi-platform images

Deriving X.Y from X.Y.Z is easy. Also nobody releases a vX.Y.Z and a
vX.Y.{Z+1} at the same time. But a vX.Y.Z and a vX.{Y+1}.0 is likely.
Both check Docker Hub, both get green light and both push :latest. Who wins?
2023-09-07 13:35:10 +02:00
Johannes Meyer
6e16ded825 loader.js: Don't attempt to load an extra update to a closed column 2023-09-07 13:00:45 +02:00
Johannes Meyer
a3c04f9108 loader.js: Allow to initiate a refresh with __REFRESH__ 2023-09-07 12:59:53 +02:00
Johannes Meyer
cdfe7e9aba
loader.js: Don't refresh twice upon __CLOSE__ (#5106) 2023-09-07 12:50:13 +02:00
Johannes Meyer
8f5b62f532 loader.js: Perform a proper redirect upon __CLOSE__
This allows the temporary adjustment of the autorefresh
interval.
2023-09-07 12:07:48 +02:00
Johannes Meyer
03f62887b8 loader.js: Don't refresh twice upon __CLOSE__ 2023-09-07 09:42:05 +02:00
Johannes Meyer
648cdd7ef4 Fix incorrect message for invalid states 2023-09-07 09:37:51 +02:00
Johannes Meyer
7c6c793ac3
Fix:Remove detail url when no item selected (#5055)
fixes #5053
2023-09-07 09:32:11 +02:00
Sukhwinder Dhillon
9dd21841a3 loader.js: Push current state to history only on onComplete.
- Previously, in case of `abort` the url was already pushed to history at the beginning of `onFailure`, setting `addToHistory` to true only prevents it from being added twice (again in `onComplete`).
- Now we only push the url to history in `onComplete`, so setting `addToHistory` to false is only necessary if req is scripted.
- We intentionally push the canceled url into history to continue navigating with the browser`s back/forward key.
2023-09-07 09:22:24 +02:00
Sukhwinder Dhillon
d794439537 ui.js: Update browser address bar url when container closes
`stopPendingRequestsFor()` cancel the pending request but push the canceled url to history (by calling `loader::OnFailure` internally).
Now the `icingaUrl` is set again, remove it and push again the current state to history.
2023-09-07 09:22:24 +02:00
Sukhwinder Dhillon
f3f35f86fd ui.js: Add event column-moved
- Param1 is the event itself (event.target.id == #col where the content is moved)
- Param2 is the soucre col id, form which the content is moved
2023-09-07 08:57:37 +02:00
Johannes Meyer
0424c66a9c
Make host optional for oci database resources (#5063)
`oci` uses Zend's `Oracle` adapter, which does not use this setting at
all.

fixes #5062
2023-09-07 08:56:54 +02:00
Eric Lippmann
b693369412 Fix class in Platform::hasOracleSupport() 2023-09-07 08:51:22 +02:00
Eric Lippmann
1b91a93e34 Make host optional for oci database resources
`oci` uses Zend's `Oracle` adapter, which does not use this setting at
all.
2023-09-07 08:51:22 +02:00
Tobias Tiederle
e66f76e881 configure landing page using environment variable 2023-09-07 08:49:21 +02:00
Johannes Meyer
d8e313af6c JsonResponse: Fix documentation of sendResponse 2023-09-05 16:19:41 +02:00