13656 Commits

Author SHA1 Message Date
raviks789
6711654146 Avoid rendering duplicated CSS definitions in var() function calls
In `Call::compile()` in case we have CSS var() function calls and the keyword value of the function call prefixed by `--`
and color property name prefixed by `@` are same, then avoid generation of duplicate CSS definitions.
2022-07-12 14:48:21 +02:00
raviks789
2c3bc6ea95 Use Call::fromCall() in Visitor::visitCall() irrespective of calling function name 2022-07-12 13:57:06 +02:00
Johannes Meyer
ff551392c7 Merge branch 'release/v2.11.1' 2022-07-06 14:49:08 +02:00
Johannes Meyer
225d43b45f Release version 2.11.1 2022-07-06 14:48:48 +02:00
Johannes Meyer
8ab2c3a320 Update CHANGELOG 2022-07-06 14:48:48 +02:00
Sukhwinder Dhillon
21e4c68a58 Format.php: Handle null values 2022-07-06 14:43:16 +02:00
Johannes Meyer
35977d67ed mysql: Use ROW_FORMAT=DYNAMIC everywhere 2022-07-06 11:47:30 +02:00
Eric Lippmann
aa8c944d49 Docs: Fix Upgrading
Our icinga.com/docs tooling does not render the previous state
correctly.
2022-07-05 15:43:21 +02:00
moreamazingnick
f84057fd83 Fix wrong return value breaks doc-module search
refs #4856
2022-07-05 15:42:46 +02:00
Sukhwinder Dhillon
f0f2835708 Module: Don't pass null as param to class_exists() 2022-07-05 15:42:15 +02:00
Johannes Meyer
97f459b7e9
Merge pull request #4854 from Icinga/fix/incorrect-history-time-and-date-4853
Fix incorrect history time and date
2022-07-05 15:41:37 +02:00
Johannes Meyer
947aa91c48 DbQuery: Don't call timestampForSql() in valueToTimestamp()
We can't call it implicitly, not all filter columns support
date time strings, especially in postgresql..
2022-07-05 09:55:32 +02:00
Johannes Meyer
4b60f87021 IdoQuery: Correct doc of method requireColumn() 2022-07-05 09:55:32 +02:00
Johannes Meyer
e5ec9a36f7 monitoring: Fix conversion rules for timestamps in various queries 2022-07-05 09:55:32 +02:00
Johannes Meyer
46998464ea
Merge pull request #4826 from Icinga/release/v2.11.0
Release v2.11.0
v2.11.0
2022-06-30 13:52:33 +02:00
Johannes Meyer
dcf194bc4c Raise version to 2.11.0 2022-06-30 13:47:07 +02:00
Johannes Meyer
069f249372 doc: Add v2.11.x upgrading notes 2022-06-30 13:47:07 +02:00
Johannes Meyer
f2fe428584 Update CHANGELOG 2022-06-30 13:47:07 +02:00
Johannes Meyer
b497d5406f Update AUTHORS 2022-06-30 13:47:07 +02:00
Johannes Meyer
627fa84db1 Update .mailmap 2022-06-30 13:47:07 +02:00
Johannes Meyer
b435e42b41
Merge pull request #4841 from Icinga/introduce-schema-table
Introduce schema table
2022-06-30 13:43:19 +02:00
Johannes Meyer
9cff754602 pgsql: Add table icingaweb_schema
Co-authored-by: Eric Lippmann <eric.lippmann@icinga.com>
2022-06-30 13:26:58 +02:00
Johannes Meyer
656f39b9db mysql: Add table icingaweb_schema
Co-authored-by: Eric Lippmann <eric.lippmann@icinga.com>
2022-06-30 13:26:20 +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