Commit Graph

2842 Commits

Author SHA1 Message Date
Thomas Gelf a333c3e57b DocParser: remove explicit call to getRelativeUrl
As this URLs will get rendered we want them to be automatically casted
resulting in correct URLs with &

refs #6699
2014-08-19 10:07:46 +02:00
Thomas Gelf 5a6b5172e6 Menu: ignore special params when comparing URLs
This fixes issues on login with dashboard != dashboard?renderLayout
and similar

refs #6699
2014-08-19 10:06:14 +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 9d4a4f49c9 ActionController: JS should redirect to __SELF__...
...once you lost your session. That's the only way to do this in a
smooth way. When the server get's an unauthenticated request for a
single container, redirecting to auth/login?redir=<that-container>
was not what you expect.

Together with JS handling __SELF__ in redirection URLs this will
play fine.

refs #6935
2014-08-19 09:57:24 +02:00
Eric Lippmann cb17590b71 doc: rename `nofollow' to `noFollow'
refs #4820
2014-08-19 09:57:22 +02:00
Thomas Gelf b9cc964e24 Url\Params: remove() should reindex on change
There was a small bug, fixed.

refs #6699
2014-08-19 09:49:53 +02:00
Thomas Gelf 344909dfcd Web\UrlParams: add() and set() should encode...
...while there is now a addEncoded function, mostly for internal use.

refs #6699
2014-08-19 09:45:58 +02:00
Eric Lippmann 289aed8420 doc: Use `chapterId' instead of `chapterTitle' in URLs
Manually given chapter IDs are meant to not change while a chapter's title could change.

refs #4820
2014-08-19 09:45:53 +02:00
Thomas Gelf 217595dc15 Web/Url: more intuitive separator usage
One might not expect to get a URL with params separated by &amp; while
this is the correct way of writing them to HTML attributes. So default
behaviour is right now that all functions return URL params separated
by &, but if you cast a URL (or it's params) to a string, &amp; will be
used.

Additionally there are toString functions allowing you to choose the
separator "manually".

refs #6699
2014-08-19 09:42:16 +02:00
Thomas Gelf 7caccd7691 Web\Url: remove stripUrlFragment()
This function had an interesting history and seems to be a result of
missunderstanding of each others commits. Removed, as the fragment is
already there.

refs #6699
2014-08-19 09:36:15 +02:00
Thomas Gelf 1cffbc9034 LoginForm: add "redirect" POST field
Instead of blindly trusting the redirect parameter in the URL this
creates a hidden form field and explicitely set's the form action
to the current URL without the redirect parameter.

refs #6584
2014-08-19 09:30:54 +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
Gunnar Beutner 4cfbb1f006 Fix incorrect PHP package name for SLES 11 2014-08-18 21:21:35 +02:00
Alexander Fuhr aec0591001 Add monitoring-plugins Puppet module and drop direct download of the
plugins

fixes #6953
2014-08-18 16:52:59 +02:00
Johannes Meyer 332be22f7e Fix object history dates make output look similar to the event history
refs #6637
2014-08-18 15:32:12 +02:00
Johannes Meyer bbddb9ed87 Add limit-control and fix indentation of the eventhistory view
refs #6637
2014-08-18 15:30:59 +02:00
Alexander Klimov 59c5b70f71 Correct path to icinga2-ido-mysql's schema file 2014-08-18 13:51:06 +02:00
Alexander Klimov 67efe52141 Revert "Put always a ',' after a parameter because explicit is better than implicit"
This reverts commit 26205a76b3.
2014-08-18 11:00:30 +02:00
Johannes Meyer 043688e514 Make event history view more fancier
refs #6637
2014-08-15 17:03:03 +02:00
Johannes Meyer cae84a5d7f Fix float formatting of timeline circle margins and widths
fixes #6926
2014-08-15 13:39:02 +02:00
Alexander Klimov 0677105d45 Unify/Deduplicate some icinga2::features
refs #6842
2014-08-15 13:10:38 +02:00
Alexander Klimov 2245989bdf Merge branch 'master' into feature/deduplicate-puppet-code-6842
Conflicts:
	.vagrant-puppet/manifests/default.pp
2014-08-15 12:41:27 +02:00
Johannes Meyer 54461f9319 Treat hard states more severe than soft states
fixes #6571
2014-08-15 12:40:56 +02:00
Alexander Klimov 26205a76b3 Put always a ',' after a parameter because explicit is better than implicit
refs #6842
2014-08-15 11:10:47 +02:00
Johannes Meyer f2ed813c9a Fix that Icinga\Web\Url::fromPath drops fragments
fixes #6284
2014-08-14 14:23:31 +02:00
Johannes Meyer 4ddc0e718b Report the default language also as being available for setting up the locale
fixes #6905
2014-08-14 10:48:52 +02:00
Johannes Meyer dc8181cdc5 Escape linefeeds and carriage returns in commands and show them as html
fixes #6088
2014-08-14 10:23:04 +02:00
Johannes Meyer 666591beb7 Encode url before passing it to Icinga\Form\Dashboard\AddUrlForm
fixes #6611
2014-08-13 16:41:40 +02:00
Johannes Meyer b5d6481c12 Make it possible to translate the process info view
refs #6610
2014-08-13 15:52:33 +02:00
Michael Friedrich 57db6e429b Fix README, update spec header
refs #6401
refs #6404
2014-08-12 15:24:55 +02:00
Michael Friedrich 9dabc6dc9c Update rpm builds
refs #6401
refs #6403
2014-08-12 14:38:13 +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
Michael Friedrich 143db976ef Properly support Apache 2.2 and 2.4
Can be done by using <IfModule> directive.
Tested on fc20, el7 and Wheezy.

refs #6771
2014-08-12 09:56:43 +02:00
Michael Friedrich d813bad2f8 Update README.md with general & install info
We don't want users to install it in production environments but we
certainly also want to prevent them from doing so by calling `vagrant
up`. Therefore the native method described in doc/installation.md works
for now until there are proper installation methods (packages, etc).

Add support hints, and updated Icinga 2 paths as well.

fixes #6880
2014-08-11 17:21:43 +02:00
Alexander Klimov 392e725d8a Outsource specific parts into profiles icinga-mysql, icinga-pgsql, icinga2, icingaweb2 and nodejs
refs #6842
2014-08-06 13:27:16 +02:00
Alexander Klimov 05afbeebe0 Outsource 'icing_web' database creation into mysql::database::create
refs #6842
2014-08-05 16:29:44 +02:00
Alexander Klimov a110b25071 Outsource 'icingaweb' database creation into mysql::database::create
refs #6842
2014-08-05 16:29:02 +02:00
Alexander Klimov 73a29abac3 Outsource 'icinga_unittest' database creation into mysql::database::create
refs #6842
2014-08-05 16:16:05 +02:00
Alexander Klimov 2e1afd7194 Make privileges customizable in mysql::database::create (and mysql::database::populate)
refs #6842
2014-08-05 16:12:47 +02:00
Alexander Klimov 920a784beb Split mysql::database into mysql::database::create and mysql::database::populate
refs #6842
2014-08-05 15:43:23 +02:00
Alexander Klimov 538088d177 The name of pgsql::database::create MUST NOT be create-pgsql-*-db 2014-08-05 15:37:49 +02:00
Alexander Klimov ee711679e6 Outsource 'icingaweb' database creation into pgsql::database::create
refs #6842
2014-08-05 15:20:43 +02:00
Alexander Klimov 9a50cb8fa3 Outsource 'icinga_unittest' database creation into pgsql::database::create
refs #6842
2014-08-05 15:15:46 +02:00
Alexander Klimov ccbc1f5aa0 Split pgsql::database into pgsql::database::create and pgsql::database::populate
refs #6842
2014-08-05 15:15:01 +02:00
Alexander Klimov e42f400f38 Outsource Icinga database creation and population into pgsql::database
refs #6842
2014-08-05 14:42:01 +02:00
Alexander Klimov fe11ca4744 Merge branch 'master' into feature/deduplicate-puppet-code-6842 2014-08-05 13:50:23 +02:00
Alexander Klimov 82fa6e690f Outsource Icinga (2) database population into mysql::database 2014-08-05 13:09:33 +02:00
Alexander Klimov 8f23f61e00 Don't use `UNDEF' default values 2014-08-05 11:48:25 +02:00
Alexander Klimov 261a5dd43d Don't declare the variable $icinga_packages because it's used only once 2014-08-05 11:17:17 +02:00
Alexander Klimov 8806583289 Outsource Icinga (2) database creation into mysql::database
refs #6842
2014-08-04 13:40:11 +02:00