Thomas Gelf
7fb910bf21
layout/menu: don't show uncollapsed loading menu
...
We have a no-JS-friendly CSS showing the menu uncollapsed unless JS
is fully loaded. Even if the page loads pretty fast this looks still
ugly in JS-enabled browsers.
This patch adds a JS-snippet removing the no-js class from the HTML
element before the rendering engine reaches the body. You'll see no
more flickering in your JS-enabled browser.
fixes #6307
2014-05-26 13:46:14 +00:00
Thomas Gelf
5e69d1d997
layout/pdf: fix module css support
...
Containers need the correct module classes to get their correct CSS
also for PDFs
2014-05-20 22:46:36 +00:00
Thomas Gelf
bfff645a08
layout-script: disable chrome translate suggestion
...
The way Chrome suggests translation is ugly and may result in a GUI
"jumping up and down". One more vendor specific meta attribute :(
2014-05-20 22:41:34 +00:00
Thomas Gelf
358b2582bc
ErrorController: show valid title for exceptions
...
Multiline strings are not considered being a valid title. This patch
strips all but the first line from the exception message when setting
the title attribute.
2014-05-20 13:40:52 +00:00
Johannes Meyer
709146d49f
Add wizard page for the logging configuration
...
resolves #6129
2014-05-14 13:20:21 +02:00
Johannes Meyer
1637a19c23
Fix multistep form creation
...
refs #6136
2014-05-14 12:53:44 +02:00
Johannes Meyer
429e09aae2
Multistep pages should not have random generated names
...
refs #6136
2014-05-14 12:53:44 +02:00
Johannes Meyer
88e451402f
Redirect to /install when the setup.token exists but no config.ini
...
refs #6136
2014-05-14 12:53:44 +02: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
Matthias Jentsch
ced6e8f78f
Initialize all empty ellements with their default values.
...
refs #6098
2014-05-12 15:49:38 +02:00
Matthias Jentsch
793a0a061f
Add validation for application name.
...
refs #6129
2014-05-12 15:40:59 +02:00
Thomas Gelf
c93564c797
Put focus into search field on initial page load
...
fixes #6170
2014-05-09 10:57:21 +00:00
Johannes Meyer
4e77ea2f88
Fix logging configuration form
2014-04-30 12:09:44 +02:00
Johannes Meyer
a865d8874d
Fix ResourceForm namespace
...
refs #6038
2014-04-30 11:59:40 +02:00
Johannes Meyer
4cf3044a53
Rename Icinga\Logger\Writer\StreamWriter to FileWriter
...
refs #6038
2014-04-30 11:59:22 +02:00
Johannes Meyer
0b3d3e9bb2
Adjust logging configuration to suit the new logger implementation
...
refs #6038
2014-04-30 11:33:36 +02:00
Johannes Meyer
a5faa8bf25
Fix ResourceForm
...
refs #6038
2014-04-30 10:16:20 +02:00
Johannes Meyer
e2ba172a8e
Make dashboard components using the ini writer class
...
fixes #5524
2014-04-29 11:30:53 +02:00
Matthias Jentsch
e1d8ad820e
Fix include
...
refs #4788
2014-04-28 17:15:36 +02:00
Matthias Jentsch
085025ba7d
Icingaweb shoul work without optional extensions when they are not used
...
When optional classes and php extensions like pgsql and additonal Zend-Pdos are
actually required by creating a new resource or authentication backend,
perform a check and display a warning instead of just throwing an exception.
refs #4788
2014-04-28 17:13:40 +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
Johannes Meyer
f7051ca992
Remove form tests that cover only graphical tests
...
refs #6011
2014-04-28 14:06:38 +02:00
Johannes Meyer
21b949758f
Refactor ResourceForm tests
...
refs #6011
2014-04-28 14:06:38 +02:00
Johannes Meyer
3d44c45eb8
Rename EditResourceForm to ResourceForm
...
refs #6011
2014-04-28 14:06:38 +02:00
Johannes Meyer
656e6bd0fd
Drop obsolete CreateResourceForm class
...
refs #6011
2014-04-28 14:06:38 +02:00
Johannes Meyer
aaa6a56146
Refactor authentication config form tests and fix auth backend validation
...
refs #6011
fixes #5712
2014-04-28 14:06:38 +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
Thomas Gelf
039aa76467
Directly use the routing script for internal web server
2014-04-17 21:12:13 +00:00
Thomas Gelf
4a6fe006d8
Show exception message in title
2014-04-17 16:21:48 +00:00
Johannes Meyer
82ca774331
Re-enable setting the current configuration when showing icingaweb/config
...
fixes #5972
2014-04-08 15:18:14 +02:00
Johannes Meyer
6692f253fd
Fix that the preference configuration does not handle defaults properly
2014-04-07 15:03:08 +02:00
Thomas Gelf
072f157064
Allow developers to disable minimizers
2014-04-07 12:04:23 +00:00
Johannes Meyer
d658eff9b1
Add form field to set the database name for a resource of type db
...
fixes #5115
2014-04-07 09:55:19 +02:00
Johannes Meyer
d109046bc0
Fix that the general and logging form cannot write configuration changes
...
fixes #5952
2014-04-07 09:27:37 +02:00
Alexander Klimov
cdf1a0b683
Write more class documentation
2014-04-02 13:47:02 +02:00
Alexander Klimov
241fda1196
Small cleanup
2014-04-02 13:47:02 +02:00
Alexander Klimov
d38e879d69
Sort application log DESC
...
resolves #4514
2014-04-02 13:47:02 +02:00
Alexander Klimov
e2bfc06d6c
Moved application log from monitoring module
...
refs #4514
2014-04-02 13:47:02 +02:00
Thomas Gelf
fba63602c9
Improve CLI web serving autodetection
2014-03-28 19:47:25 +00:00
Johannes Meyer
bafa8cc032
Fix authentication error handling
2014-03-28 14:45:03 +01: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
17ce27a985
Ship only one CSS and one JS file
2014-03-27 07:32:45 +00:00
Thomas Gelf
90665a2711
Re-render page when en/disabling modules and trigger client-side CSS reload
2014-03-26 07:58:57 +00:00
Thomas Gelf
ad0432f3be
Do not search with empty search string, add servicegroups
2014-03-25 12:30:05 +00:00
Thomas Gelf
440b1cf730
Re-enable search result autorefresh as it should work fine right now
2014-03-25 12:14:26 +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
Michael Friedrich
4ce7ea503f
Rename help and documentation to icingacli.
...
Refs #5802
2014-03-19 17:25:53 +01: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
Thomas Gelf
5bd1d97f5e
Use module name and more whenn rendering the body, drop module-container
2014-03-17 17:11:56 +01:00
Thomas Gelf
e964da9579
URL default encoding should match rules for href's. VS &
2014-03-17 16:59:22 +01:00
Thomas Gelf
fb948d8390
Remove pixel definitions from menu icon
2014-03-17 16:54:40 +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
fcd05dfe81
Improve click/site behaviour
2014-03-09 23:30:37 +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
Michael Friedrich
773528342f
Fix default log path in config form.
2014-03-09 15:57:50 +01:00
Thomas Gelf
cdc717b88f
No search autorefresh unless fixed
2014-03-09 01:56:05 +01:00
Thomas Gelf
d729d9381d
Temporarily remove 'plus' link from dashboard
2014-03-08 21:39:12 +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
5c27f8153a
Config code scares me... this fixes an error on Configuration / Logging
2014-03-08 13:13:49 +01:00
Thomas Gelf
296d8c7969
Send notifications on site reload and via XHR
2014-03-07 23:15:51 +00:00
Thomas Gelf
edd03d3e55
Move "temporary logout" to menu
2014-03-07 17:29:04 +00: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
e05250db4e
Icinga icons hotfix
2014-03-06 14:16:42 +01: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
6ed72e1565
Mess with PDF generation code
...
* Works more or less
* Rewrite image tags on the fly
* Sample header image (still ugly)
* Trying hard to find a way for CORRECT page footers and line numbers
2014-03-06 11:21:11 +00:00
Thomas Gelf
95189fbf46
Fix layout re-rendering after login (thank you, automerge)
2014-03-06 11:07:24 +00:00
Thomas Gelf
e52c2f5fb0
Set data(icingaUrl) also in the initial body
2014-03-06 09:19:48 +00:00
Thomas Gelf
af7ca57b41
Clean up JavaScript and CSS loaders, prepare for minimized delivery
2014-03-04 15:15:08 +00:00
Thomas Gelf
5340289e01
JS: history has not been loaded
2014-03-04 13:37:05 +00:00
Thomas Gelf
635cdcbbc5
autorefresh even for search results, nicer headers
2014-03-04 13:25:58 +00:00
Thomas Gelf
915a024030
_render handled in IndexController. Does this make any sense?
2014-03-04 13:24:53 +00:00
Thomas Gelf
3daf46097d
Less hacky dashboard activation
2014-03-04 13:22:39 +00:00
Thomas Gelf
38a5939544
We WANT to allow users to scale their content, just a note about this
2014-03-04 13:20:10 +00: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
d648bbad72
Missing JS change in layout.phtml
2014-03-04 13:12:07 +00:00
Thomas Gelf
c58f79c161
One more automerge issue
2014-03-04 12:45:22 +00:00
Thomas Gelf
a4dbe96e53
TimeUnless gives '' for no time
2014-03-04 11:37:18 +00:00
Thomas Gelf
76c322901c
Prototype for icingacli web serve
2014-03-04 11:13:43 +00:00
Thomas Gelf
29f007e537
Comfortable focus setting on login mask
...
* Needs improvement once we have better forms
2014-03-04 10:56:12 +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
Eric Lippmann
7bf888a554
Vagrant: Add monitoring module config
2014-03-03 18:16:07 +01:00
Eric Lippmann
39c80dccaf
Decouple authentication backend creation from Icinga\Authentication\Manager
...
Add authentication backend type msldap with default values for user_class
and user_name_attribute. Backend type ldap now logs an error when user_class
and user_name_attribute ist not configured. Rename membership.ini to
memberships.ini since all our INI configuration files are in the plurar
where it makes sense. The AuthenticationController now handles
authentication
refs #5685
refs #5638
fixes #5218
2014-03-03 17:21:17 +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
Johannes Meyer
3555e66018
Make IcingaWeb using the new log wrapper
...
refs #5683
2014-02-26 11:19:52 +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
bef3f70992
Temporary ugly active-tab fix for config controller
2014-02-25 10:23:36 +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
a41bfcbfaf
Restructure outer layout
2014-02-25 10:13:36 +00:00
Thomas Gelf
016ce83058
Global search dummy example
2014-02-21 14:05:28 +00:00
Thomas Gelf
0bc65d97cb
Gravatar sample implementation. This is ugly, NEVER use it in production
2014-02-21 14:05:28 +00:00
Thomas Gelf
1b0ddec998
Prepare new dashboard spacing
2014-02-21 14:05:27 +00:00
Thomas Gelf
a0e6a73ecc
Added sparkline support
2014-02-21 14:03:50 +00:00
Thomas Gelf
75b12ddaab
Replaced 'Add ...' with a plus in dashboard, shall be a dropdown
2014-02-21 14:03:48 +00:00
Thomas Gelf
be9c0723ce
Error controller needs no authentication
2014-02-21 14:03:48 +00:00
Thomas Gelf
39b3af4b51
We no longer need a dedicated layout for login
2014-02-21 14:03:48 +00:00
Thomas Gelf
0753b28342
Some more HTML changes
2014-02-21 14:03:48 +00:00
Thomas Gelf
508a96124b
HTML changes
2014-02-21 14:03:48 +00:00
Thomas Gelf
0f3f18f793
Layout restructured
2014-02-21 14:03:47 +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
69a482d106
Auth: Connect only when a authentication backend is used. Fix log in error messages
...
refs #5506
refs #5638
fixes #4931
2014-02-18 09:33:33 +01:00
Eric Lippmann
35fc451115
Rework save preferences
2014-02-17 14:11:55 +01:00
Thomas Gelf
585b3aa506
Workaround for default tab issue on Dashboard, should be fixed elsewhere
2014-02-14 14:09:10 +00:00
Thomas Gelf
e00e5c9824
Security warning for an issue in the StaticController - still unfixed
2014-02-14 14:08:23 +00:00
Thomas Gelf
8615b644c0
Show module metadata (version, description) on CLI
2014-02-14 13:50:27 +00:00
Eric Lippmann
b9357af893
The ErrorController must not require authentication
2014-02-14 12:12:46 +01:00
Eric Lippmann
68086f1b79
Fix PHP Warning: The use statement with non-compound name 'Exception' has no effect
2014-02-12 16:59:53 +01:00
Matthias Jentsch
342a9375de
Move pdf.css into different directory to prevent it from being loaded during
...
regular requests.
refs #5644
2014-02-12 15:44:02 +01:00
Thomas Gelf
f6692ba436
We should catch all Exceptions when showing errors on the login screen
2014-02-12 12:57:17 +00:00
Matthias Jentsch
80488644d4
Add pdf export functions
...
refs #4356
2014-02-12 12:09:33 +01:00
Marius Hein
1a6d1a20fb
Fix: Simplify TopBar hook
...
refs #5597
2014-02-12 09:58:59 +01:00
Marius Hein
51188daa45
Implenent TopBar hook and status summary as hook in monitoring
...
refs #5597
2014-02-11 17:12:17 +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
Thomas Gelf
654953d9d6
New menu, still unfinished
2014-02-03 16:03:05 +00:00
Johannes Meyer
85639a3990
Add language selection to general config and preference forms
...
refs #5533
2014-01-30 13:17:15 +01:00
Johannes Meyer
005c52bb4a
Refactor translation cli commands and implement po-file compilation
...
refs #5533
2014-01-30 10:51:10 +01:00
Eric Lippmann
30d2743c54
Layout: Move benchmark to inline.phtml
2014-01-28 15:31:13 +01:00
Eric Lippmann
59cb1d3cc7
Menu: Fix HTML
...
refs #3759
2014-01-28 13:34:57 +01:00
Chris Rüll
c4a00b8d31
Menu Configuration
...
Rework the Menu.Ini files and Include a new class to create a menu inside the project
2014-01-28 13:34:57 +01:00
Johannes Meyer
1b5b26c2bb
Add window awareness
...
refs #5510
2014-01-24 14:44:19 +01:00
Alexander Klimov
fc1fb60b01
Re-add benchmark helper
...
Enable benchmark via user preferences
resolves #5508
2014-01-24 12:20:13 +01:00
Alexander Klimov
b9c86ac1f5
Change copyright year to 2014
2014-01-24 12:19:18 +01:00
Alexander Klimov
db22945f1e
Add close button to details
...
resolves #4925
2014-01-23 17:09:46 +01:00
Eric Lippmann
2242973568
XHR: Force redirect to login if session is expired
...
resolves #5507
2014-01-23 16:03:47 +01:00
Matthias Jentsch
5d8081ad09
Add support for multiple module installation paths
...
Read the module paths from the configuration file and add form fields
to edit the path from the web interface.
refs #4607
2014-01-22 18:28:19 +01:00
Thomas Gelf
81b47cf861
Useless use of return
2014-01-22 14:55:58 +00:00
Eric Lippmann
4473008d65
Show error message and stack trace on exceptions
...
refs #5507
2014-01-22 14:57:54 +01:00
Matthias Jentsch
85dbd86e5b
Change all UserBackends to a lazy connection-behavior
...
refs #5506
2014-01-22 13:04:11 +01:00
Thomas Gelf
3008527b41
Autocompletion for the BASH
...
Implemented in a dedicated Icinga Web CLI command, bash config snippet
is therefore pretty compact.
fixes #5520
2014-01-22 11:45:42 +00:00
Thomas Gelf
c29e742570
Module configuration script can provide restrictions and permissions
...
Extended the module, created CLI commands showing available permissions
and restrictions, added a sample configuration.php to the monitoring
module.
refs #4108
2014-01-22 10:26:18 +00:00
Matthias Jentsch
cd0194e20f
Fetch and clean user messages lazily, to ensure that only shown messages are removed
...
This will make the code of the ConfigController way easier, as messages can be
send from everywhere and there is no need to consider consquences of
redirections.
refs #5100
2013-11-26 10:41:51 +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
941ce6d68e
Fix bug that caused ajax-request to override values written to the session
...
Authentication/Session.php and its Subclasses do not have a open/closed -state
anymore. Read will refresh the session, write will always write the changes,
and opening/closing will be handled internally.
refs #5101
2013-11-20 12:01:40 +01:00
Matthias Jentsch
984ed0b006
Fix LdapBackendForm unit test
...
refs #4786
2013-11-13 18:33:34 +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
Matthias Jentsch
59d4baff0b
Fix remaining references to DbUserBackend and refresh the documentation.
...
refs #4786
2013-11-06 13:31:07 +01:00
Eric Lippmann
ca1d50ae53
Rename Icinga 2 Web to Icinga Web 2
2013-10-23 15:11:06 +02:00
Jannis Moßhammer
1a95e48deb
Fix row style, add dashboard as default route
2013-10-23 14:20:32 +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
Thomas Gelf
724a57e93a
Simplified help command, also does autocompletion right now
2013-10-22 13:53:12 +00:00
Jannis Moßhammer
6c8bc91d89
Add login page with own template
2013-10-22 14:33:07 +02:00
Thomas Gelf
a25cd80ec0
CLI interface: initial import
2013-10-22 12:26:45 +00:00
Bernd Erk
6d112b56bf
Modify top bar and menu style
2013-10-22 14:14:53 +02:00
Jannis Moßhammer
f7c0eaa7c4
Fix/Reimplement dashboard
...
refs #4532
2013-10-22 12:10:12 +02:00
Jannis Moßhammer
c4f3e78c02
Fix filter behaviour, fix statusdat filter
...
refs #4469
2013-10-21 17:04:39 +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
Eric Lippmann
bb64977a53
Remove search from top bar
2013-10-20 16:34:26 +02:00
Eric Lippmann
36e9cdb549
Monitoring/register: Add status summary to the top bar
2013-10-20 16:08:53 +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
d33cec78de
Semantic search implementation
...
- Only implemented for hosts as an example
- URL behaviour still has to be normalized
refs #4469
2013-10-17 19:52:52 +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
cc8ecf262f
Reorganized styles
...
refs #4895
2013-10-16 14:49:03 +02:00
Marius Hein
460e0fe242
Implement on-the-fly less compilation
...
refs #4892
2013-10-16 12:00:09 +02:00
Eric Lippmann
f8938b34a4
Add yet hidden hostgroup summary w/ hostgroup overview rendered to detail
...
refs #4186
refs #4184
2013-10-15 15:13:49 +02:00
Eric Lippmann
af7db257fe
Menu: Add iconClass config
...
refs #4824
2013-10-14 13:30:02 +02:00
Marius Hein
c02c18b23f
Add logo and remove old struct survivors
...
refs #4824
2013-10-14 13:28:16 +02:00
Marius Hein
3975bb1364
Add user icon to topbar
...
refs #4824
2013-10-14 13:02:41 +02:00
Matthias Jentsch
ec2ffcabdf
Add redirection to AuthenticationController
...
refs #4670
2013-10-04 15:43:02 +02:00
Marius Hein
e7696bec89
CS: Fixes for controllers: Static, Action, List and Show
...
refs #4611
2013-09-24 12:52:00 +02:00
Marius Hein
ff0760e507
MainDetail: Fix doc strings
...
refs #4611
2013-09-24 12:51:54 +02:00
Jannis Moßhammer
3e195501ac
Fixed issues with click targets
...
refs #4611
2013-09-23 13:56:59 +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
Jannis Moßhammer
62e98ccbd7
Remove different caching headers for development
...
This has the reason that it's better to add a cache-buster via
requirejs, so only the main.js module must be modified in development
mode and we avoid an ugly bug in recent Chrome versions that prevents
<script> nodes from being correctly loaded in some cases (aborted
requests)
refs #4611 (not really, but kind of)
2013-09-23 13:55:49 +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
Eric Lippmann
05d08fb0b8
Fix Bootstrap typed wrong
...
refs #4601
2013-09-04 17:12:44 +02:00
Jannis Moßhammer
57e66c247a
Add sort widget, change js path from module to app, small style fixes
...
refs #4601
2013-09-04 15:22:00 +02:00
Eric Lippmann
6afeaac6b2
Make 'ini' in descriptions uppercase, add comment to index.php about date_default_timezone_set
...
refs #4529
2013-09-04 14:56:55 +02:00
Jannis Moßhammer
95bc8a2f4f
Add NullStore as preference fallback
...
refs #4529
2013-09-04 14:27:37 +02:00
Eric Lippmann
092c5780ea
CS: Fix violations for overdue files
...
refs #4586
2013-09-04 11:21:12 +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
Johannes Meyer
4d040fd761
Adjust command forms and tests
...
Made those command forms using the DateTimePicker
element compatible with its new validation.
refs #4581
2013-09-04 11:06:36 +02:00
Johannes Meyer
14b56151aa
Move configuration and preference handling to Form base class
...
Moved setConfiguration, setUserPreferences and getUserPreferences
to our Form base class due to some redundancies.
refs #4581
2013-09-04 11:06:24 +02:00
Johannes Meyer
23f0962da1
Adjust command forms and tests
...
Made those command forms using the DateTimePicker
element compatible with its new validation.
refs #4581
2013-09-03 09:27:02 +02:00
Johannes Meyer
1a003f8c8b
Move configuration and preference handling to Form base class
...
Moved setConfiguration, setUserPreferences and getUserPreferences
to our Form base class due to some redundancies.
refs #4581
2013-09-03 09:27:02 +02:00
Jannis Moßhammer
9f923b4940
Fix pagination and remove ModuleController, rename handlesAuth
...
This commit introduces the following changes:
- Count is now performed after joins are added to the selection query,
therefore returning the correct number
- MonitoringControllerTest now needn't to mock ModuleActionController (which is now removed)
- handlesAuthentication is now requiresAuthentication
- Redirection to login is now directly handled in the ActionController constructor,
so we don't need to overwrite the preDispatch method
refs #4589
refs #4591
refs #4572
2013-09-02 18:42:05 +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
Jannis Moßhammer
c5fde2324e
Generalize form handling in Icinga\Web Form & Tests
...
configForm.js is now form.js and applied on all forms,
the autosubmit is now a special attribute for input fields,
so the PHP code doesn't create JS snippets anymore
refs #4622
2013-09-02 10:59:05 +02:00
Jannis Moßhammer
978b3519f6
Add configform js component (will be renamed later)
...
refs #4622
2013-09-02 10:59:05 +02:00
Jannis Moßhammer
feab57e790
Fix old constructor syntax being called in DbBackendForm
...
refs #4641
2013-08-30 16:28:13 +02:00
Marius Hein
7c8252a983
Rename class Credentials to Credential
...
refs #4641
2013-08-30 12:50:57 +02:00
Johannes Meyer
cb8bf4cba7
GeneralForm: Code fixes
...
Made that the user's last configuration is
previewed in case the input is invalid.
refs #4609
2013-08-29 15:08:31 +02:00
Johannes Meyer
29068269dc
Config/GeneralForm: Doc fixes
...
refs #4609
2013-08-29 15:08:31 +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
0f36cfce62
Fix frontend tests, give forms names
...
refs #4491
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
4e41ce5cdc
Add logic validation for database authentication backends
...
refs #4546
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
Jannis Moßhammer
81b41326cc
Update frontend tests, add loginpage test
...
the runner now supports --host, --port, --path, --user and --pass for
icingaweb access and doesn't spawn any servers by itself.
Also a login test has been added. Other tests are removed as they don't
apply anymore.
refs #4491
2013-08-29 11:47:10 +02:00
Johannes Meyer
4c79b3d179
Fix use of non-initialised variable
2013-08-28 08:57:46 +02:00
Johannes Meyer
13e4efa221
Make use of the helptext decorator if suitable
...
Refactored some uses of the form element Note so that
each one is properly attached to its input element.
refs #4566
2013-08-28 08:57:46 +02:00
Matthias Jentsch
aba98afd3f
Change used ini writer to PreservingIniWriter to preserve configuration comments
...
refs #4610
2013-08-27 18:28:21 +02:00
Marius Hein
afc302d45c
Bootstrap: Safe application start
...
Log exceptions and inform user if something goes wrong.
refs #4625
refs #4592
2013-08-23 17:28:13 +02:00
Marius Hein
2f610b70ac
Fix icon identifer and capitalization
...
refs #4550
refs #4584
2013-08-23 10:58:58 +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
1378ca9844
Remove and reorganize stylesheets, add boostrap 3
...
refs #4550
2013-08-23 10:27:16 +02:00
Eric Lippmann
cd2ae0450a
Config: Hint that moduleFolder directive is currently not in use
...
refs #3776
2013-08-21 14:22:31 +02:00
Eric Lippmann
edb06ea8ea
CS: Fix viloations for touched files in branch feature/backend-configuration-ui-3776
...
refs #3776
2013-08-21 14:22:31 +02:00
Jannis Moßhammer
dbdfd09796
Fix Preferences writing empty values
...
refs #4525
2013-08-21 14:22:30 +02:00
Jannis Moßhammer
9cd4c2f856
Fix codestyle, add basic tests
...
refs #4525
2013-08-21 14:22:30 +02:00
Jannis Moßhammer
21e560cb3b
Capitalize Forms
...
refs #4525
2013-08-21 14:22:30 +02:00