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
Yonas Habteab
997517dc8d
Database: Transform assembled binary values to hex format for pgsql
2023-07-14 19:51:08 +02:00
Yonas Habteab
8ba46ac3d3
Don't load orphaned/unusable module dashlets
2023-07-14 19:51:08 +02:00
Yonas Habteab
84d57c622f
Make use of WidgetState
tratit & remove some obsolete codes
2023-07-14 19:51:08 +02:00
Yonas Habteab
408bb9c886
Introduce trait WidgetState
2023-07-14 19:51:08 +02:00
Yonas Habteab
83533d1641
Fix line indented incorrectly
2023-07-14 19:51:08 +02:00
Yonas Habteab
707de5c4da
dashboards.js: Remove some unnecessary codes
2023-07-14 19:51:08 +02:00
Yonas Habteab
d05b8d9e2f
main.less: Set cursor to pointer for the expand/collapse icons
2023-07-14 19:51:08 +02:00
Yonas Habteab
76c97bb1d2
dashboards.less: Add column spacing to the welcome form formcontrols
2023-07-14 19:51:08 +02:00
Yonas Habteab
04495e6276
Adjust Dashboard::getConn() calls & filtering by username
2023-07-14 19:51:08 +02:00
Yonas Habteab
ee706860c9
Introduce DashboardOwner model & adjust other models accordingly
2023-07-14 19:51:08 +02:00
Yonas Habteab
97b009c39f
Copy BoolCast
behavior from db-web
2023-07-14 19:51:08 +02:00
Yonas Habteab
d540ad4c0e
Cleanup DashboardManager trait
2023-07-14 19:51:08 +02:00
Yonas Habteab
3d5789d584
Introduce DashboardUserManager
trait
2023-07-14 19:51:08 +02:00
Yonas Habteab
08933e420f
Introduce Modules\DashletManager
class
2023-07-14 19:51:08 +02:00
Yonas Habteab
d993fea6e1
Introduce DBUtils class
2023-07-14 19:51:08 +02:00
Yonas Habteab
f8c0330e2d
schema: Add pgsql support for the new dashboards
2023-07-14 19:51:08 +02:00
Johannes Meyer
84b462f57c
dashboards/settings: Show tabs depending on where the user comes from
2023-07-14 19:51:08 +02:00
Johannes Meyer
2f09dbe68a
DashboardsController: $this->httpNotFound()
already accepts format params
...
there's no need to use `sprintf` explicitly
2023-07-14 19:51:08 +02:00
Johannes Meyer
3041d7d3c1
dashboards/settings: Cleanup HTML and CSS
...
Well what should I say..
* There should be nothing else inside a `ul` than `li` elements
* If that's not feasible, don't use a `ul` but a `div`
* If adjusting a stylesheet, don't add new stuff to it without
making sure that redundant/obsolete stuff is removed
* Restructure your stylesheet once you notice you're adding
one rule after another to counteract the one before it.
There was way too much code smell
* Only be as specific in CSS rules as you absolutely need to.
Classes are usually enough. Only add tags if you use the same
classes on different tags.
* Ensure that your CSS makes as less assumptions as possible
2023-07-14 19:51:08 +02:00
Johannes Meyer
d91795d815
dashboards/settings: Don't disguise action links as button links
2023-07-14 19:51:08 +02:00