Alexander A. Klimov
a9ec0eebef
Merge branch 'bugfix/don-t-use-parse_ini_file-in-Config-10150'
...
fixes #10150
2015-09-25 12:19:38 +02:00
Alexander A. Klimov
812545c04b
IniStore::load(): use IniParser::parseIniFile() instead of parse_ini_file()
...
refs #10150
2015-09-25 12:15:47 +02:00
Alexander A. Klimov
8dc9928cb3
IniParser::parseIniFile(): return a Config instance
...
refs #10150
2015-09-25 12:04:13 +02:00
Alexander A. Klimov
a090907373
Conform to coding guidelines
2015-09-25 11:37:06 +02:00
Johannes Meyer
165dc00fad
Url: Do not throw ProgrammingError if there is no relative url available
...
refs #5600
2015-09-24 14:03:15 +02:00
Alexander A. Klimov
e2d6089ff3
Make Version::get() failsafe
...
refs #9247
2015-09-24 12:25:02 +02:00
Alexander A. Klimov
feb27b8a02
Rename application/VERSION to application/GITCOMMIT
...
refs #9247
2015-09-24 11:35:18 +02:00
Alexander A. Klimov
3e99adbe63
Version::get(): first try to parse application/VERSION
...
refs #9247
2015-09-24 11:05:21 +02:00
Alexander A. Klimov
cc4a47506f
Fetch version from constant
...
refs #9247
2015-09-24 10:53:33 +02:00
Alexander A. Klimov
7c3b46fefa
Make regex less complicated
2015-09-23 17:48:30 +02:00
Alexander A. Klimov
d6cf6313b9
Split complex if statements
2015-09-23 15:53:10 +02:00
Alexander A. Klimov
abcdc5adb1
Fetch Git commit ID from .git/HEAD if available
...
refs #9247
2015-09-23 15:06:02 +02:00
Johannes Meyer
9042d55dd4
FilterExpression: Add support multi value columns in method matches()
...
refs #5600
2015-09-23 13:02:13 +02:00
Johannes Meyer
e4e560ab1a
FilterMatchNot: Do not re-invent the parents implementation of matches()
...
refs #5600
2015-09-23 13:01:08 +02:00
Johannes Meyer
939188be94
FilterMatch: Do not re-invent the parents implementation of matches()
...
refs #5600
2015-09-23 13:00:46 +02:00
Johannes Meyer
5193fce1dd
Url: Fix external url detection
...
refs #5600
2015-09-22 16:18:27 +02:00
Johannes Meyer
81e13109fc
Revert "Url: Add support macros"
...
This reverts commit 33231d24da
.
There is no need for url macros, since we're handling absolute
urls correctly now.
2015-09-22 15:51:00 +02:00
Matthias Jentsch
b69311165c
Conform to coding guidelines
2015-09-22 14:53:29 +02:00
Alexander A. Klimov
626c3494e4
Config::fromIni(): use IniParser::parseIniFile() instead of parse_ini_file()
...
refs #10150
2015-09-22 14:50:49 +02:00
Alexander A. Klimov
acb93ce1ae
Implement Document::toArray()
...
refs #10150
2015-09-22 14:50:49 +02:00
Alexander A. Klimov
777c4d0baf
Implement Section::toArray()
...
refs #10150
2015-09-22 14:50:49 +02:00
Alexander A. Klimov
b441156934
Implement IniParser::parseIniFile()
...
refs #10150
2015-09-22 14:50:49 +02:00
Johannes Meyer
33231d24da
Url: Add support macros
...
refs #5600
2015-09-22 14:15:04 +02:00
Johannes Meyer
7321d67b4f
Url: Consider urls with a leading slash as absolute..
...
..and make it possible to have a url without a base.
refs #5600
2015-09-22 14:14:41 +02:00
Matthias Jentsch
42fb1a174b
Do not crash when ldap_dn is defined in additional variables
...
refs #9950
2015-09-22 14:08:15 +02:00
Matthias Jentsch
46f2f71c57
Improve logging of membership queries
...
refs #9950
2015-09-22 13:02:08 +02:00
Matthias Jentsch
84554d245d
Conform to coding guidelines
...
refs #9950
2015-09-22 12:51:00 +02:00
Johannes Meyer
3c7155f246
NavigationItemRenderer: Pass external urls through the iframe module
...
refs #5600
2015-09-21 14:13:10 +02:00
Johannes Meyer
7e460e7c03
Url: Remove redundant slash on urls without path
2015-09-21 14:04:36 +02:00
Johannes Meyer
776d06d6ca
Url: Fix host check in fromPath()
...
refs #5600
2015-09-21 14:03:53 +02:00
Johannes Meyer
c8d3aa2517
Url: Support external urls in fromPath()
...
refs #5600
2015-09-21 13:10:35 +02:00
Johannes Meyer
3aaf726856
Update CSS style used for the navigation
...
refs #5600
2015-09-21 11:13:05 +02:00
Johannes Meyer
76cf01869e
NavigationItem: Add property $target
...
refs #5600
2015-09-21 10:18:46 +02:00
Jo Rhett
f3df1f228d
Fix for support issue 9950, do lookups properly on posixGroup group classes
2015-09-18 13:37:04 -07:00
Alexander A. Klimov
17e8f01d24
Use the DN to fetch group memberships from LDAP
...
fixes #9901
2015-09-18 15:34:12 +02:00
Johannes Meyer
d4a9198310
Navigation: Only fail if there's really no chance to create the requested hierarchy
...
refs #5600
2015-09-17 14:42:02 +02:00
Johannes Meyer
b6fe6ffd6b
Navigation: Relax type check in method fromConfig()
...
refs #5600
2015-09-17 13:41:28 +02:00
Johannes Meyer
bb4f4e9095
User: Properly load menu items
...
refs #5600
2015-09-17 13:40:58 +02:00
Johannes Meyer
0ec3610349
Web: Properly load shared menu items
...
refs #5600
2015-09-17 13:40:40 +02:00
Eric Lippmann
eff9249863
lib: Don't provide LDAP server-side sort request if the query has no order
...
refs #10147
2015-09-17 13:01:58 +02:00
Eric Lippmann
79c9a8af9b
lib: Fix Number::isValid(), again :)
2015-09-17 12:52:09 +02:00
Eric Lippmann
ccfbc13a38
Merge branch 'feature/more-db-reource-types-9683'
...
resolves #9683
2015-09-17 12:48:27 +02:00
Eric Lippmann
f46504554e
lib: Check for mssql extension too in Platform::hasMssqlSupport()
...
refs #9683
2015-09-17 11:48:25 +02:00
Johannes Meyer
83bde3aa81
Form: Rename property $parent to $_parent
...
Zend.. I love you..
2015-09-17 11:23:47 +02:00
Johannes Meyer
4f5a5c83bc
Navigation: Add method hasRenderableItems()
...
refs #5600
2015-09-17 11:01:06 +02:00
Johannes Meyer
bf4e492fa1
Action: Accept and apply option "filter"
...
refs #5600
2015-09-17 11:00:40 +02:00
Johannes Meyer
b1ee12f721
NavigationItem: Allow to dynamically decide whether to render an item
...
refs #5600
2015-09-17 09:11:17 +02:00
Johannes Meyer
84f733b177
DashboardPane: Rename param $order to $ordered in method getDashlets
...
refs #5600
2015-09-17 08:25:17 +02:00
Johannes Meyer
54d08f99e8
DashboardPane: Order dashlets alphabetically
...
refs #5600
2015-09-16 15:31:41 +02:00
Johannes Meyer
8c17364780
Late translate a module's menu section labels
...
refs #5600
2015-09-16 14:36:35 +02:00
Johannes Meyer
8b7a1ce28f
Late translate a module's dashboard-pane/dashlet labels
...
refs #5600
2015-09-16 14:29:33 +02:00
Johannes Meyer
bbadb0b75c
Add support for no-op translations
...
refs #5600
2015-09-16 14:16:40 +02:00
Johannes Meyer
0ca6e04a5a
Module: Allow to pass a label for a custom navigation item type
...
refs #5600
2015-09-16 13:51:35 +02:00
Johannes Meyer
d0eb61dc2e
Form: Add property $parent
...
refs #5600
2015-09-15 16:09:33 +02:00
Johannes Meyer
ccae7c4d0d
Module: Allow to define a dashboard pane's properties
...
Since dashboards are now alphabetically sorted as well, we need some way
to affect this as the old behaviour was to sort them as they were registered
refs #5600
2015-09-15 13:54:53 +02:00
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