Rebuild for MSVSphere 9.4-beta

i9-beta changed/i9-beta/evolution-data-server-3.40.4-9.el9.inferit
Sergey Cherevko 9 months ago
parent 55073bf11f
commit 06a386c65e
Signed by: scherevko
GPG Key ID: D87CBBC16D2E4A72

@ -1,49 +0,0 @@
From 068343a45680d6b1dd94830e32e6dc0caa8898bb Mon Sep 17 00:00:00 2001
From: Milan Crha <mcrha@redhat.com>
Date: Thu, 11 Jan 2024 14:27:24 +0000
Subject: [PATCH] Enable HTML5 database and local storage features for web view
Some pages may require this to work properly, thus enable it.
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/515
Modified-by: Alex Burmashev <alexander.burmashev@oracle.com>
---
src/libedataserverui/e-credentials-prompter-impl-oauth2.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/libedataserverui/e-credentials-prompter-impl-oauth2.c b/src/libedataserverui/e-credentials-prompter-impl-oauth2.c
index df1c096..4aba6ae 100644
--- a/src/libedataserverui/e-credentials-prompter-impl-oauth2.c
+++ b/src/libedataserverui/e-credentials-prompter-impl-oauth2.c
@@ -575,6 +575,7 @@ e_credentials_prompter_impl_oauth2_show_dialog (ECredentialsPrompterImplOAuth2 *
ECredentialsPrompter *prompter;
WebKitSettings *webkit_settings;
WebKitWebContext *web_context;
+ WebKitCookieManager *cookie_manager;
gchar *title, *uri;
GString *info_markup;
gint row = 0;
@@ -725,9 +726,9 @@ e_credentials_prompter_impl_oauth2_show_dialog (ECredentialsPrompterImplOAuth2 *
webkit_settings = webkit_settings_new_with_settings (
"auto-load-images", TRUE,
"default-charset", "utf-8",
- "enable-html5-database", FALSE,
"enable-dns-prefetching", FALSE,
- "enable-html5-local-storage", FALSE,
+ "enable-html5-database", TRUE,
+ "enable-html5-local-storage", TRUE,
"enable-offline-web-application-cache", FALSE,
"enable-page-cache", FALSE,
"enable-plugins", FALSE,
@@ -735,6 +736,8 @@ e_credentials_prompter_impl_oauth2_show_dialog (ECredentialsPrompterImplOAuth2 *
NULL);
web_context = webkit_web_context_new ();
+ cookie_manager = webkit_web_context_get_cookie_manager (web_context);
+ webkit_cookie_manager_set_accept_policy (cookie_manager, WEBKIT_COOKIE_POLICY_ACCEPT_ALWAYS);
webkit_web_context_set_sandbox_enabled (web_context, TRUE);
widget = g_object_new (WEBKIT_TYPE_WEB_VIEW,
--
2.39.3

@ -54,7 +54,7 @@
Name: evolution-data-server Name: evolution-data-server
Version: 3.40.4 Version: 3.40.4
Release: 9%{?dist} Release: 9%{?dist}.inferit
Summary: Backend data server for Evolution Summary: Backend data server for Evolution
License: LGPLv2+ License: LGPLv2+
URL: https://wiki.gnome.org/Apps/Evolution URL: https://wiki.gnome.org/Apps/Evolution
@ -70,7 +70,6 @@ Patch07: 0007-oauth2-enable-html5-features.patch
Patch100: 0001-Added-yandex-backend-support-prebuild.patch Patch100: 0001-Added-yandex-backend-support-prebuild.patch
Patch101: 0001-Fix-bug-when-yandex-account-added-not-through-goa.patch Patch101: 0001-Fix-bug-when-yandex-account-added-not-through-goa.patch
Patch102: 0001-Updated-Russian-translation.patch Patch102: 0001-Updated-Russian-translation.patch
Patch103: orabug36211108-0001-Enable-HTML5-database-and-local-storage-features-for.patch
Provides: evolution-webcal = %{version} Provides: evolution-webcal = %{version}
Obsoletes: evolution-webcal < 2.24.0 Obsoletes: evolution-webcal < 2.24.0
@ -516,12 +515,16 @@ find $RPM_BUILD_ROOT -name '*.so.*' -exec chmod +x {} \;
%{_datadir}/installed-tests %{_datadir}/installed-tests
%changelog %changelog
* Thu Mar 28 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 3.40.4-9 * Tue Apr 02 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 3.40.4-9.inferit
- Rebuilt for MSVSphere 9.4 beta - Rebuilt for MSVSphere 9.4-beta
* Thu Jan 11 2024 Milan Crha <mcrha@redhat.com> - 3.40.4-9 * Thu Jan 11 2024 Milan Crha <mcrha@redhat.com> - 3.40.4-9
- Resolves: RHEL-21361 (OAuth2: Enable HTML5 database and local storage features for web view) - Resolves: RHEL-21361 (OAuth2: Enable HTML5 database and local storage features for web view)
* Tue Nov 14 2023 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 3.40.4-6.inferit.5
- Fixed Russian translation
- Rebuilt for MSVSphere 9.3
* Wed Oct 11 2023 Milan Crha <mcrha@redhat.com> - 3.40.4-8 * Wed Oct 11 2023 Milan Crha <mcrha@redhat.com> - 3.40.4-8
- Resolves: RHEL-12405 (Move WebKitGTK parts in Evolution Data Server into optional subpackage) - Resolves: RHEL-12405 (Move WebKitGTK parts in Evolution Data Server into optional subpackage)
- Add requirement on ui subpackage into ui-devel subpackage - Add requirement on ui subpackage into ui-devel subpackage
@ -529,13 +532,6 @@ find $RPM_BUILD_ROOT -name '*.so.*' -exec chmod +x {} \;
* Tue Oct 10 2023 Milan Crha <mcrha@redhat.com> - 3.40.4-7 * Tue Oct 10 2023 Milan Crha <mcrha@redhat.com> - 3.40.4-7
- Resolves: RHEL-12405 (Move WebKitGTK parts in Evolution Data Server into optional subpackage) - Resolves: RHEL-12405 (Move WebKitGTK parts in Evolution Data Server into optional subpackage)
* Wed Feb 07 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 3.40.4-6.inferit.6
- Enable HTML5 database and local storage features for web view [Orabug: 36211108]
* Tue Nov 14 2023 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 3.40.4-6.inferit.5
- Fixed Russian translation
- Rebuilt for MSVSphere 9.3
* Wed Oct 04 2023 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 3.40.4-6.inferit.4 * Wed Oct 04 2023 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 3.40.4-6.inferit.4
- Updated Russian translation - Updated Russian translation
- Rebuilt for MSVSphere 9.2 - Rebuilt for MSVSphere 9.2

Loading…
Cancel
Save