Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit f5d7de12 authored by uazo's avatar uazo Committed by GitHub
Browse files

Merge pull request #910 from uazo/create-pull-request/patch-16818b1d

Generate patches docs
parents 16818b1d f708a519
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@
|**Add flag to disable IPv6 probes** <br><sub><nobr> Sun, 18 Nov 2018 13:06:49 +0100</nobr> <br>File: [Add-flag-to-disable-IPv6-probes.patch](/build/patches/Add-flag-to-disable-IPv6-probes.patch) <br><nobr>Author: csagan5</nobr> <br><nobr>Context: </nobr> <br><nobr>License: GPL-3.0-only</nobr> ||
|**Add flag to disable external intent requests** <br><sub><nobr> Tue, 25 May 2021 19:46:14 +0200</nobr> <br>File: [Add-flag-to-disable-external-intent-requests.patch](/build/patches/Add-flag-to-disable-external-intent-requests.patch) <br><nobr>Author: csagan5</nobr> <br><nobr>Context: </nobr> <br><nobr>License: GPL-3.0-only</nobr> |Adds a new flag that allows to control the switch with same name;<br>when flag is disabled no external intent will ever be allowed, for any URL.|
|**Add flag to disable vibration** <br><sub><nobr> Sun, 27 Jun 2021 17:35:39 +0200</nobr> <br>File: [Add-flag-to-disable-vibration.patch](/build/patches/Add-flag-to-disable-vibration.patch) <br><nobr>Author: csagan5</nobr> <br><nobr>Context: </nobr> <br><nobr>License: GPL-3.0-only</nobr> ||
|**Add kill switch for unsupported clangd flags** <br><sub><nobr> Thu, 20 Oct 2022 09:34:48 +0000</nobr> <br>File: [Add-kill-switch-for-unsupported-clangd-flags.patch](/build/patches/Add-kill-switch-for-unsupported-clangd-flags.patch) <br><nobr>Author: Your</nobr> <br><nobr>Context: </nobr> <br><nobr>License: GPL-3.0-only</nobr> |Allows build with clangd by suppressing unsupported parameters|
|**Add kill switch for unsupported clangd flags** <br><sub><nobr> Thu, 20 Oct 2022 09:34:48 +0000</nobr> <br>File: [Add-kill-switch-for-unsupported-clangd-flags.patch](/build/patches/Add-kill-switch-for-unsupported-clangd-flags.patch) <br><nobr>Author: uazo</nobr> <br><nobr>Context: </nobr> <br><nobr>License: GPL-3.0-only</nobr> |Allows build with clangd by suppressing unsupported parameters|
|**Add lifetime options for permissions** <br><sub><nobr> Fri, 8 Apr 2022 11:04:04 +0000</nobr> <br>File: [Add-lifetime-options-for-permissions.patch](/build/patches/Add-lifetime-options-for-permissions.patch) <br><nobr>Author: uazo</nobr> <br><nobr>Context: </nobr> <br><nobr>License: GPL-3.0-only</nobr> |Indicate the session mode for content-settings by using the constraint `content_settings::SessionModel` as<br>UserSession when setting the value, and also make use of an expiration time value.<br>This is used in Chromium for `ClientHints` but it is generally possible to use this functionality when a<br>specific value needs to be persisted by origin.<br>All content settings of this type are not saved on disk (except for the `Forever` option), allowing user to<br>reset the status each time application is restarted.<br>There are 4 main areas affected to introduce the functionality:<br>* components/content_settings<br>A new `content_settings::LifetimeMode` enum value is defined to specify the user's<br>choice (Always, OnlyThisTime, UntilOriginClosed, UntilBrowserClosed).<br>Enumeration is also generated for java by adding it in `content_settings_enums_javagen` (gn).<br>This is mainly used in `content_settings_utils.cc` to create a specialised `content_settings::ContentSettingConstraints`<br>that is then used in `SetContentSettingDefaultScope()` by `PermissionContextBase::UpdateContentSetting`.<br>Existing Chromium data structures do not provide a specific property to define a choice which is instead encoded through<br>the `ContentSettingConstraints`; this approach is already used in other parts of the Chromium codebase so it is not<br>novel here.<br>Therefore, `content_settings::GetConstraintSessionExpiration()` and `content_settings::IsConstraintSessionExpiration()`<br>manage the lifetime modes of the session content-settings.<br>The modificaiton also adds the session pattern to the ContentSettingPatternSource so that it is available for the UI.<br>* components/permissions<br>Lifetime support is added to the permissions; most of the changes are caused by the fact that it is necessary to report<br>the value selected by the user from the Java UI managed by `components/browser_ui` up to<br>`PermissionContextBase::UpdateContentSetting()`, without necessarily having to modify all requests that are not<br>related to geolocation/camera/microphone. The approach used is a new<br>`PermissionRequest::PermissionDecidedCallbackWithLifetime` used by an overload of<br>`PermissionContextBase::CreatePermissionRequest` so that options are present only for the specific content-settings<br>(see `PermissionDialogModel.java`).<br>For other permissions no behaviour is changed (see `PermissionDialogDelegate::Accept`); for geolocation it was<br>necessary to act directly in the specific context, because, unlike microphone/camera, the content-setting value is<br>inserted in its specific method (`FinishNotifyPermissionSet`, that calls the callback), even if the class always<br>derives from `PermissionContextBase`.<br>* components/page_info<br>Some changes needed to see in the summary of the `page_info` the text "(only this session)"<br>(aka `page_info_android_permission_session_permission`) through adding a new property "is_user_session" in<br>`PageInfoPermissionEntry` (Java).<br>* components/browser_ui<br>Changes to the Settings UI to show "(only this session)" in the specific content-setting.<br>The same view is used both in the settings and in the page_info.<br>For the management of `UntilOriginClosed` the logic used by flag `kOneTimeGeolocationPermission` was used; this flag<br>is active only in the desktop (files `last_tab_standing_tracker_*`). It is a class that manages a list of the active<br>origins and allows to perform operations when all the tabs relating to that origin have been closed, in this case<br>deleting the session content settings of `UntilOriginClosed`.<br>See also: https://github.com/bromite/bromite/issues/1549|
|**Add menu item to bookmark all tabs** <br><sub><nobr> Thu, 18 Feb 2021 21:22:52 +0100</nobr> <br>File: [Add-menu-item-to-bookmark-all-tabs.patch](/build/patches/Add-menu-item-to-bookmark-all-tabs.patch) <br><nobr>Author: csagan5</nobr> <br><nobr>Context: </nobr> <br><nobr>License: GPL-3.0-only</nobr> ||
|**Add menu item to view source** <br><sub><nobr> Mon, 13 Jul 2020 00:37:06 +0200</nobr> <br>File: [Add-menu-item-to-view-source.patch](/build/patches/Add-menu-item-to-view-source.patch) <br><nobr>Author: csagan5</nobr> <br><nobr>Context: </nobr> <br><nobr>License: GPL-3.0-only</nobr> ||
@@ -79,6 +79,7 @@
|**Disable GSA by default** <br><sub><nobr> Sun, 7 May 2023 14:01:56 +0000</nobr> <br>File: [Disable-GSA-by-default.patch](/build/patches/Disable-GSA-by-default.patch) <br><nobr>Author: uazo</nobr> <br><nobr>Context: </nobr> <br><nobr>License: GPL-2.0-or-later</nobr> ||
|**Disable GetInstalledRelatedApps API** <br><sub><nobr> Sun, 7 May 2023 13:13:47 +0000</nobr> <br>File: [Disable-GetInstalledRelatedApps-API.patch](/build/patches/Disable-GetInstalledRelatedApps-API.patch) <br><nobr>Author: uazo</nobr> <br><nobr>Context: </nobr> <br><nobr>License: GPL-2.0-or-later</nobr> ||
|**Disable NTP remote suggestions by default** <br><sub><nobr> Thu, 12 Oct 2017 08:15:17 +0200</nobr> <br>File: [Disable-NTP-remote-suggestions-by-default.patch](/build/patches/Disable-NTP-remote-suggestions-by-default.patch) <br><nobr>Author: csagan5</nobr> <br><nobr>Context: </nobr> <br><nobr>License: GPL-3.0-only</nobr> ||
|**Disable Paint Preview by default** <br><sub><nobr> Wed, 20 Mar 2024 16:26:23 +0000</nobr> <br>File: [Disable-Paint-Preview-by-default.patch](/build/patches/Disable-Paint-Preview-by-default.patch) <br><nobr>Author: uazo</nobr> <br><nobr>Context: </nobr> <br><nobr>License: GPL-2.0-or-later</nobr> ||
|**Disable PrivacyGuide** <br><sub><nobr> Sun, 31 Jul 2022 22:13:11 +0200</nobr> <br>File: [Disable-PrivacyGuide.patch](/build/patches/Disable-PrivacyGuide.patch) <br><nobr>Author: csagan5</nobr> <br><nobr>Context: </nobr> <br><nobr>License: GPL-3.0-only</nobr> ||
|**Disable PrivateStateTokens API** <br><sub><nobr> Mon, 15 May 2023 12:33:18 +0000</nobr> <br>File: [Disable-PrivateStateTokens-API.patch](/build/patches/Disable-PrivateStateTokens-API.patch) <br><nobr>Author: uazo</nobr> <br><nobr>Context: </nobr> <br><nobr>License: GPL-2.0-or-later</nobr> ||
|**Disable Read Aloud by default** <br><sub><nobr> Wed, 24 Jan 2024 12:19:44 +0000</nobr> <br>File: [Disable-Read-Aloud-by-default.patch](/build/patches/Disable-Read-Aloud-by-default.patch) <br><nobr>Author: uazo</nobr> <br><nobr>Context: </nobr> <br><nobr>License: </nobr> ||