Michael Friedrich
f510130797
Look for ICINGAWEB_CONFIGDIR in $_ENV too.
...
Refs #5638
2014-04-23 11:23:29 +02:00
Thomas Gelf
a7b5893918
Detect TTY support and avoid ANSI colors if none
...
fixes #5992
2014-04-18 14:36:46 +00:00
Thomas Gelf
fa3e7f9fc2
Module list should not throw Exceptions if no config is present
2014-04-17 21:16:51 +00:00
Thomas Gelf
0d6aeb3877
Make CLI logging robust against missing config
2014-04-17 21:09:30 +00:00
Thomas Gelf
3f9bc5dea6
Use no space in syslog application name
2014-04-17 21:04:15 +00:00
Thomas Gelf
f04d765365
Fix routing for static content with internal webserver
2014-04-17 20:59:37 +00:00
Thomas Gelf
d939e12ef9
Only XHR requests use the "inline" layout
2014-04-17 17:03:35 +00:00
Thomas Gelf
6f9c187d47
Default configDir in App bootstrap related to last commit
2014-04-17 17:01:23 +00:00
Thomas Gelf
5fdec39475
More consistent default config dir handling, less configuration
2014-04-17 16:59:10 +00:00
Thomas Gelf
3b20833495
Cosmetic web router changes
2014-04-17 16:47:01 +00:00
Thomas Gelf
83b26bc595
JS-less iFrame rendering improvements
2014-04-17 16:20:03 +00:00
Alexander Klimov
070e608236
Read log file chunkwise
...
resolves #6021
2014-04-17 18:01:24 +02:00
Johannes Meyer
1ed1c0bc3c
Remove user auth and backend tests
...
refs #4639
2014-04-14 11:44:02 +02:00
Johannes Meyer
a844d33735
Do not create alias mock for Icinga\Application\Icinga
...
refs #4639
2014-04-14 08:31:46 +02:00
Johannes Meyer
4c8428423e
Convert existing mocks to Mockery-mocks (Part 1)
...
refs #4639
2014-04-11 17:03:45 +02:00
Johannes Meyer
927772578d
We do not want to use "@backupStaticAttributes enabled"
...
refs #4639
2014-04-11 15:31:29 +02:00
Johannes Meyer
1e69169bab
Fix database tests
...
refs #4639
2014-04-10 11:33:24 +02:00
Johannes Meyer
ccae70bc80
Make all tests inherit from BaseTestCase and fix license headers and style
...
refs #4639
2014-04-10 10:32:50 +02:00
Johannes Meyer
6056327c6d
Fix that it's not possible to set non-existing values in a session with setAll()
...
refs #4639
2014-04-09 16:18:51 +02:00
Johannes Meyer
f9324032cb
Fix autoloader not ignoring vendor prefixed class names
...
refs #4639
2014-04-09 14:20:05 +02:00
Marius Hein
7708b9901f
Drop BaseTestCase static class loader
...
refs #4639
2014-04-09 09:27:01 +02:00
Marius Hein
746cc4b5d9
Drop obsolete test cases
...
refs #4639
2014-04-09 09:26:11 +02:00
Johannes Meyer
3195e6a897
Rewrite preference DbStore
...
refs #5682
2014-04-08 13:28:45 +02:00
Johannes Meyer
a1649a1f22
Refactor PreferencesStore and IniStore
...
refs #5682
2014-04-07 15:13:28 +02:00
Thomas Gelf
a857af60be
Intendation
2014-04-07 12:03:53 +00:00
Thomas Gelf
88cdf99934
More code style
2014-04-07 12:03:53 +00: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
Johannes Meyer
ea44ae3693
Improve failure handling when setting the locale
2014-04-04 15:34:46 +02:00
Johannes Meyer
8be3ccc527
Make it possible to save the session by its associated session namespaces
2014-04-04 11:13:07 +02:00
Johannes Meyer
98b640f1e0
Fix that removed values/namespaces remain in the session storage
...
fixes #5934
2014-04-04 11:10:45 +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
2a10f6184a
Write class documentation
2014-04-02 13:47:02 +02:00
Alexander Klimov
7c599e206e
Make it working
...
refs #4514
2014-04-02 13:47:01 +02:00
Alexander Klimov
933a851f65
Initial commit
...
refs #4514
2014-04-02 13:47:01 +02:00
Johannes Meyer
ae2d61682f
Fix how the timeline processes dates
...
refs #4190
2014-04-02 10:53:39 +02:00
Johannes Meyer
21b9c1f4af
Fix that filters are not preserved on timeline element urls
...
refs #4190
2014-04-01 14:26:10 +02:00
Johannes Meyer
c19791fdd7
Fix brightness calculation in Icinga\Utils\Color
2014-04-01 11:46:44 +02:00
Johannes Meyer
3d658a664c
Do not use logarithm base from session if the timeline is not being extended
...
refs #4190
2014-04-01 11:46:43 +02:00
Johannes Meyer
f5e4331d71
Add timeline view script and styles
...
refs #4190
2014-04-01 11:46:43 +02:00
Johannes Meyer
b0709d8cba
Revert postDispatch -> preDispatch change in ActionController
...
refs #4190
2014-04-01 11:44:25 +02:00
Johannes Meyer
862b50264a
Fix that the queryfilter parser cannot handle integer values
2014-04-01 11:44:24 +02:00
Johannes Meyer
aade2ab7f6
Move timeline classes into the monitoring module
...
refs #4190
2014-04-01 11:44:24 +02:00
Johannes Meyer
0a146b4bb4
Clientside scrolling implementation [WIP]
...
refs #4190
2014-04-01 11:44:24 +02:00
Johannes Meyer
fd07393e44
Fix event interpolation
...
refs #4190
2014-04-01 11:44:24 +02:00
Johannes Meyer
9d3935f15b
Improve timeline layout
...
refs #4190
2014-04-01 11:44:24 +02:00
Johannes Meyer
25f4b50ce7
Implement timeline rendering
...
refs #4190
2014-04-01 11:44:24 +02:00
Johannes Meyer
103d43ea77
Implicitly add an TimeEntry's weight when calling getValue()
...
refs #4190
2014-04-01 11:44:24 +02:00
Johannes Meyer
34f25c6009
Return timeframes when iterating over TimeRange objects
...
refs #4190
2014-04-01 11:44:24 +02:00
Johannes Meyer
40f70eb572
Fix license header
...
refs #4190
2014-04-01 11:44:24 +02:00
Johannes Meyer
86839e757d
Add interval selectbox and group legend
...
refs #4190
2014-04-01 11:44:24 +02:00
Johannes Meyer
a589460de3
Make TimeEntry creation more flexible
...
TimeEntry objects are now created with the fromArray
constructor instead of the default one.
refs #4190
2014-04-01 11:44:23 +02:00
Johannes Meyer
b168cf878d
Fix type specification in DowntimestarthistoryQuery
...
refs #4190
2014-04-01 11:44:23 +02:00
Johannes Meyer
ba541b402d
Add timeline helper classes
...
#refs 4190
2014-04-01 11:44:23 +02:00
Thomas Gelf
1beb837783
A few little code cleanups
2014-03-31 16:35:28 +00:00
Thomas Gelf
056b8d5395
Coding style
2014-03-31 16:30:27 +00:00
Matthias Jentsch
d3c4660c2d
Fix colors of svg charts in Firefox
2014-03-31 12:35:39 +02:00
Thomas Gelf
947ad34153
Get web router ready for .htaccess removal
2014-03-28 19:46:58 +00:00
Johannes Meyer
bafa8cc032
Fix authentication error handling
2014-03-28 14:45:03 +01:00
Thomas Gelf
ade2121302
Router, once again
2014-03-27 20:00:43 +00:00
Thomas Gelf
ff6859d1d1
One more router fix
2014-03-27 19:47:11 +00:00
Thomas Gelf
fcde513c24
Router fixes for SVG images
2014-03-27 19:39:38 +00:00
Johannes Meyer
3beec6e102
Fix exception thrown during re-routing without parameters
2014-03-27 12:04:10 +01:00
Thomas Gelf
08945257dc
Add alias detection to web router script
2014-03-27 09:33:45 +01:00
Thomas Gelf
5c89512e05
New router needs JavaScript and Stylesheet handlers fitting it's needs
2014-03-27 07:32:02 +00:00
Thomas Gelf
cb5d90ad41
Simplify pre-bootstrapping web routing
2014-03-27 07:25:53 +00:00
Matthias Jentsch
2360f21b09
Fix InlinePie boundaries and use floats for the PieSlice path coordinates
...
Use floats as path coordinates in PieSlices, to
avoid that the start and ending position of the arc are at the exact same
position. This would cause buggy behavior, when displaying values like "99,999%".
refs #5863
2014-03-26 17:06:21 +01:00
Matthias Jentsch
15723f088b
Include SVG piecharts in perfData helpers
...
When no JavaScript is available, SVG piecharts will be shown instead of the
jQuery sparklines.
fixes #5865
2014-03-26 14:56:35 +01:00
Thomas Gelf
faec625912
Ship module JS files even with minified JS
2014-03-26 09:24:27 +00:00
Thomas Gelf
eeaec20873
Add support for server-side triggered CSS reload
2014-03-26 07:58:00 +00:00
Thomas Gelf
87f90b6bdd
Replace escaped ampersands in URLs with & for redirects
...
* NB: Icinga\Web\Url could provide a method for this
2014-03-26 07:56:30 +00:00
Johannes Meyer
18b825a24b
Add missing keyword "new" in class SessionNamespace
2014-03-25 13:24:06 +01:00
Johannes Meyer
f802b36ca9
Move session class files
2014-03-25 11:13:10 +01:00
Johannes Meyer
9ab53558f0
Add helper to get window-aware session namespaces
2014-03-25 11:13:10 +01:00
Thomas Gelf
9c5eb19af6
Re-add potentially obsolete dynamic Widget properties
2014-03-25 07:23:14 +00:00
Thomas Gelf
01f94c574d
Handle window-id requests, allowing us to identify distinct windows
2014-03-21 13:27:44 +00:00
Thomas Gelf
fea7e8993b
Allow LDAP queries without objectClass filter
2014-03-21 10:31:12 +00:00
Thomas Gelf
aed6d74ecd
Add recursive delete support to LDAP Connection
2014-03-20 15:46:10 +00:00
Thomas Gelf
12933ee706
Add children count to LDAP root node
2014-03-20 15:45:36 +00:00
Thomas Gelf
292ce6e12b
Fix SSH CommandPipe transport. Did anyone ever test this?
2014-03-20 14:05:57 +00:00
Johannes Meyer
ea473cf08a
Fix sorting of pivot tables
2014-03-20 13:21:28 +01:00
Johannes Meyer
bf717654f0
Add more consistency to the servicematrix when switching pages
2014-03-20 11:30:55 +01:00
Thomas Gelf
3059228378
Fix JS support for modules
2014-03-20 09:55:29 +00:00
Michael Friedrich
4ce7ea503f
Rename help and documentation to icingacli.
...
Refs #5802
2014-03-19 17:25:53 +01:00
Johannes Meyer
1604f4728b
Fix that the TreeToSqlParser cannot handle partial conjunction nodes
2014-03-19 09:11:25 +01:00
Johannes Meyer
e355415164
Fix that queryfilters are being ignored by the parser
2014-03-19 09:11:25 +01:00
Johannes Meyer
617b6822d7
Add pagination support to the servicematrix
...
refs #4180
2014-03-19 09:11:24 +01:00
Johannes Meyer
dbab546f0a
Make page/limit params work if either of those is hardcoded
2014-03-19 09:11:24 +01:00
Johannes Meyer
eae4cd3b2a
Add support for distinct database queries
...
refs #4180
2014-03-19 09:11:24 +01:00
Johannes Meyer
13b509bf4b
Do not display hosts without any services in the servicematrix
...
refs #4180
2014-03-19 09:11:24 +01:00
Johannes Meyer
0a5c2c5bd7
Make filtering/sorting of the servicematrix work
...
refs #4180
2014-03-19 09:11:24 +01:00
Johannes Meyer
71f4b6960b
Add servicematrix view
...
refs #4180
2014-03-19 09:11:24 +01:00
Thomas Gelf
58248c34a9
Remove width & height settings from dashboard components
2014-03-17 17:43:45 +00:00
Thomas Gelf
462bb2e4d5
Fix obsolete Logger::warn in Ldap\Connection
2014-03-17 16:18:33 +00:00
Thomas Gelf
7fc47ef961
Increase DB-Connection default timeout, 2 secs are sometimes too harsh
2014-03-17 16:17:55 +00: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
757570cdc2
Improve Action Controller postDispatch readability
2014-03-17 17:11:08 +01:00
Thomas Gelf
4466053679
Widgets should inherit common base class
...
* Get rid of the pass-view-object-around approach
* Remove <i> tags
* Remove PHP_EOL where it doesn't make sense
* Fix small HTML issues
2014-03-17 17:04:09 +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
c76729a821
Fix CLI complaining without log config
2014-03-11 20:45:01 +01:00
Alexander Klimov
7d08636af4
Handle missing config files more intelligent
2014-03-11 15:43:41 +01:00
Thomas Gelf
11c44af35e
Remove obsolete requestId
2014-03-09 23:21:27 +01:00
Thomas Gelf
ee01b28646
Replace tabs with whitespaces
2014-03-09 21:16:56 +01:00
Thomas Gelf
7449f2565a
Make timeUntil behave like timeSince
2014-03-09 21:12:24 +01:00
Michael Friedrich
df0dbaad5c
Fix null value in timestamp format.
2014-03-09 20:53:38 +01:00
Thomas Gelf
93dc45241a
Fix missplaced autosubmit in sort box
2014-03-09 18:02:12 +01:00
Thomas Gelf
4d48f4fb0e
Filter form restyle dirty preview
2014-03-09 02:03:06 +01:00
Thomas Gelf
e480ed7aad
We have no data-icinga-component
2014-03-09 01:59:27 +01:00
Thomas Gelf
796265d304
Widget interface is useless, prepare for removal in favour of AbstractWidget
2014-03-09 01:58:42 +01:00
Thomas Gelf
bd7280305a
Cast widget render() result when casting to string
2014-03-09 01:57:25 +01:00
Thomas Gelf
0fe493b007
Allow us to have responses with no output not rendered in JS
2014-03-08 12:07:03 +01:00
Thomas Gelf
713bd83aee
Font changes to improve chart readability
2014-03-07 23:31:51 +00:00
Thomas Gelf
296d8c7969
Send notifications on site reload and via XHR
2014-03-07 23:15:51 +00:00
Thomas Gelf
4603219677
Undefined variable in Web\Notification
2014-03-07 23:15:16 +00:00
Thomas Gelf
3286dfe202
Style benchmark output
2014-03-07 17:03:43 +00:00
Thomas Gelf
d575356df1
Fix PDF image path resolution for Icingaweb in Apache subdirs
2014-03-07 15:15:32 +00:00
Marius Hein
c92e1307f6
Fix: Database login
...
fixes #5706
2014-03-06 14:07:33 +01:00
Alexander Klimov
b410ebeed6
Remove unnecessary spaces at end of line
2014-03-06 13:08:11 +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
9971030965
Send PDF BEFORE we take care of custom headers
2014-03-06 11:15:28 +00:00
Thomas Gelf
063939b73a
We don't die unless we're dead ;)
2014-03-06 11:14:21 +00:00
Thomas Gelf
294d8f87bf
Move moduleContainer to a separate function as it will be removed
2014-03-06 11:13:07 +00:00
Thomas Gelf
e4540a2cf3
Fix type/HTML error in HistoryColorGrid
2014-03-06 10:07:38 +00:00
Thomas Gelf
e930df4c54
Provide a method to generate PDF CSS
2014-03-06 09:21:32 +00:00
Thomas Gelf
c5ad14e781
Dashlet title links should not replace the dashlet
2014-03-06 09:20:40 +00:00
Matthias Jentsch
819e7e9806
Implement Widget to display problems as matrix over time
...
refs #5703
2014-03-05 20:19:09 +01:00
Thomas Gelf
af7ca57b41
Clean up JavaScript and CSS loaders, prepare for minimized delivery
2014-03-04 15:15:08 +00:00
Thomas Gelf
127b7ad389
Allow us to find out where /public is to be found
2014-03-04 15:13:13 +00:00
Thomas Gelf
b09ea7c690
Sample ticket hook
2014-03-04 12:50:49 +00:00
Thomas Gelf
22e5ca34bc
Autorefresh, custom headers and _render in ActionController
2014-03-04 11:37:54 +00:00
Thomas Gelf
db8280ef3b
New vendor library: JShrink
2014-03-04 11:24:00 +00:00
Thomas Gelf
215d9df111
Add Dashboard::getActivePane() and complain when asking for invalid one
2014-03-04 11:18:28 +00:00
Thomas Gelf
6d3db4732a
Whitespace
2014-03-04 11:17:27 +00:00
Thomas Gelf
8c78600841
JS components are gone
2014-03-04 11:15:56 +00:00
Thomas Gelf
76c322901c
Prototype for icingacli web serve
2014-03-04 11:13:43 +00:00
Thomas Gelf
0ecf01cae8
Deliver empty preferences unless we configured such
2014-03-04 10:14:20 +00:00
Thomas Gelf
c1177b72e7
loadConfig renamed in EmbeddedWeb
2014-03-04 10:14:00 +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
Thomas Gelf
3ac276e652
Quickfix to get master-1 running
2014-03-04 09:31:17 +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
99668e87e5
Refresh session id on Authentication
...
To prevent session fixation, create a new session id each time authenticate is
called.
refs #5625
2014-02-26 19:23:34 +01:00
Matthias Jentsch
b118e9679d
When webserver setting is missing regular authentication will be used
...
Check if the remote user is set and use regular authentication when the key is missing.
refs #5405
2014-02-26 18:08:48 +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
ec308ece93
Remove old log wrapper
...
refs #5683
2014-02-26 13:49:29 +01:00
Johannes Meyer
1e7c863e3c
Add stream writer
...
refs #5683
2014-02-26 13:47:16 +01:00
Johannes Meyer
3555e66018
Make IcingaWeb using the new log wrapper
...
refs #5683
2014-02-26 11:19:52 +01:00
Johannes Meyer
05cb0cb87a
Add syslog writer
...
refs #5683
2014-02-26 10:50:06 +01:00
Johannes Meyer
43c18261ea
Add new log wrapper
...
refs #5683
2014-02-26 10:47:02 +01:00