Commit Graph

13634 Commits

Author SHA1 Message Date
Johannes Meyer 627fa84db1 Update .mailmap 2022-06-30 13:47:07 +02:00
Johannes Meyer ce27161dd8
Merge pull request #4835 from Icinga/less-wip
Fix light mode variable references resolution issue
2022-06-30 12:19:59 +02:00
Yonas Habteab c29ac9842d Call: Don't precompile arg values when it's not an array
The CSS/LESS callable argument values may not always be an array, but also an object or whateever,
in this case we don't need to precompile the values as they could never be a variable.
2022-06-30 12:15:01 +02:00
Yonas Habteab 9ac1a00e94 Remove some unused codes & adjust the license headers 2022-06-30 12:15:01 +02:00
Eric Lippmann e45c53ac3c Test nested LESS variables in minin calls 2022-06-30 12:15:01 +02:00
Yonas Habteab 1ec6913a04 Tests: Add less parser nested variables test cases 2022-06-30 12:15:01 +02:00
Yonas Habteab 5a04480245 Check for deferred color prop when defining variable variable & some fixlets for naming issue 2022-06-30 12:15:01 +02:00
Yonas Habteab a2932bd5ce Visitor: Transform less tree calls & variable definitions into our own classes 2022-06-30 12:15:00 +02:00
Yonas Habteab 7ac2dccbd1 Introduce `DeferredColorProp` class 2022-06-30 12:15:00 +02:00
Yonas Habteab b10261b444 Introduce own `Call` class for less tree calls 2022-06-30 12:15:00 +02:00
Johannes Meyer d2e4e4b2ab
Merge pull request #4844 from Icinga/fix/timeline-and-eventgrid-4843
Fix timeline and eventgrid
2022-06-30 10:02:36 +02:00
Johannes Meyer 3d159fe434 TimeRange: Accept strings in method `validateTime()` 2022-06-30 08:41:47 +02:00
Johannes Meyer e3a9b56423 eventgrid: Avoid passing null to string type functions 2022-06-30 08:40:28 +02:00
Johannes Meyer 95ea071a89 DbQuery: Accept any type in method `valueToTimestamp()` 2022-06-30 08:37:14 +02:00
Johannes Meyer 2a24f69fd8 loader.js: Remove legacy search request handling
Search requests are handled elsewhere in a more dynamic
way since .. some time. This part also used to be active
only in case Icinga Web is hosted at the root of the web
server, which many users don't do as otherwise we would
have gotten more reports in the past regarding the reload
animation. Or rather, about the login not working due to
the same reason.

It's gone for good now.

fixes #4834
2022-06-29 15:05:14 +02:00
Sukhwinder Dhillon 3482ef9e65
Fix that navbar forgets active state after refresh (#4831) 2022-06-29 14:58:02 +02:00
Eric Lippmann 8e64c0b239
Update docs (#4838) 2022-06-29 10:08:45 +02:00
Dirk Goetz d5d714b1ee Fix gravatar: set content-type header and size
Fixes #2254
2022-06-15 09:03:12 +02:00
mrdsam 0c325eb027
Update 03-Configuration.md (#4806) 2022-06-15 08:57:45 +02:00
Johannes Meyer 01a348ff8e
Merge pull request #4823 from Icinga/fix/new-user-menu-forgets-active-states-4791
Fix that the new user menu forgets active states
2022-06-15 08:43:09 +02:00
Johannes Meyer 1e143244e2 navigation.js: Only activate visible items or config menu items 2022-06-15 08:39:55 +02:00
Johannes Meyer db2c30d418 ConfigMenu: Use absolute URLs in nav items 2022-06-15 08:39:55 +02:00
Johannes Meyer 457eb52e2c ConfigMenu: Add missing application_log entry
fixes #4824
2022-06-15 08:39:09 +02:00
Johannes Meyer 96460a2027 history.js: Properly handle data attributes upon navigation
I've rewritten `applyLocationBar` basically. It now also just
moves a column if only the location has changed, not the url.
2022-06-14 16:15:16 +02:00
Johannes Meyer ec27f77861 DataView: Relax filter validation again
There are way too much missing columns in data views all
over the place. I dont' see a justification to fix them
as it's only now this "issue" occurs. It's easier to
revert this change here.

fixes #4797
2022-06-14 15:32:21 +02:00
Johannes Meyer c65ba3c2fc Stylesheet: Don't parse library CSS as LESS 2022-06-14 15:12:26 +02:00
Johannes Meyer 3203cd8fea
Merge pull request #4758 from Icinga/remove-depricated-classes-and-methods
Remove deprecated classes and methods
2022-06-14 14:50:25 +02:00
Sukhwinder Dhillon f780cc15a1 Update `80-Upgrading.md` doc 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon 4ab79a6758 DataView: Remove not in use method `applyUrlFilter()` 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon 3b04a0489e Replace class `Backend` use with `MonitoringBackend` and remove class `Backend` 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon 0db42b32e6 Remove not in use class `Icinga\Module\Monitoring\Environment.php` 2022-06-14 14:24:30 +02:00
Johannes Meyer 0490a2dfe4 Drop class `Icinga\Web\Hook\GrapherHook` 2022-06-14 14:24:30 +02:00
Johannes Meyer d25854ebce Drop class `Icinga\Web\Hook\TicketHook` 2022-06-14 14:24:30 +02:00
Johannes Meyer 9ef344d3b2 Really mark class `Icinga\Web\Hook` deprecated -.-
I would have removed it, but the deprecation notice wasn't
defined properly and so not visible for more than six years.
Now even our own projects make still use of it thoroughly..
2022-06-14 14:24:30 +02:00
Johannes Meyer f8e1137060 Remove restriction macro `user:local_name` 2022-06-14 14:24:30 +02:00
Johannes Meyer 46a21d9709 Drop method `DbQuery::whereToSql()`
It's been used by `DbQuery::renderFilter()` rather
exclusively. So if removing one, both need to go.
2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon e179f9cf3f Update `80-Upgrading.md` 2022-06-14 14:24:30 +02:00
Johannes Meyer 8301cae1a9 migrate: Remove `dashboard sections` command 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon 846a90301d DbQuery: Replace deprecated method `renderFilter()` and remove it 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon be1ff03dd3 MonitoredObject: Remove deprecated methods `matches()` and `fromParams()` 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon 60756afa34 Replace `MonitoringBackend::createBackend()` with `MonitoringBackend::instance()` 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon 49bea36345 MonitoringBackend: Remove deprecated method `createBackedn()` 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon bba77b52e7 LdapConnection: Remove deprecated method `connect()` 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon b47298fffe SimpleQuery: Remove deprecated method `paginate()` 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon 8f0ac0492d Replace deprecated method `DbConnection::getConnection()` with `DbConnection::getDbAdapter()` 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon aded6a055e DbConnection: Remove deprecated method `getConnection()` 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon a3afc1cf5d loader.js: Remove deprecated method ` addUrlFlag()` 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon eb768b4fce Remove deprecated method `ApplicationBootstrap::setupZendAutoloader()` and its uses 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon 577d97a450 DataView: Move `sort()` body to `order()` and remove `sort()` and `fromRequest()` 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon 58ac2a97c2 InlinPie: Remove deprecated method `disableNoScript()` 2022-06-14 14:24:30 +02:00