13932 Commits

Author SHA1 Message Date
Yonas Habteab
f9aba0c7ff Disable drag&drop events for the default home 2023-07-14 20:05:34 +02:00
Yonas Habteab
4fc410c6e9 Don't ignore url params of the DM view when requesting Drag&Drop actions 2023-07-14 20:05:34 +02:00
Yonas Habteab
54c3b9e2c6 DashboardsController: Use the default home when pane is requested without a home param in the DM view 2023-07-14 20:05:34 +02:00
Yonas Habteab
fbd2192ddc Database: Add missing param to the func callback 2023-07-14 20:05:34 +02:00
Yonas Habteab
5313dfa345 Remove TODO comment 2023-07-14 20:05:34 +02:00
Yonas Habteab
a02c36e231 DashboardsCommand: Enhance how duplcate errors are handled 2023-07-14 20:05:34 +02:00
Yonas Habteab
77db6c3168 DashboardManager: Don't deploy module dashlets if we're not on web environment 2023-07-14 20:05:34 +02:00
Yonas Habteab
0c91a8a283 Adjust disabled input style sheets & remove unnecessary control structure within the WelcomeForm::onSuccess() method 2023-07-14 20:05:34 +02:00
Yonas Habteab
af062b8cb2 Add missing LICENSE header & adjust some notifcation messages 2023-07-14 20:05:34 +02:00
Yonas Habteab
89b95d74bf Replace usage of LogicException with AlreadyExistsException where applicable 2023-07-14 20:05:34 +02:00
Yonas Habteab
395ae80186 Tests: Add remove Pane/Dashlet test cases 2023-07-14 20:05:34 +02:00
Yonas Habteab
20e94f4ec7 Tests: Cleanup codes 2023-07-14 20:05:34 +02:00
Yonas Habteab
ea4e0b8719 SetupNewDashboardForm: Use SPL object hash as an element name 2023-07-14 20:05:34 +02:00
Yonas Habteab
0da632444c DashletTest: Remove unnecessary Dashboard::load() call 2023-07-14 20:05:34 +02:00
Yonas Habteab
8ef46f3789 HomeTest: Fix logic failure when asserting removed homes 2023-07-14 20:05:34 +02:00
Yonas Habteab
05fec9de89 Tests: Add more Dashlets/Pane use cases 2023-07-14 20:05:34 +02:00
Yonas Habteab
12af0d2ce1 Don't silenty ignore duplicate errors when managing Panes/Dashlets 2023-07-14 20:05:34 +02:00
Yonas Habteab
a118831b38 Always load dashlets for all of the dashboard pane & activate only the given| the first one 2023-07-14 20:05:34 +02:00
Yonas Habteab
56bfe76a84 Remove unused method from ItemListControl & try to load dashboards in HomeList only when it's empty 2023-07-14 20:05:34 +02:00
Yonas Habteab
79dd4f37ff DashboardSettings: Don't manually cast url to string
Otherwise, the passed url params won't be decoded correctly
2023-07-14 20:05:34 +02:00
Yonas Habteab
e8741c961f DashboardsController: Preserve params when redirecting after successfully performed dashboard actions 2023-07-14 20:05:34 +02:00
Yonas Habteab
d64515f5ec Adjust usage of Query::setColumns() & optimize imports 2023-07-14 20:05:32 +02:00
Yonas Habteab
a81dfe1704 Tests: Avoid mocking ipl\Web\Url & add some additional dashboard tests 2023-07-14 20:04:31 +02:00
Yonas Habteab
3c603ca93b BaseDashboardTestCase: Add empty line at the end of the file 2023-07-14 20:04:31 +02:00
Yonas Habteab
c4112b40d5 Don't access Request except in controller & activate home/pane by a given name 2023-07-14 20:04:31 +02:00
Yonas Habteab
8560b2ec3f Test: Introduce basic dashboard test cases 2023-07-14 20:04:31 +02:00
Yonas Habteab
c773ad3ac7 SearchDashboardTest: Adjust unit tests according to the new dashboards 2023-07-14 20:04:28 +02:00
Yonas Habteab
af4d9c8257 Test: Introduce BaseDashboardTestCase class 2023-07-14 19:51:08 +02:00
Yonas Habteab
6939820c24 Test: Introduce DB fixtures 2023-07-14 19:51:08 +02:00
Yonas Habteab
da56ba898d DBUtils: Introduce setConn() method 2023-07-14 19:51:08 +02:00
Yonas Habteab
2405c7a1fc DashboardManager: Ensure to insert dashboard homes with correct priority order 2023-07-14 19:51:08 +02:00
Yonas Habteab
a527946306 DashboardsController: Adjust usage of Dashboard::getActivePane() 2023-07-14 19:51:08 +02:00
Yonas Habteab
d0d7e4ebd1 Move pane related codes from Dashboard -> DashboardHome class 2023-07-14 19:51:08 +02:00
Yonas Habteab
d277c5ba3b Require ipl dependencies in github workflows 2023-07-14 19:51:08 +02:00
Yonas Habteab
a78c221bfd Tests: Remove legacy DashboardTest class 2023-07-14 19:51:08 +02:00
Yonas Habteab
da98bb2bf1 dashboards.less: Add styles for disabled input fields 2023-07-14 19:51:08 +02:00
Yonas Habteab
4a32ee7b60 DashboardsController: Add the welcomeFrom instance directly to the dashboard
Since we no longer use an additional wrapper for the dashboards,
the welcome form can be added directly to the dashboard instance
2023-07-14 19:51:08 +02:00
Yonas Habteab
9f7eba4cf8 WelcomeForm: Don't raise sys errors directly but use notifications to notify the user 2023-07-14 19:51:08 +02:00
Yonas Habteab
2105541493 DashletForm: Don't override populated value with the request param 2023-07-14 19:51:08 +02:00
Yonas Habteab
a8a4738944 Update priority order of the widget being moved properly 2023-07-14 19:51:08 +02:00
Yonas Habteab
be973d29e2 Use own form class for all dashboard types & cleanup Dashlet-/SetupNewDashboardForm classes 2023-07-14 19:51:08 +02:00
Yonas Habteab
c577e2f279 Forms: Introduce RemovePaneForm class 2023-07-14 19:51:08 +02:00
Yonas Habteab
3f4c0a8de6 Forms: Introduce PaneForm class 2023-07-14 19:51:08 +02:00
Yonas Habteab
c382d0fbaa Forms: Introduce RemoveHomeForm class 2023-07-14 19:51:08 +02:00
Yonas Habteab
4f98b0c696 Forms: Introduce HomeForm class 2023-07-14 19:51:08 +02:00
Yonas Habteab
3048969cca DashboardManager: Try to activate homes based on the request params 2023-07-14 19:51:08 +02:00
Yonas Habteab
93c3c524ce DashboardEntries: Fix calling to fromArray that doesn't exist anymore 2023-07-14 19:51:08 +02:00
Yonas Habteab
0ad7fdca53 Fix some signature inconsistencies 2023-07-14 19:51:08 +02:00
Yonas Habteab
7800c699b7 Introduce dashboards migrate command 2023-07-14 19:51:08 +02:00
Yonas Habteab
7fcc2caae5 DashboardManager: Remove unused property 2023-07-14 19:51:08 +02:00