1146 Commits

Author SHA1 Message Date
Marius Hein
6ec2ee753d Render error messages in the container itself
fixes #6280
2015-01-30 14:50:25 +01:00
Eric Lippmann
65a2c47506 security: Provide permissions for our config actions 2015-01-30 13:29:47 +01:00
Alexander Klimov
868295110a Merge branch 'master' into bugfix/Improve-tooltip-descriptions-8110
Conflicts:
	modules/monitoring/application/views/scripts/hosts/show.phtml
2015-01-30 10:26:47 +01:00
Johannes Meyer
0108d44d63 Fix "The use of non compound name 'Exception'..." 2015-01-30 09:38:59 +01:00
Johannes Meyer
63305fdf9a Add Icinga\Application\Config::saveIni()
Simplifies saving INI files. Icinga\File\Ini\IniWriter does already require an
instance of Icinga\Application\Config so it's obvious to give "Config" the
task to initialize the writer.. We do also have a central place to handle
creating missing ancestor directories now.

refs #8219
2015-01-30 09:32:08 +01:00
Eric Lippmann
d42017018f Return HTTP 403 in case a SecurityException was thrown 2015-01-30 09:31:05 +01:00
Johannes Meyer
7e792f5d2e Add explicit step-attribute to html5-datetime* input elements
fixes #8314
2015-01-29 15:41:21 +01:00
Marius Hein
c1df1f822e ifont: Reorganize files and drop use less attributes
fixes #6417
2015-01-29 11:25:37 +01:00
Johannes Meyer
3a983e8859 Merge branch 'master' into feature/improve-autologin-setup-8274 2015-01-28 18:01:15 +01:00
Marius Hein
4abb30e55b Merge branch 'master' into bugfix/ie8-fixes-6417 2015-01-28 17:08:56 +01:00
Marius Hein
9d05190517 ifont: Fix empty font glyphs for IE8
The embedded font is included inline in the stylesheets. IE falls back and
tries to load one of the other font sources which was not exported by the web
server. This fix moves the fontello directory to public and add add a
prefix path to the embedded stylesheet.

refs #6417
2015-01-28 17:06:55 +01:00
Johannes Meyer
78f5bf4f3d Phrase external auth warnings more neutral
refs #8274
2015-01-28 16:22:20 +01:00
Johannes Meyer
f486dabe6d Drop view script config/logging.phtml as it's not used anywhere 2015-01-28 14:22:42 +01:00
Johannes Meyer
618ab4f4b9 Introduce link target "_right" to keep a column with tabs rightmost
I'd have liked to get it to work that in case the tab control is not in the
rightmost column a "go back" in the history is being simulated causing
the preceding leftmost column(s) to be restored and the rightmost one
set to the one containing the tab control. But the history api does not
seem to support any read operations except for the current state..

refs #6436
2015-01-28 14:21:06 +01:00
Johannes Meyer
cf857c4257 Close forms when switching between the main app's configuration tabs
refs #6436
2015-01-28 14:15:16 +01:00
Johannes Meyer
7ad44b8411 login: Show a note if the only active external auth backend is not available
refs #8274
2015-01-27 14:26:06 +01:00
Johannes Meyer
4a245ed8e0 login: Wrap the config warning in paragraph tags instead of div 2015-01-27 13:58:55 +01:00
Johannes Meyer
d99d147901 Fix usages of AutoLoginBackend
refs #8274
2015-01-27 13:45:13 +01:00
Johannes Meyer
6c292f7e56 Move the configuration warning on the login screen further up
..and add translation support to the login screen.

refs #8274
refs #8134
2015-01-27 13:31:14 +01:00
Johannes Meyer
50fc85d7ff Rename authentication type "autologin" to "external"
refs #8274
2015-01-27 09:49:36 +01:00
Alexander Klimov
2ba78f24c3 Roles view: show role's name in the title of the remove-link 2015-01-26 14:02:47 +01:00
Johannes Meyer
55c20abddc Only show the "save to session" button in case preferences store = none
refs #8234
2015-01-23 16:25:24 +01:00
Johannes Meyer
d452f3218d Use "ini" as preferences store in case preferences are not configured
refs #8234
2015-01-23 16:25:24 +01:00
Johannes Meyer
359336243c Save "none" instead of "null" when choosing to not to store preferences
refs #8234
2015-01-23 16:25:24 +01:00
Johannes Meyer
2a543bb5ae Rename the preference setting type' to store'
refs #8234
2015-01-23 16:25:23 +01:00
Johannes Meyer
14a4aaeb77 Revert "Fix that when chosing to not to store preferences an invalid config is created"
This reverts commit 6284da451e2a3f1fecf8935f04701d889445203c.
2015-01-23 15:23:43 +01:00
Johannes Meyer
6284da451e Fix that when chosing to not to store preferences an invalid config is created
fixes #8234
2015-01-23 14:42:09 +01:00
Eric Lippmann
bc3a475e90 Never autofocus the search element by default
Automatically focusing the search element on the initial page load and on every auto-refresh of the menu is disruptive
for both mobile devices and screen readers.

fixes #7697
2015-01-22 13:48:52 +01:00
Eric Lippmann
32c64f7e3d layout: Do not duplicate code from layout/menu.phtml in navigation.phtml 2015-01-22 13:47:45 +01:00
Eric Lippmann
dd83f6f757 Fix copyright year 2015-01-22 10:38:00 +01:00
Eric Lippmann
e93628f4b4 Prefer 'hostname' over 'host name' in the LdapDiscoveryForm 2015-01-20 16:53:27 +01:00
Johannes Meyer
2d957205ef Using $this when not in object context, doesn't work.
refs #7551
2015-01-19 13:47:53 +01:00
Johannes Meyer
dbd69ba693 Replace t() and mt() with translate() in the application's forms
refs #7551
2015-01-19 11:26:23 +01:00
Eric Lippmann
f0fe6246ac Use '/var/log/icingaweb2/icingaweb2.log' as default path when logging to file 2014-12-29 16:02:40 +01:00
Eric Lippmann
5bc2144b18 Use 'icingaweb2' as default application prefix for logging to syslog 2014-12-29 16:01:07 +01:00
Eric Lippmann
960cead434 Merge branch 'master' into feature/packages-4075 2014-12-29 15:59:27 +01:00
Eric Lippmann
cfb52eeadb Do not use a default regular expression for stripping off parts of a username when configuring an auto-login backend
There's no safe default for this.
2014-12-29 15:56:32 +01:00
Eric Lippmann
e1bedc9afe Use Icinga 2's default Livestatus socket path as default when configuring a livestatus resource 2014-12-29 15:55:57 +01:00
Eric Lippmann
74ce666cd8 Use the requiresSetup variable instead of configMissing in login.phtml 2014-12-29 14:31:07 +01:00
Eric Lippmann
250e05f2e8 Optimize imports in AuthenticationController.php 2014-12-29 14:30:47 +01:00
Eric Lippmann
9d8fab51b1 Use the setup related utility functions in AuthenticationController.php 2014-12-29 14:30:06 +01:00
Eric Lippmann
4441c1d4de Allow to grant every permission 2014-12-29 11:53:55 +01:00
Eric Lippmann
49dad43a0a Use @type instead of @var in Security/RoleForm.php 2014-12-29 11:53:06 +01:00
Eric Lippmann
2c1a37afa3 Use Zend_Form_Element::filterName() for translating restriction names to element names
fixes #8086
2014-12-29 10:51:12 +01:00
Eric Lippmann
6960a08de0 Revert "Escape restriction names manually in Forms\Security\RoleForm"
This reverts commit 706e5504e651e63b7fee1e5a116f924452bf33d3.

HTML5 does allow any non-empty value for the name attribute but Zend only permits
alphanumerics, the underscore, the circumflex and any ASCII character in range \x7f to \xff (127 to 255).
Thus only escaping the slash (/) is wrong.

refs #8086
2014-12-29 09:39:23 +01:00
Johannes Meyer
706e5504e6 Escape restriction names manually in Forms\Security\RoleForm
fixes #8086
2014-12-22 10:46:29 +01:00
Johannes Meyer
f0438d1ea0 There is no copy-on-write for objects in PHP
fixes #8088
2014-12-22 09:37:01 +01:00
Johannes Meyer
f50d0bc3cf Fix the config warning's grammar on the login screen 2014-12-22 09:14:19 +01:00
Alexander Klimov
ff1cda94ef PivottablePagination view script: show axis type (x/y) in titles
refs #8110
2014-12-19 17:23:11 +01:00
Alexander Klimov
ebc539bc37 JoystickPagination view script: show axis type (x/y) in titles
refs #8110
2014-12-19 17:20:12 +01:00