Commit Graph

13148 Commits

Author SHA1 Message Date
Johannes Meyer 6640eced19 README.md: Update preview picture 2021-06-22 15:44:10 +02:00
Johannes Meyer 767b64b966 doc: Mention that we don't plan to support IE any longer 2021-06-22 15:20:16 +02:00
Johannes Meyer c5cb9dc34e Raise minimum required PHP version to 7.3 2021-06-22 12:57:08 +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 fa602c3525 WebWizard: Require our new libraries 2021-06-22 12:35:22 +02:00
Johannes Meyer 3b3eca934f WebWizard: Remove Zend_Db_* class requirements
All of our packages (even debian) roll out our own
bundled fork, which containes these classes.
2021-06-22 12:33:15 +02:00
Johannes Meyer f72a5fbe89 WebWizard: Require storage directory 2021-06-22 12:11:10 +02:00
Johannes Meyer 23ee95e45f js: Only show a single datetime picker in each container at a time 2021-06-22 11:22:19 +02:00
Johannes Meyer b75cf362b8
Merge pull request #4396 from Icinga/use-strict-ipl-html-interfaces
Use strict ipl-html interfaces
2021-06-22 10:28:52 +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 c01e0f9dc8 js: Don't add scheme and location when reloading CSS
It's not necessary and may (has) lead to the following case:
`http://localhost/http://localhost/icingaweb2/css/icinga.min.css`
2021-06-18 17:19:18 +02:00
Ravi Kumar Kempapura Srinivasa f8b122b894 Add end time and comment options to settings section for host/service downtime dialog
[hostdowntime_end_fixed], [hostdowntime_end_flexible], [hostdowntime_flexible_duration], [servicedowntime_end_fixed], [servicedwontime_end_flexible],
[servicedowntime_flexible_duration] and [comment_text] options added to [settings] section in config.ini file used in  host/service downtime dialog.
2021-06-18 13:57:58 +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
Johannes Meyer a972751e23
Merge pull request #4393 from bgroeber/custom-userbackendform-exception
Make configuration of custom user backends possible
2021-06-18 10:40:58 +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 9270633b23 doc: Add note for php-fpm on SLES 15 SP2
resolves #4335
2021-06-17 08:59:42 +02:00
Johannes Meyer 1c7e5b31bf js: Don't bypass our cache when reloading CSS
The timestamp previously added, forces the browser to ignore
its own cache and thus it doesn't transmit the `If-None-Match`
header. We then re-calculate the the CSS possibly for no reason.
If there is a re-calculation indeed required it should be still
done now since the ETag transmitted by the browser is outdated.

refs #4340
2021-06-16 14:59:19 +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 439218869b Only reload JS/CSS if really required when en-/disabling a module 2021-06-16 14:56:36 +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 7c4488ddc7 input-enrichment: Fix incorrect identification of enriched elements 2021-06-09 15:19:05 +02:00
Johannes Meyer c038bf792f
Merge pull request #4381 from Icinga/fully-integrate-ipl-as-dependency
Fully integrate ipl as dependency
2021-06-07 09:56:57 +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 cb102399d5 doc: Mention ipl and icinga 3rdparty as requirements 2021-06-02 15:33:18 +02:00
Johannes Meyer 2563672f11 css: Initialize `@iplWebAssets` variable 2021-06-02 15:33:18 +02:00
Johannes Meyer caef8dab6a PreferenceForm: Fix that the default locale is not choosable
refs #4376
2021-06-02 12:03:50 +02:00
Johannes Meyer 6e3ad08aef Zend: Fix `array_walk_recursive` pass by reference error on PHP8
refs #4287
2021-06-02 11:24:01 +02:00
Johannes Meyer e794967389 js: Require libs from `icinga/icinga-php-library` now 2021-06-01 12:06:58 +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 5af833bb6d translation: Add support for ipl-i18n 2021-05-28 14:03:36 +02:00
Johannes Meyer 8fe282b9aa translation: Only allow to generate module locales 2021-05-28 14:03:36 +02:00
Johannes Meyer dcb619e62a Translator: Add deprecation notice and use ipl-i18n internally 2021-05-28 14:03:36 +02:00
Johannes Meyer 84c459c519 test: Remove testcase `Bug6432Test` 2021-05-28 14:03:36 +02:00
Johannes Meyer 0cbae3195e test: Remove testcase `TranslatorTest` 2021-05-28 14:03:36 +02:00
Johannes Meyer 9e6d2e8aec php: Don't generate any locales for tests
They're not needed any more due to the use of ipl-i18n
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 b09384e489 php: Install ipl-i18n as a dependency for tests 2021-05-28 14:03:36 +02:00
Johannes Meyer d83b06618a DashboardCommand: Utilize ipl-i18n in `sections` command 2021-05-28 14:03:36 +02:00
Johannes Meyer 573af6b2df PreferenceForm: Detect locales using ipl-i18n 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 86614ad7a8 layout: Identify language 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