Commit Graph

13485 Commits

Author SHA1 Message Date
Sukhwinder Dhillon 431c8c9622 Remove mixins that exist in ipl-web
To make ipl-web independent, all mixins used in ipl-web are now
defined in ipl-web (https://github.com/Icinga/ipl-web/pull/54).
Therefore, these mixins are redundant here.
2022-02-10 17:02:03 +01:00
Johannes Meyer f16a54242a DbQuery: Account for daylight savings in `timestampForSql()`
fixes #4568
2022-02-10 16:48:36 +01:00
Johannes Meyer 6982c7e095
Merge pull request #4667 from Icinga/change-theme-mode-detection
Change mode detection in themes
2022-02-10 11:14:18 +01:00
Johannes Meyer 74971359a3 css: Change mode detection to look for `@light-mode` 2022-02-10 11:11:06 +01:00
Johannes Meyer 55330c81c4 css: Drop explicit `dark` mode 2022-02-10 11:11:06 +01:00
Johannes Meyer 3ba4727bbd css: Use `@light-mode` to register light mode rules 2022-02-10 11:11:06 +01:00
Johannes Meyer 212a3fb01f
Merge pull request #4664 from Icinga/cleanup-vars-usages
Cleanup var mixin usages
2022-02-10 11:10:22 +01:00
Johannes Meyer 6dc5c50618 LessCompiler: Catch only parser exceptions 2022-02-10 11:00:06 +01:00
Johannes Meyer 6516eafc6c LessParser: Remove custom function `extract-variable-default` 2022-02-10 11:00:06 +01:00
Johannes Meyer cf9362222e doc: Mention the var-mixin-cleanup in upgrading notes 2022-02-10 10:59:01 +01:00
Johannes Meyer 7a938f6b02 css: Don't use `.var()` or `var()` calls explicitly 2022-02-10 10:59:01 +01:00
Johannes Meyer 6e034b753e
Merge pull request #4613 from Icinga/less-parser-injections
Replace compiled Less colors with CSS var() function calls and generate light mode calls
2022-02-10 10:58:15 +01:00
Eric Lippmann baeca33789 Don't support dark/light mode for IE 2022-02-10 10:47:24 +01:00
Eric Lippmann f1c984cd65 Add license header 2022-02-10 10:47:24 +01:00
Eric Lippmann 0ce968bfda Deny light-mode definitions in selectors 2022-02-09 21:35:12 +01:00
Eric Lippmann 25acc9602e Fix PHP compat 2022-02-09 21:35:12 +01:00
Johannes Meyer 91c0ff9d05 LessParserTest: Test light mode collection 2022-02-09 21:35:12 +01:00
Eric Lippmann 19f57644e8 Generate light mode calls from their definitions 2022-02-09 21:35:12 +01:00
Eric Lippmann 5f46493148 Code quality and documentation 2022-02-09 21:35:09 +01:00
Eric Lippmann a775ae5f66 Also process mixin rules 2022-02-09 21:20:33 +01:00
Johannes Meyer 38cc26eca5 tests: Introduce `LessParserTest` 2022-02-09 21:20:33 +01:00
Eric Lippmann 517b0353bc Support variable variables 2022-02-09 21:20:33 +01:00
Eric Lippmann 853fa93ea5 Support mixins 2022-02-09 21:20:33 +01:00
Eric Lippmann d82fc24766 Replace compiled Less colors with CSS var() function calls 2022-02-09 21:20:31 +01:00
Johannes Meyer 3166d112f1 monitoring/list/hosts: Apply restrictions to host service problem summary 2022-02-07 17:20:41 +01:00
Johannes Meyer 77987feaaf
Merge pull request #4658 from Icinga/fix/ghost-columns-upon-comment-removal-4643
Fix ghost columns upon comment removal
2022-02-07 14:52:17 +01:00
Johannes Meyer ae3731f143 css: Keep remove-action buttons shown while active 2022-02-07 14:47:45 +01:00
Johannes Meyer 28a8771a37 components/comments.phtml: Use base target `_next` only for comment links 2022-02-07 14:47:03 +01:00
Johannes Meyer 4ce8fc820e
Merge pull request #4657 from Icinga/fix/always-running-behaviors-3795
Fix always running behaviors
2022-02-07 14:43:29 +01:00
Johannes Meyer 57dc42dbf7 input-enrichment.js: Only handle content inside top-level or modal containers 2022-02-07 14:15:23 +01:00
Johannes Meyer 646d8928c3 flyover.js: Only handle content inside top-level containers 2022-02-07 14:15:11 +01:00
Johannes Meyer b03966c354 filtereditor.js: Only handle top-level containers 2022-02-07 14:14:10 +01:00
Johannes Meyer 67da4ea757 datetime-picker.js: Only handle content inside top-level or modal containers 2022-02-07 14:13:40 +01:00
Johannes Meyer 29d0b8f2c7 collapsible.js: Only handle content inside top-level or modal containers 2022-02-07 14:13:12 +01:00
Johannes Meyer f932a4a44c application-state.js: Only run once when the layout is rendered 2022-02-07 14:12:44 +01:00
Johannes Meyer 30326dd1bb actiontable.js: Only handle top-level containers 2022-02-07 14:12:08 +01:00
Johannes Meyer d7d31d00ea Drop expandable.js 2022-02-07 14:11:48 +01:00
Johannes Meyer a2949fad7d js: Properly reset container ids when moving content
fixes #4554
2022-02-04 18:14:40 +01:00
Johannes Meyer 49ced694e7
Merge pull request #4655 from Icinga/fix/duplicate-ids-in-html-3762
Fix duplicate ids in html
2022-02-04 17:26:48 +01:00
Johannes Meyer fe6be6a107 js: Only use ids in Utils.getCSSPath() if they're truly unique 2022-02-04 17:22:16 +01:00
Johannes Meyer 4f501a89f5 monitoring: Avoid duplicate ids for check now and remove ack forms 2022-02-04 17:21:41 +01:00
Johannes Meyer 7f0ddd931c Form: Create CSRFTokens in way that ensures id uniqueness 2022-02-04 17:20:48 +01:00
Johannes Meyer 974bff9227
Merge pull request #4653 from Icinga/fix/module-dependency-evaluation-4652
Fix module dependency evaluation
2022-02-04 16:24:41 +01:00
Johannes Meyer d78bb02b41 Module: Parse requirements in metadata correctly 2022-02-04 16:17:54 +01:00
Johannes Meyer 57e8e41089 Manager: Parse version suffixes with decimals correctly 2022-02-04 16:17:54 +01:00
Johannes Meyer f0892799ff
Merge pull request #4654 from Icinga/fix/do-not-load-any-user-links-in-iframes-4637
Do not load any user links in iframes
2022-02-04 16:17:02 +01:00
Johannes Meyer 6b0f3f69c3 LinkTransformer: Don't load any external url in an iframe 2022-02-04 16:04:26 +01:00
Johannes Meyer baf2f1bbde LinkTransformer: Use a more reliable extention detection 2022-02-04 16:04:26 +01:00
Johannes Meyer 8f4a0c62d5
Merge pull request #4624 from Icinga/drop-locales
Drop locales
2022-02-04 16:02:19 +01:00
Johannes Meyer 2bd58aea83 translation: Mention translate.icinga.com in the documentation 2022-02-04 15:58:06 +01:00