13577 Commits

Author SHA1 Message Date
Yonas Habteab
c71f738b31 Use spaceship operator for sorting assoc arrays 2022-04-14 14:31:57 +02:00
Yonas Habteab
7b22be2b28 Use handle icon to initiate the drag&drop events 2022-04-14 14:21:27 +02:00
Yonas Habteab
d95c754f85 DashboardsController: Perform a full reload when the drop action couldn't be performed successfully 2022-04-14 14:07:49 +02:00
Yonas Habteab
b39f6ad48e Don't render the initial modal view over again when autosubmitting the form 2022-04-14 13:47:41 +02:00
Yonas Habteab
737f1d459a DashletForm: Ensure to dump unselected dashlets before updating the DB 2022-04-14 10:42:27 +02:00
Yonas Habteab
49b37ea522 Merge some related classes 2022-04-14 09:45:31 +02:00
Yonas Habteab
1429d4aa65 Fix code styling issue 2022-04-13 19:47:06 +02:00
Yonas Habteab
372ffa15c0 Allow browsing predefined dashlets when creating a new dashlet 2022-04-13 19:38:25 +02:00
Yonas Habteab
40092ef57c Fix return type mismatch 2022-04-13 15:03:18 +02:00
Yonas Habteab
037adcb975 Regroup dashboard input elements 2022-04-13 14:46:47 +02:00
Yonas Habteab
09b87eac90 Update mysql upgrade script 2022-04-13 14:19:29 +02:00
Yonas Habteab
89b0b4db57 Fix accessing method on null 2022-04-13 14:16:55 +02:00
Yonas Habteab
167d6c709c forms.less: Undo changed button styles 2022-04-13 12:28:22 +02:00
Yonas Habteab
a9b59d42ae Simulate removal of dashboard home Default Home 2022-04-13 12:27:06 +02:00
Yonas Habteab
9d2e90f93c Use own activate() method to activate dashboards 2022-04-12 19:06:38 +02:00
Yonas Habteab
f3dc6301ff Use setTitle() instead of setting resp headrs directly 2022-04-12 15:30:59 +02:00
Yonas Habteab
a79e83cc24 Remove obsolete button styles & add a proper button class names 2022-04-12 15:30:59 +02:00
Yonas Habteab
fb54ed9b37 form.less: Adjust remove & cancel button style sheets 2022-04-12 15:30:59 +02:00
Yonas Habteab
a34dc9a8cf Adjust how module dashlets are handled 2022-04-12 15:30:59 +02:00
Yonas Habteab
217faab3fc Wrap getConn() into a try catch to prevent the menu from being broken 2022-04-12 15:30:59 +02:00
Yonas Habteab
a1ed493ad1 Clean up codes 2022-04-12 15:30:59 +02:00
Yonas Habteab
da4edb2274 Module: undo removed import 2022-04-12 15:30:59 +02:00
Yonas Habteab
d979d41ead Use sendMultipartUpdate() for drag&drop actions & adjust some css styles 2022-04-12 15:30:59 +02:00
Yonas Habteab
4fb6002a5d dashboard.js: Fix moving a dashlet to another home/pane throws an error 2022-04-12 15:30:59 +02:00
Yonas Habteab
69fe8f7755 Menu: Swallow silently any DB issue in the main menu 2022-04-12 15:30:59 +02:00
Yonas Habteab
01280e6cb1 Fix typo 2022-04-12 15:30:59 +02:00
Yonas Habteab
595b4bead2 Introduce new-home action 2022-04-12 15:30:59 +02:00
Yonas Habteab
2162392721 BaseDashboardForm: Make cancel-button of type button 2022-04-12 15:30:59 +02:00
Yonas Habteab
1f9d0547cd Adjust dashbaord conent layouts & don't redirect when sorting only dashlets 2022-04-12 15:30:59 +02:00
Yonas Habteab
96fbd28c56 DashletForm: Ensure to pre-select a dashboard when clicking add-dashlet 2022-04-12 15:30:59 +02:00
Yonas Habteab
f6d2664c21 DeshletForm: Don't re-populate dashboard pane element 2022-04-12 15:30:59 +02:00
Yonas Habteab
629636ae95 events.js: Adjust dashlets loading to the new dashlet layout 2022-04-12 15:30:59 +02:00
Yonas Habteab
652d432e54 Schema: Introduce 2.11.sql upgrade schema 2022-04-12 15:30:59 +02:00
Yonas Habteab
231b4ceef5 Schema: Merge dashboards.sql to the icingaweb2 schema 2022-04-12 15:30:59 +02:00
Yonas Habteab
023ea0909f dashboard.js: Fix drag&drop doesn't work for dashboards if there is no home rendered 2022-04-12 15:30:59 +02:00
Yonas Habteab
b1c07d8122 Remove empty line 2022-04-12 15:30:59 +02:00
Yonas Habteab
adf2013c23 Fix some code styles and comments 2022-04-12 15:30:59 +02:00
Yonas Habteab
876c1097bd Module: Revert changed and removed legacy codes 2022-04-12 15:30:59 +02:00
Yonas Habteab
41f1ac4a90 Use Menu class instead of HomeMenu 2022-04-12 15:30:59 +02:00
Yonas Habteab
100e852e26 modal.js: Change modal cancel selector 2022-04-12 15:30:59 +02:00
Yonas Habteab
52809312d2 dashboard.js: Use js class syntax 2022-04-12 15:30:59 +02:00
Yonas Habteab
e5f501dae3 Remove some unnecessary classes 2022-04-12 15:30:59 +02:00
Yonas Habteab
85a53764f6 Remove some unused interfaces/attrs 2022-04-12 15:30:59 +02:00
Yonas Habteab
0a94adcaca Adjust param description & extract home properties from a homeitem properly 2022-04-12 15:30:59 +02:00
Yonas Habteab
2913a4fd44 Fix some logical inconsistencies 2022-04-12 15:30:58 +02:00
Yonas Habteab
654d9252d4 Pane: Utilize query with dashboard when selecting dashlets 2022-04-12 15:30:58 +02:00
Yonas Habteab
ac3f3a66ea Module: Restore removed imports 2022-04-12 15:30:58 +02:00
Yonas Habteab
d903b902fc JS: Replace jquery.find() with pure js 2022-04-12 15:30:58 +02:00
Yonas Habteab
96c3b31686 Delay sorting events for 100ms 2022-04-12 15:30:58 +02:00
Yonas Habteab
d6a2f1e775 Do some code refactoring 2022-04-12 15:30:58 +02:00