Johannes Meyer
1d6ad6df21
Merge branch 'master' into feature/custom-menu-items-5600
...
Conflicts:
modules/monitoring/configuration.php
2015-09-15 13:31:30 +02:00
Eric Lippmann
a4fec6f42e
lib: Fix LdapConnection::encodeSortRules()
...
- Fix reverseOrder encoding
- Support PHP < 5.4
2015-09-08 14:29:31 +02:00
Eric Lippmann
e8c21868ff
lib: Fix Number::isValid()
...
- Calls $this->translate()
- Always performs is_numeric check, even if the element is not required
2015-09-07 16:57:09 +02:00
Eric Lippmann
d52bb7d92a
lib: Add Platform::hasLdapSupport() and Platform::hasDatabaseSupport()
...
refs #9683
2015-09-07 16:43:41 +02:00
Eric Lippmann
358f1750fb
lib: Add Platform::hasOciSupport()
...
refs #9683
2015-09-07 16:34:10 +02:00
Eric Lippmann
bba1838c7d
lib: Add Platform::hasOracleSupport()
...
refs #9683
2015-09-07 16:34:10 +02:00
Eric Lippmann
9f3ef5cc8d
lib: Add Platform::hasMssqlSupport()
...
refs #9683
2015-09-07 16:34:04 +02:00
Eric Lippmann
771efae1a2
lib/db: Allow to configure mssql resources
...
refs #9683
2015-09-07 16:20:37 +02:00
Eric Lippmann
4763b6b20a
lib/db: Allow to configure persistent connections
...
refs #9683
2015-09-07 16:15:04 +02:00
Eric Lippmann
44c19fc5e6
lib/db: Allow to create oracle (pdo_oci) connections
...
refs #9683
2015-09-07 16:14:11 +02:00
Eric Lippmann
a42c8d1f24
lib/db: Allow to create oci8 connections
...
refs #9683
2015-09-07 16:11:16 +02:00
Eric Lippmann
e34c50bc91
lib: Fix PHPDoc of DbConnection::$dbAdapter
2015-09-07 14:43:13 +02:00
Johannes Meyer
6a00eaf34d
User: Add method loadNavigationConfig()
...
refs #5600
2015-09-07 14:01:28 +02:00
Eric Lippmann
b897813e71
lib: Add Form::setRequest()
2015-09-07 13:55:52 +02:00
Johannes Meyer
b1e3519353
Add class NavigationController (WIP)
...
refs #5600
2015-09-07 13:55:19 +02:00
Eric Lippmann
1fb613e811
api/forms: Fix array access of a notification
...
refs #9606
2015-09-07 13:49:53 +02:00
Eric Lippmann
d3fe1e1973
api/response: Allow setting null as success data
...
refs #9606
2015-09-07 13:45:13 +02:00
Eric Lippmann
b20eb681c0
api/forms: Use the first success notification as success message
...
refs #9606
2015-09-07 13:44:46 +02:00
Eric Lippmann
f467d085b0
api: Use JsonResponse in form
...
refs #9606
2015-09-07 13:36:12 +02:00
Johannes Meyer
21180e2fd4
NavigationItem: Fix method conflictsWith()
...
...
refs #5600
2015-09-07 13:26:44 +02:00
Johannes Meyer
6b13f2a987
NavigationRenderer: Do not render an empty header
...
refs #5600
2015-09-07 13:25:25 +02:00
Eric Lippmann
25abc16e15
lib: Replace Repsonse::sendJson() w/ Response::json()
...
refs #9606
2015-09-07 13:24:21 +02:00
Eric Lippmann
a9cb8bfb2c
lib: Add JsonResponse class
...
refs #9606
2015-09-07 13:22:58 +02:00
Johannes Meyer
f9441c91d5
Navigation: Load shared navigation items
...
refs #5600
2015-09-07 13:22:36 +02:00
Johannes Meyer
27f3a8f152
Web: Add method getSharedNavigation()
...
refs #5600
2015-09-07 13:22:02 +02:00
Eric Lippmann
b6dc546fe5
lib: Fix PHPDoc of Filter::fromQueryString()
2015-09-07 13:21:48 +02:00
Johannes Meyer
ee43fdad0a
DashboardPane: Consider dashlets when merging
...
refs #5600
2015-09-07 13:21:31 +02:00
Johannes Meyer
bf2cb9ab7e
NavigationItem: Provide a more sophisticated conflict detection
...
refs #5600
2015-09-07 13:20:49 +02:00
Johannes Meyer
0feaec7af1
NavigationItem: Return a instance of Url in method getUrl(), really
...
refs #5600
2015-09-07 13:20:17 +02:00
Johannes Meyer
451a0c91f2
NavigationItem: Add missing return statement in method merge()
...
refs #5600
2015-09-07 13:19:36 +02:00
Johannes Meyer
f958a1c323
Navigation: Load a user's navigation items
...
refs #5600
2015-09-07 12:20:14 +02:00
Johannes Meyer
a012595e3d
User: Add method getNavigation()
...
refs #5600
2015-09-07 12:19:54 +02:00
Johannes Meyer
411c6e0546
Navigation: Fix that a module's item class is not found
...
refs #5600
2015-09-07 12:01:05 +02:00
Eric Lippmann
0f8c28d749
Merge branch 'master' into feature/api-9606
2015-09-07 11:33:44 +02:00
Johannes Meyer
274a0c8a09
Store a user's preferences in a dedicated directory rather than in a single file
...
refs #5600
2015-09-07 11:20:36 +02:00
Johannes Meyer
1be6dc0553
Module.php: Allow modules to provide configurable navigation items
...
refs #5600
2015-09-07 11:06:11 +02:00
Johannes Meyer
f9b68b683b
NavigationItem: Consider unknown properties as element attributes
...
refs #5600
2015-09-07 09:49:05 +02:00
Johannes Meyer
ca72bd5455
NavigationRendererInterface: Use "div" as default outer element tag
...
"nav" is less often necessary.
refs #5600
2015-09-07 09:48:32 +02:00
Johannes Meyer
e63e15e471
Add class DashboardPane
...
refs #5600
2015-09-07 09:06:40 +02:00
Johannes Meyer
b5711f4031
Dashboard: Load panes by utilizing the new Navigation
...
This is only a quick fix to avoid adjusting the complete dashboard
implementation.
refs #5600
2015-09-07 09:05:50 +02:00
Johannes Meyer
a3539b0817
Navigation: Fix method getActiveItem() failing badly for empty navigations
...
refs #5600
2015-09-07 08:37:06 +02:00
Johannes Meyer
6dd49761ff
Navigation: Add method getActiveItem()
...
refs #5600
2015-09-04 16:21:09 +02:00
Johannes Meyer
6967fffb1f
Navigation: Add support dashboard-panes and check module permissions
...
refs #5600
2015-09-04 15:51:51 +02:00
Johannes Meyer
95a61e89a9
Module: Fix how dashlets are loaded
...
refs #5600
2015-09-04 15:51:33 +02:00
Matthias Jentsch
29a2ee1a02
Merge branch 'feature/provide-counter-view-10033'
...
resolves #10033
2015-09-04 15:27:35 +02:00
Johannes Meyer
70a48643c1
Add class DashboardContainer
...
refs #5600
2015-09-04 15:25:19 +02:00
Johannes Meyer
5c2619dcb5
Add class NavigationItemContainer
...
refs #5600
2015-09-04 15:04:29 +02:00
Eric Lippmann
39c68dd5ce
LDAP Auth: Fix Fatal error: Call to a member function hasOid() on a non-object
2015-09-04 15:01:05 +02:00
Johannes Meyer
2af06e9415
NavigationItem: Re-introduce a default priority of 100
...
refs #5600
2015-09-04 14:20:21 +02:00
Johannes Meyer
b2a0f1b9c2
Navigation: Peform a case-insensitive search when merging items
...
refs #5600
2015-09-04 14:17:16 +02:00
Johannes Meyer
ab23b56973
Web: Load module menus
...
refs #5600
2015-09-04 13:55:49 +02:00
Johannes Meyer
63f8f34c15
Navigation: Add method load()
...
Supports currently only module menus.
refs #5600
2015-09-04 13:55:31 +02:00
Johannes Meyer
27a6b5bb75
Module: Utilize MenuItemContainer instead of Menu
...
refs #5600
2015-09-04 13:54:53 +02:00
Johannes Meyer
8643fec309
Add class MenuItemContainer
...
resf #5600
2015-09-04 13:54:23 +02:00
Johannes Meyer
881880f18f
SummaryNavigationItemRenderer: Fix method getTitle()
...
refs #5600
2015-09-04 13:48:29 +02:00
Johannes Meyer
8e24ec978d
BadgeNavigationItemRenderer: Use view() instead of getView()
...
refs #5600
2015-09-04 13:47:57 +02:00
Johannes Meyer
044fe031da
NavigationItemRenderer: Add method init()
...
refs #5600
2015-09-04 13:47:38 +02:00
Johannes Meyer
1a42c04c8e
NavigationItem: Fix locating a module's custom navigation renderer
...
refs #5600
2015-09-04 13:47:17 +02:00
Eric Lippmann
b28f1c4038
Merge branch 'bugfix/monitoring-ack-comments-display-9674'
...
fixes #9674
2015-09-04 13:04:39 +02:00
Matthias Jentsch
ca33e71f2d
Deduplicate and clean up service summary component
...
Remove redundant component view script and streamline subFilter handling in all views that render it. Remove
heading from component to allow embedding in different types of views.
refs #10033
2015-09-04 13:02:57 +02:00
Eric Lippmann
297a4333cd
lib/ldap: Use the indefinite form of the length octets for encoded sort rules where appropriate
...
I guess we may never need this, but hey :)
refs #9364
2015-09-04 11:58:11 +02:00
Johannes Meyer
294f9022f2
Use the new navigation to render the menu
...
refs #5600
2015-09-04 10:53:01 +02:00
Johannes Meyer
5ff3db8a3c
Url: Explicitly handle '#'
...
Feels like a quick&dirty solution. Feel free to improve it.
refs #5600
2015-09-04 10:34:39 +02:00
Johannes Meyer
07588595f2
NavigationItem: Automatically determine whether it's active or not
...
refs #5600
2015-09-04 10:10:33 +02:00
Eric Lippmann
9b22b24561
lib/ldap: Use ldap_count_entries for counting the result set
2015-09-04 09:57:04 +02:00
Johannes Meyer
baefc89f85
NavigationRenderer: Provide a id for outer item markup (<li>)
...
refs #5600
2015-09-04 09:41:39 +02:00
Johannes Meyer
2855778dc7
Revert "NavigationItemRenderer: Provide a id if none is set"
...
This reverts commit c60839d798
.
2015-09-04 09:38:03 +02:00
Johannes Meyer
975cc92f6b
NavigationItem: Provide "#" as default url for items with children
...
refs #5600
2015-09-04 09:31:23 +02:00
Johannes Meyer
4e948b46bf
NavigationRenderer: Add id "navigation" to the navigation's heading
...
refs #5600
2015-09-04 09:26:28 +02:00
Johannes Meyer
c60839d798
NavigationItemRenderer: Provide a id if none is set
...
refs #5600
2015-09-04 09:25:58 +02:00
Johannes Meyer
a8d5a78aa2
NavigationItem: Fix method getUniqueName()
...
refs #5600
2015-09-04 09:25:25 +02:00
Johannes Meyer
a6b2c23684
Update navigation rendering code to fit the previous adjustments
...
refs #5600
2015-09-04 09:08:20 +02:00
Eric Lippmann
fa25ce7f2f
lib/ldap: Set server side sorting after calling ldap_control_paged_result()
...
ldap_control_paged_result() seems to override already set server controls.
refs #9364
2015-09-03 17:50:24 +02:00
Eric Lippmann
9e11d539fd
lib/ldap: Enable server side sorting if supported by the server
...
refs #9364
2015-09-03 17:48:53 +02:00
Eric Lippmann
00e5bbe91c
lib/ldap: Fix LdapConnection::encodeSortRules()
...
refs #9364
2015-09-03 17:47:54 +02:00
Eric Lippmann
70a6157631
lib/ldap: Call getConnection before bind
...
Looks more natural
2015-09-03 17:11:56 +02:00
Eric Lippmann
cf917b59f8
lib: Fix PHPDoc of DbConnection::getDbApdater()
2015-09-03 16:20:29 +02:00
Johannes Meyer
9e558c9861
Add class SummaryNavigationItemRenderer
...
refs #5600
2015-09-03 15:53:42 +02:00
Johannes Meyer
ad6a2938ab
Add class BadgeNavigationItemRenderer
...
refs #5600
2015-09-03 15:53:23 +02:00
Johannes Meyer
b53fb04a0f
Move navigation related renderer classes to the new namespace
...
refs #5600
2015-09-03 15:52:37 +02:00
Johannes Meyer
7adfc58878
NavigationItem: Add missing return keyword in method render()
...
refs #5600
2015-09-03 15:04:39 +02:00
Johannes Meyer
a930ea7f7a
Navigation: Add method render()
...
refs #5600
2015-09-03 15:04:07 +02:00
Johannes Meyer
9a725330fb
NavigationItem: Provide the item to the renderer before calling render
...
refs #5600
2015-09-03 14:22:38 +02:00
Johannes Meyer
16ece09b0a
NavigationItemRenderer: Add option $target
...
refs #5600
2015-09-03 13:36:34 +02:00
Johannes Meyer
67dee62c57
NavigationItemRenderer: Add support for options
...
refs #5600
2015-09-03 13:36:13 +02:00
Johannes Meyer
c3ad665c15
Navigation: Fix accessing a non-existent and static variable
...
refs #5600
2015-09-03 12:52:07 +02:00
Johannes Meyer
c35db55857
Navigation: Add missing new keyword
...
refs #5600
2015-09-03 11:26:27 +02:00
Johannes Meyer
2834e206d5
NavigationItem: Add support for custom renderers
...
refs #5600
2015-09-03 11:25:51 +02:00
Johannes Meyer
811269df01
NavigationItem: Rename method getView() to view()
...
refs #5600
2015-09-03 10:39:11 +02:00
Johannes Meyer
206168672b
NavigationItem: Add method getUniqueName()
...
refs #5600
2015-09-03 10:22:47 +02:00
Johannes Meyer
e6a6ae996a
Navigation: Merge other navigations more sophisticated
...
refs #5600
2015-09-03 09:57:52 +02:00
Johannes Meyer
537db6000e
NavigationItem: Add method merge()
...
refs #5600
2015-09-03 09:56:22 +02:00
Johannes Meyer
a626e8f7fb
NavigationItem: Allow to set and get single url parameters
...
refs #5600
2015-09-03 09:56:02 +02:00
Johannes Meyer
1fb5c96ef1
Navigation: Add method order()
...
refs #5600
2015-09-03 08:52:02 +02:00
Johannes Meyer
00447488ee
NavigationItem: Drop interface Countable
...
$item->count(), count of what?
$item->getChildren()->count(), Its children, of course!
refs #5600
2015-09-03 08:49:30 +02:00
Johannes Meyer
f4a6ab73c0
NavigationItem: Add property priority
...
refs #5600
2015-09-03 08:33:13 +02:00
Johannes Meyer
1393db687b
NavigationItem: Adjust some docblocks
...
refs #5600
2015-09-02 15:42:54 +02:00
Johannes Meyer
298c4ad38b
NavigationItem: Cast a string to Url already in setUrl()
...
refs #5600
2015-09-02 15:35:08 +02:00
Johannes Meyer
1788cc9b6a
NavigationItem: Use setView() to initiliaze $view
...
refs #5600
2015-09-02 15:33:45 +02:00
Johannes Meyer
6802c0a9e4
NavigationItem: Do not disable the complete parent hierarchy..
...
..if just a child gets deactivated.
refs #5600
2015-09-02 15:32:37 +02:00