Alexander Klimov
febb2d1ae2
ProgrammingError: extend IcingaException
...
refs #6931
2014-08-26 11:15:19 +02:00
Alexander Klimov
6c9947326d
NotReadableError: extend IcingaException
...
refs #6931
2014-08-25 12:38:34 +02:00
Alexander Klimov
9c5878cbbe
ConfigurationError: extend IcingaException
...
refs #6931
2014-08-22 11:46:11 +02:00
Alexander Klimov
8733238a6e
Loader::registerNamespace(): correct exception message
2014-08-21 12:40:41 +02:00
Eric Lippmann
e005333806
Merge branch 'master' into feature/display-documentation-4820
2014-07-22 12:25:58 +02:00
Johannes Meyer
eb977b7a55
Fix wrong variable assignment causing preferred languages not being set
2014-07-16 15:17:14 +02:00
Johannes Meyer
3105c2059e
Remove license headers from all files
...
refs #6309
2014-07-15 13:43:52 +02:00
Eric Lippmann
906c132dc0
Merge branch 'master' into feature/display-documentation-4820
2014-07-11 16:05:09 +02:00
Eric Lippmann
545a153490
Merge branch 'master' into bugfix/test-fix-6542
2014-07-02 10:57:08 +02:00
Eric Lippmann
db5c6631d9
Merge branch 'master' into feature/display-documentation-4820
...
Conflicts:
modules/doc/library/Doc/Controller.php
2014-07-01 12:42:55 +02:00
Johannes Meyer
7eb0f3c472
Remove @codingStandardsIgnoreStart/-Stop annotations
...
refs #6091
2014-06-30 13:59:58 +02:00
Johannes Meyer
f2e5d8afa5
Remove @codeCoverageIgnoreStart/-Stop annotations
...
refs #6091
2014-06-30 13:58:37 +02:00
Alexander Klimov
7ab984106a
Replace Exception with Icinga\Exception\ProgrammingError in Icinga\Application\Loader
...
refs #6542
2014-06-27 15:20:56 +02:00
Johannes Meyer
7f99be73fd
Adjust usages of Icinga\Util\File to suit the new interface introduced earlier
2014-06-26 15:57:14 +02:00
Johannes Meyer
2fc793096a
Use the preferred language sent by the browser, not the configured one
...
refs #6074
2014-06-25 12:15:41 +02:00
Alexander Klimov
53de3686a8
Bootstrap: Only replace config dir with its canonicalised absolute pathname when the dir exists
2014-06-25 11:59:09 +02:00
Alexander Klimov
a18058e185
lib: Assume relative path for Config::resolvePath()
2014-06-25 11:59:09 +02:00
Alexander Klimov
ebca81b040
Revert "Make preferences INI path NOT be configurable"
...
This reverts commit f2693613d1
.
2014-06-25 11:59:08 +02:00
Alexander Klimov
fdf74c5e18
Revert "Make preferences INI path NOT be configurable"
...
This reverts commit 219869607d
.
2014-06-25 11:59:08 +02:00
Thomas Gelf
13ef06c700
Modules\Module: modules should register config tabs
...
This allows modules to register their config tabs and provides a
convenient way to fetch a modules fully instanced config tabs.
2014-06-24 20:47:03 +02:00
Alexander Klimov
219869607d
Make preferences INI path NOT be configurable
...
fixes #6567
2014-06-24 18:29:28 +02:00
Alexander Klimov
f2693613d1
Make preferences INI path NOT be configurable
...
refs #6567
2014-06-24 18:00:40 +02:00
Alexander Klimov
3e31ff65a4
Prefer dirname rather than pathinfo
2014-06-24 15:57:13 +02:00
Alexander Klimov
6daccae30e
Optimize IcingaConfig::resolvePath
2014-06-24 15:45:19 +02:00
Alexander Klimov
6e4bf73c36
Compute config file paths properly
...
fixes #6564
fixes #6534
2014-06-24 14:54:31 +02:00
Alexander Klimov
9bab7c0323
Signal that resolvePath doesn't support Windows
...
refs #6564
2014-06-24 13:22:43 +02:00
Alexander Klimov
ff87588d96
Don't let config path seem absolute where it isn't
...
refs #6534
2014-06-24 10:12:07 +02:00
Johannes Meyer
c563479888
Use Icinga\Util\File instead of fopen
2014-06-23 15:02:06 +02:00
Thomas Gelf
7d6fd45466
Application\Web: use same request everywhere
2014-06-22 14:13:00 +02:00
Thomas Gelf
b7fc0b67a8
Web/controllers: use own Request/Response objects
...
* introduces Icinga\Web\Response
* uses ModuleActionController where necessary
* no module translationDomain voodoo in base ActionController
2014-06-22 13:49:21 +02:00
Thomas Gelf
559457f730
Bootstrap/timezone: do not enforce config
...
The current way forces people running a correctly configured PHP
to configure timezone once again in Icinga Web. We want LESS config,
so this tries to fix this.
2014-06-20 12:54:37 +02:00
Thomas Gelf
d2ccc68214
Merge remote-tracking branch 'origin/master' into feature/query-interfaces-6018
...
Conflicts:
modules/monitoring/application/controllers/ListController.php
2014-06-17 09:47:14 +00:00
Eric Lippmann
25a73ea3a1
Merge branch 'master' into feature/display-documentation-4820
2014-06-13 17:29:41 +02:00
Thomas Gelf
44a7aa6adb
JS/IE8: deliver legacy jQuery for IE8
...
This patch makes IcingaWeb deliver a legacy jQuery version for IE8
as it is no longer supported in jQuery 2.x. JS for IE8 will not be
delivered minified to ease troubleshooting on that buggy platform.
fixes #5866
refs #6417
2014-06-12 17:33:28 +00:00
Johannes Meyer
159d765f14
Fix that calling ActionController::translate() throws an exception
...
Translating strings must not throw an exception
even if the given domain is not valid.
fixes #6432
2014-06-11 13:39:22 +02:00
Eric Lippmann
160a75403d
Merge branch 'master' into feature/display-documentation-4820
...
Conflicts:
modules/doc/library/Doc/DocParser.php
2014-06-06 14:25:13 +02:00
Thomas Gelf
1fbca25d99
Data\DataArray: use SimpleQuery and new interfaces
...
Removed ArrayQuery implementation as SimpleQuery is enough here.
Renamed the Datasource class to ArrayDatasource.
refs #6418
2014-06-06 06:21:35 +00:00
Thomas Gelf
8df26bb5f5
bootstrapping: add a dispatchModule() shortcut
...
This allows to easily jump into a specific modules CLI controllers.
refs #6411
2014-06-04 23:39:12 +00:00
Thomas Gelf
eadb6cb518
bootstrapping: allow to retrieve a modules base...
...
...directory if it has been loaded but neither enabled nor installed.
refs #6411
2014-06-04 22:59:48 +00:00
Thomas Gelf
0e6aecbd43
bootstrapping: allow to load modules neither...
...
...enabled nor installed by passing their base directory. In favour
of this parameter I dropped the possibility to inject a Module class
for testing purposes. There is no such test and I see no point in
doing so.
refs #6411
2014-06-04 22:57:50 +00:00
Thomas Gelf
e076d2d1d6
bootstrapping: create only one CLI loader instance
...
This used to work fine as long as you didn't try to interfere from
outside to influence the cli loader. The instance returned by
cliLoader() was not the same as used internally once dispatching the
CLI command.
refs #6411
2014-06-04 22:52:38 +00:00
Thomas Gelf
a221afd933
bootstrapping: autoloader exceptions should not...
...
...require to be autoloaded.
refs #6411
2014-06-04 22:50:08 +00:00
Thomas Gelf
602b448505
bootstrapping: only web should depend on forms
...
This fixes the problem that CLI scripts or other applications without
an application directory would badly fail because of missing web forms.
refs #6411
2014-06-04 22:46:16 +00:00
Thomas Gelf
bdc3423d4e
packaging/config: allow to override APPDIR
...
It is now possible to either define ICINGAWEB_APPDIR in an Environment
variable or to define it as a PHP constant before bootstrapping.
fixes #6400
2014-06-04 21:22:29 +00:00
Thomas Gelf
55880cb5a3
packaging/config: rename ICINGA_APPDIR
...
Renamed ICINGA_APPDIR to ICINGAWEB_APPDIR for consistency. This way
it fits ICINGAWEB_CONFIGDIR.
refs #6400
2014-06-04 21:11:27 +00:00
Thomas Gelf
e992f152bb
packaging/configuration: get rid of _ENV
...
We should use _SERVER for our settings as it works fine on CLI and
for web servers.
refs #6400
2014-06-04 21:08:49 +00:00
Marius Hein
29f593a357
Authentication: Add backend to handle external authentication
...
Drop external auth configuration from config.ini and move
implementation into a single backend provider named
'autologin'. This provider can strip realm names from
username with a custom regexp.
fixes #6081
2014-06-03 17:59:22 +02:00
Marius Hein
a0459d0172
ExternalAuthentication: Move authenticationMode to config.ini
...
fixes #6214
2014-06-03 15:26:15 +02:00
Marius Hein
160a95e32d
Bootstrap/Web: Only load authentication.ini if needed
...
fixes #6238
2014-06-03 14:16:01 +02:00
Marius Hein
79fb8b1e0d
Config: Remove base path subsitution
...
Test for leading slash and prepend base path to allow
absolute configuration files.
fixes #5556
2014-06-02 14:54:31 +02:00