Sukhwinder Dhillon
c30df56de4
Release version 2.9.5
2021-11-17 16:51:55 +01:00
Johannes Meyer
81f6116f3f
Release version 2.9.4
2021-11-10 10:17:35 +01:00
Sukhwinder Dhillon
2c01f38dec
Add icingadb as OR dependecy
...
Add only if the given module supports icingadb and has monitoring as a requirement
2021-11-10 09:33:48 +01:00
Johannes Meyer
8d047b6ffd
LessCompiler: Show more details for parsing exceptions
2021-11-03 16:23:22 +01:00
Johannes Meyer
fd4ab2babc
StyleSheet: Handle missing themes gracefully
2021-11-02 15:09:52 +01:00
Ravi Kumar Kempapura Srinivasa
685f1f90bc
Handle non `.js` files in asset/js and non `.css` or `.less` in asset/css folder
...
Non javascript files in asset/js folder or non css or less files in asset/css folder causes minfier to throw error. This is handled here.
2021-11-02 08:58:58 +01:00
Ravi Kumar Kempapura Srinivasa
be3a722a28
Compress comment detail in Hosts detail and Comments list.
2021-10-07 10:44:10 +02:00
Alexander A. Klimov
8b651d5f13
Donut: allow big label to indicate a specific state
...
refs #4494
2021-09-23 15:17:33 +02:00
Ravi Kumar Kempapura Srinivasa
bbd36d5f83
Check if the column in the row is set for filters
...
When the column is not set for the filters undefined property exception is thrown in icinga-director. This is a quick fix to solve the issue.
2021-08-24 09:34:26 +02:00
Johannes Meyer
b2274a5589
Release version 2.9.3
2021-08-10 10:11:44 +02:00
Johannes Meyer
24c1618793
LoginForm: Also disable stay logged in case of no encryption method
2021-08-10 10:09:15 +02:00
Johannes Meyer
a00166f15b
Javascript: Enhance optimization
...
* Don't try to optimize non-icinga define calls
* Don't optimize `exports` dependency
* Log errors to debug log, it's stuff for devs
2021-08-10 09:23:45 +02:00
Sukhwinder Dhillon
8c22514758
Utilize multiple encryption ciphers for remember me
2021-08-09 16:58:58 +02:00
Johannes Meyer
907f7826b2
Release version 2.9.2
2021-07-28 09:33:41 +02:00
Johannes Meyer
0b6f71c446
If enforcing a charset, DO IT ONLY IF THE DB TYPE IS CORRECT
2021-07-28 09:04:28 +02:00
Johannes Meyer
1b2cd8fdf3
Release version 2.9.1
2021-07-27 15:22:32 +02:00
Sukhwinder Dhillon
645c0770a2
Rememberme compatibility with php version 5.6+ ( #4472 )
2021-07-26 17:37:38 +02:00
Johannes Meyer
aee82ad342
Database: Always use `utf8mb4` as connection charset
2021-07-26 16:37:41 +02:00
Johannes Meyer
62f1fe2c3f
PreferencesStore: Always use `utf8` as db connection charset
2021-07-26 16:37:41 +02:00
Johannes Meyer
517c108cc4
UserGroupBackend: Always use `utf8` as db connection charset
2021-07-26 16:37:41 +02:00
Johannes Meyer
7ce3778378
UserBackend: Always use `utf8` as db connection charset
2021-07-26 16:37:35 +02:00
Johannes Meyer
7b9cb7f9fb
SVGRenderer: Set correct input encoding
...
fixes #4462
2021-07-26 11:57:45 +02:00
Johannes Meyer
c38a7b5cf3
css: Disable login orb animation and all orbs for themes
...
fixes #4437
2021-07-26 11:54:28 +02:00
Johannes Meyer
b8b77332c4
Database: Only use `PDO::MYSQL_ATTR_INIT_COMMAND` for mysql connections
...
fixes #4441
2021-07-21 09:19:43 +02:00
Johannes Meyer
b39d9d6746
LinkTransformer: Don't open external urls in iFrames
...
fixes #4449
2021-07-21 09:17:23 +02:00
Johannes Meyer
f73614be4d
Raise version to 2.9.0
2021-07-12 10:35:56 +02:00
Johannes Meyer
1fd00dcf1c
We drop support for the `INI` config backend type with v2.11
2021-07-12 10:35:56 +02:00
Johannes Meyer
228e503131
js: Allow to reload the window
2021-07-07 09:41:48 +02:00
Johannes Meyer
9e0785b0b4
AppHealth: Fix typo
2021-07-06 15:18:16 +02:00
Johannes Meyer
ff30bf2393
IcingaCheckbox: Use css class `sr-only` again
...
`hidden=true` also hides elements from screen readers.
`sr-only` is now fixed for chrome.
`aria-hidden` true has been added because it suits
and was previosly missing.
fixes #4411
2021-07-01 11:16:55 +02:00
Johannes Meyer
53c0d6de86
Wizard: Transform emtpy page data values to null
...
Previously the wizard wrote empty strings to config files.
2021-06-30 18:53:41 +02:00
Johannes Meyer
2be1ed3878
Merge pull request #4400 from Icinga/feature/username-in-navigation-items
...
Support $user.local_name$ macro in navigation items
2021-06-29 12:55:12 +02:00
Eric Lippmann
d1aaaf7fb0
Replace user:local_name with user.local_name macro in restrictions
2021-06-28 15:16:56 +02:00
Eric Lippmann
7e7e2415dc
Support $user.local_name$ macro in navigation items
2021-06-28 14:26:38 +02:00
Johannes Meyer
889c0a749c
Module: Report `ipl` and `reactbundle` as library requirements
...
This way modules with the legacy requirement definition
can still be enabled without the modules in place.
2021-06-28 10:55:45 +02:00
Johannes Meyer
82485236f7
Auth: Also reload theme mode if no theme is active
...
refs #4390
2021-06-24 09:44:28 +02:00
Johannes Meyer
b59f26879e
LessParser: Add custom function `extract-variable-default`
2021-06-23 17:40:06 +02:00
Sukhwinder Dhillon
492a9ec229
Auth: Reload CSS if mode change
2021-06-23 17:34:27 +02:00
Sukhwinder Dhillon
8b24e3bffe
Stylesheet: Collect and load theme mode files
2021-06-23 17:34:27 +02:00
Sukhwinder Dhillon
b291d7ce3d
Add new less lib
2021-06-23 16:13:49 +02:00
Johannes Meyer
6a0da10473
Manager: Don't register the ipl and reactbundle module
...
Both are superseded by their respective library. This
way we make sure there are no competing auto loaders.
2021-06-22 12:50:59 +02:00
Johannes Meyer
bc88e8d62b
SingleValueSearchControl: Use strict interfaces..
...
..to construct ipl\Html objects
2021-06-21 16:11:55 +02:00
Johannes Meyer
ed009bb032
PrivilegeAudit: Use strict interfaces to contruct ipl\Html objects
2021-06-21 16:11:30 +02:00
Johannes Meyer
f400f4d96d
AppHealth: Use strict interfaces to construct ipl\Html objects
2021-06-21 16:10:55 +02:00
Johannes Meyer
35659c8d51
Merge pull request #4391 from Icinga/improve-cache-handling
...
Improve cache handling
2021-06-18 13:57:30 +02:00
Johannes Meyer
0756797fbb
Make configuration of custom user-group backends possible
...
refs #2840
2021-06-18 10:41:39 +02:00
Gianluca Piccolo
1e7f700102
Make configuration of custom user backends possible
...
refs Icinga/icingaweb2#2840
2021-06-18 10:28:35 +02:00
Johannes Meyer
870c3e0e5b
Force clients to ask us if their cached CSS is valid
2021-06-16 14:58:44 +02:00
Johannes Meyer
1ada53539c
Force clients to ask us if their cached JS is valid
2021-06-16 14:57:14 +02:00
Johannes Meyer
81c0613e68
Library: Add missing shut-up operator to `file_get_contents` call
2021-06-16 11:57:00 +02:00
Johannes Meyer
0d6da2d859
error/error: Check web2's deps and enhance lib checks
2021-06-07 09:40:40 +02:00
Johannes Meyer
4e3811cc84
Module: Allow `/` and `-` in module/library dependency names
2021-06-01 09:14:28 +02:00
Johannes Meyer
229e24519a
Merge pull request #4376 from Icinga/utilize-ipl-i18n-4366
...
Utilize ipl-i18n
2021-06-01 09:13:45 +02:00
Johannes Meyer
4fc78a4cfd
ApplicationBootstrap: Change default library path
...
from: `/usr/share/php-Icinga`
to: `/usr/share/icinga-php`
2021-05-31 10:17:35 +02:00
Johannes Meyer
dcb619e62a
Translator: Add deprecation notice and use ipl-i18n internally
2021-05-28 14:03:36 +02:00
Johannes Meyer
f363bf5bf6
BaseTestCase: Setup `ipl\I18n\StaticTranslator::$instance`
2021-05-28 14:03:36 +02:00
Johannes Meyer
db1fea6331
Web: Detect preferred locale using ipl-i18n
2021-05-28 14:03:36 +02:00
Johannes Meyer
84757111d1
ApplicationBootstrap: Deprecate method `listLocales()`
2021-05-28 14:03:36 +02:00
Johannes Meyer
2e5abbc832
Use ipl-i18n's `Translation` trait where applicable
2021-05-28 14:03:36 +02:00
Johannes Meyer
cb92e86b99
functions: Use ipl-i18n in functions `t`, `tp`, `mt` and `mtp`
2021-05-28 14:03:36 +02:00
Johannes Meyer
8137f1546f
Module: Register locales using ipl-i18n
2021-05-28 14:03:36 +02:00
Johannes Meyer
bfd2449e5d
bootstrap: Setup internationalization using ipl-i18n
2021-05-28 14:03:36 +02:00
Florian Strohmaier
24c1bb1f8c
IcingaCheckbox: Add `hidden attribute to input element
...
refs #4310
2021-05-25 17:09:51 +02:00
Eric Lippmann
68acf12407
Remember me ( #4112 )
...
Co-authored-by: Sukhwinder Dhillon <sukhwinder.dhillon@icinga.com>
2021-05-21 15:43:06 +02:00
Johannes Meyer
162d898d42
js: Introduce `DatetimePicker` behavior
...
Utilizes `flatpickr` from ipl-web.
2021-05-17 13:20:42 +02:00
Johannes Meyer
a87f15c861
Auth: Reload entire layout if the locale changes
2021-05-17 13:20:42 +02:00
Johannes Meyer
0da4a11d91
Merge pull request #4355 from Icinga/health-endpoint
...
Health endpoint
2021-05-17 13:11:51 +02:00
Johannes Meyer
cb4e6011f3
js: Remove jquery-migrate
2021-05-17 10:44:27 +02:00
Johannes Meyer
0d2bf1ae33
Menu: Integrate health endpoint
2021-05-14 15:45:35 +02:00
Johannes Meyer
5e382dcfa9
Introduce health endpoint /health[/checks]
2021-05-14 15:45:35 +02:00
Johannes Meyer
197f42557a
Markdown: Allow to pass purifier config and provide a default
2021-04-27 13:17:44 +02:00
Johannes Meyer
5f8704e635
Introduce class `Icinga\Web\Helper\Markdown\LinkTransformer`
2021-04-27 13:17:44 +02:00
Johannes Meyer
d9a87f76a2
AdmissionLoader: Optimize role loading
2021-04-14 10:11:19 +02:00
Johannes Meyer
384d9535a9
ArrayDatasource: Sort result first and then apply limit+offset
2021-04-12 15:42:20 +02:00
Johannes Meyer
e671324ddb
tests: Don't use deprecated assertion `assertRegExp()`
2021-04-09 12:38:43 +02:00
Johannes Meyer
bc1c967dec
BaseTestCase: Inherit from `Mockery\Adapter\Phpunit\MockeryTestCase`
2021-04-09 12:38:43 +02:00
Johannes Meyer
cb87190138
tests: Add `:void` return type declarations
2021-04-09 12:38:43 +02:00
Alexander A. Klimov
eff10ec613
ApplicationBootstrap#setupErrorHandling(): migrate error handler to PHP 8
...
... as recommended here:
https://www.php.net/manual/de/migration80.incompatible.php
refs #4287
2021-04-09 12:37:03 +02:00
Johannes Meyer
0d35a1774d
SingleValueSearchControl: Add failure message for empty results
2021-04-07 15:59:03 +02:00
Johannes Meyer
a6507daaaf
SingleValueSearchControl: Allow to pass html as labels
2021-04-07 15:58:25 +02:00
Johannes Meyer
314ec5256c
PrivilegeAudit: Show missing initiators in inheritance paths
2021-04-07 14:30:14 +02:00
Johannes Meyer
b5334a063e
PrivilegeAudit: Show missing restrictions if only parents restrict
2021-04-07 14:30:14 +02:00
Johannes Meyer
698e7bcfa4
SingleValueSearchControl: Show magnifier icon in the text input
2021-04-07 14:30:14 +02:00
Johannes Meyer
074f08db4e
Introduce view `Icinga\Web\View\PrivilegeAudit`
2021-04-07 14:30:14 +02:00
Johannes Meyer
ab90b3e0a1
Role: Add param `$cascadeUpwards` also to public method `grant()`
2021-04-07 14:30:14 +02:00
Johannes Meyer
9d10424f97
AdmissionLoader: Set additional user information `assigned_roles`
2021-04-07 14:30:14 +02:00
Johannes Meyer
f4da973f68
Auth: Only reload CSS upon login if the theme **really** changed
...
fixes #2233
2021-04-07 14:30:14 +02:00
Johannes Meyer
0aa4e25723
Auth: Introduce method `setupUser()`
...
This was previously part of method `setAuthenticated()`.
Split up to allow external usage.
2021-04-07 14:30:14 +02:00
Johannes Meyer
153e9b4ade
SingleValueSearchControl: Add support for groups and meta data
2021-04-07 14:30:14 +02:00
Johannes Meyer
42bdbe38b1
Introduce class `Icinga\Web\Widget\SingleValueSearchControl`
2021-04-07 14:30:14 +02:00
Johannes Meyer
a4a658974d
AuthBackendController: Inherit from `ipl\Web\Compat\CompatController`
2021-04-07 14:30:14 +02:00
Johannes Meyer
8b0fd4daaf
FilterEditor: Merge preserved query params as encoded params
...
This way the query param values are not encoded twice.
fixes #4321
2021-03-30 10:30:57 +02:00
Johannes Meyer
0fc06d7795
Transform `*` equal/unequal comparisons to NULL checks
...
This comes from https://github.com/Icinga/ipl-sql/pull/31
2021-03-12 09:50:59 +01:00
Johannes Meyer
5dfa5e28da
User: Add property `$unrestricted`
2021-03-09 11:27:13 +01:00
Johannes Meyer
8c147c1b2f
css: Remove left-over styles from tipsy
2021-03-09 08:58:48 +01:00
Johannes Meyer
59e6ec4035
JavaScript: Ensure that `$baseFiles` are loaded first if minified
2021-03-09 08:52:10 +01:00
Johannes Meyer
4a2ab4740c
JavaScript: Enhance `DEFINE_RE` to broaden supported syntaxes
2021-03-09 08:52:10 +01:00
Johannes Meyer
d6722c7772
LdapQuery: Compare multi-valued attributes as rfc2891 suggests
2021-02-23 08:22:58 +01:00
Johannes Meyer
6a5e12af04
LdapUserGroupBackend: Properly handle multi-valued names
2021-02-23 08:22:58 +01:00
Johannes Meyer
4d4f5b3a69
js: Don't serve scripts utilizing ECMA2016+ features
...
i.e. library javascript assets
2021-02-22 16:01:42 +01:00