Eric Lippmann
d1253f8136
Add static function get to class Hook
...
refs #4301
2013-06-28 09:19:43 +02:00
Eric Lippmann
6eade9c023
Fix use of already replaced class Icinga\Web\Session
...
refs #4301
2013-06-28 09:13:08 +02:00
Marius Hein
543285017b
Extensible configuration system
...
PSR fixes
refs #4300
2013-06-27 16:10:54 +02:00
Marius Hein
1ede8df2af
Extensible configuration system
...
Add configuration tab builder parts to register
free configuration tab items
refs #4300
2013-06-27 16:10:54 +02:00
Marius Hein
b403721c11
Extensible configuration system
...
Add object registration for hooks.
refs #4300
2013-06-27 16:10:54 +02:00
Jannis Moßhammer
934163dd04
Add PHP Documentation to Authentication
...
Documented all currently existing classes underneath the
Authentication package
refs #4350
2013-06-27 15:24:22 +02:00
Marius Hein
f22ae52768
System settings
...
Add new configuration controller for the configuration
controllers later.
refs #4299
2013-06-27 12:45:18 +02:00
Eric Lippmann
46abb8a36e
Add library/Icinga/Web/Widget from the incubator
...
refs #4301
2013-06-27 12:04:13 +02:00
Marius Hein
72bb02d390
Module administration
...
Rebase fix ldap auth for testing issue.
refs #4092
2013-06-26 16:48:07 +02:00
Jannis Moßhammer
d1f4e9831a
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:41:07 +02:00
Jannis Moßhammer
81bbee7e24
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-26 16:39:55 +02:00
Jannis Moßhammer
8b84de934a
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-26 16:39:55 +02:00
Jannis Moßhammer
d94d89e1cf
Add javascript autoloading
...
the js/modules/%modulename%/%file% is now mapped to the module
path (if existing). To prevent name clashing, the modules folder
has been renamed to components.
2013-06-26 16:37:12 +02:00
Jannis Moßhammer
3490469727
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-26 16:36:36 +02:00
Jannis Moßhammer
4f2fb49555
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-26 16:36:36 +02:00
Jannis Moßhammer
5c167563fa
Add SystemPermissionException
...
This exception should be fired when the OS restricts the web user
from executing certain actions. Also the template for errors has
been modified so it displays the action and the target that
was prevented.
refs #4092
2013-06-26 16:36:14 +02:00
Marius Hein
a1327a384c
Fix Authentication workflow
...
Fix ldap backends to use Credentials to work with. Fix
some tests to use include right files.
refs #4340
2013-06-25 12:24:52 +02:00
Jannis Moßhammer
8192c19424
Fix Authentication workflow
...
- The authentication controller now uses the Authentication/Manager class,
also there were some issues in the Session creation, this has been removed
from the Bootstrap now, as the Controller must decide how to open a session
(read-only or read/write).
- The tests reflect a few chagnes, as the move from the CSRF token generation
to the Formbuilder.
- Notificaiton now doesn't use Zend Session
refs #4340
2013-06-25 11:54:42 +02:00
Marius Hein
8d1038e622
Refactor and test \Icinga\Web\Form
...
Fix inspection issues, added some other code for testing to
have more coverage, fix test for QLink view helper.
refs #4302
refs #4341
2013-06-25 09:43:55 +02:00
Jannis Moßhammer
5cddbd1162
Add Form\Builder
...
The builder class allows to create forms and bind them to
models. The tests are currently failing because of the zend
pluginloader, this must be evaluated
refs #4302
2013-06-24 18:48:32 +02:00
Marius Hein
c905b1f490
Test and move bootstrapping/web code to source tree
...
Move code from incubator to web. Only files needed to show
welcome moved.
refs #4249
2013-06-17 08:49:27 +02:00
Marius Hein
5e14f828ba
Evaluate, Test and Move the items und library/Icinga/Web to the source tree
...
Fix PSR compliance.
refs #4256
2013-06-13 11:59:48 +02:00
Marius Hein
56844306c3
Evaluate, Test and Move the items und library/Icinga/Web to the source tree
...
Add test for Icinga_Web_Paginator_ScrollingStyle_SlidingWithBorder
refs #4256
2013-06-13 11:59:48 +02:00
Marius Hein
9657ba565e
Evaluate, Test and Move the items und library/Icinga/Web to the source tree
...
Add test for paginator/QueryAdapter
refs #4256
2013-06-13 11:59:48 +02:00
Marius Hein
f19934ef39
Evaluate, Test and Move the items und library/Icinga/Web to the source tree
...
Drop cookie class because implemented in auth
refs #4256
2013-06-13 11:59:48 +02:00
Marius Hein
ee6d95b496
Evaluate, Test and Move the items und library/Icinga/Web to the source tree
...
Drop class Cookie because no implementation is made
refs #4256
2013-06-13 11:59:48 +02:00
Marius Hein
c98be3ef73
Evaluate, Test and Move the items und library/Icinga/Web to the source tree
...
Add test for Widget.
refs #4256
2013-06-13 11:59:47 +02:00
Marius Hein
ccd5564a37
Evaluate, Test and Move the items und library/Icinga/Web to the source tree
...
Modify test for hook, add test for notification
refs #4256
2013-06-13 11:59:47 +02:00
Marius Hein
ed53ab6c9d
Refactor Authentication Code
...
Fix PSR, fix testing
refs #4265
2013-06-11 13:53:42 +02:00
Marius Hein
8797d3e095
Refactor Authentication Code
...
Drop empty files
refs #4256
2013-06-11 13:35:53 +02:00
Jannis Moßhammer
2fb6cd5b50
Moved refs to Authentication/Auth to Authentication/Manager
...
refs #4265
2013-06-11 13:33:16 +02:00
Jannis Moßhammer
3199f21f29
Added License header, removed deprecated or empty files
...
refs #4265
2013-06-11 13:33:16 +02:00
Jannis Moßhammer
da43813de9
Update Backendpath for Authentication
...
Backends are now located in the Icinga/Authentication/Backend folder
refs #4265
2013-06-11 13:33:16 +02:00
Jannis Moßhammer
e325ad3417
Add LdapUserBackend and (skipping) test
...
The test is skipped due to the tight coupling of the Ldap Protocol
Backend to the rest of the application, this has to be addressed
as soon as the Connection is cleaned up
refs #4265
refs #4250
2013-06-11 13:33:15 +02:00
Jannis Moßhammer
70e8562814
Add PhpSession with tests
...
PhpSession handles file based sessions as supported by PHP
refs #4265
refs #4250
2013-06-11 13:32:33 +02:00
Jannis Moßhammer
db61cfafe1
Update and test Auth/Manager implementation
...
- remove Storable inheritance from User and make it a plain DAO
- remove Authorization methods from User
refs #4265
refs #4250
2013-06-11 13:32:33 +02:00
Jannis Moßhammer
06b7b9ee2e
Add Auth/Manager.php, currently without tests
...
The Auth Manager class incorporates the functionality of the
Backend.php and Auth.php class and handles authentication. The
authorization parts from the Auth.php (hasPermission(), etc.) have
been removed and will be added to the user class
refs #4265
2013-06-11 13:27:53 +02:00
Jannis Moßhammer
9206b30254
Add basic, untested skeleton for Session and PHPSession
...
As we decided to remove Zend_Session due to locking issues,
we have to implement our session handling here. This is
the basic, untested code which will be tested in the next step
refs #4265
2013-06-11 13:27:53 +02:00
Jannis Moßhammer
d1f6668fe7
Add library from incubator and teststubs
...
This commit only contains the untested libaries from the incubator
and autogenerated teststubs and is the basis for writing the tests
refs #4250
2013-06-11 13:23:59 +02:00
Jannis Moßhammer
ea2ad1f8c0
Merge branch 'master' of ssh://git.icinga.org/icinga2-web into bugfix/psr-compliance-4246
2013-06-10 16:46:18 +02:00
Jannis Moßhammer
f898e2e367
Fix broken files in Statusdat Expression handler
...
The function tokens in the Expression handler didn't
work after they were rewritten, as the rewrite was
missing in certain files. This is fixed now
refs #4246
2013-06-10 16:44:58 +02:00
Eric Lippmann
0098053187
Remove empty files from the Icinga library
...
refs #4257
2013-06-07 15:46:33 +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
Marius Hein
2172937138
Fix PSR compliance
...
Add some inspection items to fix.
refs #4246
2013-06-07 13:35:03 +02:00
Marius Hein
e05ca449ae
Fix PSR compliance
...
Alter files to follow PSR standards.
refs #4246
2013-06-07 13:29:11 +02:00
Marius Hein
172c699c47
Fix PSR compliance
...
Commit first part of correction.
refs #4246
2013-06-06 16:52:54 +02:00
Jannis Moßhammer
aab69a41e8
Add tested ldap and web libraries
...
refs #4212
2013-06-03 17:02:08 +02:00
Jannis Moßhammer
2a9d7aa187
Add tested commandpipe connector
...
refs #4212
2013-06-03 16:56:08 +02:00
Jannis Moßhammer
f6b5f5d405
Add tested Backend ressource
...
Only statusdat is currently tested
refs #4212
2013-06-03 16:36:10 +02:00
Jannis Moßhammer
ba38c89755
Add tested Statusdat Protocol
...
In order to run the tests, phpunit must be called in the
tests/php folder
refs #4212
2013-06-03 16:14:46 +02:00