13953 Commits

Author SHA1 Message Date
Yonas Habteab
d38ad63c96 DashboardEntries: Perform case-insensitive key checks when searching for dashboard entry 2023-07-14 20:05:34 +02:00
Yonas Habteab
aa33940ded forms.less: Add also button style on minimal layout & add mirgin-right to the btn-remove 2023-07-14 20:05:34 +02:00
Yonas Habteab
4fa5d5d717 Add form controls in the correct order 2023-07-14 20:05:34 +02:00
Yonas Habteab
05767811b3 DashboardsCommand: Avoid duplicating pane titles & remove unnecessary stuff 2023-07-14 20:05:34 +02:00
raviks789
f3de1dd2b6 Fix Add to Dashboard feature 2023-07-14 20:05:34 +02:00
Yonas Habteab
77e759fe8e Pane: Don't break the foreach prematurely when managing dashlets from multiple modules 2023-07-14 20:05:34 +02:00
Yonas Habteab
61cd09ab42 Ensure not to render custom url when updating a dashlet (caused by f8b9b02) 2023-07-14 20:05:34 +02:00
raviks789
f91e2769fb Show custom dashlet in case no dashlets are selected. 2023-07-14 20:05:34 +02:00
raviks789
abb78bb9ee Replace spl_object_hash($dashlet) with bin2hex($dashlet->getUuid()) and make $moduleDashlets attribute non-static 2023-07-14 20:05:34 +02:00
Yonas Habteab
509afbe6c4 Migrate command handle duplicate error correctly when the user supresses all the errors 2023-07-14 20:05:34 +02:00
Yonas Habteab
91272870a3 DBUtils: Make sure to use string types for hex/binary formats 2023-07-14 20:05:34 +02:00
Yonas Habteab
d454113941 DashboardsCommand: Handle also case where dashlets are defined before the actual dashboard panes 2023-07-14 20:05:34 +02:00
Yonas Habteab
474a26b1eb DashboardsController: Load all dashboard homes in the index action 2023-07-14 20:05:34 +02:00
Yonas Habteab
641e3042b3 DashboardManager: Don't raise an error when the passed name is the default home 2023-07-14 20:05:34 +02:00
Sukhwinder Dhillon
09a87f105d Database: Only pass string values as param to isBinary()
This fixes the error while loging in with remember-me checked
2023-07-14 20:05:34 +02:00
Yonas Habteab
3be596641f Render also the cog icon when there is more than 1 home 2023-07-14 20:05:34 +02:00
Sukhwinder Dhillon
23de575782 Set dark border for btn_use_defaults on hover and focus 2023-07-14 20:05:34 +02:00
Sukhwinder Dhillon
95c6b7cd7f Add edit icon 2023-07-14 20:05:34 +02:00
Yonas Habteab
3058983011 Force to refresh the menu container when removing a home & unset moved entry from the original widget 2023-07-14 20:05:34 +02:00
Yonas Habteab
d27b654208 DashboardsController: Redirect also when moving the requested pane to another home 2023-07-14 20:05:34 +02:00
Yonas Habteab
d7dcfd7cd9 DashboardsController: Add requested params to the refresh url when reordering widgets 2023-07-14 20:05:34 +02:00
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