Thomas Gelf
8c78600841
JS components are gone
2014-03-04 11:15:56 +00:00
Thomas Gelf
57caacb93f
Merge branch 'feature/fanzzzy-5481' into feature/master-1
...
Conflicts:
application/controllers/AuthenticationController.php
application/controllers/ErrorController.php
application/views/scripts/authentication/login.phtml
library/Icinga/Application/ApplicationBootstrap.php
library/Icinga/Web/Controller/ActionController.php
library/Icinga/Web/Hook.php
library/Icinga/Web/Widget/Dashboard.php
2014-03-04 09:42:25 +00:00
Matthias Jentsch
b118e9679d
When webserver setting is missing regular authentication will be used
...
Check if the remote user is set and use regular authentication when the key is missing.
refs #5405
2014-02-26 18:08:48 +01:00
Johannes Meyer
3555e66018
Make IcingaWeb using the new log wrapper
...
refs #5683
2014-02-26 11:19:52 +01:00
Thomas Gelf
6ebe723f7e
Remove obsolete data attributes from filter box, add placeholder
2014-02-25 10:27:11 +00:00
Thomas Gelf
1b4f055bfa
Adjusted tab extensions to fit new URLs
2014-02-21 14:03:49 +00:00
Eric Lippmann
7033c41503
Fix Fatal error: Can't inherit abstract function Icinga\Web\Widget\Widget::render()
2014-02-21 14:03:49 +00:00
Thomas Gelf
f9f522d599
Re-allow dashboard to render itself
2014-02-21 14:03:49 +00:00
Thomas Gelf
cea4923eae
Temporarily re-added AbstractWidget, we should discuss this
2014-02-21 14:03:48 +00:00
Thomas Gelf
6b308986d1
Small syntax changes
2014-02-21 14:03:47 +00:00
Thomas Gelf
34316ccbca
Lighter tab html, support casting to string
2014-02-21 14:03:47 +00:00
Thomas Gelf
445c981d01
Tab extensions use imgs instead of icons
2014-02-21 14:03:47 +00:00
Thomas Gelf
3faf1ec725
Lighter HTML in the dashboard component, handle missing URLs
2014-02-21 14:03:47 +00:00
Johannes Meyer
68357e9ca2
Fix coding style
2014-02-21 14:07:32 +01:00
Matthias Jentsch
a2baf4217b
Add php script to render dynamic svgs of inline charts
...
Add a php script to render dynamic SVGs as a fallback and add a widget to draw
inline charts.
refs #5679
2014-02-19 18:29:59 +01:00
Matthias Jentsch
db0f61fff1
Convert the opened view to pdf
...
refs #4356
2014-02-12 12:11:49 +01:00
Johannes Meyer
ac0b041523
Remove session handling from the authentication manager
...
refs #5510
2014-01-24 14:44:19 +01:00
Matthias Jentsch
cd0194e20f
Fetch and clean user messages lazily, to ensure that only shown messages are removed
...
This will make the code of the ConfigController way easier, as messages can be
send from everywhere and there is no need to consider consquences of
redirections.
refs #5100
2013-11-26 10:41:51 +01:00
Matthias Jentsch
2a0add3ec3
Fix messages in ConfigController
...
Store messages in the current user session to be able to fetch messages from
other controllers, so that the use can be redirected back to the index, instead
of staying in the original action
refs #5100
2013-11-20 19:10:38 +01:00
Eric Lippmann
ca1d50ae53
Rename Icinga 2 Web to Icinga Web 2
2013-10-23 15:11:06 +02:00
Jannis Moßhammer
1a95e48deb
Fix row style, add dashboard as default route
2013-10-23 14:20:32 +02:00
Jannis Moßhammer
8eea09ab53
Add default dashboard, fix componentLoader issue introduced before
2013-10-23 13:06:09 +02:00
Jannis Moßhammer
16124989dd
Various style fixes, changed icon size, fixed show/service
2013-10-22 15:58:24 +02:00
Jannis Moßhammer
f7c0eaa7c4
Fix/Reimplement dashboard
...
refs #4532
2013-10-22 12:10:12 +02:00
Jannis Moßhammer
c4f3e78c02
Fix filter behaviour, fix statusdat filter
...
refs #4469
2013-10-21 17:04:39 +02:00
Jannis Moßhammer
6095a71a8d
CS Fixes
...
refs #4868
2013-10-17 21:40:02 +02:00
Jannis Moßhammer
4a95ba3468
Change url handling to detail on hashtag, add service filter
...
The url is now
http://%mainUrl%#%anchor%!detail=%detailUrl%
which allows us to better support IE and prevents
the detail url from appearing on the server side.
refs #4868
2013-10-17 19:55:00 +02:00
Jannis Moßhammer
d33cec78de
Semantic search implementation
...
- Only implemented for hosts as an example
- URL behaviour still has to be normalized
refs #4469
2013-10-17 19:52:52 +02:00
Jannis Moßhammer
dac61eda19
Implement Filter to IDO Sql parser
...
refs #4469
2013-10-17 19:52:25 +02:00
Marius Hein
6f26df60f3
Apply less mixins
...
refs #4895
2013-10-16 15:37:44 +02:00
Eric Lippmann
d479ab3536
Widget/Tab: Allow additional a tag attributes
...
refs #4823
2013-10-14 12:57:26 +02:00
Eric Lippmann
cabe2ccbee
Widget/Tabs: Show caret
2013-09-05 14:15:29 +02:00
Eric Lippmann
a5908c9553
CS: Replace multiple empty lines with one
...
find application/ library/Icinga/ test/ modules/ -name *.php | xargs sed -i '/^$/N;/^\n$/D'
2013-09-04 18:36:10 +02:00
Eric Lippmann
35fd9fd391
CS: Remove whitespaces at end of line
...
find application/ library/ test/ modules/ -name *.php | xargs sed -i 's/\s\+$//'
2013-09-04 18:27:16 +02:00
Eric Lippmann
95e9117325
Fix SortBox not keeping Sort By input after submission
2013-09-04 18:21:10 +02:00
Eric Lippmann
05d08fb0b8
Fix Bootstrap typed wrong
...
refs #4601
2013-09-04 17:12:44 +02:00
Jannis Moßhammer
d27e34cef8
Codestyle and Test fixes for SortBox
...
refs #4601
2013-09-04 15:22:00 +02:00
Jannis Moßhammer
895976550c
Fix templates, capitalization and icons in php files
...
refs #4550
refs #4584
2013-08-23 10:28:48 +02:00
Eric Lippmann
7dc2f78b63
CS: Fix docstrings in Icinga/Web/Widget/* and Icinga/Web/Controller/ActionController.php
...
refs #4512
2013-08-16 15:08:28 +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
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
07717e9119
Fix codestyle
...
- return self insteead of return $this
- missing licence header in Dimension.php
refs #4192
2013-08-09 10:32:57 +02:00
Jannis Moßhammer
886da7d0cb
Fix codestyle, change wrong 'dashboard' parameter to pane causing pane switching to fail
...
- Fixed concatenation
- Added license header where missing
- Fixed the index controller fetching the wrong parameter ('dashboard' instead of 'pane')
refs #4192
2013-08-08 17:42:34 +02:00
Jannis Moßhammer
6e68826da6
Fix PSR compliance of code
...
refs #4192
2013-08-07 18:10:39 +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
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
Jannis Moßhammer
b3e0d5e8ce
Remove AbstractWidget and make Widget an interface
...
As Widget's already denote an abstract concept, the name
'AbstractWidget' is redundant. Also this class didn't do anything except
fetching a view via a singleton (which is now injected into the render method)
and bypassing the PHP class properties by creating a 'properties' array which is
filled with magic getters and setters (which now are simply php class properties)
Further changes:
- toString is removed, as this incorporated a lot of
application logic which would cause unrecoverable
errors when throwing exceptions
- renderToHtml is now just render and the view dependency must be
passed, as a widget shouldn't be responsible for getting
view instance (this means that <?= $this->tabs ?> is now
<?= $this->tabs->render($this); ?> in the templates
- Controllers don't have $this->widget anymore as Widgets are
directly instanciated with their class, allowing better code completion
and avoiding hidden dependencies, also Widget::create is now removed
in favor of direct instanciation.
refs #4192
2013-08-07 17:41:43 +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
Eric Lippmann
290c8c5225
CC: Add newline to end of file where missing
...
Following command was used:
$ find application/ library/Icinga/ modules/ -name *.php | xargs sed -i -e :a -e '/./,$!d;/^\n*$/{$d;N;};/\n$/ba;$a\'
2013-08-07 10:27:50 +02:00
Jannis Moßhammer
50ca1aec1a
Refactor URL class and test
...
The constructor of the class is now private, instantiation happens
with Url::fromRequest and Url::fromPath. Also updated all occurences
of Url and fixed the Qlink helper to not overwrite the baseUrl with null
values
refs #4381
2013-08-02 13:14:55 +02:00
Marius Hein
5ade338632
Fix wrong getter after renaming
...
refs #4066
2013-07-30 14:06:46 +02:00
Eric Lippmann
7a075ca52a
Add link to csv output to tabs
...
There is currently no controller implementing this output type
but the monitoring module will provide that.
2013-07-12 12:02:51 +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
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
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
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
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