Commit Graph

197 Commits

Author SHA1 Message Date
Eric Lippmann 7dd08ce6a9 Fix paths in installation.md 2014-11-19 15:57:57 +01:00
Eric Lippmann 7fecd001e4 Remove doc/module 2014-11-19 15:55:56 +01:00
Eric Lippmann cae813d4c7 doc: Fix typo in installation 2014-11-18 16:58:08 +01:00
Eric Lippmann 05dd09355b doc: Remove configure/make from installation 2014-11-18 16:57:05 +01:00
Eric Lippmann ff3b988324 doc: View resource configuration directives as table 2014-11-18 16:21:48 +01:00
Eric Lippmann 4f55a9e3eb Remove Icinga-Design from doc 2014-11-18 16:16:09 +01:00
Thomas Gelf 85a142c917 doc/container_component.md: removed outdated...
Starting to remove obsolete stuff, we need new ones ;-)
2014-11-14 01:57:57 +01:00
Eric Lippmann f097299534 Merge branch 'master' into feature/remove-autotools-files-7505 2014-11-13 10:52:40 +01:00
Eric Lippmann d40497cca2 Remove files related to API doc
I remove these files because the script for creating the API was removed too.
But we'll re-add them sometime I guess.
2014-10-30 12:39:45 +01:00
Johannes Meyer c1bff9a26e Merge branch 'master' into feature/setup-wizard-7163 2014-10-30 10:38:21 +01:00
Alexander Klimov 99b00b7f84 Fix CSS syntax errors 2014-10-24 12:35:09 +02:00
Johannes Meyer 8f787e649c Update documentation and fix vagrant manifest due to moved schema files 2014-10-08 08:52:04 +02:00
Thomas Gelf 2112d45c3c doc/components.md: obsolete, remove
We do not load any component with require.js or similar
2014-09-08 10:53:26 +02:00
Thomas Gelf 201c24107d doc/api: keep that directory for the build server 2014-09-04 18:43:33 +02:00
Matthias Jentsch 8823db4214 Add documentation for bar chart tooltips 2014-09-02 12:56:29 +02:00
Alexander Fuhr 7d25efb93c Remove dashboard.ini related parts
refs #6639
2014-08-26 10:34:33 +02:00
Thomas Gelf 8fd606cd03 docs: remove obsolete (and wrong) README 2014-06-20 23:09:23 +02:00
Thomas Gelf db3accc704 Data\Db: rename Query and Connection to Db...
Class names in namespaces should not be chosen as once we didn't have
such. The fact that we already did "use Db\Connection as DbConnection"
is the best hint that naming was wrong.

So this patch renames Db\Connection to Db\DbConnection and does the
same with DbQuery. DbQuery has been adjusted to fit our new SimpleQuery
and to handle the new Filter implementation.
2014-06-06 06:43:13 +00:00
Michael Friedrich ef56f2163e Documentation: Fix missing preferences*,sql
fixes #6243
2014-05-20 11:11:32 +02:00
Johannes Meyer 927772578d We do not want to use "@backupStaticAttributes enabled"
refs #4639
2014-04-11 15:31:29 +02:00
Johannes Meyer 7903d44af9 Fix testing documentation
refs #4639
2014-04-10 15:54:50 +02:00
Alexander Klimov b410ebeed6 Remove unnecessary spaces at end of line 2014-03-06 13:08:11 +01:00
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
Johannes Meyer 4befc9be94 Merge branch 'feature/preferences-backend-4069'
resolves #4069
2013-08-06 12:04:16 +02:00
Johannes Meyer 3ad4a4281d Add missing form tests and update documentation
refs #4439
2013-08-06 11:11:29 +02:00
Johannes Meyer 98e7ab02db Implement dynamic form elements
Rename "isPostAndValid" to "isSubmittedAndValid" and refactor it.
Add possibility for specific form elements to auto-submit their form.

refs #4439
2013-08-06 11:09:42 +02:00
Marius Hein 512676ec1a User preferences: Review fixes
refs #4069
2013-08-05 16:56:03 +02:00
Marius Hein 944c9c13e9 User preferences: Doc fixes
refs #4069
2013-08-05 16:56:03 +02:00
Marius Hein cc9b18376d User preferences: Add doc, fix initial session write
refs #4069
2013-08-05 16:56:03 +02:00
Jannis Moßhammer 01f7661fff Documentation for testing
This contains a general guideline for tests, php, js and
frontend test-examples, a short description of test-fixtures
and a test setup and execution guide.

refs #4263
2013-08-02 13:14:34 +02:00
Matthias Jentsch e51737f42a Fix the installation manual, comments and give the unit-test functions a more
verbose name

refs #3769
2013-07-29 11:42:31 +02:00
Jannis Moßhammer 306a51271b Change 'user' table to 'account', error handling and docs
Fix installation instructions for postgresql, the user table is now
'account', as user is a keyword in some rdbms, now catching exceptions
and returning auth failed while logging errors

refs #3769
2013-07-26 15:01:52 +02:00
Matthias Jentsch ce95511890 Change default database to "icingaweb" and add installation instructions
Set the default database and user to "icingaweb" in the authentication.ini. Add
instructions about how to set up the databases to authentication.ini.

refs #3769
2013-07-26 13:10:00 +02:00
Matthias Jentsch b013966464 Fix unit tests and add documentation
Add functionality to check if a certain database type like psql or mysql is
available and skip the tests accordingly.

Add documentation for backend authentication.

refs #3769
2013-07-26 13:09:59 +02:00
Marius Hein 849eee2cf2 Command masks: Review changes [WIP]
refs #4355
2013-07-23 17:09:06 +02:00
Marius Hein 1511cc4662 Command mask: Add documentation
refs #4355
2013-07-23 14:48:17 +02:00
Marius Hein f7369969cf Command mask: Fix api doc builder
refs #4355
2013-07-23 14:48:17 +02:00
Marius Hein 3676c95afc Command masks: Fix doc issues 2013-07-23 14:47:40 +02:00
Jannis Moßhammer 5f79ee221c Add testing.md for controller tests 2013-07-22 18:23:45 +02:00
Marius Hein 5489c2fa2e Update license header
refs #4407
2013-07-15 12:26:10 +02:00
Eric Lippmann 8c6f2a07ae Remove magic retrieval of configuration files
This change leads to expected exceptions when bootstrapping the
application since the \Icinga\Application\Config class was
refactored but its usage not.

refs #4354
refs #4353
2013-07-12 15:41:35 +02:00
Jannis Moßhammer a035473914 Add hint about graphviz prerequisite in doc/apidoc_creation
refs #4085
2013-07-10 13:51:35 +02:00
Marius Hein e1e6785ad4 phpDocumentator: Add runner to create apidocs
Update documentation, create runner script.

refs #4085
2013-07-10 13:51:35 +02:00
Marius Hein 5e39e7ebeb Add phpDocumentator to project
Create configuration to create api doc with cli.

refs #4085
2013-07-10 13:51:35 +02:00
Marius Hein a25853203e Merge branch 'feature/autoconf-install-4175'
fixes #4175
2013-07-08 16:10:14 +02:00
Marius Hein bb8b1944e3 License writer
Add license writer python script to handle source code
updates.

refs #4262
2013-07-03 14:17:48 +02:00
Jannis Moßhammer f080871020 Add Installation documentation and make update
Added documentation to the makefile and to docs
and an additional update command to the makefile, so configuration
dosn't get overwritten.

refs #4175
2013-07-03 14:07:55 +02:00
Marius Hein 9b907e3cd3 Move tested existing resources to new productive repository
Rename docs, tests and test/ui to doc, test and test/frontend to
suite skeleton definition.

refs #4212
2013-06-04 10:20:51 +02:00