Thomas Gelf
63cd5854d4
Merge remote-tracking branch 'origin/master' into feature/redesign-7144
2014-11-19 07:56:48 +01:00
Thomas Gelf
3844087740
css/main-content: reduce dashboard header sizes
2014-11-19 07:51:51 +01:00
Alexander Fuhr
e97f08663e
Move process info and performance info overview into monitoring health
...
The process info and the performance info overviews are now moved to
monitoring health and are available both under the 'Monitoring Health'
section. But this is not the final look, we should redesign it and add
more relative information data and drop unused
2014-11-18 19:40:22 +01:00
Matthias Jentsch
a4f4c8d27f
Support filter editing in event history
...
Add a FilterEditor to the eventhistory view, fix CSS layout
resolves #6979
2014-11-18 19:12:53 +01:00
Matthias Jentsch
6269f6695b
Add quick filter for event types to event overview
...
Add a new filter form for event types to the eventhistoryAction and add selected to filter on post
refs #7695
2014-11-18 17:18:12 +01:00
Thomas Gelf
f43976a19a
css: centralize heading styles
2014-11-17 16:54:29 +01:00
Thomas Gelf
6d03b6bef4
css/tabs.less: fix the "Chrome gap"
...
That's not how this should be fixed, but it at least helps getting
rid of that nasty gap for now.
2014-11-17 13:02:19 +01:00
Thomas Gelf
4f6b8c3664
css/layout-colors: improve sidebar readability
2014-11-16 19:41:01 +01:00
Thomas Gelf
818ac35e22
css/layout-structure: fix broken columns
...
There is a border right now, changed box model to avoid influence on
container width
2014-11-14 21:45:39 +01:00
Thomas Gelf
da47c7fc7e
Merge remote-tracking branch 'origin/master' into feature/redesign-7144
2014-11-14 21:32:57 +01:00
Johannes Meyer
f64b3c1439
Fix that the current page of our list view pagination is not being highlighted
...
fixes #7492
2014-11-14 11:58:29 +01:00
Alexander Fuhr
6ee0c218e9
Remove debug `console.log()' from `provideSelectionCount()'
...
refs #7654
2014-11-14 10:18:47 +01:00
Alexander Fuhr
540a8c7aa4
Fix hint counter on unselect the last row
...
refs #7654
2014-11-14 10:17:23 +01:00
Thomas Gelf
2a27b6ce25
css/menu.less: resolve merge conflict
2014-11-13 21:28:51 +01:00
Bernd Erk
903219b302
Merge branch 'master' into feature/redesign-7144
...
Conflicts:
library/Icinga/Web/Menu.php
public/css/icinga/menu.less
2014-11-13 21:11:36 +01:00
Eric Lippmann
8bdde5adc5
Fix long menu item titles breaking our menu
...
We will not allow Karl-Theodor Maria Nikolaus Johann Jacob Philipp Franz Joseph Sylvester Freiherr von und zu Guttenberg to view his full name :(.
fixes #7663
2014-11-13 19:03:28 +01:00
Bernd Erk
6201858a68
Merge branch 'master' into feature/redesign-7144
2014-11-13 17:47:26 +01:00
Bernd Erk
205ba64781
Installer styling
2014-11-13 17:20:06 +01:00
Bernd Erk
a5b8de366f
Fixes error message
2014-11-13 15:52:20 +01:00
Bernd Erk
1743cec199
Centered error messages
2014-11-13 15:46:04 +01:00
Bernd Erk
56aabf0d15
Fixes radius in error message
2014-11-13 15:37:00 +01:00
Alexander Fuhr
cab89914bb
Add clickable icon for command check now
2014-11-13 15:28:10 +01:00
Bernd Erk
ac3ff90e69
Fixes input margin
2014-11-13 15:18:18 +01:00
Eric Lippmann
b52adcc2ab
Merge branch 'master' into feature/generate-webserver-config-6120
2014-11-13 15:09:34 +01:00
Bernd Erk
ef2ec0442c
Merge branch 'master' into feature/redesign-7144
2014-11-13 14:40:26 +01:00
Eric Lippmann
2ad2127ae3
Merge branch 'master' into feature/generate-webserver-config-6120
...
Conflicts:
application/clicommands/SetupCommand.php
2014-11-13 12:50:55 +01:00
Alexander Fuhr
46df428e28
Add selection count hint in grids with help for hosts and services
...
refs #7654
2014-11-13 12:50:39 +01:00
Bernd Erk
ac8cc0613c
Merge branch 'master' into feature/redesign-7144
...
Conflicts:
application/views/scripts/authentication/login.phtml
public/css/icinga/login.less
2014-11-12 17:21:54 +01:00
Johannes Meyer
5da82a3164
Move the servicegrid's navigation upwards instead of downwards
2014-11-12 17:13:23 +01:00
Johannes Meyer
db7954c350
Merge branch 'master' into feature/setup-wizard-7163
2014-11-12 17:05:13 +01:00
Johannes Meyer
259a465f97
Show only the most important warning on the login page
2014-11-12 16:23:55 +01:00
Bernd Erk
f2c4c3bb1b
Fix color codes and badges
2014-11-12 16:19:00 +01:00
Bernd Erk
f456ad3a04
Fix for hovered host- and servicename
2014-11-12 15:53:12 +01:00
Eric Lippmann
8b1419bb04
Do not try to detect the library path in index.php
...
Packagers will use a custom index.php.
2014-11-12 15:41:04 +01:00
Johannes Meyer
933172f250
Replace navigation of the service matrix and rename it to service grid
...
fixes #6180
2014-11-12 15:07:01 +01:00
Eric Lippmann
b27d1d0058
Merge branch 'master' into feature/setup-wizard-7163
2014-11-12 14:48:15 +01:00
Eric Lippmann
6089372c42
Do not define ICINGAWEB_BASEDIR in index.php
...
There's SCRIPT_FILENAME. The constants will be removed shortly.
2014-11-12 14:39:45 +01:00
Eric Lippmann
921f324d3e
Prepare icingacli for having the Icinga library in PHP's include path
2014-11-12 13:13:39 +01:00
Eric Lippmann
32d483f69f
Level up index.php
...
This is the preparation for having the Icinga library in PHP's include path.
2014-11-12 12:55:25 +01:00
Johannes Meyer
7aae291f69
Merge branch 'master' into feature/setup-wizard-7163
2014-11-12 10:08:28 +01:00
Thomas Gelf
97186c0361
Webserver\Apache2: show hint with no mod_rewrite
...
This is yet unstyled, but still far better than 500
fixes #7643
2014-11-11 22:02:40 +01:00
Johannes Meyer
4974f582d3
Add page titles
...
refs #7163
2014-11-11 15:27:14 +01:00
Eric Lippmann
8e3394fd55
Merge branch 'master' into feature/redesign-7144
2014-11-11 13:54:13 +01:00
Eric Lippmann
548b54253e
Remove display: flex;
...
fixes #7549
2014-11-11 10:27:42 +01:00
Johannes Meyer
105934ce7f
Make the finish and login button look not so "strange"
...
refs #7163
2014-11-11 08:45:47 +01:00
Johannes Meyer
cb748fa379
Move wizard css code back into the app's namespace
...
This is necessary to get the layout of the wizard to work.
We should elaborate whether it is possible to give modules more
control on how their css is applied!
refs #7163
2014-11-10 16:41:43 +01:00
Johannes Meyer
8f212018ec
Move the setup wizard code to a dedicated module
...
refs #7163
2014-11-10 15:11:44 +01:00
Johannes Meyer
5c9d7d6548
Add refresh button to the requirements page
...
refs #7163
refs #7587
2014-11-10 12:54:26 +01:00
Johannes Meyer
79493592bb
Do not use Installer anywhere.
...
"It's setup."
refs #7163
2014-11-10 10:30:52 +01:00
Bernd Erk
bf1738907e
Fix header border
2014-11-07 15:46:47 +01:00
Johannes Meyer
f7d168c80f
Fix that FireFox < v33 is unable to find the button that got the focus
2014-11-07 14:22:03 +01:00
Bernd Erk
84c0bc0a8e
Fixed login button
2014-11-07 13:29:59 +01:00
Bernd Erk
049c9edb67
modified forms
2014-11-07 11:38:32 +01:00
Bernd Erk
acd6e91757
Fixed font-family in search field
2014-11-07 00:56:18 +01:00
Bernd Erk
fb0fe3f46e
fixed tactical overview layout
2014-11-07 00:50:17 +01:00
Bernd Erk
3c5d46ee71
redesigned login screen and image appearance
2014-11-07 00:40:32 +01:00
Bernd Erk
48a4403d6f
Design Timeline
2014-11-06 23:40:57 +01:00
Bernd Erk
7aef0581f3
Changed to color codes using less
2014-11-06 22:55:17 +01:00
Bernd Erk
f300c121cd
Redesign tactical overview
2014-11-06 22:38:06 +01:00
Bernd Erk
c885544a6b
fixed hostgroup and servicegroup design
2014-11-06 22:03:03 +01:00
Bernd Erk
548058650a
Fixed Plugin output and box-border
2014-11-06 15:49:26 +01:00
Bernd Erk
71cbf83766
Reduced menu size
2014-11-06 13:25:52 +01:00
Bernd Erk
699be20db0
completed header tabs
2014-11-06 01:29:19 +01:00
Bernd Erk
bc5f296e60
Fixed badges in menu
2014-11-06 00:40:44 +01:00
Bernd Erk
f9e8cc84b9
Design: headline and main menu
2014-11-06 00:09:14 +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
Thomas Gelf
95f9bebdc5
js/loader: support multi-container redirection
...
Redirections to #!-separated URLs (multiple containers) should also
work when not re-rendering the whole layout.
2014-11-01 01:23:55 +01:00
Thomas Gelf
6298d303c4
js/loader: trigger 'beforerender' container event
2014-11-01 01:12:59 +01:00
Thomas Gelf
f25f4f06d8
js/loader: disable click handler block on refresh
...
This used to be ways too slow when many elements where involved. Left
the old code there as a reminder. In case we really need it we should
use something faster like an overlay or so.
2014-11-01 01:11:12 +01:00
Johannes Meyer
a7e942cdc9
Show a warning on the first page in case the user already configured web2
...
refs #7163
2014-10-30 10:37:51 +01:00
Johannes Meyer
3fc07496bc
Remove RequirementPage from the monitoring module wizard
...
refs #7163
2014-10-29 16:26:09 +01:00
Johannes Meyer
2f05ed3d49
Add monitoring module wizard
...
refs #7163
2014-10-29 15:40:34 +01:00
Johannes Meyer
32006420c5
Fix WelcomePage
...
There were some grammar- and layout-errors
as well as information missing :(
2014-10-29 11:36:03 +01:00
Johannes Meyer
231fbaba37
Let wizard buttons have some bottom margin
...
Makes them more notable in case they'll get
pushed to the very bottom of the page.
refs #7163
2014-10-29 08:39:00 +01:00
Matthias Jentsch
b5468a122d
Explain token generation on the welcome page
...
Add token generation manual to the welcome page. Display example code
containing the current configuration dir, to generate tokens.
fixes #7408
2014-10-28 17:32:49 +01:00
Johannes Meyer
036211462e
Fix permanent horizontal scroll-bar in Opera
2014-10-27 09:18:41 +01:00
Johannes Meyer
73bba4a5a2
Fix setup layout in Opera and Mozilla
...
refs #7163
2014-10-27 09:13:09 +01:00
Johannes Meyer
2f83976f50
Add ModulePage
...
refs #7163
2014-10-24 17:10:17 +02:00
Johannes Meyer
d90d6fe6a9
Improve summary page layout a bit
...
refs #7163
2014-10-23 15:16:25 +02:00
Johannes Meyer
216c072024
Implement installation routines modularly
...
This allows us to "merge" module installation
routines with our main installer routines.
refs #7163
2014-10-23 11:41:16 +02:00
Johannes Meyer
b4a69792d8
Add note to login page when the configuration directory is missing
...
refs #7163
refs #7409
2014-10-21 16:11:49 +02:00
Johannes Meyer
09945994b8
Disabled buttons should be identifiable as being "disabled"
...
refs #7163
2014-10-20 13:44:11 +02:00
Johannes Meyer
f453fd06e8
Show the user which pages he already visited while navigating back
...
refs #7163
2014-10-17 15:41:25 +02:00
Johannes Meyer
9f127be1dc
Merge branch 'master' into feature/setup-wizard-7163
...
Conflicts:
application/forms/Config/General/LoggingConfigForm.php
2014-10-17 13:04:59 +02:00
Johannes Meyer
2ecb862fc3
Style welcome page and fill placeholders
...
refs #7163
2014-10-17 11:19:04 +02:00
Johannes Meyer
223502c314
Style installation report
...
refs #7163
2014-10-17 09:18:10 +02:00
Johannes Meyer
d73423ceee
Style summary page
...
Dropped also the layout logic as it was too generic.
refs #7163
2014-10-16 14:52:26 +02:00
Johannes Meyer
16ce2eb425
Improve form- and element-error styling
2014-10-15 16:35:21 +02:00
Johannes Meyer
2f40365fc8
Style wizard buttons
...
refs #7163
2014-10-15 15:49:38 +02:00
Johannes Meyer
fdef596c6e
Make progress bar a bit less eye-catching
...
refs #7163
2014-10-15 15:48:37 +02:00
Johannes Meyer
6427a9e347
Fix radiobox positioning
...
refs #7163
2014-10-15 15:47:24 +02:00
Johannes Meyer
21379cb24d
Show ldap discovery results in a nice table
...
refs #7163
2014-10-15 15:46:54 +02:00
Johannes Meyer
d1ea7e87a2
Improve form styling slightly
2014-10-15 15:46:07 +02:00
Johannes Meyer
c9d12cf8ac
Style requirements page
...
refs #7163
2014-10-14 16:45:04 +02:00
Johannes Meyer
c0df55c079
Add progress bar
...
refs #7163
2014-10-14 16:14:28 +02:00
Matthias Jentsch
6124f984ee
Adjust scroll position on container after triggering the 'rendered' event
...
Prevent behaviors from altering the current scroll-position on page reload when refreshing or changing the focus.
fixes #7269
2014-10-14 15:50:15 +02:00
Johannes Meyer
448991eec5
Put some margin around the setup wizard
...
refs #7163
2014-10-13 09:43:12 +02:00
Johannes Meyer
62544111ff
Fix that when pushing ENTER in a form with just <buttons> no button is sent
2014-10-09 13:42:15 +02:00
Johannes Meyer
f8f27e046d
Ensure that we advance a wizard when pushing ENTER
...
refs #7163
2014-10-09 13:41:06 +02:00
Johannes Meyer
1cbe2451a8
Merge branch 'master' into feature/setup-wizard-7163
...
Conflicts:
application/forms/Config/Resource/StatusdatResourceForm.php
2014-10-08 16:34:31 +02:00
Johannes Meyer
ad7965228c
Add install routines for all INI files
...
This is just a quick&dirty implementation. Once we know how modules are
being processed/installed this needs to be revisited.
refs #7163
2014-10-06 16:49:29 +02:00
Johannes Meyer
b50c780bcf
Let the setup's view scripts be a bit more generic
...
refs #7163
2014-10-06 16:04:58 +02:00
Johannes Meyer
4c6b64f092
Fix that it's not possible to scroll down on wizard pages
...
refs #7163
2014-10-06 11:32:12 +02:00
Johannes Meyer
83006c014c
Wrap wizard buttons in a div
...
refs #7163
2014-10-06 11:07:21 +02:00
Johannes Meyer
f29705fc59
Add summary page
...
refs #7163
2014-10-02 17:11:00 +02:00
Matthias Jentsch
ee63dfd310
Update navigation when the url of the main column changes
2014-10-01 17:47:21 +02:00
Matthias Jentsch
ec9e9e8dfb
Get correct navigation link id on first render
2014-10-01 16:49:30 +02:00
Matthias Jentsch
fa2c9e46ed
Cleanup comments and whitespaces
2014-10-01 16:48:38 +02:00
Johannes Meyer
a980184eb9
Move css instructions to dedicated stylesheet
...
refs #7163
2014-10-01 15:46:58 +02:00
Matthias Jentsch
ed91e119d2
Add close-button to all containers
...
refs #6216
2014-10-01 14:51:51 +02:00
Johannes Meyer
4ef0a5a74a
Fix wizard page css
...
refs #7163
2014-10-01 10:01:25 +02:00
Matthias Jentsch
f188bf6b9c
Make "hosts" and "services" views responsive
2014-10-01 09:24:52 +02:00
Eric Lippmann
cde3ec6bc8
Merge branch 'master' into bugfix/commands-6593
...
Conflicts:
modules/monitoring/application/controllers/TimelineController.php
2014-09-23 22:54:17 -07:00
Eric Lippmann
1710a50d5c
Fix form CSS
2014-09-23 22:43:33 -07:00
Alexander Fuhr
07a4b25560
Merge branch 'master' into bug/history-notification-time-format-6980
2014-09-23 11:38:24 +02:00
Alexander Fuhr
e784aa34b6
Implement DateTimeRenderer and fix history time format
...
refs #6980
2014-09-23 11:36:09 +02:00
Matthias Jentsch
4ce71ef2f2
Display a tooltip on days without events
2014-09-19 17:41:44 +02:00
Matthias Jentsch
ef2f332869
Do not refresh a container when form input was changed or a form element is focused
...
Listen for changes in form elements and abort all reloads that contain a form with
at least one changed form element. Do not refresh containers that contain a focused form
element, except of elements with autofocus, to preserve form elements with a dropdown.
Only focus autofocus elements when there is currently no other selection.
refs #7146
refs #5537
fixes #7162
2014-09-19 15:48:44 +02:00
Eric Lippmann
8bf66425d1
Merge branch 'master' into bugfix/commands-6593
2014-09-15 09:27:56 +02:00
Matthias Jentsch
7f0a2d540b
Tell navigation behavior about changes in active menus
...
fixes #7181
2014-09-12 15:01:25 +02:00
Matthias Jentsch
ad53f7ad3d
Use EventEmitter class as a way to delegate events from behaviors to the dom
2014-09-12 09:09:21 +02:00
Matthias Jentsch
2e0bef5696
Add missing event unbind
2014-09-10 17:10:08 +02:00
Matthias Jentsch
0ec97eb934
Only apply navigation link-click handlers to menu
2014-09-10 17:02:39 +02:00
Matthias Jentsch
e216ba6721
Merge stash
2014-09-10 17:02:39 +02:00
Matthias Jentsch
7aadad913e
Do not follow empty menu links
2014-09-10 17:02:39 +02:00
Matthias Jentsch
cb9c9c78d8
Move navigation events into behavior
2014-09-10 17:02:39 +02:00
Matthias Jentsch
c0908e32ba
Remove unused behavior base-class
2014-09-10 17:02:39 +02:00
Matthias Jentsch
f58da73e2d
Move javascript behaviors into separate classes
2014-09-10 17:02:39 +02:00
Matthias Jentsch
5d2e849491
Apply behaviors correctly on startup
2014-09-10 17:02:39 +02:00
Matthias Jentsch
d99d50b3c4
Add stub for javascript behaviors
2014-09-10 17:02:38 +02:00
Matthias Jentsch
da7e599363
Only remove active elements in navigation on reload
2014-09-09 16:32:15 +02:00
Johannes Meyer
83772c6684
Merge branch 'master' into bugfix/rebuild-form-builder-5525
2014-09-09 16:03:22 +02:00
Matthias Jentsch
b7c207a9cb
Do not drop preselection in the navigation on reload
2014-09-09 15:32:07 +02:00
Matthias Jentsch
157818c8e7
Fix navigation reload
...
Activate the correct menu item with JavaScript after relaod and don't
render it on server-side on XHR requests.
2014-09-09 13:57:48 +02:00
Matthias Jentsch
56b779af4d
Clean up mousemove handler and remove unused tooltip code
2014-09-08 16:46:47 +02:00
Matthias Jentsch
28f5ef2284
Fix elementsOverlap function for SVG elements
...
Access SVG getBBox function to acquire the bounding box for SVG elements
2014-09-08 16:37:20 +02:00
Matthias Jentsch
a352131d65
Move charts.less into widgets.less
...
Don't use a separate less file for only two styles
2014-09-08 16:25:11 +02:00
Matthias Jentsch
545db945da
Auto refresh menu
...
Put the navigation into a container and reload it once every 15 seconds from a distinct menu action. Include the current
path into an URL param to still be able to mark the current menu item as active.
fixes #6955
2014-09-08 15:21:14 +02:00
Matthias Jentsch
39688ece90
Do not show badge when menu is active
2014-09-08 09:36:33 +02:00
Johannes Meyer
ae9e5a40cc
Merge branch 'master' into bugfix/rebuild-form-builder-5525
...
Conflicts:
application/forms/Preference/GeneralForm.php
2014-09-08 08:46:53 +02:00
Matthias Jentsch
51d14af154
Merge branch 'master' into feature/navigation-unhandled-badges-7114
...
Conflicts:
library/Icinga/Web/Menu.php
2014-09-05 18:14:29 +02:00
Matthias Jentsch
19eca5f50b
Show all unhandled host and services in a menu
...
Add the option to define custom renderers for menu items and implement renderers to
display all unhandled services and host in a badge in the navigation.
resolves #7114
2014-09-05 17:57:20 +02:00
Thomas Gelf
c041bcc559
css/paginagion: never wrap pagination
2014-09-05 16:24:07 +02:00
Marius Hein
f2df8d9bae
Timezone detection: Set cookie expiration to 1 day
...
refs #6078
2014-09-05 15:24:13 +02:00
Marius Hein
a300877878
Time detection: Add receiever to bootstrap method
...
refs #6078
2014-09-05 15:24:13 +02:00
Marius Hein
3ce42489c6
Timezone detection: Client implementation
...
refs #6078
2014-09-05 15:24:13 +02:00
Thomas Gelf
0b53f30b08
js/events: ignore mailto links
...
fixes #7079
2014-09-05 15:05:22 +02:00
Matthias Jentsch
34417338dd
Use an icon with better interpolation in our header bar
2014-09-04 17:41:48 +02:00
Matthias Jentsch
eeed030bb5
Do not use an invalid HTML attributes for rich titles
2014-09-04 13:32:30 +02:00
Matthias Jentsch
e5be8d47ef
Fix SVG bound calculation for tooltips in Firefox
2014-09-04 09:53:57 +02:00
Matthias Jentsch
868e8b25b6
Fix left over tooltips after reloads with layout shift
2014-09-04 09:32:15 +02:00
Matthias Jentsch
510e38335e
Remove useless tooltip from host and service list
...
remove titles from time spans on all td.state, since the formatted time
is already displayed in the inner div
2014-09-03 17:43:43 +02:00
Matthias Jentsch
da85112538
Merge branch 'master' into feature/svg-chart-tooltips-7024
2014-09-03 17:08:00 +02:00
Matthias Jentsch
cd8416bd3c
Add information about the source and installation of all needed jquery-tipsy files
2014-09-03 17:03:04 +02:00
Matthias Jentsch
593134203c
Add minified version of tipsy sources
2014-09-03 17:02:01 +02:00
Matthias Jentsch
37b168995b
Rename tipsy stylesheet file type to css and add license
2014-09-03 17:01:07 +02:00
Matthias Jentsch
b10b1ea034
Add jQuery tooltips
2014-09-03 15:53:56 +02:00
Thomas Gelf
ef847801f2
js/loader.js: preserve scrolling position...
...
...on autorefresh and reset it otherwise.
fixes #6285
fixes #6988
2014-09-02 20:11:37 +02:00
Thomas Gelf
f12a5741b8
js/loader: postpone redirection handling
...
Redirections should not be executed unless the original request has been
terminated and removed from pending requests.
fixes #6989
2014-09-02 19:05:49 +02:00
Johannes Meyer
fb5685bac3
Merge branch 'master' into bugfix/rebuild-form-builder-5525
...
Conflicts:
application/forms/Config/Authentication/BaseBackendForm.php
application/forms/Config/Authentication/DbBackendForm.php
application/forms/Config/Authentication/LdapBackendForm.php
application/forms/Config/Authentication/ReorderForm.php
application/forms/Config/LoggingForm.php
application/forms/Config/ResourceForm.php
application/forms/Preference/GeneralForm.php
library/Icinga/Application/Config.php
library/Icinga/Web/Form.php
modules/monitoring/application/controllers/ConfigController.php
modules/monitoring/application/forms/Config/Backend/CreateBackendForm.php
modules/monitoring/application/forms/Config/Instance/CreateInstanceForm.php
modules/monitoring/application/forms/Config/Instance/EditInstanceForm.php
modules/monitoring/application/forms/Config/SecurityForm.php
2014-08-29 16:05:56 +02:00
Matthias Jentsch
e799d65d3f
Only apply SVG responsiveness when not rendered in compact mode
...
Don't let SVGs grow vertically in when displayed in the dashboard, to avoid wasted space
2014-08-28 16:52:02 +02:00
Matthias Jentsch
f77cd9cafa
Fix coding guidelines
2014-08-28 16:21:16 +02:00
Matthias Jentsch
6a32c3a8ab
Make charts responsive
...
Let pie and grid charts of the chart controller automatically adapt to changing viewport sizes.
2014-08-27 17:21:55 +02:00
Johannes Meyer
bb7972aa39
Merge branch 'master' into bugfix/rebuild-form-builder-5525
...
Conflicts:
application/controllers/AuthenticationController.php
application/controllers/ConfigController.php
application/forms/Authentication/LoginForm.php
application/forms/Preference/GeneralForm.php
modules/monitoring/application/controllers/ChartController.php
2014-08-20 13:13:50 +02:00
Thomas Gelf
538c6cf90b
js/events: ignore button/submit clicks
...
In case you clicked a (submit) button in an action row this also
also triggered that row's click handler. As the event is going to be
stopped there, this leads to "unsubmittable forms". Fixed.
fixes #6963
2014-08-20 09:26:16 +02:00
Thomas Gelf
686152abf3
js/events: fix a small bug introduced right now
...
Links on non-multiselect action tables stopped working.
refs #6705
2014-08-19 19:04:29 +02:00
Alexander Fuhr
ba748cbc4a
Refactor multiSelect and highlight
...
refs #6705
2014-08-19 18:33:28 +02:00
Alexander Fuhr
6fe47bf5b0
Fix rows highlighting after refresh
...
fixes #6705
2014-08-19 17:32:17 +02:00
Thomas Gelf
f40ada6c81
js/ui: check whether a link tag has a type
...
The new favicon didn't have such, resulting in JS error when reloading
CSS at runtime.
2014-08-19 12:23:51 +02:00
Thomas Gelf
9ce99bf280
js/helpers: add $.hasAttr
...
Need this for another fix and there is no such jQuery function. As this
seems to also be inconsistant across browsers I thought this would
definitively be worth a custom jQuery plugin.
2014-08-19 12:22:36 +02:00
Thomas Gelf
17b64f9dd5
layout: add favicon
...
fixes #6956
2014-08-19 10:13:19 +02:00
Thomas Gelf
512e7d516b
js/loader: Handle __SELF__ in redirection URLs
...
That's one more step to smoothly handle #! URLs, especially when you
are not yet authenticated.
refs #6935
2014-08-19 10:00:29 +02:00
Thomas Gelf
3ccfbec53c
js/history: no additional container at login
...
History tries to load additional URLs separated by #! on page load. This
makes no sense on login page. However we need to preserve them when logging
in.
refs #6935
2014-08-19 09:22:10 +02:00
Johannes Meyer
7958a81975
Fix that a form's submit button is not being sent when the method is GET
...
fixes #6890
2014-08-12 12:49:03 +02:00
Johannes Meyer
1de2d0c14f
Merge branch 'master' into bugfix/rebuild-form-builder-5525
...
Conflicts:
application/forms/Authentication/LoginForm.php
library/Icinga/Test/BaseTestCase.php
library/Icinga/Web/Form.php
library/Icinga/Web/Form/Decorator/BootstrapForm.php
2014-07-17 13:15:42 +02:00
Johannes Meyer
3105c2059e
Remove license headers from all files
...
refs #6309
2014-07-15 13:43:52 +02:00
Johannes Meyer
861f9e03c5
Drop public/css/icinga/actiontable.less as its not in use anywhere
2014-07-15 13:43:52 +02:00
Johannes Meyer
53f3d74103
Fix word wrapping in perfdata labels and values
...
fixes #6377
2014-07-10 14:54:53 +02:00
Johannes Meyer
1a1263d9d8
Rename Icinga\Web\Form\Decorator\BootstrapForm
...
We do not use bootstrap anymore but do not want the default Zend
decorators either so this decorator got a more common name.
refs #5525
2014-07-10 11:09:48 +02:00
Thomas Gelf
329b1cf960
js/loader: correctly get rid of data
...
I'm unsure whether this is a jQuery bug or not. The removeData()
function has no effect unless there is a matching data attribute.
Makes IMO no sense, as adding the attribute automagically adds data,
so why should removing it differ.
This patch makes sure that the corresponding attribute is removed too.
Fixes "dashboard sometimes flickering on refresh".
refs #6536
2014-07-08 20:10:44 +02:00
Thomas Gelf
bbc0c36225
js/loader: remove pending request on form redirect
...
Our redirection helper catching forms redirecting to their source
while being shown right-hand left a pending request. Abort was triggered,
but had no effect as the request has already been completed.
fixes #6619
2014-07-07 20:12:49 +02:00
Johannes Meyer
82d2f5ac9b
Revert "Merge branch 'feature/install-wizard-6136'"
...
This reverts commit 88d4262e7c
, reversing
changes made to 6fae333048
.
Conflicts:
application/controllers/InstallController.php
library/Icinga/Web/Controller/ActionController.php
2014-07-07 15:09:03 +02:00
Thomas Gelf
590db51255
js/loader: handle form redirections automagically
...
An XHR redirection in a right-side container pointing to the URL
shown on the left should close it's own container and refresh the
lefthand one.
refs #6436
fixes #6435
2014-06-30 16:19:05 +02:00
Thomas Gelf
30106a9cbd
js/loader: autorefresh requests should run parallel
...
The check whether a request was already running failed as soon as
another request was activ. Now they run as they should.
2014-06-25 20:15:44 +02:00
Thomas Gelf
1385667edc
js/responsiveness: respect singlecolumn layouts
...
Target _next now depends on current layout
2014-06-24 07:46:37 +02:00
Thomas Gelf
0604d30348
js/loader: stop pending subcontainer requests
...
When redrawing a container we should cancel it's subcontainers pending
requests. This also fixes stopPendingRequestsFor(), it didn't really
work before.
2014-06-24 07:01:37 +02:00
Thomas Gelf
90bb20f4c3
js/ui: add toggleDebug function
2014-06-24 06:41:57 +02:00
Thomas Gelf
473a705e2e
Assign unique ids to dashlets and subcontainers
...
Without this we have no chance to cancel pending requests for dashlets.
fixes #6552
2014-06-24 06:40:08 +02:00
Thomas Gelf
ef0963af38
js/events: ignore javascript: in links
2014-06-24 06:35:52 +02:00
Thomas Gelf
d199a8b036
CommandForm: input[type=submit] instead of button
...
No need for a "button" here. As they have been broken in ZF for
a long while we should better stay with input[type=submit]
fixes #5978
2014-06-23 14:10:15 +02:00
Thomas Gelf
6f19bb13b8
js/loader: ignore focus on autosubmitting elements
...
Autorefresh response is not rendered while your focus sits in a form.
This is not so useful for autosubmitting elements, let's ignore them.
2014-06-23 14:04:02 +02:00
Thomas Gelf
23ed744747
params/_render: replace it everywhere
...
Cleaning up controllers and JS, using headers only and respecting
history.
2014-06-22 20:07:44 +02:00
Thomas Gelf
aded901aa5
js/loader: reload CSS BEFORE redirecting
2014-06-22 20:01:10 +02:00
Thomas Gelf
41b8b8cf31
js/loader: remove history-related noisy log entry
2014-06-22 19:58:58 +02:00
Thomas Gelf
180a6f08f5
js/loader: notifications should survive new layout
...
Once replacing the whole layout we used to override notifications.
This is now fixed, they are going to be detached and re-attached
before and after re-rendering the page content.
2014-06-22 19:55:50 +02:00
Thomas Gelf
7444ab7d26
js/ui: add notice when reloading CSS
2014-06-22 19:47:15 +02:00
Thomas Gelf
dfe2448921
CSS/menu: remove text shadow from active submenu
2014-06-22 14:08:16 +02:00
Thomas Gelf
78193137f0
config/modules: show metadata, improve usability
...
Well... I didn't want to commit this before creating single-button
forms for enabling/disabling modules. However part of this accidentally
made it through, so let's finish it.
Still some work to do, but it already looks far better like this.
refs #4095
2014-06-21 02:27:27 +02:00
Thomas Gelf
747083d322
JS/history: handle also requests out of containers
...
On login/logout (not only) we have requests not rendered to containers.
History handling only cared about them and failed.
fixes #6466
2014-06-21 01:57:59 +02:00
Thomas Gelf
c0c7a815f8
Merge remote-tracking branch 'origin/master' into feature/query-interfaces-6018
2014-06-20 19:18:38 +02:00
Thomas Gelf
45fa8ca225
CSS/forms: style them
...
* login form style should only affect login form
* accessibility: add labels on login page
2014-06-20 16:39:01 +02:00
Thomas Gelf
40c298ceb6
CSS: more space for AVP table headers
...
This is now possible as font size got reduced
2014-06-20 16:21:41 +02:00
Thomas Gelf
a79f786546
JS/loader: add icon cache prototype
...
Just playing around, I'm still unsure whether this really helps. The
motivation behind this patch are icons loaded again after not being
displayed for a little while.
Remains disabled unless we know whether and for which scenarios
(cache disabled, HTTPS...) this really helps.
2014-06-20 16:18:10 +02:00
Thomas Gelf
06a8803242
JS/loader: add failed requests to history
...
It's confusing if they are handled differently
2014-06-20 16:16:04 +02:00
Thomas Gelf
85b1ef096b
CSS: Style h3 elements
2014-06-20 16:12:48 +02:00
Thomas Gelf
199f6e978b
CSS/controls: fix margin
...
Problem was that as of CSS voodoo "padding" is not possible for our
"controls" section. Some control components therefore got margins,
but that's pretty ugly. This patch fixes this but pretends that all
components sitting directly below "controls" provide a root node.
2014-06-20 15:47:27 +02:00
Thomas Gelf
916c9c027e
forms: fix isSubmitted
...
Implementation made wrong assumptions. A form is submitted when the
submit button has been pressed. It's value is then filled, it also
is when you're just pressing "RETURN". RETURN triggers the FIRST
submit button in a form. This way we are also able to find out which
form button has been pressed.
Current implementation is still poor, however isSubmitted works as
expected right now - and so does autosubmission.
fixes #5967
2014-06-20 14:32:22 +02:00
Thomas Gelf
472ad08090
Accessibility: improve pagination
2014-06-20 14:27:17 +02:00
Thomas Gelf
834a73f926
JS/ui: fix "running" timesince/timeuntil
...
Broken got this by better English ;)
2014-06-20 13:54:16 +02:00
Thomas Gelf
bd57f8f02a
JS/loader: don't autorefresh while editing
...
We would loose our focus if autorefresh takes place. So we don't render
the new content in case a form field in the very same container carries
the focus. It would be great to have a better solution one far day, but
for now it plays fine like this.
2014-06-20 13:52:05 +02:00
Thomas Gelf
76219b025b
js/events: multiple multiselect fixes
...
* Removed obsolete checks (event is only triggered for multiselect tables)
* allows deselecting last row, closing "detail view"
* fix bug when unselecting one of two rows, it used to keep the wrong one
* play nice with other involved non-row-level links
2014-06-20 13:43:18 +02:00
Thomas Gelf
f98d8f7fc5
JS/ui: create new simple filter URLs
2014-06-20 13:40:41 +02:00
Thomas Gelf
68a90b8de8
JS/ui: separate closeContainer logic
2014-06-20 13:33:19 +02:00
Thomas Gelf
28c61c2595
JS/XHR: last commit was missing the JS part
2014-06-20 13:22:53 +02:00
Thomas Gelf
596e7f6533
CSS: fix cursor size in chrome
...
This has been introduced by fixing IE8, line-hight==input-heigt looks
ugly on chrome.
2014-06-20 12:36:41 +02:00
Thomas Gelf
d4cc8f6dd6
CSS: Show filterEditor as a tree
2014-06-20 12:33:37 +02:00
Thomas Gelf
680832a5db
CSS/tree: add CSS support for simple tree views
...
Not sure whether we should replace this with a "flat" one, it should
do the job right now.
2014-06-20 12:32:19 +02:00
Matthias Jentsch
aae49ce0c0
Do not show tooltips for piechart areas that indicate empty or free areas
...
refs #6117
2014-06-18 17:38:25 +02:00
Matthias Jentsch
6555d347a7
Escape InlinePie html and adjust chart size
...
fixes #6117
2014-06-18 14:43:14 +02:00
Matthias Jentsch
be0c5d4b23
Add more meaningful tooltip labels to InlinePies
...
Show current title, a well-formated value and a label for each area in a
tooltip and add the ability to customize tooltip labels of InlinePies
refs #6117
2014-06-18 14:43:14 +02:00
Thomas Gelf
b7cdff6fa5
js/history: do not remove special params
...
We used to do this to blacklist certain parameters to not trigger
heavvy actions twice when navigating through history. We also do
never want to see such parameters in our address bar.
This conflicts with our slightly more complicated new filter URLs,
unless we are able to handle them on client side this is disabled
for now. IMO it should be handled server-side and eventually invol-
ving one more redirect.
2014-06-17 14:21:28 +00:00
Thomas Gelf
0b9850edc2
CSS/avp-table: reduce font sice, might look better
2014-06-17 14:11:25 +00:00
Thomas Gelf
c36ad91018
CSS/forms: first attempt to make them look better
...
More to come
2014-06-17 13:34:41 +00:00
Thomas Gelf
c3eae11624
JS/IE8: fix IE8 error caused by focus()
...
No more error when using the jQuery wrapper. Focus handling is pretty
outdated, needs special care as soon as we have auto-refreshing search
fields.
2014-06-12 17:22:17 +00:00
Thomas Gelf
3047992ab5
CSS/tables: improve row hover styles
...
Added a default hover color, fix inheritage and missing states.
2014-06-12 08:20:57 +00:00
Thomas Gelf
dfcf3d28e6
CSS/pagination: avoid text-selection
...
Clicking fast through pagination resulted in irritating text
selections and therefore uncomfortable behaviour. Should be
fixed now.
2014-06-12 08:07:04 +00:00
Marius Hein
06296f29d8
UI/Sparklines: Change sparkline code to serverside only
...
fixes #6124
2014-06-06 16:35:33 +02:00
Marius Hein
4587f26476
Revert "Ui/Sparklines: Remove img src before putting it into DOM"
...
This reverts commit a75796c64d
.
2014-06-06 14:41:57 +02:00
Marius Hein
a75796c64d
Ui/Sparklines: Remove img src before putting it into DOM
...
SVG chart was fetched although we removed image tags
from DOM. This happens when text is converted into
browser DOM model to use with javascript. Small
regex remove img source attribute to avoid using
network bandwidth for unknown resources.
fixes #6124
2014-06-06 13:58:01 +02:00
Thomas Gelf
ba87cc5c4a
IE8/JS: some more console logging fixes
...
refs #6417
2014-06-06 05:23:57 +00:00
Thomas Gelf
2bf58b034b
JS/cleanup: separate redirect header handling
2014-06-05 19:37:12 +00:00
Thomas Gelf
4646b74fbc
JS/cleanup: start to clean up response handling
...
First step: get rid of the messy workaround for the problem that
notifications got lost once the whole body is re-rendered. This
should be solved either on server side or by detaching and re-
attaching existing notifications in such scenario.
2014-06-05 18:52:03 +00:00
Thomas Gelf
2d228ce83d
JS for IE8: even more JS fixes
...
refs #6417
2014-06-05 18:11:19 +00:00
Thomas Gelf
0d9f8786f9
JS for IE8: failsafe console handling & others
...
It's quite tricky to get this working. Still not perfect, but works
as expected. Also added Function.bind and Array.indexOf - absence of
both used to cause JS errors.
refs #6417
2014-06-05 15:35:38 +00:00
Thomas Gelf
ca6b373be2
JS: fix multiselect burning resources
...
Especially on browsers with slow JS like IE8 iterating again and again
over all rows used to harm response rendering. Immagine a dasboard with
a total of a few hundred rows refreshing every 10 seconds while taking
3 secs to render one dashlet... it's far better right now.
refs #6417
2014-06-05 15:16:03 +00:00
Thomas Gelf
6d321d67cd
JS/CSS: Get IE8 working
...
Just a bunch of JS and CSS improvements / fixes
refs #6417
2014-06-05 15:03:59 +00:00
Thomas Gelf
176588c87d
installation: get rid of .htaccess, less automake
...
Trying to remove a bunch of autoconf and .htaccess-related stuff.
This commit is the last one from a series now finally allowing to run
icingaweb directly from a git checkout.
refs #4075
2014-06-05 14:54:00 +00:00
Thomas Gelf
83faa66167
CSS: try to hover state rows with state color
...
This should help your eye to recognize faster whether you hovered the
desired row and helps to distinct hovered from active / selected rows
2014-06-05 03:47:09 +00:00
Thomas Gelf
11b4661b46
js/history: fix history on initial page
...
There is a workaround for a nasty Chrome missbehaviour, however I have
no longer been able to reproduce it. Temporarily disabled the workaround,
could you please try whether behaviour is better / correct like this?
Please also check for requests firing twice on initial page load.
refs #6277
2014-06-05 03:40:43 +00:00
Thomas Gelf
99aae5a0d9
JS/XHR: get ready to get XHR redirect-aware
...
These are just the first steps, there is more to come
2014-06-05 03:37:36 +00:00
Thomas Gelf
b3f65c8e37
CSS: Try to make PDFs look better
2014-06-05 03:25:00 +00:00
Thomas Gelf
76d0b188b6
CSS: Lighter lines, border fixes
2014-06-05 03:24:30 +00:00
Thomas Gelf
248cdb5660
CSS: set default fore- and background
...
Just to be on the safe side...
2014-06-05 03:22:26 +00:00
Thomas Gelf
e992f152bb
packaging/configuration: get rid of _ENV
...
We should use _SERVER for our settings as it works fine on CLI and
for web servers.
refs #6400
2014-06-04 21:08:49 +00:00
Thomas Gelf
f767fb2de3
js/ui: rename timeunless to timeuntil
...
CSS filter adjusted to fit recent changes
refs #5981
2014-05-29 11:09:52 +00:00
Gunnar Beutner
d01a98b7e6
Fix some of the time-related grammar mistakes
...
This updates some of the messages to use "For"
instead of "Since" where appropriate.
fixes #5981
2014-05-29 11:30:08 +02:00
Thomas Gelf
e7e7ae72ba
Encoding: decode encoded titles
...
Related to the last commit, forgot to decode titles
2014-05-28 21:39:34 +00:00
Thomas Gelf
88460189cd
Encoding: no ASCII chars > 127 in HTTP headers
...
Had quite some trouble with this, decided to URL-encode titles and
notifications.
2014-05-28 21:34:36 +00:00
Thomas Gelf
cf6f1f8bf4
icinga/loader.js: play nice with invalid responses
...
Even responses with no HTML or no root node or similar must be rendered
successfully to their containers.
2014-05-28 15:59:42 +00:00
Thomas Gelf
886c8b1231
js/notifications: fixed target=ignore notification
...
Ongoing error handling cleanup silently dropped notifications for
requests with "invalid" target (e.g. commands not redirecting after
submission - they should not exist, but they do).
This is redundant code, but that's ok for now - response handling will
be restructured.
fixes #6327
refs #6280
2014-05-27 10:54:44 +00:00