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
Johannes Meyer
a54c81b2a7
Adjust button labels only in WebSetup::addButtons(), not in view scripts
...
refs #7163
2014-10-17 11:20:20 +02:00
Johannes Meyer
223502c314
Style installation report
...
refs #7163
2014-10-17 09:18:10 +02:00
Johannes Meyer
d4acbeb061
Fix that the location is not getting updated when navigating to the login
...
refs #7163
2014-10-16 16:13:37 +02:00
Johannes Meyer
d73423ceee
Style summary page
...
Dropped also the layout logic as it was too generic.
refs #7163
2014-10-16 14:52:26 +02:00
Matthias Jentsch
937dbe2c15
Add missing close buttons to views without tabs
2014-10-14 17:54:52 +02:00
Johannes Meyer
c9d12cf8ac
Style requirements page
...
refs #7163
2014-10-14 16:45:04 +02:00
Johannes Meyer
c0df55c079
Add progress bar
...
refs #7163
2014-10-14 16:14:28 +02:00
Johannes Meyer
448991eec5
Put some margin around the setup wizard
...
refs #7163
2014-10-13 09:43:12 +02:00
Johannes Meyer
d16fddd274
Add a next button double to the admin account page as well
...
Forgot to adjust this page as it's using a dedicated view script.
refs #7163
2014-10-09 16:12:36 +02:00
Johannes Meyer
ad7965228c
Add install routines for all INI files
...
This is just a quick&dirty implementation. Once we know how modules are
being processed/installed this needs to be revisited.
refs #7163
2014-10-06 16:49:29 +02:00
Johannes Meyer
450ec2add0
Make it possible to differentiate the "final" next button
...
refs #7163
2014-10-06 16:29:39 +02:00
Johannes Meyer
b50c780bcf
Let the setup's view scripts be a bit more generic
...
refs #7163
2014-10-06 16:04:58 +02:00
Johannes Meyer
83006c014c
Wrap wizard buttons in a div
...
refs #7163
2014-10-06 11:07:21 +02:00
Johannes Meyer
5f68850443
Fix that radio buttons are not populated
...
refs #7163
2014-10-06 10:28:42 +02:00
Johannes Meyer
f29705fc59
Add summary page
...
refs #7163
2014-10-02 17:11:00 +02:00
Johannes Meyer
a980184eb9
Move css instructions to dedicated stylesheet
...
refs #7163
2014-10-01 15:46:58 +02:00
Johannes Meyer
e186c21821
Fix form submit when JS is enabled
...
refs #7163
2014-10-01 09:18:44 +02:00
Johannes Meyer
cbadaa78d6
Merge branch 'master' into feature/setup-wizard-7163
2014-09-29 15:35:52 +02:00
Alexander Fuhr
f7b7e0283a
Translation: another bunch of translatable strings
2014-09-29 15:20:19 +02:00
Johannes Meyer
288ae6885b
Show the web wizard, finally
...
refs #7163
2014-09-29 14:31:43 +02:00
Johannes Meyer
243dd19281
Add AdminAccount page
...
refs #7163
2014-09-29 12:29:36 +02:00
Johannes Meyer
a39c6a475a
Add requirements page
...
refs #7163
2014-09-29 12:26:54 +02:00
Johannes Meyer
98fbfe68a8
Redirect to /setup if necessary
...
A user gets now redirected to /setup in case he is not logged in, the token
file exists and no config.ini was found.
refs #7163
2014-09-24 10:46:34 +02:00
Eric Lippmann
44c4ec751d
Deprecate monitoring module related methods in the `Util' view helper
2014-09-16 18:33:28 +02:00
Eric Lippmann
9e0d6657b7
Merge branch 'bugfix/rebuild-form-builder-5525' into bugfix/commands-6593
...
Conflicts:
application/forms/Preference/GeneralForm.php
2014-09-15 09:27:07 +02:00
Johannes Meyer
83772c6684
Merge branch 'master' into bugfix/rebuild-form-builder-5525
2014-09-09 16:03:22 +02:00
Johannes Meyer
c947ba3b18
Use the new view script to show INI configuration in case of failures
2014-09-09 09:46:57 +02:00
Matthias Jentsch
545db945da
Auto refresh menu
...
Put the navigation into a container and reload it once every 15 seconds from a distinct menu action. Include the current
path into an URL param to still be able to mark the current menu item as active.
fixes #6955
2014-09-08 15:21:14 +02:00
Eric Lippmann
0e7ca591ec
Merge branch 'master' into bugfix/commands-6593
...
Conflicts:
application/forms/Preference/GeneralForm.php
application/views/helpers/FormDateTime.php
modules/monitoring/application/forms/Command/CommandForm.php
2014-09-08 10:16:05 +02:00
Johannes Meyer
ae9e5a40cc
Merge branch 'master' into bugfix/rebuild-form-builder-5525
...
Conflicts:
application/forms/Preference/GeneralForm.php
2014-09-08 08:46:53 +02:00
Alexander Klimov
e0dc972281
Use a `\' in the use statement
...
fixes #7095
2014-09-05 16:59:49 +02:00
Alexander Fuhr
a2710ea8ef
Fix namespace use for FormDateTime
2014-09-05 13:21:27 +02:00
Johannes Meyer
fc72ddfbc8
Adjust Preferences/GeneralForm to use handleRequest() &. Co.
...
refs #5525
2014-09-05 10:21:24 +02:00
Alexander Fuhr
70ac8077e6
Merge branch 'master' into feature/modules-search-capabilities-6495
2014-09-04 16:33:40 +02:00
Alexander Fuhr
1eacde0233
Implement modules self provided search configuration
...
refs #6495
2014-09-04 16:31:10 +02:00
Marius Hein
6fcf5ec88a
DateTime: Remove global and user formattings
...
refs #6077
2014-09-04 16:02:10 +02:00
Eric Lippmann
c3c0043307
Merge branch 'master' into bugfix/commands-6593
2014-09-03 23:23:20 +02:00
Eric Lippmann
2025fb3a2f
lib: Let the date-and-time input control behave as defined in HTML5
...
refs #6593
2014-09-03 14:40:58 +02:00
Eric Lippmann
906de4e679
lib: Add the HTML5 attributes 'min', 'max' and 'step' to the number input control
...
refs #6593
2014-09-03 14:39:42 +02:00
Eric Lippmann
de11131822
lib: Fix `DateFormat's `isUnixTimestamp' usage
...
refs #6593
2014-09-03 14:38:32 +02:00
Alexander Klimov
3b8fcb80a8
Application log: don't crash if logData === null
...
refs #7060
2014-09-03 12:44:23 +02:00
Eric Lippmann
dd3901e891
`FormNumber': Fix "The use statement with non-compound name..."
...
refs #5525
2014-09-02 17:08:54 +02:00
Eric Lippmann
c7a4098c04
lib: Respect the disabled attribute in `FormNumber'
...
refs #5525
2014-09-02 16:54:43 +02:00
Johannes Meyer
1ba3df310c
Remove BaseConfigController, User\Message and Widget\AlertMesageBox
...
refs #6758
2014-09-02 16:25:03 +02:00
Johannes Meyer
2d86e6ba3b
Rename ResourceForm and make it use handleRequest() & Co.
...
refs #5525
2014-09-02 16:25:03 +02:00
Johannes Meyer
fb5685bac3
Merge branch 'master' into bugfix/rebuild-form-builder-5525
...
Conflicts:
application/forms/Config/Authentication/BaseBackendForm.php
application/forms/Config/Authentication/DbBackendForm.php
application/forms/Config/Authentication/LdapBackendForm.php
application/forms/Config/Authentication/ReorderForm.php
application/forms/Config/LoggingForm.php
application/forms/Config/ResourceForm.php
application/forms/Preference/GeneralForm.php
library/Icinga/Application/Config.php
library/Icinga/Web/Form.php
modules/monitoring/application/controllers/ConfigController.php
modules/monitoring/application/forms/Config/Backend/CreateBackendForm.php
modules/monitoring/application/forms/Config/Instance/CreateInstanceForm.php
modules/monitoring/application/forms/Config/Instance/EditInstanceForm.php
modules/monitoring/application/forms/Config/SecurityForm.php
2014-08-29 16:05:56 +02:00
Johannes Meyer
ae35650c7e
Adjust authentication backend forms to suit.. some form implementation
...
refs #5525
2014-08-29 15:16:13 +02:00
Johannes Meyer
364c7c0858
Add base form class for configuration forms
...
refs #5525
2014-08-29 12:25:25 +02:00
Alexander Klimov
7ff51caed0
Remove leading backslashes from the targets of use statements
...
- use \Exception;
+ use Exception;
2014-08-27 15:51:49 +02:00
Eric Lippmann
1dea19504f
Revert "Remove leading backslashes from the targets of use statements"
...
This reverts commit 87a5967501
.
At least 'modules/doc/run.php' issues a warning about "The use statement with non-compound name 'Zend_Controller_Router_Route' has no effect"
2014-08-27 12:24:11 +02:00
Alexander Klimov
87a5967501
Remove leading backslashes from the targets of use statements
...
- use \Exception;
+ use Exception;
2014-08-27 11:16:44 +02:00
Alexander Fuhr
11127446e0
Update description if no dashlets available
...
refs #6639
2014-08-26 10:34:34 +02:00
Alexander Fuhr
b60c3590b0
Deactivate addUrl to Dashboard
...
refs #6639
2014-08-26 10:34:34 +02:00
Johannes Meyer
bb7972aa39
Merge branch 'master' into bugfix/rebuild-form-builder-5525
...
Conflicts:
application/controllers/AuthenticationController.php
application/controllers/ConfigController.php
application/forms/Authentication/LoginForm.php
application/forms/Preference/GeneralForm.php
modules/monitoring/application/controllers/ChartController.php
2014-08-20 13:13:50 +02:00
Marius Hein
d05e3bfcca
Autologin: Fix javascript logout code
...
Window onload event handler comes to late. Change
part of the code to use jQuery.
refs #6461
2014-07-29 11:12:15 +02:00
Alexander Klimov
644b3a1628
Make it possible to remove an authentication backend
...
refs #6434
2014-07-25 14:49:05 +02:00
Alexander Klimov
c06db7495b
Merge remote-tracking branch 'origin/bugfix/rebuild-form-builder-5525' into bugfix/autologin-backend-form-6434
2014-07-25 10:57:08 +02:00
Alexander Klimov
50de21e437
Make it possible to edit an authentication backend
...
refs #6434
2014-07-25 10:29:33 +02:00
Johannes Meyer
c3731fa79e
Adjust removeresource-action to suit the new resource form interface
...
refs #5525
2014-07-24 16:17:30 +02:00
Alexander Klimov
1902b4f10f
Make it possible to create an authentication backend of type autologin
...
refs #6434
2014-07-24 15:50:01 +02:00
Johannes Meyer
0964316df4
Adjust editresource-action to suit the new resource form interface
...
refs #5525
2014-07-24 12:37:33 +02:00
Johannes Meyer
fd912daa3d
Adjust createresource-action to suit the updated resource form interface
...
refs #5525
2014-07-23 16:39:54 +02:00
Johannes Meyer
c8d61f78e7
Fix the config/resource-action's html markup
2014-07-23 12:55:43 +02:00
Johannes Meyer
9cdd891866
Drop ReorderForm and handle its logic in the controller and view instead
...
refs #5525
2014-07-23 12:35:39 +02:00
Johannes Meyer
3105c2059e
Remove license headers from all files
...
refs #6309
2014-07-15 13:43:52 +02:00
Johannes Meyer
82d2f5ac9b
Revert "Merge branch 'feature/install-wizard-6136'"
...
This reverts commit 88d4262e7c
, reversing
changes made to 6fae333048
.
Conflicts:
application/controllers/InstallController.php
library/Icinga/Web/Controller/ActionController.php
2014-07-07 15:09:03 +02:00
Johannes Meyer
143a1e44fe
Add a HTML renderer for Icinga\Web\Menu
...
The menu was being rendered through recursive partials before. The
overhead this fact implicates is not as efficient as standard recursion
so there is now a special renderer for Icinga\Web\Menu utilizing
the RecursiveIteratorIterator
refs #6153
2014-07-03 15:46:46 +02:00
Johannes Meyer
7eb0f3c472
Remove @codingStandardsIgnoreStart/-Stop annotations
...
refs #6091
2014-06-30 13:59:58 +02:00
Johannes Meyer
f2e5d8afa5
Remove @codeCoverageIgnoreStart/-Stop annotations
...
refs #6091
2014-06-30 13:58:37 +02:00
Thomas Gelf
408c15b8fb
error/error: show newlines in exception
2014-06-25 10:01:59 +02:00
Thomas Gelf
3576263559
config/devtools: playground for developer tools
...
This is nothing but a prototype right now but could become pretty
useful. We want to allow our users to control most of our developer
tools without deep knowledge about Icinga Web internals.
This first prototype allows allows one to toggle the JS UI debug
window.
2014-06-24 20:50:02 +02:00
Thomas Gelf
b7b99cfd67
Widget\AlertMessageBox: fix broken widget
...
This widget is pretty useless as the error view script can to it's
job. Interestingly nobody missed it, even the render() call was wrong.
I guess we will remove this soon, but for now it's fixed. Looks ugly,
but works.
2014-06-24 20:30:41 +02:00
Thomas Gelf
78193137f0
config/modules: show metadata, improve usability
...
Well... I didn't want to commit this before creating single-button
forms for enabling/disabling modules. However part of this accidentally
made it through, so let's finish it.
Still some work to do, but it already looks far better like this.
refs #4095
2014-06-21 02:27:27 +02:00
Thomas Gelf
216c2ca770
Autorefresh: should work also on initial page load
...
fixes #6296
2014-06-21 01:54:32 +02:00
Thomas Gelf
472ad08090
Accessibility: improve pagination
2014-06-20 14:27:17 +02:00
Thomas Gelf
a622f34be6
authentication/login: add missing alt tag
2014-06-20 13:15:13 +02:00
Marius Hein
20b43a92f1
Dashboard: Better implementation of handling errors
...
refs #6412
2014-06-05 16:07:40 +02:00
Marius Hein
151f058286
Dashboard: Display error message on failure
...
When no (default) configuration is available for dashboards
application dies not very gracefully. Display error message
and guid the user to the solution is a better way.
fixes #6412
2014-06-05 15:20:54 +02:00
Thomas Gelf
f7c5119424
Search: split result and search hint
...
There was an ugly if/else in the view script, this patch creates two
of them and adds friendlier search suggestions.
2014-05-28 11:13:41 +00:00
Thomas Gelf
b7d3f0e54c
Translation: another global view helper
...
refs #6338
2014-05-27 22:15:19 +00:00
Thomas Gelf
92d3e4e9f8
Translation: global translation for view helpers
...
As our pagination helper is used in multiple domains gettext would
fail if we don't explicitely call the correct translation function
carrying the "global" domain.
refs #6338
2014-05-27 21:48:05 +00:00
Thomas Gelf
cfa0251dbf
Translation: another bunch of translatable strings
...
refs #6339
2014-05-27 21:47:13 +00:00
Thomas Gelf
4f1b7f16e4
config/modules: prepare new view scripts
...
The controller is still pointing to the former view script, it will
soon be replaced by this ones. As soon as I created two forms handling
enable/disable requests this will be completed.
refs #4095
2014-05-26 14:38:03 +00:00
Thomas Gelf
ed0b731062
config/module: remove unused show.phtml
...
I see no reference to this file, byebye.
2014-05-26 14:32:59 +00:00
Johannes Meyer
4cf5fe6fdd
Add multistep form
...
refs #6136
2014-05-14 12:53:44 +02:00
Johannes Meyer
e1230eb8ae
Add style and view scripts for first prototype
...
refs #6136
2014-05-14 12:53:44 +02:00
Johannes Meyer
98ca15d1fb
Mark less important or non-testable code as skipped for code coverage
...
refs #6011
2014-04-28 14:06:41 +02:00
Johannes Meyer
2415604035
Add test for Zend_View_Helper_DateFormat
...
refs #6011
2014-04-28 14:06:39 +02:00
Matthias Jentsch
b16c6efa05
Add PieChart to display hosts and services, improve layout and fix flag
...
checkboxes
refs #5765
2014-04-28 09:48:06 +02:00
Matthias Jentsch
081b5072a6
Fix layout of MultiController views
...
refs #5765
2014-04-28 09:48:06 +02:00
Alexander Klimov
e2bfc06d6c
Moved application log from monitoring module
...
refs #4514
2014-04-02 13:47:02 +02:00
Johannes Meyer
c03268414f
Fix pivot table pagination being to narrow when only one vertical level exists
2014-03-28 08:57:27 +01:00
Thomas Gelf
ad0432f3be
Do not search with empty search string, add servicegroups
2014-03-25 12:30:05 +00:00
Thomas Gelf
f612610fa7
Friendlier error controller, special handling for 404 with disabled module
2014-03-25 12:10:02 +00:00
Thomas Gelf
1a47f617ee
Disable unused submenu class
2014-03-20 11:25:10 +00:00
Johannes Meyer
e9ec87b0e3
Refine styling of the servicematrix
...
refs #4180
2014-03-19 09:11:25 +01:00
Johannes Meyer
c73928d7a8
Add pagination control to the servicematrix
...
refs #4180
2014-03-19 09:11:25 +01:00
Thomas Gelf
ebbd4119c2
New approach for view helpers - register anonymous functions
...
* May be subject to change
* TODO: Find out how to phpDoc them
* Removed a bunch of "old-style" view helpers
* more to come
2014-03-17 17:14:16 +01:00
Alexander Klimov
5c0441bc06
Re-design configuration interface
2014-03-11 17:13:42 +01:00
Thomas Gelf
08c66afec2
Basic styling for 'Add to dashboard'
2014-03-10 01:40:23 +01:00
Thomas Gelf
11c44af35e
Remove obsolete requestId
2014-03-09 23:21:27 +01:00
Thomas Gelf
e035f025b3
MainDetail has gone
2014-03-09 23:18:36 +01:00
Thomas Gelf
73a8e13fc8
Remove #col2 traces in the application code
2014-03-08 15:00:23 +01:00
Thomas Gelf
0dc5a12565
Restyle auth backend config
2014-03-08 13:35:07 +01:00
Thomas Gelf
4fef863674
Restyle resources config
2014-03-08 13:26:05 +01:00
Thomas Gelf
13f827a0ef
Cleanup preferences, add them to the menu
2014-03-07 17:03:43 +00:00
Thomas Gelf
b7b6a08fbf
Remove baseUrl from Qlink helper (was for testing only and broken)
2014-03-07 16:22:13 +00:00
Alexander Klimov
a4ed32d357
Using new PHP icon helper
2014-03-07 10:54:39 +01:00
Michael Friedrich
3a623b248e
Fix DateFormat/TimeFormat requiring config.ini global section.
2014-03-06 18:41:48 +01:00
Thomas Gelf
26d3ba053e
Add icon helper
2014-03-06 16:30:27 +00:00
Alexander Klimov
b410ebeed6
Remove unnecessary spaces at end of line
2014-03-06 13:08:11 +01:00
Alexander Klimov
2f8160d020
Re-design configuration interface
...
refs #5705
2014-03-06 12:32:55 +01:00
Alexander Klimov
360c14b0d5
Make arrows have more margin
...
refs #5705
2014-03-06 12:32:55 +01:00
Alexander Klimov
a2f83eba05
Make select forms look like select forms
2014-03-06 12:32:55 +01:00
Alexander Klimov
d2ec3c9509
Re-design configuration interface
...
Conflicts:
public/js/icinga/events.js
2014-03-06 12:32:55 +01:00
Alexander Klimov
63c73a8215
Remove bootstrap classes
...
refs #5705
2014-03-06 12:32:55 +01:00
Alexander Klimov
0d1d181d51
Revert "Remove bootstrap classes"
...
This reverts commit 682472ca6b744c80dce1b422520c4c072cb850d2.
2014-03-06 12:32:54 +01:00
Alexander Klimov
7062c5ab2d
Revert "Remove bootstrap classes"
...
This reverts commit 023bc33c42153486251b4b1d77045bcf72197905.
2014-03-06 12:32:54 +01:00
Alexander Klimov
ecd6a27e03
Remove bootstrap classes
...
refs #5705
2014-03-06 12:32:54 +01:00
Alexander Klimov
eee7603c51
Remove bootstrap classes
...
refs #5705
2014-03-06 12:32:54 +01:00
Thomas Gelf
65da772190
Re-add qlink helper unless we find a better name
...
* I stumbled over too many places where we didn't care about quoting
or escaping output, attributes etc
* Helpers help here
2014-03-04 13:16:07 +00:00
Thomas Gelf
a4dbe96e53
TimeUnless gives '' for no time
2014-03-04 11:37:18 +00:00
Thomas Gelf
715cad86d5
No more layout container handling outside of layout.phtml
...
* Also added a few base-targets to get rid of hard-coded JS rules
2014-03-04 10:52:37 +00:00
Thomas Gelf
57caacb93f
Merge branch 'feature/fanzzzy-5481' into feature/master-1
...
Conflicts:
application/controllers/AuthenticationController.php
application/controllers/ErrorController.php
application/views/scripts/authentication/login.phtml
library/Icinga/Application/ApplicationBootstrap.php
library/Icinga/Web/Controller/ActionController.php
library/Icinga/Web/Hook.php
library/Icinga/Web/Widget/Dashboard.php
2014-03-04 09:42:25 +00:00
Eric Lippmann
07d04628cf
Merge branch 'feature/installation-and-configuration-cleanup-5638'
...
Conflicts:
config/config.ini.in
library/Icinga/Application/ApplicationBootstrap.php
library/Icinga/Application/Cli.php
library/Icinga/Application/EmbeddedWeb.php
library/Icinga/Application/Logger.php
library/Icinga/Application/Modules/Manager.php
library/Icinga/Application/Web.php
library/Icinga/Authentication/Backend/DbUserBackend.php
library/Icinga/Authentication/Manager.php
library/Icinga/User/Preferences/IniStore.php
test/php/library/Icinga/Application/LoggerTest.php
2014-03-03 19:03:39 +01:00
Matthias Jentsch
a8f765fa3b
Add extern authentication
...
Provide a new settings authenticationMode and delegate the
authentication handling to the webserver when the external authentication mode
is set. Add a new view 'logout' that will be shown after logout from external
authentication as the regular redirect to login is not possible.
refs #5405
2014-02-26 18:08:48 +01:00
Thomas Gelf
ddc10c948f
Add new global search to menu
2014-02-25 10:56:58 +00:00
Thomas Gelf
ae62b261ba
Adjust config view scripts to fix tab-style headers
2014-02-25 10:26:11 +00:00
Thomas Gelf
5948ebed3f
Shorten timeSince helper, now based on Icinga\Util\Format
2014-02-25 10:20:06 +00:00
Thomas Gelf
fcb5bc7ace
Add TimeUnless helper (still buggy when going below zero)
2014-02-25 10:18:09 +00:00
Thomas Gelf
48ea0b380f
Login form layout changes
2014-02-25 10:17:05 +00:00
Thomas Gelf
1b0ddec998
Prepare new dashboard spacing
2014-02-21 14:05:27 +00:00
Thomas Gelf
508a96124b
HTML changes
2014-02-21 14:03:48 +00:00
Thomas Gelf
aa821d9cd4
Pagination cleanup, prepared for new CSS
2014-02-21 14:03:47 +00:00
Thomas Gelf
6fdb7e15d8
Show exception in first header to ease JS support
2014-02-21 14:03:47 +00:00
Thomas Gelf
30e1f28ed6
TimeSince helper extended to support clientside support
2014-02-21 14:03:46 +00:00
Johannes Meyer
68357e9ca2
Fix coding style
2014-02-21 14:07:32 +01:00
Markus Frosch
971a87c608
Fixed executable flags on normal files.
...
Refs #5040
2014-02-18 09:42:13 +01:00
Eric Lippmann
7f099b211b
Fix documentation
...
refs #4820
2014-02-11 16:35:36 +01:00
Eric Lippmann
1caacbf20f
Modules/Doc: Set rel="nofollow" on header links missing a user-specified id
...
refs #4820
2014-02-11 15:27:42 +01:00
Eric Lippmann
f96974fc79
Modules/Doc: Use Icinga\Web\Menu for the toc
...
refs #4820
2014-02-11 15:13:18 +01:00
Johannes Meyer
1b5b26c2bb
Add window awareness
...
refs #5510
2014-01-24 14:44:19 +01:00
Alexander Klimov
db22945f1e
Add close button to details
...
resolves #4925
2014-01-23 17:09:46 +01:00
Eric Lippmann
4473008d65
Show error message and stack trace on exceptions
...
refs #5507
2014-01-22 14:57:54 +01:00
Matthias Jentsch
2a0add3ec3
Fix messages in ConfigController
...
Store messages in the current user session to be able to fetch messages from
other controllers, so that the use can be redirected back to the index, instead
of staying in the original action
refs #5100
2013-11-20 19:10:38 +01:00
Matthias Jentsch
d65bd33205
Add configuration for resources
...
Add views and controller to handle resource configuration. Add form to edit
several resource types at once.
refs #4786
2013-11-13 18:12:00 +01:00
Matthias Jentsch
2cf154310b
Add controller to handle resource configuration
...
Add the controller, forms and views to handle the resource configuration.
refs #4786
2013-11-06 19:02:30 +01:00
Eric Lippmann
ca1d50ae53
Rename Icinga 2 Web to Icinga Web 2
2013-10-23 15:11:06 +02:00
Marius Hein
74461e7cb2
Add icons to config forms
2013-10-23 12:25:51 +02:00
Jannis Moßhammer
16124989dd
Various style fixes, changed icon size, fixed show/service
2013-10-22 15:58:24 +02:00
Jannis Moßhammer
6c8bc91d89
Add login page with own template
2013-10-22 14:33:07 +02:00
Jannis Moßhammer
f7c0eaa7c4
Fix/Reimplement dashboard
...
refs #4532
2013-10-22 12:10:12 +02:00
Marius Hein
1a73747740
Implement bootstrap datepicker
...
refs #4929
2013-10-21 11:32:24 +02:00
Marius Hein
a49691068e
Add datepicker
...
refs #4929
2013-10-21 10:32:53 +02:00
Matthias Jentsch
6062d5f716
Add the html-anchor from the url to the login redirection
...
Change the Url class to support html anchors and add JavaScript to
fetch the anchor from the URL, as it is regularly not send to the
server.
refs #4833
2013-10-20 16:31:56 +02:00
Matthias Jentsch
3f48a29c05
Fix problems caused by rebasing
...
refs #3788
2013-10-18 16:44:03 +02:00
Matthias Jentsch
1d07a766d9
Add form classes to handle the configuration
...
Add a tri-state form element to handle the configuration flags and add the form
to the controllers
refs #3788
2013-10-18 16:44:02 +02:00
Jannis Moßhammer
4a95ba3468
Change url handling to detail on hashtag, add service filter
...
The url is now
http://%mainUrl%#%anchor%!detail=%detailUrl%
which allows us to better support IE and prevents
the detail url from appearing on the server side.
refs #4868
2013-10-17 19:55:00 +02:00
Jannis Moßhammer
dac61eda19
Implement Filter to IDO Sql parser
...
refs #4469
2013-10-17 19:52:25 +02:00
Jannis Moßhammer
24da98be83
Implement base filter library and tests
...
refs #4469
2013-10-17 19:52:25 +02:00
Marius Hein
ff0760e507
MainDetail: Fix doc strings
...
refs #4611
2013-09-24 12:51:54 +02:00
Jannis Moßhammer
b4000d34fb
CS: Fixed styles, add codingStandardsIgnore for helper
...
refs #4611
2013-09-23 13:56:59 +02:00
Jannis Moßhammer
6d26240d6d
Add Main detail state to url, renderhelper, container tests
...
- The ActionController is now able to render a seperate detail view
- All list scripts select the currently active row from the detail view with
the 'active' class
- Autosubmit is now again attached to the onchange attribute (to prevent issues
when js can't load correctly)
- Logout is now recognized and causes a page refresh (will be made more generic)
- Add history mock for testing url changes
- Update all grids to implement the app/mainDetailGrid component
refs #4611
2013-09-23 13:56:57 +02:00
Eric Lippmann
a5908c9553
CS: Replace multiple empty lines with one
...
find application/ library/Icinga/ test/ modules/ -name *.php | xargs sed -i '/^$/N;/^\n$/D'
2013-09-04 18:36:10 +02:00
Eric Lippmann
35fd9fd391
CS: Remove whitespaces at end of line
...
find application/ library/ test/ modules/ -name *.php | xargs sed -i 's/\s\+$//'
2013-09-04 18:27:16 +02:00
Johannes Meyer
e0620aa04e
Fix DateTimePicker not respecting user preferences
...
refs #4675
2013-09-04 18:08:00 +02:00
Jannis Moßhammer
a0e63a1320
Fix error message and move validation in own DateTimeValidator
...
refs #4581
refs #4632
2013-09-04 11:06:36 +02:00
Marius Hein
b6eb19ce6a
Module enable/disable: Better error messages
...
refs #4604
2013-09-02 12:52:51 +02:00
Marius Hein
439fade88d
Simplify SystemPermissionException
...
refs #4606
2013-09-02 12:52:51 +02:00
Johannes Meyer
bf5849a769
Fix GeneralForm tests
...
refs #4609
2013-08-29 15:08:31 +02:00
Johannes Meyer
74241258f5
Preview example date/time results in configuration views
...
refs #4609
2013-08-29 15:08:30 +02:00
Jannis Moßhammer
2c97ab26a4
Code style, Form tests and bugfixes
...
This commit summarizes the bugfixes made in this branch. As the frontend the fixes required a lot of stuff to be fixed afterwards and #4602 was used as a larger example regression test, this affects a few tickets:
- (Bug 4491) Frontend tests will hang randomly: CasperJS now operates on the installed version, so this shouldn't happen anymore
- (Bug 4602) Configuration Interface - Authentication: Backends moved when pushing enter: The authentication interface is reworked and does not persist a state over pages
- (Bug 4605) /tmp should not be the default log path: Now it is the application relative var/log path
- (Bug 4606) Configuration: Show message that changes were saved successfully: Implemented and tested with casperjs
- (Bug 4641) Installation/Testing fix configure/make: This has been reworked
- (Bug 4642) Allow Application placeholder in config: This was required for implementimg 4605
- (Bug 4643) Application doesn't work with older Zend Versions: A fallback __call has been implemented for this
refs #4491
refs #4602
refs #4605
refs #4606
refs #4641
refs #4642
refs #4643
2013-08-29 11:48:33 +02:00
Jannis Moßhammer
d0ac97f335
Configure fixes, regression test for 4606
...
The configure routine still has to be improved, right now unused
authentication backends are commented out
refs #4491
refs #4606
refs #4640
2013-08-29 11:48:32 +02:00
Jannis Moßhammer
17e6402aa9
Split up authentication form, logic connectivity check
...
refs #4606
refs #4622
refs #4602
refs #4546
2013-08-29 11:48:29 +02:00
Johannes Meyer
4c79b3d179
Fix use of non-initialised variable
2013-08-28 08:57:46 +02:00
Jannis Moßhammer
895976550c
Fix templates, capitalization and icons in php files
...
refs #4550
refs #4584
2013-08-23 10:28:48 +02:00
Jannis Moßhammer
015a914aab
Fix template code style, use Bootstrap 3, remove icons
...
- Icons have now the {{XY_ICON}} format
- custom classes are removed
- A few typos are fixed
- Capitalization
refs #4550
refs #4621
refs #4584
2013-08-23 10:28:48 +02:00
Jannis Moßhammer
872fa2ac6c
HTML Style fixes and class removals
...
refs #4550
2013-08-23 10:28:47 +02:00
Jannis Moßhammer
bff45a1eb2
Template cleanup and validation part 1
...
refs #4550
2013-08-23 10:27:16 +02:00
Jannis Moßhammer
dc2aad75d1
Modify application templates for proper bootstrap usage
...
refs #4550
2013-08-23 10:27:16 +02:00
Jannis Moßhammer
a6ff6ecadd
Fix Codestyle/PHPDoc, fix configPath being Overwritten
...
Also removed possibility to disable debugging as there's no use case for this
refs #4525
refs #4598
2013-08-21 14:22:30 +02:00
Jannis Moßhammer
49d92d0c33
Implement user preferences form
...
refs #4525
2013-08-21 14:22:30 +02:00
Jannis Moßhammer
972bc9853e
Configuration interfaces for logging, authentication and general configuration
...
- Added HelpText decorator
- Added Time and DateFormatValidator
- Added tests
refs #3777
2013-08-21 14:22:30 +02:00
Jannis Moßhammer
c705f5d475
Implement Authentication form
...
- Allow creation of authentication providers
- Allow modification of authentication providers
- Allow reordering of authentication providers
refs #3777
2013-08-21 14:18:54 +02:00
Jannis Moßhammer
5a768ccaa9
Start authentication form
...
refs #3777
2013-08-21 14:18:54 +02:00
Jannis Moßhammer
26a5018d16
Add Forms and conditional hidden
...
refs #3777
2013-08-21 14:18:53 +02:00
Marius Hein
497e184eeb
Fix home link to module configuration
...
refs #4516
2013-08-21 09:44:01 +02:00
Jannis Moßhammer
d7358c65be
Remove QUrl and QLink, add Href
...
refs #4516
2013-08-21 09:44:01 +02:00
Jannis Moßhammer
be29b8ff8f
Make ConfigController and PreferenceController extensible by convention
...
- Rename ConfigurationController to ConfigController
- ConfigController and PreferenceController are now subclasses of
BaseConfigController and BasePreferenceController
- Module and Application Config/Preference Tabs are detected via
the ControllerTabCollector
- Moved Controller classes to Icinga/Web/Controller (this is why
so many files are modified)
refs #4530
2013-08-14 16:08:15 +02:00
Eric Lippmann
2c217d1d06
Framework/DateTime: No longer use the Unix timestamp format since this ignores the time zone
...
refs #4440
2013-08-12 16:43:10 +02:00
Eric Lippmann
a82d750d6a
Framework: Use the DateTime Unix timestamp format in the DateFormat helper
...
refs #4440
2013-08-12 16:43:09 +02:00
Eric Lippmann
5c98acd36c
Framework: Add doctrings to DateFormat view helper
...
refs #4424
2013-08-12 16:43:09 +02:00
Eric Lippmann
da7f619804
Framework: Implement DateFormat view helper
...
Support date, time and datetime formatting based on format strings
set either by the user or via config.ini. The view helper
FormDateTime uses the new helper already
refs #4440
refs #4424
2013-08-12 16:43:09 +02:00
Johannes Meyer
94ea09b552
Remove Date and Time form elements
...
Drops the Date and Time form element as they are redundant.
refs #4440
2013-08-12 16:43:08 +02:00
Eric Lippmann
c0e3712e1b
Framework/Elements: Implement DateTime form element
...
refs #4440
2013-08-12 16:42:51 +02:00
Jannis Moßhammer
886da7d0cb
Fix codestyle, change wrong 'dashboard' parameter to pane causing pane switching to fail
...
- Fixed concatenation
- Added license header where missing
- Fixed the index controller fetching the wrong parameter ('dashboard' instead of 'pane')
refs #4192
2013-08-08 17:42:34 +02:00
Jannis Moßhammer
19764485bc
Add untracked files
...
refs #4192
2013-08-07 17:44:40 +02:00
Jannis Moßhammer
2b25757e20
Add documentation, add errorhandling and sizing
...
The optional width/height parameter can be set in the ini to change the dashboard components
size, documentation has been added and in the error case a message with the configuration is shown
refs #4192
2013-08-07 17:44:30 +02:00
Jannis Moßhammer
b3e0d5e8ce
Remove AbstractWidget and make Widget an interface
...
As Widget's already denote an abstract concept, the name
'AbstractWidget' is redundant. Also this class didn't do anything except
fetching a view via a singleton (which is now injected into the render method)
and bypassing the PHP class properties by creating a 'properties' array which is
filled with magic getters and setters (which now are simply php class properties)
Further changes:
- toString is removed, as this incorporated a lot of
application logic which would cause unrecoverable
errors when throwing exceptions
- renderToHtml is now just render and the view dependency must be
passed, as a widget shouldn't be responsible for getting
view instance (this means that <?= $this->tabs ?> is now
<?= $this->tabs->render($this); ?> in the templates
- Controllers don't have $this->widget anymore as Widgets are
directly instanciated with their class, allowing better code completion
and avoiding hidden dependencies, also Widget::create is now removed
in favor of direct instanciation.
refs #4192
2013-08-07 17:41:43 +02:00
Eric Lippmann
290c8c5225
CC: Add newline to end of file where missing
...
Following command was used:
$ find application/ library/Icinga/ modules/ -name *.php | xargs sed -i -e :a -e '/./,$!d;/^\n*$/{$d;N;};/\n$/ba;$a\'
2013-08-07 10:27:50 +02:00