Commit Graph

2977 Commits

Author SHA1 Message Date
Johannes Meyer 1c7b398219 Navigation: Do not provide "dashlet" as default item type
Please revert this commit once we're about to finish the new
implementation.

refs #6084
2015-09-30 12:55:21 +02:00
Johannes Meyer 6a61d4aa25 User: Fix method getNavigation()
refs #10246
2015-09-30 11:47:38 +02:00
Johannes Meyer a2827e0dd9 Web: It's not necessary anymore to set a key column
refs #10246
2015-09-30 11:47:22 +02:00
Johannes Meyer bbd68457ae Config: Use DIRECTORY_SEPARATOR in static method navigation()
refs #10246
2015-09-30 11:41:49 +02:00
Johannes Meyer 633dca6b76 Web: Load the new config files for shared items
refs #10246
2015-09-30 11:38:51 +02:00
Johannes Meyer 037fee298b User: Drop method loadNavigationConfig()
refs #10246
2015-09-30 11:38:14 +02:00
Johannes Meyer befbc6cd6a Config: Add static method navigation()
refs #10246
2015-09-30 11:30:38 +02:00
Johannes Meyer 95d1ce371c Navigation: Add static method getItemTypeConfiguration()
refs #10246
2015-09-30 11:18:15 +02:00
Eric Lippmann 274910a611 CSS: Use class form-controls for form buttons by default
refs #5543
2015-09-30 09:53:36 +02:00
Eric Lippmann c36c0455d4 CSS: Use icon-info-circled for form control help
refs #5543
2015-09-30 09:52:53 +02:00
Johannes Meyer b4bcfa4e08 NavigationController: Register navigation item types differently
refs #10246
2015-09-29 17:12:57 +02:00
Eric Lippmann eb246babd5 CSS: Add grid.less
refs #5543
2015-09-29 17:02:59 +02:00
Johannes Meyer 35e62aed80 Merge branch 'master' into feature/allow-to-list-groups-from-a-ldap-backend-9772 2015-09-29 12:33:24 +02:00
Johannes Meyer e5f035c537 LdapConnection: Do not apply any custom vodoo on a ldap resource object
refs #9772
2015-09-29 12:08:17 +02:00
Johannes Meyer d720180348 LdapConnection: Properly apply limit and offset for unfolded queries
refs #9772
2015-09-29 11:41:21 +02:00
Johannes Meyer b0559206af LdapConnection: Do not substract 1 from a given offset, #2
refs #9772
2015-09-29 11:39:36 +02:00
Johannes Meyer 624f5050b7 LdapConnection: Count properly in case the result may get unfolded
refs #9772
2015-09-29 11:33:21 +02:00
Johannes Meyer 575875481a LdapConnection: Do not substract 1 from a given offset
refs #9772
2015-09-29 11:31:36 +02:00
Johannes Meyer 8358f82885 LdapUserGroupBackend: Do not consider every "member" as a "user"
Not all members of a group are actual user objects. I would have liked to
actually only show real users, but this is currently not possible.

refs #9772
2015-09-29 11:29:05 +02:00
Johannes Meyer d33b1954aa LdapUserGroupBackend: Fetch the uid for a member's DN
refs #9772
2015-09-29 09:48:57 +02:00
Johannes Meyer ef1a81897b LdapUserGroupBackend: Automatically unfold the user_name attribute
refs #9772
2015-09-29 09:48:22 +02:00
Johannes Meyer 33c6f2e06b LdapConnection: Support unfolding multi value attributes
refs #9772
2015-09-29 09:47:30 +02:00
Johannes Meyer b7ddb6e4c2 LdapUserGroupBackend: Register the user backend for later use
refs #9772
2015-09-29 09:44:01 +02:00
Bernd Erk ef16c3c479 CSS: design user logout and preferences 2015-09-28 17:58:23 +02:00
Eric Lippmann ca45522da7 CSS: Move badge related styles to badges.less 2015-09-28 17:02:37 +02:00
Eric Lippmann 98f1e9028e Fix user menu CSS classes
refs #5543
2015-09-28 16:40:16 +02:00
Eric Lippmann ed6da19876 lib: Support setting CSS class for li on navigation items
refs #5543
2015-09-28 16:39:28 +02:00
Eric Lippmann c3b085cf7f lib: Respect Cache-Control: no-cache
fixes #9688
2015-09-28 15:59:11 +02:00
Eric Lippmann d03647f2e6 JS: Rename dblclickselect to selectable
refs #9826
2015-09-28 15:44:25 +02:00
Eric Lippmann a408636923 Move logout to new navigation item
refs #5543
2015-09-28 15:28:17 +02:00
Eric Lippmann 9dff864b80 Prepare markup for new user menu
refs #5543
2015-09-28 14:48:54 +02:00
Johannes Meyer 1cede5bd1a Merge branch 'master' into feature/allow-to-list-groups-from-a-ldap-backend-9772 2015-09-28 13:47:24 +02:00
Eric Lippmann 2ff822c2ac Merge branch 'master' into feature/ipv6-addresses-9645-9826 2015-09-28 13:09:30 +02:00
Johannes Meyer 7a8ac9796b ArrayDatasource: Make it cloning itself when creating a new query
Quickfix only. The actual issue is that the datasource caches indifferently
the result of the first evaluated query. This should be done by the query.
2015-09-28 12:26:33 +02:00
Johannes Meyer 2ef36e2a92 Merge branch 'master' into bugfix/ldap-group-to-roles-assignment-not-working-9950 2015-09-28 11:05:00 +02:00
Johannes Meyer e7e3520375 LdapUserGroupBackend: Fix method getMemberships()
refs #9950
2015-09-28 10:57:17 +02:00
Johannes Meyer d7655972ed LdapRepository: Add method isAmbiguous()
refs #9950
2015-09-28 10:56:15 +02:00
Johannes Meyer e1aab183e3 LdapRepository: Add a bunch of additional well known attribute names 2015-09-28 10:55:41 +02:00
Johannes Meyer 2f9bd78721 Merge branch 'master' into bugfix/Prettify-page-layout-when-accessing-a-non-existent-route-while-not-being-authenticated-10009 2015-09-28 09:55:07 +02:00
Johannes Meyer d627f419ef Fix that an object's notes and action url label is escaped twice
fixes #10218
2015-09-28 09:05:17 +02:00
Eric Lippmann ab50fcc091 CSS: Introduce .primary-nav
refs #5543
2015-09-27 16:06:46 +02:00
Eric Lippmann 8cd715f2d4 CSS: Include main.less after nav.less
refs #5543
2015-09-27 16:00:19 +02:00
Eric Lippmann 2996cb77ab Navigation: Close the navigation item after all children have been rendererd
refs #5543
2015-09-27 15:43:49 +02:00
Eric Lippmann 63e0549618 Navigation: Support empty labels for creating containers
refs #5543
2015-09-27 15:42:26 +02:00
Eric Lippmann 9115e1d834 CSS: Move monitoring/colors.less to application
refs #5543
2015-09-27 14:28:36 +02:00
Eric Lippmann d59b09ca48 Fix badge markup in the BadgeNavigationItemRenderer
refs #5543
2015-09-27 14:16:51 +02:00
Eric Lippmann 30ed3ad760 Fix badge markup in the BadgeMenuItemRenderer
refs #5543
2015-09-27 14:16:36 +02:00
Eric Lippmann 4c798d4e04 Fix coding style in the SummaryNavigationItemRenderer
refs #5543
2015-09-27 14:16:10 +02:00
Eric Lippmann 181f6d5285 CSS: Re-add form.less but w/ out-commented content
refs #5543
2015-09-27 13:37:35 +02:00
Eric Lippmann 901a5b6d34 lib: Remove obsolete navigation renderer classes
refs #5543
2015-09-27 13:32:14 +02:00
Eric Lippmann 9789aed870 lib: Fix navigation renderer usage in the limiter widget
refs #5543
2015-09-27 13:29:22 +02:00
Eric Lippmann a9f0aa6bcd lib: Fix navigation usage in the limiter widget
refs #5543
2015-09-27 13:22:43 +02:00
Eric Lippmann d79a160547 Navigation: Disable ids on li for the moment
refs #5543
2015-09-27 13:11:49 +02:00
Eric Lippmann d3ac1b16ee Merge branch 'master' into feature/dope-layout-5543 2015-09-27 13:11:11 +02:00
Eric Lippmann 5008537683 lib: Fix PHPDoc of SimpleQuery::getOrder() 2015-09-27 12:57:47 +02:00
Eric Lippmann 78989c0aad lib: Add SimpleQuery::clearOrder() 2015-09-27 12:56:48 +02:00
Eric Lippmann ed9a6aa39d lib: Fix Navigation::addItem()
refs #5543
2015-09-27 12:26:58 +02:00
Johannes Meyer e5f2174c1e LdapUserGroupBackend: Restore method requireTable()
refs #9950
2015-09-25 16:24:16 +02:00
Johannes Meyer fe9ee48d65 LdapUserGroupBackend: Fix incorrect table name initialization
refs #9950
2015-09-25 16:23:13 +02:00
Johannes Meyer b19ecbfb43 LdapUserGroupBackend: Remove the remaining code duplicates
refs #9950
refs #9772
2015-09-25 16:21:33 +02:00
Alexander A. Klimov ed935696ac CSS: outsource .logo related rules into a new .less file `logo.less'
refs #10009
2015-09-25 15:31:39 +02:00
Aaron Collins 23631c8f39 changed order of posix check
refs #9950

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-09-25 14:35:08 +02:00
Aaron Collins 73715c94b1 Fixes for ldap group auth
The current LdapUserGroupBackend was incomplete and suffered from a little over zealous copy pasta.  It had over written certain functions that where unnecessary such as the constructor and a table validator.  This patch aims to clean those up.  Additionally it also makes this group auth work with posixGroup that use the username as the member identifier and not just inetGroups that use the full dn

refs #9950

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-09-25 14:34:33 +02:00
Johannes Meyer a55cced039 Merge branch 'master' into feature/custom-menu-items-5600
Conflicts:
	modules/monitoring/application/views/scripts/list/comments.phtml
	modules/monitoring/application/views/scripts/list/downtimes.phtml
2015-09-25 14:12:43 +02:00
Eric Lippmann 7ff74ae36a lib: Use navigation classes in the limiter control
refs #5543
2015-09-25 13:36:28 +02:00
Eric Lippmann 823a2cc8ea CSS: Add nav.less and limiter.less to our stylesheet
refs #5543
2015-09-25 13:36:04 +02:00
Eric Lippmann 1122ffafad lib: Add navigation classes (WIP)
- Lacks custom renderer functionality
- Lacks navigation item priorities
- Lacks permission handling

refs #5600
2015-09-25 13:16:44 +02:00
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
Eric Lippmann 59b9155ca7 CSS: Include dev.less in our style sheet
refs #5543
2015-09-25 00:35:12 +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
Eric Lippmann 27f3dd94d2 CSS: Add text-small to time-since, -until and -ago
refs #5543
2015-09-24 10:28:56 +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
Eric Lippmann 5b1e4f0a1c CSS: Add new main.less to our stylesheet
refs #5543
2015-09-23 13:41:39 +02:00
Eric Lippmann 2e9ea40eb1 CSS: Disable main-content.less for now
refs #5543
2015-09-23 13:37:19 +02:00
Eric Lippmann e982735451 CSS: Rename main.less to base.less
refs #5543
2015-09-23 13:36:25 +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
Eric Lippmann d1b141d142 CSS: Include main.less in our stylesheet
refs #5543
2015-09-23 11:01:55 +02:00
Eric Lippmann 12227d9d08 CSS: Disable defaults.less for now
refs #5543
2015-09-23 10:57:39 +02:00
Eric Lippmann 8b9cdc5c1e CSS: Include normalize.css in our style sheet
refs #5543
2015-09-23 10:43:43 +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