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
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
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
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
bd38e998d7
Provide a cleaner interface for the Authentication Backends
...
refs #4786
2013-11-06 14:49:16 +01:00
Matthias Jentsch
59d4baff0b
Fix remaining references to DbUserBackend and refresh the documentation.
...
refs #4786
2013-11-06 13:31:07 +01:00
Matthias Jentsch
ad08691362
Extend resources.ini to contain all resources, including ldap
...
Remove the old calls to DbAdapterFactory and use ResourceFactory instead. Remove
the DbAdapterFactory and fix all unit tests that have been broken due to the changes.
Change the functionality of the ResourceFactory to also handle LdapConnections
resolves #4587
2013-11-06 10:20:15 +01:00
Eric Lippmann
2387380399
Statusdat: Set default cachepath to '/tmp'; disable caching when path is not writable
2013-10-28 12:46:19 +01:00