Commit Graph

75 Commits

Author SHA1 Message Date
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
Eric Lippmann 5a913881a6 Modules/Doc: Add Syntax highlighting for PHP code
refs #4820
2014-02-11 17:04:58 +01:00
Eric Lippmann 7f099b211b Fix documentation
refs #4820
2014-02-11 16:35:36 +01:00
Eric Lippmann 88e13c378d Modules/Doc: Add doc display per module
refs #4820
2014-02-11 15:09:04 +01:00
Matthias Jentsch 59d4baff0b Fix remaining references to DbUserBackend and refresh the documentation.
refs #4786
2013-11-06 13:31:07 +01:00
Eric Lippmann ca1d50ae53 Rename Icinga 2 Web to Icinga Web 2 2013-10-23 15:11:06 +02:00
Eric Lippmann 0c5822af61 License: Rename Icinga 2 Web to Icinga Web 2 2013-10-23 15:11:05 +02:00
Michael Friedrich 51b7b89129 Fix users.*.sql -> accounts.*.sql in installation doc.
refs #4926
2013-10-22 10:57:16 +02:00
Michael Friedrich 3bf4973fab Set default internal db password to icingaweb.
refs #4926
2013-10-22 10:57:15 +02:00
Michael Friedrich 0cd411fe5b update installation docs with requirements
refs #4926
2013-10-22 10:57:15 +02:00
Marius Hein 73e8d60060 Implement global commands
resolves #4142
2013-10-19 13:25:18 +02:00
Eric Lippmann af7db257fe Menu: Add iconClass config
refs #4824
2013-10-14 13:30:02 +02:00
Susanne Vestner-Ludwig 3f67c62896 Topbar
refs #4824
2013-10-14 13:30:02 +02:00
Susanne Vestner-Ludwig dc632a40e7 Navigation, Subnavigation
refs #4824
2013-10-14 13:30:01 +02:00
Susanne Vestner-Ludwig 75a5cab0f9 Main navigation and detail table
refs #4824
2013-10-14 13:30:01 +02:00
Susanne Vestner-Ludwig e56a07e181 Detail Table, Properties Table
refs #4824
2013-10-14 13:05:38 +02:00
Susanne Vestner-Ludwig 7e9f51cb6a 1st box details
refs #4824
2013-10-14 13:05:38 +02:00
Marius Hein 7e396fdf3f Implement hosts view
refs #4824
2013-10-14 13:02:41 +02:00
Susanne Vestner-Ludwig e06e38ac5f Icinga Design
refs #4824
2013-10-14 13:02:04 +02:00
Marius Hein 1e72cd0c12 Doc for load indicator
refs #4400
2013-10-04 15:32:39 +02:00
Marius Hein c6838f67a1 Icinga/Chart: Fixes typo, doc, interfaces, inspection warnings
refs #4614
2013-09-25 16:32:28 +02:00
Jannis Moßhammer b78d1a236a Finish graphing library and add documentation
refs #4614
2013-09-25 14:24:26 +02:00
Jannis Moßhammer 376dc8cd0f Document form and container behaviour and simplify
Now the whole page gets refreshed on container changes, if
we encounter issues with that we can improve it afterwards
or roll back some cahnges already made in previous commits

refs #4611
2013-09-23 13:56:59 +02:00
Jannis Moßhammer 57e66c247a Add sort widget, change js path from module to app, small style fixes
refs #4601
2013-09-04 15:22:00 +02:00
Jannis Moßhammer 95bc8a2f4f Add NullStore as preference fallback
refs #4529
2013-09-04 14:27:37 +02:00
Eric Lippmann 68585b98b5 Doc: Add DateTimePicker documentation
refs #4547
2013-09-04 13:54:45 +02:00
Eric Lippmann 9c73802ce6 Doc: Add Testing Singletons paragraph
refs #4548
2013-09-04 13:54:45 +02:00
Marius Hein 6c59d2cf40 Fix icinga js license header
refs #4622
2013-09-02 10:59:05 +02:00
Jannis Moßhammer cc4b74250f Fix configure/make substitutions and wrong doc hint
- Documentation stated that apache installation is performed
  wie make install-apache2-config, this is install-apache-config.
- Removed superfluos substitution parameters
- Fixed folder permissions and var/log creation on installation

refs #4640
2013-08-29 11:48:33 +02:00
Jannis Moßhammer 2c97ab26a4 Code style, Form tests and bugfixes
This commit summarizes the bugfixes made in this branch. As the frontend the fixes required a lot of stuff to be fixed afterwards and #4602 was used as a larger example regression test, this affects a few tickets:

- (Bug 4491) Frontend tests will hang randomly: CasperJS now operates on the installed version, so this shouldn't happen anymore
- (Bug 4602) Configuration Interface - Authentication: Backends moved when pushing enter: The authentication interface is reworked and does not persist a state over pages
- (Bug 4605) /tmp should not be the default log path: Now it is the application relative var/log path
- (Bug 4606) Configuration: Show message that changes were saved successfully: Implemented and tested with casperjs
- (Bug 4641) Installation/Testing fix configure/make: This has been reworked
- (Bug 4642) Allow Application placeholder in config: This was required for implementimg 4605
- (Bug 4643) Application doesn't work with older Zend Versions: A fallback __call has been implemented for this

refs #4491
refs #4602
refs #4605
refs #4606
refs #4641
refs #4642
refs #4643
2013-08-29 11:48:33 +02:00
Jannis Moßhammer 3d7df520f5 Update test documentation
refs #4491
2013-08-29 11:48:33 +02:00
Marius Hein c5bea04909 BaseTestCase: User response, CS and typo
refs #4608
2013-08-27 10:37:35 +02:00
Marius Hein 659e4506c0 BaseTestCase: Add documentation
refs #4608
2013-08-26 13:39:00 +02:00
Matthias Jentsch 61fad6b89c Add documentation for components
Add a documentation about how to create and load documents

refs #4456
2013-08-21 09:40:32 +02:00
Eric Lippmann 920f3494d8 Widgets: Fix example code in documention not following our Coding Standards
refs #4512
2013-08-16 15:08:29 +02:00
Jannis Moßhammer 0b479e3796 Code style fixes, fix documentation, fix tab parameters not being overwritten
refs #4512
2013-08-16 15:08:28 +02:00
Jannis Moßhammer b28c7f2f4c Refactor test, tabs and controller
- Remove unused methods,
- Code style
- Documentation for widgets
- Tabextensions instead of hardcoded tab actions
- Add tests for tabs
- Add missing phpdoc for touched files
- Fix tests

refs #4512
refs #4541
refs #4540
2013-08-16 15:08:28 +02:00
Matthias Jentsch 7f30b587be Change the StoreFactory to work with the DbAdapterFactory and fix code styling
Change the StoreFactory configuration to reference to a resource instead of
defining the whole database. Additionally fix docstrings, fix imports and fix
function calls to comply to coding style standards.

refs #4503
2013-08-15 14:16:34 +02:00
Matthias Jentsch 3692a73de5 Fix spelling mistake in resources.md
refs #4503
2013-08-14 16:27:03 +02:00
Matthias Jentsch f1040aad60 Add additional functionality and documentation for easier use through developers
Add functions to get information about currently available resources and add
documentation about class usage for developers.
2013-08-14 16:22:58 +02:00
Matthias Jentsch 9799f4beab Fix mistakes in the documentation files
resolves #4503
2013-08-14 16:22:58 +02:00
Matthias Jentsch 68deb735c0 Add the DbAdapterFactory to instanciate database adapters using resource names
Create the DbAdapterFactory to instanciate db adapters, add resources.ini to configure resources, change
the authentication Manager to fall back to backends with lower priority in case
of errors, update the current UserBackends to the changed environment. Also
adjust the documentation and existing unit tests.

resolves #4503
2013-08-14 16:22:58 +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
Eric Lippmann 93ae6d6811 Framework: mv Icinga\Config\Config to Icinga\Application\Config
refs #4543
2013-08-12 15:02:25 +02:00
Jannis Moßhammer 488310df37 Fix style and docstrings, exception when removing the last tab
refs #4192
2013-08-07 17:45:09 +02:00
Jannis Moßhammer 19764485bc Add untracked files
refs #4192
2013-08-07 17:44:40 +02:00
Jannis Moßhammer 2b25757e20 Add documentation, add errorhandling and sizing
The optional width/height parameter can be set in the ini to change the dashboard components
size, documentation has been added and in the error case a message with the configuration is shown

refs #4192
2013-08-07 17:44:30 +02:00
Jannis Moßhammer f8bb478f0e Update dashboard implementation
fix javascript naming (icinga-url to icingaurl), fix add form, add remove
button, code style changes

refs #4192
2013-08-07 17:43:37 +02:00
Matthias Jentsch 56e47fd084 Add an ini writer for configuration files
Add an ini writer that respects the file structure and the comments that may be
already present in the config file. Move Application/Config.php into
Config/Config.php.

refs #4352
2013-08-07 15:58:42 +02:00
Jannis Moßhammer ff62a82895 Fix dynamic form validation behaviour, fix documentaion, fix correct isValid() call
- When a dynamic form is modified, no validation is performed, but
  the form is being populated with $this->populate.
- changed parent::isValid to $this->isValid, otherwise no custom validation
  logic could be implemented
- Updated documentation
- Fix CSRF protection by removing the time

refs #4439
2013-08-06 15:08:54 +02:00