Commit Graph

480 Commits

Author SHA1 Message Date
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 d7dcbb48a2 Do not try to access a module's title if there is none 2015-03-06 13:23:22 +01:00
Johannes Meyer dcf38cbf73 Fix form id of the authentication configuration 2015-03-03 09:54:12 +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 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 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
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
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
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
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
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
Marius Hein d21833fbf2 Header: Adapt authentication config dialog 2015-02-13 15:33:29 +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
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 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
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 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 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 4bac5dfc37 security: Guard application and 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
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 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
Johannes Meyer 7e792f5d2e Add explicit step-attribute to html5-datetime* input elements
fixes #8314
2015-01-29 15:41:21 +01:00
Johannes Meyer 3a983e8859 Merge branch 'master' into feature/improve-autologin-setup-8274 2015-01-28 18:01:15 +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 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
Alexander Klimov 2ba78f24c3 Roles view: show role's name in the title of the remove-link 2015-01-26 14:02:47 +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 dd83f6f757 Fix copyright year 2015-01-22 10:38:00 +01:00
Eric Lippmann 74ce666cd8 Use the requiresSetup variable instead of configMissing in login.phtml 2014-12-29 14:31:07 +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
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 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
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 381b3b9a19 Move the permissions view scripts beneath 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 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
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 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 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 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 a40f357f3c Dashboard: Show error message when can not write to file
refs #4537
2014-11-19 11:47:31 +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
Marius Hein 5ace5fd2dc Dashboard: Change icons
refs #4537
2014-11-18 17:47:57 +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
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 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 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
Bernd Erk 245c247ff3 Changes remove icon in monitoring module to cancel icon 2014-11-17 17:08:08 +01:00
Bernd Erk 20be45e8da Enable icon font 2014-11-13 20:08:58 +01:00
Bernd Erk 6201858a68 Merge branch 'master' into feature/redesign-7144 2014-11-13 17:47:26 +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 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 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
Johannes Meyer 5009083915 Remove dummy documentation link 2014-11-11 10:00:02 +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 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 f85ddeb215 Do not hardcode the php username dummy in Icinga\Application\Platform
refs #7163
2014-11-07 14:40:28 +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 acded327e3 security: Add view scripts for creating, updating and removing permissions
refs #5647
2014-11-04 16:18:59 +01:00
Eric Lippmann aac161d7a0 config forms: prepend our custom view decorator when saving the configuration failed 2014-11-04 14:48:24 +01:00
Johannes Meyer ab5df7d2ba Show notification bar in the wizard as well
refs #7163
2014-11-04 13:48:09 +01:00
Johannes Meyer c1bff9a26e Merge branch 'master' into feature/setup-wizard-7163 2014-10-30 10:38:21 +01:00
Johannes Meyer a7e942cdc9 Show a warning on the first page in case the user already configured web2
refs #7163
2014-10-30 10:37:51 +01:00
Johannes Meyer b9209daea5 Add another useful TODO
refs #7163
2014-10-30 09:54:14 +01:00
Johannes Meyer 32006420c5 Fix WelcomePage
There were some grammar- and layout-errors
as well as information missing :(
2014-10-29 11:36:03 +01:00
Johannes Meyer 16e614e71a Fix grammar.. 2014-10-29 08:39:00 +01:00
Johannes Meyer 3c438d9221 Allow install steps to return no summary
refs #7163
2014-10-29 08:38:59 +01:00
Johannes Meyer 1fd4a301c4 Pass the wizard title to the summary page to be able to reuse the page
Module wizards can now use the SummaryPage as well if they want to.

refs #7163
2014-10-29 08:38:58 +01:00
Matthias Jentsch b5468a122d Explain token generation on the welcome page
Add token generation manual to the welcome page. Display example code
containing the current configuration dir, to generate tokens.

fixes #7408
2014-10-28 17:32:49 +01:00
Johannes Meyer dae2cbbeae Add missing action attribute to "by view-script" rendered forms
refs #7163
2014-10-27 09:01:00 +01:00
Johannes Meyer 2f83976f50 Add ModulePage
refs #7163
2014-10-24 17:10:17 +02:00
Johannes Meyer a6cbde54c5 Move summary HTML generation from the view script to each install step
refs #7163
2014-10-23 15:15:59 +02:00
Johannes Meyer 216c072024 Implement installation routines modularly
This allows us to "merge" module installation
routines with our main installer routines.

refs #7163
2014-10-23 11:41:16 +02:00
Alexander Klimov 38220afd11 PHP: avoid short tags <? 2014-10-23 10:44:54 +02:00
Johannes Meyer f5c4708ae2 Add a default file mode for new configuration files
The file mode which can be configured in the general configuration is now
used when creating new configuration files with the PreservingIniWriter.
2014-10-21 17:02:21 +02:00
Johannes Meyer b4a69792d8 Add note to login page when the configuration directory is missing
refs #7163
refs #7409
2014-10-21 16:11:49 +02:00
Johannes Meyer f453fd06e8 Show the user which pages he already visited while navigating back
refs #7163
2014-10-17 15:41:25 +02:00
Johannes Meyer 24b6274f01 Fix logging configuration installation
refs #7163
refs #6933
2014-10-17 13:05:56 +02:00
Johannes Meyer 9f127be1dc Merge branch 'master' into feature/setup-wizard-7163
Conflicts:
	application/forms/Config/General/LoggingConfigForm.php
2014-10-17 13:04:59 +02:00