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
Thomas Gelf
6ebe723f7e
Remove obsolete data attributes from filter box, add placeholder
2014-02-25 10:27:11 +00:00
Thomas Gelf
912b3a6478
Remove obsolete form classes
2014-02-25 10:05:14 +00:00
Thomas Gelf
96b7cb279c
Quickfix for dompdf woes
2014-02-21 14:05:28 +00:00
Thomas Gelf
dfb261a5ca
Don't do automagic PDF pagination per default
2014-02-21 14:05:27 +00:00
Thomas Gelf
a79df3943a
Formatter should fail for invalid data
2014-02-21 14:04:40 +00:00
Thomas Gelf
1b4f055bfa
Adjusted tab extensions to fit new URLs
2014-02-21 14:03:49 +00:00
Eric Lippmann
73dc6c3c27
Render "inline" layout if the view parameter is set to "compact"
2014-02-21 14:03:49 +00:00
Eric Lippmann
7033c41503
Fix Fatal error: Can't inherit abstract function Icinga\Web\Widget\Widget::render()
2014-02-21 14:03:49 +00:00
Eric Lippmann
94a900bb5c
Remove deprecated code
2014-02-21 14:03:49 +00:00
Thomas Gelf
f9f522d599
Re-allow dashboard to render itself
2014-02-21 14:03:49 +00:00
Thomas Gelf
cea4923eae
Temporarily re-added AbstractWidget, we should discuss this
2014-02-21 14:03:48 +00:00
Thomas Gelf
b7de09f6ba
Render 'inline' if xhr request, missing use added
2014-02-21 14:03:48 +00:00
Thomas Gelf
db19ddca25
Added module container, may be dropped again
2014-02-21 14:03:47 +00:00
Thomas Gelf
6b308986d1
Small syntax changes
2014-02-21 14:03:47 +00:00
Thomas Gelf
ac0faa26a8
Started to restructure less compiler:
...
* Combine all files and compile once
* Allow to collect module less files
* No recursion
2014-02-21 14:03:47 +00:00
Thomas Gelf
b6dbfaa6b8
Add image size support to parsedown
2014-02-21 14:03:47 +00:00
Thomas Gelf
62ca46e9cd
Re-added widget loader
2014-02-21 14:03:47 +00:00
Thomas Gelf
34316ccbca
Lighter tab html, support casting to string
2014-02-21 14:03:47 +00:00
Thomas Gelf
73fdcdef47
use without backslash
2014-02-21 14:03:47 +00:00
Thomas Gelf
445c981d01
Tab extensions use imgs instead of icons
2014-02-21 14:03:47 +00:00
Thomas Gelf
3faf1ec725
Lighter HTML in the dashboard component, handle missing URLs
2014-02-21 14:03:47 +00:00
Thomas Gelf
9e66d22c76
One more TODO: Query-String handling in action controller
2014-02-21 14:03:47 +00:00
Thomas Gelf
69538270f7
Action controller example function: Config()
2014-02-21 14:03:47 +00:00
Thomas Gelf
450670d55e
Temporarily ignore logged errors
2014-02-21 14:03:46 +00:00
Johannes Meyer
872da0c699
Remove echo instruction from Icinga\Chart\Palette
2014-02-21 14:20:54 +01:00
Johannes Meyer
68357e9ca2
Fix coding style
2014-02-21 14:07:32 +01:00
Eric Lippmann
25665dec24
Vagrant: Add authentication.ini and resources.ini to /etc/icingaweb
...
refs #5638
2014-02-21 10:16:16 +01:00
Eric Lippmann
7fa6668b64
Make Icinga Web 2 work without any config file
...
refs #5638
fixes #5523
2014-02-20 13:53:28 +01:00
Matthias Jentsch
3a10188e81
Move inline chart rendering into separate classes
...
refs #5679
2014-02-19 18:59:54 +01:00
Matthias Jentsch
a2baf4217b
Add php script to render dynamic svgs of inline charts
...
Add a php script to render dynamic SVGs as a fallback and add a widget to draw
inline charts.
refs #5679
2014-02-19 18:29:59 +01:00
Matthias Jentsch
c17cd2df34
Fix layout of GridChart
...
Introduce diagonal layout for x-axis, use bigger fonts and set the bar-rendering
to use a bigger default-width
fixes #5672
2014-02-18 18:44:42 +01:00
Eric Lippmann
8edf421c45
Replace debug log with respecting log priorities
...
refs #5638
fixes #5522
2014-02-18 14:46:15 +01:00
Eric Lippmann
c5f016b220
Fix executable flags on normal files
...
fixes #5040
2014-02-18 09:49:40 +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
Eric Lippmann
08d7edebfc
Decouple (automatic) preferences storage from user preferences (WIP)
...
DbStore, persisting preferences and tests not yet reworked.
2014-02-14 17:28:11 +01:00
Thomas Gelf
9647c37516
Fix LDAP DN concatenation, allow to define a search base
2014-02-14 14:38:52 +00:00
Thomas Gelf
7a02d278ce
We don't want others to care about our bootstrap dependencies
2014-02-14 14:12:12 +00:00
Thomas Gelf
d63fee064d
Make sure DB profiler is disabled per default to avoid memory leaks
2014-02-14 13:51:28 +00:00
Thomas Gelf
e115d8e893
Sample module metadata implementation
2014-02-14 13:48:51 +00:00
Thomas Gelf
cb923453c9
getCssFilename signature added
2014-02-14 13:42:57 +00:00
Thomas Gelf
6b027a0dc3
Make module CSS (less) filename accessible
2014-02-14 13:41:03 +00:00
Thomas Gelf
3cfa05d420
Static controller parameter must match registered route
2014-02-14 13:40:10 +00:00
Thomas Gelf
db6dbdd381
Autoloader should not fail on missing module library directory
2014-02-14 13:38:55 +00:00
Thomas Gelf
7dbede12fb
Remove obsolete register script traces
2014-02-14 13:37:45 +00:00
Thomas Gelf
c68bce2f3d
Embedded "light" web bootstrapping adapted new module loading
2014-02-14 13:22:15 +00:00
Thomas Gelf
6096b23a76
CLI fix for --watch, hide autocomplete documentation
2014-02-14 13:19:56 +00:00
Eric Lippmann
41ffa1d7c2
Fix PHP Fatal error: Class 'Icinga\Authentication\Membership' not found in ManagerTest.php
2014-02-14 12:11:49 +01:00
Eric Lippmann
d6768872c7
Revert "Change setup behavior of the AuthenticationManager to a lazy approach"
...
This reverts commit 226eb4eded
.
Conflicts:
library/Icinga/Authentication/Manager.php
This fix is not appropriate
refs #5506
2014-02-14 11:20:33 +01:00
Eric Lippmann
9cbfe88ea6
Do not exit the application when the logger has errors logged during bootstrap and stop preference loading on every request
...
Only fatals should exit the application.
Preferences must be loaded only once after login.
2014-02-14 10:56:29 +01:00
Eric Lippmann
3e04122e34
Do not set UTC in index.php
...
refs #5638
fixes #5530
2014-02-14 10:56:29 +01:00
Eric Lippmann
a630a96e01
Do not require ApplicationBootstrap in index.php
...
refs #5638
fixes #5529
2014-02-14 10:56:29 +01:00
Marius Hein
8a604f1c2c
Implement structures for permissions, restrictions and membership
...
refs #4624
2014-02-12 17:03:18 +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
Matthias Jentsch
58f5602f18
Fix dompdf library directory
...
refs #4356
2014-02-12 12:36:20 +01:00
Matthias Jentsch
4e5569371f
Show only mainDetailGrid in pdf and move css fixes to less-directory
...
refs #4356
2014-02-12 12:11:49 +01:00
Matthias Jentsch
a064ef520d
Fix page-break on table rows
...
The dompdf library messes up the document layout, when page breaks reach over
several sites and will eventually even crash completely. Add a function to
split up tables in different chunks to fix this issue.
refs #4356
2014-02-12 12:11:49 +01:00
Matthias Jentsch
db0f61fff1
Convert the opened view to pdf
...
refs #4356
2014-02-12 12:11:49 +01:00
Matthias Jentsch
124b42c9f1
Remove tcpdf library and use dompdf instead
...
Remove tcpdf because of improper CSS support and use Dompdf instead, to be able
to generate pdfs that look similar to the html views
refs #4356
2014-02-12 12:11:01 +01: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
Marius Hein
7b55f3a2bd
Implement register and run php scripts for modules
...
refs #5597
2014-02-11 17:12:17 +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
75577cec51
Modules/doc: Replace Michelf/Markdown with Parsedown
...
refs #4820
2014-02-11 15:09:03 +01:00
Thomas Gelf
89f6bedb10
Afoid flickering on CLI when using --watch
2014-02-07 10:23:29 +00:00
Thomas Gelf
3d636423c8
MenuItem renamed, small fixes
...
* One less namespace, better naming
* hasItem() added
* throws Exception when trying to access invalid Items
* Automagically creates missing parents when adding named childs
2014-02-03 14:16:17 +00:00
Johannes Meyer
56abc53a2b
Properly fix the default locale issue
2014-02-03 12:22:13 +01:00
Johannes Meyer
3aee13cd9b
Fix that en_US is used as default locale
...
Using this locale is not an issue, but it might not be available in a user's environment
2014-02-03 11:05:28 +01:00
Alexander Klimov
06accbd8e2
Make webcolors array look more table-like
2014-01-31 11:15:28 +01: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
Johannes Meyer
bd34669357
Refactor i18n implementation
...
One can now use $this->translate(msg) in a view or controller without the
need to pass the module domain (web&cli). Forms still need to be built
with _t(msg) and _mt(dom, msg).
refs #5533
2014-01-29 16:25:08 +01:00
Johannes Meyer
f4a00d24e5
Fix exception when a module has no menu configuration
2014-01-29 12:09:35 +01:00
Johannes Meyer
0b28bd31e5
Fix exception when the password of a valid ldap user is invalid
2014-01-29 10:41:17 +01:00
Eric Lippmann
77f7c9c1a6
Fix menu throwing an exception when a parent menu item does not exist
...
refs #3759
2014-01-28 14:43:43 +01:00
Eric Lippmann
48f5eebd53
Menu: Fix code compliance
...
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
Eric Lippmann
71c3fd831f
Fix Call to a member function getPreferences() on a non-object when not logged in
2014-01-27 13:22:29 +01:00
Johannes Meyer
1b5b26c2bb
Add window awareness
...
refs #5510
2014-01-24 14:44:19 +01:00
Johannes Meyer
2bf9b96aab
Extend functionality of session namespaces and add tests
...
refs #5510
2014-01-24 14:44:19 +01:00
Johannes Meyer
efa23ad422
Allow sessions to be reopened
...
refs #5510
2014-01-24 14:44:19 +01:00
Johannes Meyer
cf778d4609
Implement session namespaces
...
refs #5510
2014-01-24 14:44:19 +01:00
Johannes Meyer
ac0b041523
Remove session handling from the authentication manager
...
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
Thomas Gelf
e0af544c14
Multiple installations paths for all Bootstrappers
...
No longer instantiating moduleManager twice, now the CLI is also
able to benefit from multiple module installation paths. Modules
lists are now sorted.
2014-01-24 09:48:30 +00: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
bb1c560e22
Splitted module manager setup and module loading in bootstrap code
...
Allows different implementations (Web, Cli...) to behave differently
without duplicating code
2014-01-22 17:11:26 +00:00
Thomas Gelf
977b360b66
Url::create has been renamed, was still in use in File\Pdf
...
refs #4356
2014-01-22 15:20:04 +00:00
Thomas Gelf
6ef87f4644
Example showing restriction usage in the monitoring module
...
fixes #4108
2014-01-22 13:34:39 +00:00
Thomas Gelf
0f565aae6a
Added permission handlers and related sample config reader
...
Please see feature #4108 for sample usage
refs #4108
2014-01-22 13:06:59 +00:00
Eric Lippmann
fa861c2c85
Replace Mitchelf/Markdown with Parsedown
...
fixes #5518
2014-01-22 14:04:55 +01:00
Thomas Gelf
32c897c0c9
Added some benchmark noise to DB queries
...
We need this to track down current performance issues, refs #5534
2014-01-22 12:36:44 +00:00
Thomas Gelf
ad7e4451eb
There is no "The" and no "Optional" Data class
2014-01-22 12:34:46 +00:00
Thomas Gelf
2288751aaf
Better error message in LDAP connection capability test
2014-01-22 12:30:02 +00:00
Matthias Jentsch
14ff354a76
Merge branch 'master' of git.icinga.org:icingaweb2
2014-01-22 13:08:54 +01:00
Thomas Gelf
5661e41c73
Trace option for CLI commands
...
Added --trace to show full stack trace if an exception is thrown
fixes #5555
2014-01-22 12:08:20 +00:00
Matthias Jentsch
226eb4eded
Change setup behavior of the AuthenticationManager to a lazy approach
...
The authentication manager should only try to set up all backends when
necessary. Remove the backend setup from the constructor and call it only when it is actually needed.
fixes #5506
2014-01-22 13:04:11 +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
ad56868af5
Fix Stream writer, has been broken with syslog fix
2014-01-22 12:02:25 +00: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
ba5ea18adf
CLI should load modules and not enable them
...
fixes #5527
2014-01-22 11:36:11 +00:00
Thomas Gelf
6e3e9b46a4
Last commit was incomplete
...
refs #4108
2014-01-22 10:31:24 +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
Thomas Gelf
30208c3a30
Internally rename module registerscript to runScript
...
We will probably rename the 'register' script itself, as we need to
distinct between setup/configuration-related tasks and tasks that need
to be executed with each single click.
refs #4108
2014-01-22 09:54:59 +00:00
Thomas Gelf
aa1a2316cb
Avoid syslog-related exceptions
...
refs #5522
2014-01-22 09:26:45 +00:00
Marius Hein
afbe8f0fcb
Implement move on LDAP Connection
...
refs #5202
Conflicts:
library/Icinga/Protocol/Ldap/Connection.php
2013-12-17 14:32:48 +01:00
Marius Hein
f7324e73a3
User class bugfix
...
refs #5151
2013-11-28 17:31:41 +01:00
Marius Hein
263f09a94c
Add email column to extensible features
...
refs #5151
2013-11-28 17:23:55 +01:00
Marius Hein
93d233f37d
Make DbUserBackend extensible
...
Fix: Swap hmac secret key
refs #5151
2013-11-27 11:10:07 +01: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