Louis Sautier
083c1a9e6b
Fix some spelling errors in comments and messages
...
fixes #8633
Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-03-08 15:32:22 +01:00
Eric Lippmann
6bae2e0a53
Note that our license is GPL v2 or any later version in our license header instead of pointing to the license's URL
2015-02-04 10:52:27 +01:00
Eric Lippmann
5b4fab0750
Add license header
...
This time without syntax errors hopefully :)
2015-02-03 16:27:59 +01:00
Eric Lippmann
5fa2e3cfdc
Revert "Add license header"
...
This reverts commit 338d067aba
.
2015-02-03 16:16:26 +01:00
Eric Lippmann
338d067aba
Add license header
...
fixes #7788
2015-02-03 15:51:04 +01:00
Johannes Meyer
f5a651664c
Create the enabledModules directory when necessary only as well
...
refs #8219
2015-01-30 16:16:12 +01:00
Eric Lippmann
916868a051
Revert "Add support for "core" modules and make the setup module such a module"
...
This reverts commit 8af13f564b
.
The setup module must only be loaded when necessary not always.
2014-12-09 16:28:05 +01:00
Eric Lippmann
aef81a56d6
Merge branch 'master' into feature/security-gui-5647
...
Conflicts:
library/Icinga/Application/Config.php
library/Icinga/File/Ini/IniWriter.php
library/Icinga/Web/Form.php
library/Icinga/Web/Menu.php
2014-11-18 17:08:25 +01:00
Johannes Meyer
f007663235
Show the user a senseful error message in case enabledModules is missing
...
fixes #7205
2014-11-18 16:22:41 +01:00
Eric Lippmann
bfa834fc3b
Remove constant ICINGAWEB_APPDIR
...
We should avoid use of constants.
2014-11-13 09:33:31 +01:00
Johannes Meyer
8af13f564b
Add support for "core" modules and make the setup module such a module
...
refs #7163
2014-11-10 17:34:49 +01:00
Johannes Meyer
170ded6510
Merge branch 'master' into feature/setup-wizard-7163
...
Conflicts:
library/Icinga/Authentication/Backend/LdapUserBackend.php
library/Icinga/File/Ini/IniWriter.php
2014-11-04 14:22:53 +01:00
Eric Lippmann
e5091ec835
Fix Modules\Manager::getLoadedModules() PHPDoc
2014-10-31 11:22:27 +01:00
Eric Lippmann
16352fc10c
Move Logger to the Application namespace
...
fixes #7148
2014-10-31 10:27:17 +01:00
Johannes Meyer
64e6886c9c
Make it possible to pass the module paths directly to the module manager
2014-10-24 13:51:23 +02:00
Alexander Klimov
a2011b1665
SystemPermissionException: extend IcingaException
...
refs #6931
2014-08-26 11:21:57 +02:00
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
Johannes Meyer
3105c2059e
Remove license headers from all files
...
refs #6309
2014-07-15 13:43:52 +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
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
78bc2b4ec7
Modules\Manager: no warning for duplicate modules
...
Formerly we logged a warning if a module was found in multiple module
paths. This is pointless, because as soon as you got a default module
installed by your distribution and "upgraded" it via your web frontend
this "error" will be the default. Logging at debug level right now.
2014-05-20 22:39:32 +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
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
Johannes Meyer
3555e66018
Make IcingaWeb using the new log wrapper
...
refs #5683
2014-02-26 11:19:52 +01:00
Johannes Meyer
68357e9ca2
Fix coding style
2014-02-21 14:07:32 +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
Thomas Gelf
7dbede12fb
Remove obsolete register script traces
2014-02-14 13:37:45 +00:00
Marius Hein
7b55f3a2bd
Implement register and run php scripts for modules
...
refs #5597
2014-02-11 17:12:17 +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
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
Eric Lippmann
ca1d50ae53
Rename Icinga 2 Web to Icinga Web 2
2013-10-23 15:11:06 +02:00
Thomas Gelf
e57b75b354
Cleaning up ugly path
2013-10-22 20:20:06 +00:00
Eric Lippmann
b89d61add3
Monitoring: Refactor data views (WIP)
...
refs #4663
2013-10-09 09:20:16 +02:00
Thomas Gelf
4237e3e53e
modules/README triggers pointless warning
2013-09-16 16:38:51 +02:00
Marius Hein
b99b9a7ca8
ModuleManager: Throw module dir exceptions later
...
This is important for bootstrap to detect configuration
errors.
refs #4604
2013-09-02 12:52:51 +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
Eric Lippmann
6d98b923ca
CS: Fix docstrings in Icinga/Application/Modules/Module.php and Manager.php
...
refs #4530
2013-08-14 16:08:15 +02:00
Jannis Moßhammer
d604b01349
Fix missing Icinga\Application\Logger import in module manager
...
refs #4530
2013-08-14 16:08:15 +02:00
Jannis Moßhammer
392e568bf8
Code style fixes: License header, phpdoc tags, psr-2 compliance
...
refs #4530
2013-08-14 16:08:15 +02:00
Jannis Moßhammer
be29b8ff8f
Make ConfigController and PreferenceController extensible by convention
...
- Rename ConfigurationController to ConfigController
- ConfigController and PreferenceController are now subclasses of
BaseConfigController and BasePreferenceController
- Module and Application Config/Preference Tabs are detected via
the ControllerTabCollector
- Moved Controller classes to Icinga/Web/Controller (this is why
so many files are modified)
refs #4530
2013-08-14 16:08:15 +02:00
Jannis Moßhammer
677593cf8c
Fix empty module folder causing errors, fix var naming
...
Fix a wrongly named class causing ClassNotFound issues,
also added additional checks for empty module folder and
added en moduleFolder directive to configure module location
refs #4092
2013-06-26 16:05:01 +02:00
Jannis Moßhammer
c72fa101ed
Add clearstatcache and tests for ModuleManager
...
Added the clearstatcache call before enabling or disabling modules,
as this prevents a 'File exists' error that occurs sometimes on
symlink creation (even when the folder is empty). Also added tests
for teh moduleManager
refs #4092
2013-06-21 09:54:56 +02:00
Jannis Moßhammer
fd489484e1
Move ModuleController from incubator
...
The Notification dependency is removed and uses exceptions now,
otherwise it's mostly the same like in the incubator
refs #4092
2013-06-21 09:54:55 +02:00
Jannis Moßhammer
54ccb9b12a
Move libraries from incubator to working tree for evaluation
...
Add all untested files from incubator's library/Icinga to working
tree library/Icinga
refs #4257
2013-06-07 15:46:33 +02:00