49 Commits

Author SHA1 Message Date
Ryan Medlyn d6ae852617 Fixes query selector scope for bootgrid destroy (#7379) 2017-09-22 07:06:49 +01:00
Ryan Medlyn 6077d3a3db webui: Greatly reduces application memory leak for dashboard (#7215) 2017-09-01 17:27:01 +01:00
Slashdoom fbf157c053 webui: Load google maps js library only if globe map widget is used
webui: Load google maps js library only if globe map widget is used
2017-06-02 21:02:50 +01:00
Neil Lathwood acaa29c583 webui: Disabled settings button for Shared (read) dashboards if you are not the owner (#6596) 2017-05-05 16:22:01 -05:00
Daniel Preussker 2076e3655f Revert #6282 as it breaks graph widgets (#6361) 2017-04-05 16:14:21 +01:00
Tony Murray dd91484716 fix: Select the correct dashboard when there are no defaults. (#6339) 2017-04-04 17:55:18 +01:00
Tony Murray 4b9f3f37d7 fix: move user preferences dashboard and twofactor out of users table (#6286)
* fix: move user preferences dashboard and twofactor out of users table
This allows them to work with any authentication method
Add set_user_pref() and get_user_pref() helper functions

* fix edit users for other users

* Fix updated_at default timestamp

* Update and rename 183.sql to 184.sql

* removed commented out debug
2017-04-01 22:18:00 +01:00
Jan-Philipp Litza 323df86d40 fix: Fixed height of widget boxes (#6282)
* Fix height of widget boxes

This pracitcally reverts #5644 and instead applies the correct fix by
calculating the dimensions of the widget box correctly.

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
2017-03-28 16:02:10 +01:00
Neil Lathwood 8b453889fc fix: Stop creating dashboards when user has a default that no longer exists #5610 (#5613) 2017-01-26 22:38:14 +00:00
Neil Lathwood 085e7537d8 fix: Merge pull request #4939 from laf/issue-4937
* fix: If all dashboards are deleted, create a default #4937

* Remove debug statement
2016-11-14 21:54:12 -06:00
Neil Lathwood 3a0487088c fix: Always validate the default dashboard_id to make sure it still exists
fix: Always validate the default dashboard_id to make sure it still exists
2016-08-30 22:03:23 +01:00
Guillaume Coeugnet d2db74c44e [Bugfix] Dashboards redirecting and widgets not adding (#4272)
bug: Fixes dashboards redirecting #4213 and adding new widgets #4255
2016-08-30 13:56:28 +01:00
Eldon Koyle 787c4f09f7 Config option for global default dashboard (#4080)
* Config option for global default dashboard

Add config option to set a global default dashbord.  This will be used
instead of the user's "Default" dashboard unless they have changed their
default dashboard in their user settings.

* Use a dropdown for the default_dashboard option

Update generate_dynamic_config_panel to allow assoc arrays with
`'value'` and `'description'` as keys and change to a select box.

* Fix PHP style issues lost during merge
2016-08-23 19:37:12 +01:00
Bennett Blodinger 2fd6a9f0fb Fix button jumping for dashboard tooltips (#4164)
http://getbootstrap.com/javascript/#callout-tooltip-groups
2016-08-22 19:09:22 +01:00
Tony Murray 8c639aa5a4 PSR2 Cleanup: /html edition
Travis tests for code conformance. Ignore warnings for now.
Fixed all errors, left most warnings.
2016-08-18 21:29:30 -05:00
Guillaume COEUGNET 8264f3dfb5 Remove extra dbInsert from dashborads creation 2016-07-01 11:13:10 +02:00
Tony Murray 18484db3fe Fix adding widgets (#3567) 2016-05-27 09:20:33 -05:00
Tony Murray 07455a6e0a Scrollable widgets
Remove several javascript:return false;
2016-05-26 09:44:41 -05:00
Rosiak bf175ef8a0 Fix 2685
Print the dash owner’s username when using sticky dash.
2016-01-06 23:41:58 +01:00
Daniel Preussker a63ea78441 First Draft in Per-User default dashboards 2015-12-13 19:39:12 +00:00
laf 248c2004fc Updated to be responsive 2015-11-11 08:49:07 +00:00
Daniel Preussker 7ce765444a Dont show dashboard settings if /bare=yes/ 2015-10-29 17:00:56 +00:00
Mike Rostermund 6b31a15e79 Sort list of available dashboards. 2015-10-08 20:16:44 +02:00
f0o 0321c0f152 Added tooltips
Fixed Placeholder message
2015-10-02 07:21:37 +00:00
f0o ea00040fd0 By default lock all tiles
Only allow moving/resizing if in Edit mode
2015-10-02 05:06:48 +00:00
Daniel Preussker baa209ff05 Fixed width of dashboard-dropdown 2015-09-12 09:51:58 +01:00
Daniel Preussker 8859130949 Fix base_url with tailing slash 2015-09-11 21:17:49 +01:00
Daniel Preussker 9e668e9bd7 Updated dashboard menu's 2015-09-11 21:14:25 +01:00
Daniel Preussker f80b10bfa0 Added Dashboard sharing. 2015-09-11 19:20:10 +01:00
Daniel Preussker cc936c34f8 Re-arranged dashboard bar 2015-09-11 14:41:17 +01:00
Daniel Preussker ac6e56fa56 changed settings icon 2015-09-10 17:14:36 +01:00
Daniel Preussker 4c3b4fb5fa Add transition from old dashboard to new dashboard 2015-09-09 20:19:13 +01:00
Daniel Preussker 2ce10cf6df Add multiple dashboard support 2015-09-09 20:06:10 +01:00
Daniel Preussker e8f7f3b6f8 Add reload lock if widget is in settings mode 2015-09-07 19:30:22 +01:00
Daniel Preussker b741e479a4 Allow drag on title-text 2015-09-06 13:47:24 +01:00
Daniel Preussker 9951c98e70 Added edit-page
Added responsive resizing support for graph widget
2015-09-06 13:18:54 +01:00
Daniel Preussker 7acc1d266a Added per-widget settings 2015-09-05 16:15:11 +01:00
Michael Newton f77c712bfc changes needed to run under web server subdirectory 2015-08-11 14:54:05 -07:00
Neil Lathwood 945ca7f2ea Revert "changes needed to run under web server subdirectory" 2015-08-11 21:25:23 +01:00
Michael Newton cc0f449fc9 changes needed to run under web server subdirectory 2015-08-07 11:10:43 -07:00
laf 7651be43c1 Added attribution for grdister call 2015-07-26 11:25:54 +00:00
laf 06229b5baf Updates from Rosiak for visual styles 2015-07-23 22:55:37 +01:00
laf cdd769f273 Added ability to clear dashboard 2015-07-23 21:27:33 +01:00
laf b6cd10d2a2 add font-awesome icon 2015-07-23 20:02:50 +01:00
laf c3afca79a3 bug fix for adding widgets 2015-07-23 19:47:38 +01:00
laf a91ab4d987 Hopefully last changes 2015-07-23 17:09:18 +01:00
laf 8f282c5174 Tidy up + new tiles 2015-07-22 22:04:33 +01:00
laf bd7ba8b1b5 Added copyright 2015-07-21 23:11:48 +01:00
laf 2f9dcc8fbd Initial dashboard, code formatting is bad + lots needs tidying up 2015-07-21 23:01:57 +01:00