Eric Lippmann
9f0af662a7
Write none instead of plaintext for unencrypted LDAP resources
2015-03-13 00:47:23 +01:00
Eric Lippmann
020329d201
List STARTTLS before LDAPS ...
...
... when choosing encryption for a LDAP resource.
2015-03-13 00:03:01 +01:00
Eric Lippmann
708f08302f
Use encryption instead of connection for the encryption setting of a LDAP resource
2015-03-13 00:02:18 +01:00
Eric Lippmann
61e01a4439
Fix SSL, TLS vs LDAPS, STARTTLS in the LDAP resource form
2015-03-13 00:00:21 +01:00
Eric Lippmann
86f3ce9133
Rename Ldap\Connetion::SSL to ::LDAPS
...
The SSL constant was used to denote LDAP over TLS/SSL. In fact both STARTTLS and LDAPS use encrypted TLS/SSL communication
w/ STARTTLS upgrading a plain text connection and LDAPS using a separate port. Thus speaking of SSL only for LDAPS and TLS only for STARTTLS
is not correct.
2015-03-12 23:56:08 +01:00
Eric Lippmann
29d5fd351b
Merge branch 'bugfix/logout-external-8626'
...
fixes #8626
2015-03-12 16:47:49 +01:00
Eric Lippmann
8563d5ed3f
PHPDoc: Use @var instead of @type
...
Becasue of too many kittens PSR-5 backed off of deprecating @var.
So that's the way we go too.
2015-03-12 16:08:47 +01:00
Eric Lippmann
90971f2caf
Revert "Merge branch 'feature/organize-headings-7976'"
...
This reverts commit ea2a17a76c
, reversing
changes made to e72de8dfe1
.
refs #7976
fixes #8647
2015-03-12 16:08:34 +01:00
Eric Lippmann
33112f6a18
Use {@inheritdoc} in the RoleForm
...
refs #8720
2015-03-12 15:45:22 +01:00
Eric Lippmann
517437eb1b
Security: Add wildcard permissions to the config/ tree
...
refs #8720
2015-03-12 15:45:17 +01:00
Eric Lippmann
195fe6f04b
Security: Rename system/config/modules to config/modules
...
Module config permission and application config permission have to be separeted.
Application config related permissions were added beneath config/application and module
related config permissions will be config/modules for now.
refs #8720
2015-03-12 15:45:14 +01:00
Eric Lippmann
f6e9551235
Security: Rename system/config/roles to config/application/roles
...
Module config permission and application config permission have to be separeted.
Application config related permissions will be added beneath config/application and module
related config permissions will be added beneath config/modules.
refs #8720
2015-03-12 15:45:10 +01:00
Eric Lippmann
08abbda152
Security: Rename system/config/resources to config/application/resources
...
Module config permission and application config permission have to be separeted.
Application config related permissions will be added beneath config/application and module
related config permissions will be added beneath config/modules.
refs #8720
2015-03-12 15:45:07 +01:00
Eric Lippmann
a4e81c320a
Security: Rename system/config/authentication to config/application/authentication
...
Module config permission and application config permission have to be separeted.
Application config related permissions will be added beneath config/application and module
related config permissions will be added beneath config/modules.
refs #8720
2015-03-12 15:45:04 +01:00
Eric Lippmann
956bc3c07a
Security: Rename system/config/application to config/application/general
...
Module config permission and application config permission have to be separeted.
Application config related permissions will be added beneath config/application and module
related config permissions will be added beneath config/modules.
refs #8720
2015-03-12 15:44:58 +01:00
Johannes Meyer
359a5f54c3
Merge branch 'master' into feature/ldap-ssl-and-tls-support-7771
2015-03-12 15:18:53 +01:00
Johannes Meyer
1b440a4f1b
Make SSL/TLS configurable for LDAP resources
...
refs #7771
2015-03-12 15:17:19 +01:00
Johannes Meyer
4a982a382e
Show exception message when LDAP connection validation fails, if any
2015-03-12 14:45:16 +01:00
Eric Lippmann
b50129ad2e
Add renderLayout to the re-login URL for externally authenticated users
...
refs #8626
2015-03-12 01:14:47 +01:00
Eric Lippmann
54df9e4b3e
Merge branch 'master' into bugfix/logout-external-8626
2015-03-12 00:57:52 +01:00
Eric Lippmann
83443a5dc4
Use -1 for last update of the menu
...
We must not rely on the server time minus an offset for the last update of the menu
to trigger an immediate update of the menu because the server time may be behind the current time.
fixes #8694
2015-03-12 00:52:19 +01:00
Eric Lippmann
7288f2e92b
Use space after the boolean negotiation operator
2015-03-11 22:25:52 +01:00
Eric Lippmann
4570151b4b
Fix indentation for strings spanning multiple lines in our auth controller
2015-03-11 22:11:10 +01:00
Eric Lippmann
846a22e7a1
Don't use jQuery in the logout view script
...
jQuery is not available here because JavaScript is loaded after the content.
This was no problem before because the logout action was submitted using XHR and thus having JavaScript.
refs #8626
2015-03-11 15:35:44 +01:00
Eric Lippmann
0ff8416efb
Use View::translate() instead of t() in the logout view script
...
refs #8626
2015-03-11 15:33:14 +01:00
Eric Lippmann
8df9520497
Fix getXMLHttpRequest vs new XMLHttpRequest
...
I have never ever heard of getXMLHttpRequest.
refs #8626
2015-03-11 15:33:14 +01:00
Eric Lippmann
84348151ce
Strings spanning multiple lines continue on the next line ...
...
... not on the same line
refs #8626
2015-03-11 15:33:14 +01:00
Eric Lippmann
f44d5ec20a
Use <br> instead of <br /> in the logout view script
...
refs #8626
2015-03-11 15:33:14 +01:00
Eric Lippmann
7220d781d8
Fix implicit declaration of variable msg in the logout view script
...
refs #8626
2015-03-11 15:33:12 +01:00
Eric Lippmann
815dc8a5fa
Replace /** with /* for non PHPDoc in the logout script
...
refs #8626
2015-03-11 14:51:59 +01:00
Johannes Meyer
39a74c4f3d
LDAP-Auth backend config: Add support for custom LDAP filter rules
...
refs #8365
2015-03-11 09:52:14 +01:00
Johannes Meyer
2cf09ebc48
Revert "LdapResourceForm: Validate the host field and do not require a port"
...
This reverts commit a34d6026b3
.
refs #7990
2015-03-11 08:00:20 +01:00
Johannes Meyer
a34d6026b3
LdapResourceForm: Validate the host field and do not require a port
...
fixes #7990
2015-03-10 15:03:48 +01:00
Johannes Meyer
c0deeefe00
Re-add dashboard link to the upper left logo
...
fixes #8592
2015-03-06 13:44:14 +01:00
Johannes Meyer
f45f00b022
Run a module's configuration script only in case it has been registered
...
fixes #8601
2015-03-06 13:25:04 +01:00
Johannes Meyer
d7dcbb48a2
Do not try to access a module's title if there is none
2015-03-06 13:23:22 +01:00
Johannes Meyer
4324385010
Do not load a module twice while enabling it
2015-03-06 13:22:51 +01:00
Johannes Meyer
886cc863f0
Add form element value expectation descriptions where required
...
I did not adjust the DateTimePicker element as the sent format is
controlled by the useragent due to either the datetime-local input
type or a javascript datetimepicker. (which does not exist yet, though)
Mentioning the RFC 3339 format such a picker expects is very likely
going to lead to confusion on an end user's side otherwise.
refs #7947
2015-03-06 09:49:15 +01:00
Johannes Meyer
dcf38cbf73
Fix form id of the authentication configuration
2015-03-03 09:54:12 +01:00
Johannes Meyer
f7785ee04a
Fix that the DashletForm handles the autosubmit manually
2015-03-03 08:24:23 +01:00
Johannes Meyer
4ba281e7e8
Config: Use native form title and description support where appropriate
...
refs #7947
refs #7976
2015-03-02 18:40:47 +01:00
Johannes Meyer
e9bae08a6e
Fix that one can't advance the wizard when skipping the ldap discovery
...
fixes #8506
2015-03-02 18:40:46 +01:00
Johannes Meyer
65eafc0e8f
LdapDiscoveryForm: Remove waste
2015-03-02 18:40:46 +01:00
Johannes Meyer
7bb78330a9
Replace cancel icon with the trash icon...
...
...where the link's purpose is to remove something
2015-02-27 14:47:46 +01:00
Johannes Meyer
74dfa6e72a
Fix invalid icon names passed to the icon view helper
2015-02-27 14:45:47 +01:00
Johannes Meyer
f2259557c8
Fix missing tab labels
...
fixes #8518
2015-02-27 09:32:44 +01:00
Johannes Meyer
ea4de82545
Login: Disable the required cue
...
It should be obvious that it is necessary to input a name and a password
to login in case you're looking at a "login" form...
refs #7934
2015-02-27 09:09:25 +01:00
Johannes Meyer
4351603243
Fix that editing an auth backend does not open the next column
2015-02-26 14:48:37 +01:00
Matthias Jentsch
89451f3086
Ensure that form ids are unique
...
Add an unique prefix to each Form- or FormElement id, unless id protection is disabled explicitly, to prevent id collisions between different containers.
fixes #8460
2015-02-25 18:00:28 +01:00
Alexander Fuhr
3b2e3dcd36
Revert the animate-spin css to the original
...
refs #7968
2015-02-25 12:07:59 +01:00
Alexander Fuhr
5297b15a61
Merge branch 'master' into feature/refresh-control-7968
2015-02-24 14:41:09 +01:00
Johannes Meyer
8e8bab0795
Do only escape a qlink's label manually if necessary
2015-02-24 11:35:25 +01:00
Johannes Meyer
956efe5ef9
Merge branch 'master' into feature/link-labels-8458
...
Conflicts:
application/views/scripts/config/application.phtml
application/views/scripts/config/module.phtml
application/views/scripts/config/modules.phtml
library/Icinga/Web/Widget/Dashboard/Dashlet.php
modules/monitoring/application/controllers/TimelineController.php
2015-02-24 08:42:36 +01:00
Johannes Meyer
371f895188
Add proper titles to the mixed pagination
...
refs #8458
2015-02-23 17:21:31 +01:00
Johannes Meyer
a966f543f6
Add proper titles to the joystick navigation
...
refs #8458
2015-02-23 17:21:12 +01:00
Johannes Meyer
261abbd65e
Add proper titles to the role configuration
...
refs #8458
2015-02-23 17:20:48 +01:00
Johannes Meyer
508322cfdc
Add proper titles to the dashboard configuration's links
...
refs #8458
2015-02-23 17:20:26 +01:00
Johannes Meyer
baf47fef7f
Add proper titles for the links to dis-/enable modules
...
refs #8458
2015-02-23 17:19:37 +01:00
Johannes Meyer
3605880fd1
Add proper titles to the module overview
...
refs #8458
2015-02-23 17:19:06 +01:00
Alexander Fuhr
ac26807ab7
Add new spin an cw icon for refresh control
...
refs #7968
2015-02-23 17:01:38 +01:00
Johannes Meyer
6eb638f6b3
Add proper titles to the list view's tabs
...
refs #8458
2015-02-23 17:00:30 +01:00
Johannes Meyer
64a4dc67bc
Add proper titles to all config tabs
...
refs #8458
2015-02-23 16:50:31 +01:00
Johannes Meyer
48286e0d59
Use View::translate() instead of mt() and t() ...
2015-02-23 16:42:25 +01:00
Marius Hein
b6124d7371
Header: Remove skiplinks
...
Skiplinks are to much and confusing for other users. Better is to use
header navigation in screen readers.
refs #7076
2015-02-23 11:18:58 +01:00
Marius Hein
fe0bcdbbaf
Header: Add header to module configuration
...
refs #7976
2015-02-17 16:19:03 +01:00
Marius Hein
d3c79dae32
Merge branch 'master' into feature/organize-headings-7976
2015-02-17 15:21:29 +01:00
Johannes Meyer
c135d3243a
Fix that the authentication reorder form does not have an action
2015-02-16 15:08:27 +01:00
Alexander Fuhr
28a8af1933
Add auto refresh form to the navigation part
...
refs #7945
2015-02-16 12:04:54 +01:00
Alexander Fuhr
7be134a774
Merge master fixed conflicts
2015-02-16 11:24:15 +01:00
Johannes Meyer
49a2228fc2
Merge branch 'master' into feature/adjust-icon-markup-for-screen-readers-8358
2015-02-16 11:02:50 +01:00
Johannes Meyer
2dea398f3b
Mute all icons that are part of an anchor and add simple labels to such anchors
...
The labels I've added are probably just of temporary nature as it's not
defined yet how to handle link labels properly for screen readers. What
is sure is that all icons that are part of a link are not important for the
meaning of it as this is expressed by the link itself.
refs #8360
refs #8358
2015-02-16 11:02:09 +01:00
Marius Hein
936bfd43b0
Skip Links: Remove logo focus and move links into the menu
2015-02-16 10:57:31 +01:00
Johannes Meyer
5321c2f9e5
Mute icons properly using the new automatic mechanisms of our view helpers
...
refs #8360
2015-02-16 10:52:42 +01:00
Alexander Fuhr
b375a4f6cc
Fix multiple renderLayout parameters in the url
...
refs #7945
2015-02-13 16:21:19 +01:00
Marius Hein
7644888f25
Header: Add header semantic to roles configuration
...
refs #7976
2015-02-13 16:19:28 +01:00
Marius Hein
586fa3120b
Header: Adapt preference dialog
...
refs #7976
2015-02-13 16:12:34 +01:00
Marius Hein
04fde79a9f
Header: Adapt resource configuration
2015-02-13 16:10:51 +01:00
Marius Hein
ef7fcb1023
Header: Adapt application configuration dialog
2015-02-13 15:35:24 +01:00
Alexander Fuhr
73a03ada83
Move autoRefreshForm to skip-links
...
refs #7945
2015-02-13 15:33:39 +01:00
Marius Hein
d21833fbf2
Header: Adapt authentication config dialog
2015-02-13 15:33:29 +01:00
Marius Hein
a0e4e4d1fa
Skip Links: Remove nav element
2015-02-13 14:48:28 +01:00
Alexander Fuhr
2112676594
Implement hidden accessible control for auto refresh on the page
...
refs #7945
2015-02-13 14:34:29 +01:00
Marius Hein
ce3a564de7
Header: Add header to tabs extension
...
refs #7976
2015-02-13 11:26:09 +01:00
Marius Hein
7839d50099
Header: Add header to preferences
...
refs #7976
2015-02-13 09:40:24 +01:00
Marius Hein
069e86c2fd
Header: Add header and skip links to resource configuration
...
refs #7976
2015-02-12 17:10:38 +01:00
Marius Hein
513de11f20
Header: Application config and authentication
...
refs #7976
2015-02-12 16:43:08 +01:00
Alexander Fuhr
b9c9f564ec
Add editable auto_refresh parameter to the user preferences
...
refs #7945
2015-02-12 15:12:10 +01:00
Johannes Meyer
1d6c65f7fc
Move the login form's heading above the authentication warnings
2015-02-12 13:49:31 +01:00
Johannes Meyer
9232c5cf22
Add aria-hidden="true" to all icons that exist only for design reasons
...
refs #8360
2015-02-12 13:49:31 +01:00
Johannes Meyer
3d0fbc833d
Hide the Icinga logo from screen readers
...
refs #8360
2015-02-12 13:49:31 +01:00
Marius Hein
09349288e1
Merge branch 'master' into feature/skip-content-7933
2015-02-12 13:14:56 +01:00
Marius Hein
b6daf2237d
Menu: Add html5 nav element to menu
...
refs #7933
2015-02-12 13:14:01 +01:00
Marius Hein
53818f50c6
Skip Links: Add anchor handlint to events
...
refs #7933
2015-02-12 13:13:52 +01:00
Marius Hein
ca4477de5b
Skip Links: Add to body and create style
...
refs #7933
2015-02-12 13:13:47 +01:00
Davide Demuru
3801d19f72
translation updated
...
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-02-12 11:26:35 +01:00
Davide Demuru
3dee49a0cd
fixed transaltions
...
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-02-12 11:26:35 +01:00
Davide Demuru
7e9efbcb4d
added compiled translation file
...
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-02-12 11:26:35 +01:00
Davide Demuru
d66e703332
Added new icinga.po for italian language
...
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-02-12 11:26:35 +01:00
Johannes Meyer
dfc18e0f95
Display authentication exceptions as form errors
2015-02-12 09:11:03 +01:00
Johannes Meyer
c06f015210
Ensure that all utilized form validators can be translated
...
refs #8415
2015-02-12 09:11:02 +01:00
Johannes Meyer
6c70a53309
Avoid to instantiate custom form element validators directly
...
refs #8415
2015-02-12 09:11:02 +01:00
Eric Lippmann
6bae2e0a53
Note that our license is GPL v2 or any later version in our license header instead of pointing to the license's URL
2015-02-04 10:52:27 +01:00
Eric Lippmann
ed411ec9b6
Increase size of the permissions set input
...
fixes #7762
2015-02-03 16:58:53 +01:00
Eric Lippmann
5b4fab0750
Add license header
...
This time without syntax errors hopefully :)
2015-02-03 16:27:59 +01:00
Eric Lippmann
5fa2e3cfdc
Revert "Add license header"
...
This reverts commit 338d067aba
.
2015-02-03 16:16:26 +01:00
Eric Lippmann
338d067aba
Add license header
...
fixes #7788
2015-02-03 15:51:04 +01:00
Eric Lippmann
a23752de63
security: Don't list permissions and restrictions in the roles overview
...
fixes #8335
2015-02-03 15:51:03 +01:00
Eric Lippmann
08fd000496
Remove any topbar related stuff
...
It's not used anywhere.
2015-02-03 12:42:02 +01:00
Eric Lippmann
946a903a39
Merge branch 'bugfix/Improve-tooltip-descriptions-8110'
...
fixes #8110
2015-02-03 12:38:59 +01:00
Eric Lippmann
1d99780a61
Remove quotes from tooltip in the roles overview
...
refs #8110
2015-02-02 16:47:28 +01:00
Eric Lippmann
942d55c0d4
Merge branch 'master' into bugfix/Improve-tooltip-descriptions-8110
2015-02-02 16:37:03 +01:00
Johannes Meyer
a5fe9a1fe1
Revert "Introduce link target "_right" to keep a column with tabs rightmost"
...
This reverts commit 618ab4f4b9
.
2015-02-02 16:34:29 +01:00
Eric Lippmann
9d6906bd64
Save user dashboards to Icinga Web 2's configuration directory
...
fixes #8056
2015-02-02 15:06:29 +01:00
Eric Lippmann
4bac5dfc37
security: Guard application and module configuration
2015-02-02 14:16:26 +01:00
Eric Lippmann
7a81133ad3
security: Guard configuring roles
2015-02-02 14:16:26 +01:00
Eric Lippmann
53e7b44308
security: Provide a permission for module configuration
2015-02-02 14:16:26 +01:00
Marius Hein
8c24dde17b
Error Controller: Move close tab creation to template
2015-02-02 12:08:20 +01:00
Eric Lippmann
d64ca3da99
Show close button when updating a role
...
fixes #8087
2015-02-02 11:09:13 +01:00
Eric Lippmann
3818f1faec
Show close button when removing a role
...
refs #8087
2015-02-02 11:08:56 +01:00
Eric Lippmann
cfe6701a92
Show close button when creating a role
...
refs #8087
2015-02-02 11:08:27 +01:00
Johannes Meyer
bf470125c3
Merge branch 'master' into feature/create-missing-directories-when-creating-inis-8219
...
Conflicts:
modules/monitoring/library/Monitoring/MonitoringWizard.php
2015-01-30 16:21:42 +01:00
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 6284da451e
.
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 706e5504e6
.
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
Alexander Klimov
a02d9cecfe
Improve and translate the logout button's title
...
refs #8110
2014-12-19 17:15:14 +01:00
Johannes Meyer
3fde78f2b3
Enable the dompdf float support and fix our list's layout
2014-12-15 13:56:19 +01:00
Johannes Meyer
7987fb3f5a
Use the Host and Service object class helpers instead of the Util view helper
...
This also ensures that all state names that are shown to the user are
properly translated.
refs #7996
2014-12-12 12:22:20 +01:00
Carlos Cesario
b099c28861
Update pt_BR translation
...
Update pt_BR language translations
refs #6794
2014-12-03 09:40:52 -02:00
Carlos Cesario
8d8b65473a
Add translation to some strings
...
Thank you Carlos.
resolves #7787
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2014-12-03 10:00:54 +01:00
Johannes Meyer
ebf908b1b5
Make db requirement checks more sensitive
...
fixes #7837
2014-12-01 15:38:10 +01:00
Eric Lippmann
3c16db3b0d
Roles: Fix header position
2014-11-25 16:16:31 +01:00
Eric Lippmann
9aa2f6f555
Roles: Speak of 'roles' not 'permissions'
2014-11-25 16:11:02 +01:00
Eric Lippmann
bc339e927b
Roles: Fix redirect URL
2014-11-25 16:11:02 +01:00
Eric Lippmann
d226126b6c
Roles: Fix tab activation
2014-11-25 16:11:02 +01:00
Eric Lippmann
381b3b9a19
Move the permissions view scripts beneath roles
2014-11-25 16:11:01 +01:00
Eric Lippmann
0a1668acf6
Fix tab names in the RolesController
2014-11-25 16:11:01 +01:00
Eric Lippmann
2f02ac2f01
Fix the RolesController's class name
2014-11-25 16:11:01 +01:00
Eric Lippmann
e5d8fc7208
Rename the 'Permissions' tab to 'Roles'
2014-11-25 16:11:01 +01:00
Eric Lippmann
974357c84f
Rename /permissions to /roles
2014-11-25 16:11:01 +01:00
Eric Lippmann
f0ece3d88a
Revert "Remove permissions and restrictions for now"
...
This reverts commit 8335bdcb32
.
Readd permissions and restrictions.
2014-11-25 16:11:01 +01:00
Eric Lippmann
8335bdcb32
Remove permissions and restrictions for now
...
Our first beta release will not include permissions and restrictions.
We'll better test it before making it public.
2014-11-20 16:14:00 +01:00
Eric Lippmann
bf33c9c13b
Permissions: Show restrictions in the permissions list
2014-11-20 16:12:02 +01:00
Eric Lippmann
e48935f487
Permissions: Add class avp to index table
2014-11-20 15:54:46 +01:00
Eric Lippmann
e67d937642
Permissions: Allow to set restrictions too
2014-11-20 15:54:00 +01:00
Marius Hein
50c2c02e09
Dashboard: Keep get params through requests
...
This avoid errors if a user manually refresh an edit dialog.
refs #7751
2014-11-20 14:38:19 +01:00
Eric Lippmann
9c8c81c201
Permissions: Use icon for the remove permission link
2014-11-20 13:49:33 +01:00
Marius Hein
d018b4c2ae
Dashboard: Convert table into an action table
...
refs #7751
2014-11-20 12:45:23 +01:00
Marius Hein
e600dc8adb
Dashboard: Rename component to dashlet
...
refs #7751
2014-11-20 12:08:50 +01:00
Marius Hein
2471314616
Dashboard: Remove unused template
...
refs #7751
2014-11-20 11:37:17 +01:00
Marius Hein
2c4b730887
Dashboard: Update descriptions
...
refs #7751
2014-11-20 11:36:04 +01:00
Marius Hein
28e406565b
Dashboard: Change component form
...
refs #7751
2014-11-20 11:31:53 +01:00
Eric Lippmann
92b2c5061d
Security: Fix redicrect URL
2014-11-19 16:33:18 +01:00
Eric Lippmann
2830b13082
Merge branch 'master' into feature/security-gui-5647
2014-11-19 16:31:26 +01:00
Thomas Gelf
9bfdb159f0
packaging/debian: postponed
2014-11-19 16:13:30 +01:00
Marius Hein
3b190d7d81
Dashboard: Fix design and labels
...
refs #4537
2014-11-19 15:40:40 +01:00
Eric Lippmann
bfdf34b6bf
Security: Add permissions as tab to config
...
refs #5647
2014-11-19 15:32:25 +01:00
Eric Lippmann
63490094b9
Security: Fix PermissionsController class name
...
refs #5647
2014-11-19 15:24:57 +01:00
Eric Lippmann
e072678b2d
Security: Remove role suffix from actions
...
refs #5647
2014-11-19 15:23:15 +01:00
Eric Lippmann
5b4c2723e0
Security: Rename security view scripts to permissions
...
refs #5647
2014-11-19 15:18:39 +01:00
Eric Lippmann
2ae75370f2
Security: Rename security to permissions
...
refs #5647
2014-11-19 15:18:01 +01:00
Eric Lippmann
0c219655e0
Security: Our Config object no longer supports __set, __get and so on
...
refs #5647
2014-11-19 14:44:53 +01:00
Eric Lippmann
f0084542e6
Security: Remove obsolete actions
...
refs #5647
2014-11-19 14:44:28 +01:00
Eric Lippmann
bd400855e8
Security: Remove view scripts for creating, updating and removing roles and permissions
...
Thos are supersed by role management.
refs #5647
2014-11-19 14:42:04 +01:00
Eric Lippmann
2c5ff341d5
Security: Add view script for removing roles
...
refs #5647
2014-11-19 14:41:05 +01:00
Eric Lippmann
f7076816eb
Security: Add action for removing roles
...
refs #5647
2014-11-19 14:40:49 +01:00
Eric Lippmann
1d34d88a01
Security: Add view script for creating roles
...
refs #5647
2014-11-19 14:37:10 +01:00
Eric Lippmann
3b680c7885
Security: Add view script for updating roles
...
refs #5647
2014-11-19 14:36:53 +01:00
Eric Lippmann
a4744fa550
Security: Add action for updating roles
...
refs #5647
2014-11-19 14:36:36 +01:00
Eric Lippmann
7fcfc01464
Security: Add action for creating a new role
...
refs #5647
2014-11-19 14:26:21 +01:00
Eric Lippmann
f556fc43e9
Security: Remove the restriction form
...
refs #5647
2014-11-19 14:24:20 +01:00
Eric Lippmann
7592642991
Security: Remove the permission form
...
refs #5647
2014-11-19 14:24:10 +01:00
Eric Lippmann
0a6440a6a6
Security: Add role form
...
This form will replace the permission and restriction form
refs #5647
2014-11-19 14:24:02 +01:00
Eric Lippmann
8aab5dc0f0
Security: Show roles instead of permissions and restrictions
...
refs #5647
2014-11-19 14:23:56 +01:00
Eric Lippmann
a2818bd937
Merge branch 'master' into feature/security-gui-5647
2014-11-19 14:13:26 +01:00
Bernd Erk
fd5fe26a1f
Changes login screen and added header
2014-11-19 13:43:48 +01:00
Marius Hein
dbc1b1ce3e
Merge remote-tracking branch 'origin/master' into feature/add-to-dashboard-4537
2014-11-19 11:48:22 +01:00
Marius Hein
a40f357f3c
Dashboard: Show error message when can not write to file
...
refs #4537
2014-11-19 11:47:31 +01:00
Thomas Gelf
47d81ccf7b
css: allow to override vendor styles
...
* no more hovered icon underline
* simulate padding for headers in .controls
2014-11-19 10:33:57 +01:00
Marius Hein
a5411c7a1c
Dashboard: Fix reading and disabled system dashboards
...
refs #4537
2014-11-19 10:33:41 +01:00
Marius Hein
cfb0ca1be0
Merge remote-tracking branch 'origin/master' into feature/add-to-dashboard-4537
2014-11-19 10:21:50 +01:00
Thomas Gelf
63cd5854d4
Merge remote-tracking branch 'origin/master' into feature/redesign-7144
2014-11-19 07:56:48 +01:00
Thomas Gelf
8c305f59f2
LoginForm: re-establish placeholder texts
2014-11-19 06:56:36 +01:00
Marius Hein
5ace5fd2dc
Dashboard: Change icons
...
refs #4537
2014-11-18 17:47:57 +01:00
Eric Lippmann
84b98cd58d
Security: Fix Form namespace
2014-11-18 17:10:14 +01:00
Eric Lippmann
aef81a56d6
Merge branch 'master' into feature/security-gui-5647
...
Conflicts:
library/Icinga/Application/Config.php
library/Icinga/File/Ini/IniWriter.php
library/Icinga/Web/Form.php
library/Icinga/Web/Menu.php
2014-11-18 17:08:25 +01:00
Eric Lippmann
f2717b6d26
Introduce Form::setOnSuccess() in favor of overriding the constructor
...
Zend_Form uses setters for options if a respective setter method exists.
It is not necessary to override the constructor for introducing new options.
Conflicts:
library/Icinga/Web/Form.php
2014-11-18 17:02:39 +01:00
Marius Hein
10cfecf2ec
Merge remote-tracking branch 'origin/master' into feature/add-to-dashboard-4537
...
Conflicts:
application/controllers/DashboardController.php
library/Icinga/Web/Form.php
library/Icinga/Web/Widget/Dashboard.php
2014-11-18 16:36:42 +01:00
Bernd Erk
07c0180b1c
Merge branch 'master' into feature/redesign-7144
2014-11-18 16:36:19 +01:00
Marius Hein
80871313e4
Dashboard: Remove actions
...
refs #4537
2014-11-18 16:28:04 +01:00
Johannes Meyer
1cbdd2b51c
Fix that hidden elements are getting ovewritten when validating a form
...
This works by "disabling" hidden elements which causes the browser not
to submit them. Due to a bug in Zend we need to manually ensure that
Form::isValid does not overwrite the value of disabled elements with null.
fixes #7717
2014-11-18 15:06:46 +01:00
Johannes Meyer
c288a68ed5
Merge branch 'master' into bugfix/drop-zend-config-7147
...
Conflicts:
application/forms/LdapDiscoveryForm.php
2014-11-18 13:21:18 +01:00
Johannes Meyer
be6358452e
Do not redirect to the wizard in case of an empty config.ini
2014-11-18 13:13:02 +01:00
Johannes Meyer
4ab5b2abf3
Fix anonymous onSuccess callbacks
2014-11-18 13:12:30 +01:00
Johannes Meyer
7621f6642d
Adjust usages of Icinga\Application\Config
...
refs #7147
2014-11-18 13:11:52 +01:00
Marius Hein
3e58ec2530
Dashboard: Use new controller actions
...
refs #4537
2014-11-18 12:51:28 +01:00
Marius Hein
cbcd276b44
Dashboard: Rewrite forms and controller [WIP]
...
refs #4537
2014-11-18 10:04:41 +01:00
Marius Hein
89b36f79b2
Dashboard: Reenable generic add link in tab bar
...
refs #4537
2014-11-18 09:59:24 +01:00
Marius Hein
bec0085683
Dashboard: Add urls to any dashboard (form)
...
refs #4537
2014-11-18 09:59:24 +01:00
Marius Hein
769e8f2636
Dashboard/Component: Add remove link
...
refs #4537
2014-11-18 09:59:23 +01:00
Marius Hein
af799d42dc
Widget/Dashboard: Cleanup object and remove unused stuff
...
refs #4537
2014-11-18 09:59:23 +01:00
Marius Hein
5f9d394bbe
AddToDashboard: Form layout and template
...
refa #4537
2014-11-18 09:59:23 +01:00
Marius Hein
1000b4661f
AddToDashboard: Remove controller logic
...
refs #4537
2014-11-18 09:59:23 +01:00
Matthias Jentsch
5f8fcf4005
Fix Ldap server discovery
...
Add a new connection member that stores whether settings were guessed or product of a discovery, move discovery methods into seperate class.
fixes #7691
2014-11-18 09:45:54 +01:00
Bernd Erk
245c247ff3
Changes remove icon in monitoring module to cancel icon
2014-11-17 17:08:08 +01:00
Bernd Erk
f83bcbfd2b
updates current font set and changes service and reporting icons
2014-11-17 17:08:08 +01:00
Johannes Meyer
812f9af949
Change modulePath setting to module_path
...
fixes #7694
2014-11-17 10:10:08 +01:00
Thomas Gelf
da47c7fc7e
Merge remote-tracking branch 'origin/master' into feature/redesign-7144
2014-11-14 21:32:57 +01:00
Alexander Fuhr
86cca8ff0b
Fix the `date_default_timezone_get()' error
2014-11-14 17:08:34 +01:00
Eric Lippmann
11bb8dbab0
icingacli web serve: Fix "PHP Notice: Use of undefined constant ICINGA_LIBDIR"
2014-11-14 16:02:17 +01:00
Johannes Meyer
ddf2ef5cc9
Remove $request parameter from Form::onSuccess and Form::onRequest
...
fixes #7552
2014-11-14 14:59:29 +01:00
Johannes Meyer
775c20d9ad
Rename namespace Icinga\Form to Icinga\Forms
...
refs #7553
2014-11-14 10:57:14 +01:00
Johannes Meyer
1c4a5ce86f
Leave it up to Icinga\Web\Form to instantiate our own form elements
2014-11-14 10:15:27 +01:00
Bernd Erk
903219b302
Merge branch 'master' into feature/redesign-7144
...
Conflicts:
library/Icinga/Web/Menu.php
public/css/icinga/menu.less
2014-11-13 21:11:36 +01:00
Bernd Erk
20be45e8da
Enable icon font
2014-11-13 20:08:58 +01:00
Eric Lippmann
cc161764ff
Use 'Preferences' instead of 'General Settings'
...
refs #6073
2014-11-13 18:08:30 +01:00
Bernd Erk
6201858a68
Merge branch 'master' into feature/redesign-7144
2014-11-13 17:47:26 +01:00
Eric Lippmann
ac2ec83852
Merge branch 'master' into feature/localization-form-6073
...
Conflicts:
library/Icinga/Application/ApplicationBootstrap.php
test/php/library/Icinga/User/Store/DbStoreTest.php
2014-11-13 17:03:41 +01:00
Johannes Meyer
f49d9e8591
Fix the tooltip's max page count in the joystick navigation
2014-11-13 16:45:03 +01:00
Bernd Erk
c98a6d5912
Fixes type in error message
2014-11-13 15:41:31 +01:00
Thomas Gelf
47b1189af4
application/fonts: initial import
...
First sample font, to be replaced.
refs #6936
2014-11-13 15:40:20 +01:00
Bernd Erk
45418bd902
Removes login form placeholder
2014-11-13 15:08:49 +01:00
Bernd Erk
ef2ec0442c
Merge branch 'master' into feature/redesign-7144
2014-11-13 14:40:26 +01:00
Eric Lippmann
bfa834fc3b
Remove constant ICINGAWEB_APPDIR
...
We should avoid use of constants.
2014-11-13 09:33:31 +01:00
Bernd Erk
ac8cc0613c
Merge branch 'master' into feature/redesign-7144
...
Conflicts:
application/views/scripts/authentication/login.phtml
public/css/icinga/login.less
2014-11-12 17:21:54 +01:00
Johannes Meyer
db7954c350
Merge branch 'master' into feature/setup-wizard-7163
2014-11-12 17:05:13 +01:00
Bernd Erk
288c52f88d
Fix padding and moved h1 into control section
2014-11-12 16:56:04 +01:00
Johannes Meyer
259a465f97
Show only the most important warning on the login page
2014-11-12 16:23:55 +01:00
Johannes Meyer
2eb9a771c9
Do not check for any config file, just the directory to show the login-warning
...
refs #7163
2014-11-12 15:58:18 +01:00
Johannes Meyer
8e1a6a5b83
Fix that navigating in the service grid opens the grid in a new column
...
refs #6180
2014-11-12 15:13:32 +01:00
Johannes Meyer
933172f250
Replace navigation of the service matrix and rename it to service grid
...
fixes #6180
2014-11-12 15:07:01 +01:00
Alexander Fuhr
2bae33d6ad
Change PreferenceForm and add the ability to store preferences in the current session
2014-11-12 13:18:35 +01:00
Alexander Fuhr
8d4e56a1fe
Remove timezone element from the ApplicationConfigForm
2014-11-12 12:09:47 +01:00
Alexander Fuhr
8f6cac6a9e
Add translation to preference tab title
2014-11-12 11:10:25 +01:00
Johannes Meyer
c3e28a42fb
Remove configuration option for setting the access mode on new files
2014-11-12 09:40:07 +01:00
Eric Lippmann
8e3394fd55
Merge branch 'master' into feature/redesign-7144
2014-11-11 13:54:13 +01:00
Johannes Meyer
b26e585837
Fix that the authentication.ini is being used as trigger for the config warning
...
Should have been the config.ini instead.
refs #7163
2014-11-11 12:42:49 +01:00
Johannes Meyer
af99f62843
Prefer Icinga\Application\Config over Zend_Config
...
refs #7163
2014-11-11 12:11:14 +01:00
Johannes Meyer
8909bd5d59
Show warning on login page even if the configuration directory exists
...
refs #7163
2014-11-11 10:04:01 +01:00
Johannes Meyer
5009083915
Remove dummy documentation link
2014-11-11 10:00:02 +01:00
Johannes Meyer
9d292269b1
Merge branch 'master' into feature/setup-wizard-7163
...
Conflicts:
application/forms/Config/Resource/LdapResourceForm.php
test/php/application/forms/Config/Authentication/LdapBackendFormTest.php
2014-11-11 09:44:11 +01:00
Johannes Meyer
8f212018ec
Move the setup wizard code to a dedicated module
...
refs #7163
2014-11-10 15:11:44 +01:00
Johannes Meyer
5c9d7d6548
Add refresh button to the requirements page
...
refs #7163
refs #7587
2014-11-10 12:54:26 +01:00
Johannes Meyer
2bb7217d04
Do not require the openssl extension
2014-11-10 11:20:02 +01:00
Johannes Meyer
79493592bb
Do not use Installer anywhere.
...
"It's setup."
refs #7163
2014-11-10 10:30:52 +01:00
Johannes Meyer
6c664b72aa
Do not "require" sudo
...
refs #7163
2014-11-10 09:19:38 +01:00
Johannes Meyer
942530d514
Ensure that the CLI successfully changed the group of the config directory
...
refs #7163
2014-11-07 15:34:54 +01:00
Johannes Meyer
004ac04de6
Do not check whether we are a super user
...
refs #7163
2014-11-07 15:33:40 +01:00
Johannes Meyer
f85ddeb215
Do not hardcode the php username dummy in Icinga\Application\Platform
...
refs #7163
2014-11-07 14:40:28 +01:00
Johannes Meyer
9a5d01b3fd
Check the mysql or pgsql extension instead of just pdo, really
2014-11-07 14:31:20 +01:00
Johannes Meyer
7b99b74ae1
Prefer Icinga\Application\Config instead of Zend_Config
...
refs #7147
2014-11-07 13:53:03 +01:00
Bernd Erk
3c5d46ee71
redesigned login screen and image appearance
2014-11-07 00:40:32 +01:00
Eric Lippmann
5c8af79704
security: Add view scripts for creating, updating and removing restrictions
...
refs #5647
2014-11-06 17:39:51 +01:00
Eric Lippmann
ebd77ee5c1
security: Add actions for creating, updating and removing restrictions
...
refs #5647
2014-11-06 17:39:20 +01:00