13966 Commits

Author SHA1 Message Date
Yonas Habteab
1ecbce7041 Render search hint without using a view script 2023-07-14 20:05:34 +02:00
Yonas Habteab
a726348718 Drop all dashboards related legacy codes 2023-07-14 20:05:34 +02:00
Yonas Habteab
e689959839 Redirect properly when the currently active home/pane is removed/moved
When the currently request home/pane is being removed/moved and we're still redirecting
with the `__CLOSE__` url, the removed/moved home/pane will sill remain in the history
state and will produce http not found exceptions
2023-07-14 20:05:34 +02:00
Yonas Habteab
8685a0d247 Let Sortable detect sort direction dynamically & don't use invertSwap sortable option 2023-07-14 20:05:34 +02:00
Yonas Habteab
22d483b515 Fix moving panes around using drag&drop doesn't update the tabs sometimes 2023-07-14 20:05:34 +02:00
Yonas Habteab
826e39ce91 DashboardsController: Ensure currently active home is still active when performing all kinds of dashboard actions 2023-07-14 20:05:34 +02:00
raviks789
533d329810 Revert "Add form controls in the correct order"
This reverts commit 61c3469fc63e559164016784034bcae18b3a2e04.
2023-07-14 20:05:34 +02:00
raviks789
122505ced4 Ensure drag and drop of dashboard home happens correctly (caused by b6958b1) 2023-07-14 20:05:34 +02:00
raviks789
4369b121c6 Do not make first letter of dashboard key capital 2023-07-14 20:05:34 +02:00
raviks789
8f9a55fcbf Allow adding and editing of dashlet description. 2023-07-14 20:05:34 +02:00
Yonas Habteab
cc5e08da7d DashletTest: Add test for creating dashlets from multiple modules 2023-07-14 20:05:34 +02:00
Yonas Habteab
a2e9d3c946 Allow creating same dashlets from different modules 2023-07-14 20:05:34 +02:00
Yonas Habteab
ec4d246a3c Add minimal layout for the welcome page 2023-07-14 20:05:34 +02:00
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