diff --git a/CHANGELOG.md b/CHANGELOG.md index 30912a37a..e74eb5861 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ - It is now possible to add the same shortcut multiple times to a multi-shortcut, and additionally it is now possible to add multiple shortcuts at once ### Miscellaneous +- The option to change the app's theme is disabled when dark mode is on - Stetho (for network traffic inspection via Chrome) was removed from the app, as it was not working properly and posed a potential security risk ### Bugfixes diff --git a/HTTPShortcuts/app/src/main/assets/changelog.html b/HTTPShortcuts/app/src/main/assets/changelog.html index 0a83be2dd..a8d0b6e04 100644 --- a/HTTPShortcuts/app/src/main/assets/changelog.html +++ b/HTTPShortcuts/app/src/main/assets/changelog.html @@ -42,7 +42,7 @@ -

Version 2.20.0

Variables

Scripting

Improvements

Miscellaneous

Bugfixes

Version 2.19.0

Scripting

Improvements

Miscellaneous

Bugfixes

Version 2.18.0

Scripting

Improvements

Miscellaneous

Bugfixes

Version 2.17.0

Improvements

Bugfixes

Version 2.16.0

Scripting

Improvements

Bugfixes

Version 2.15.1

Bugfixes

Version 2.15.0

Improvements

Miscellaneous

Bugfixes

Version 2.14.1

Bugfixes

Version 2.14.0

Custom Icons

The app now gives you more control over your custom icons. It now includes a new icon picker screen, which allows you to see all the icons you have used before and gives you the option to delete the ones you don't need anymore. In addition, you now have to open to download the favicon of a webpage and use that as the icon for your shortcut.

Improvements

Bugfixes

Version 2.13.1

Bugfixes

Version 2.13.0

This version includes a massive refactoring under the hood, so there's a good chance that some new bugs or small changes in behavior were introduced. Please let me know if you find something unusual.

Scripting

Miscellaneous

Bugfixes

Version 2.12.0

Miscellaneous

Bugfixes

Version 2.11.0

Scripting

response.headers and response.cookies now return a list of strings instead of just a string. This is a breaking change, but it allows handling the case where there are multiple headers or cookies with the same name.

For convenience, there is now a response.getHeader(headerName) and a response.getCookie(cookieName) function which can be used to retrieve a specific header or cookie by name. If there are multiple headers or cookies with the given name, the last one will be returned.

Miscellaneous

Bugfixes

Version 2.10.0

Important Changes

The minimum supported Android version is now at 5.0 (Lollipop). Going forward, older versions of Android will no longer receive updates. You can still install older versions of the app by downloading the APK directly from Github.

Furthermore, this version introduces a breaking change to the Scripting feature, specifically to the built-in hmac and base64decode functions. The return type of these functions is now Uint8Array (i.e., an array of bytes) instead of a hex string. See the Scripting section below for more information.

Scripting

Miscellaneous

Bugfixes:

Version 2.9.0

Improvements

Miscellaneous

Bugfixes

Version 2.8.0

Improvements

Bugfixes

Version 2.7.0

Improvements

Bugfixes

Version 2.6.0

Improvements

Bugfixes

Version 2.5.0

Miscellaneous

Bugfixes

Version 2.4.0

Important: Tasker Integration Overhaul

The integration with Tasker has been updated. It should now work more reliably, in particular in terms of passing around variables. +

Version 2.20.0

Variables

Scripting

Improvements

Miscellaneous

Bugfixes

Version 2.19.0

Scripting

Improvements

Miscellaneous

Bugfixes

Version 2.18.0

Scripting

Improvements

Miscellaneous

Bugfixes

Version 2.17.0

Improvements

Bugfixes

Version 2.16.0

Scripting

Improvements

Bugfixes

Version 2.15.1

Bugfixes

Version 2.15.0

Improvements

Miscellaneous

Bugfixes

Version 2.14.1

Bugfixes

Version 2.14.0

Custom Icons

The app now gives you more control over your custom icons. It now includes a new icon picker screen, which allows you to see all the icons you have used before and gives you the option to delete the ones you don't need anymore. In addition, you now have to open to download the favicon of a webpage and use that as the icon for your shortcut.

Improvements

Bugfixes

Version 2.13.1

Bugfixes

Version 2.13.0

This version includes a massive refactoring under the hood, so there's a good chance that some new bugs or small changes in behavior were introduced. Please let me know if you find something unusual.

Scripting

Miscellaneous

Bugfixes

Version 2.12.0

Miscellaneous

Bugfixes

Version 2.11.0

Scripting

response.headers and response.cookies now return a list of strings instead of just a string. This is a breaking change, but it allows handling the case where there are multiple headers or cookies with the same name.

For convenience, there is now a response.getHeader(headerName) and a response.getCookie(cookieName) function which can be used to retrieve a specific header or cookie by name. If there are multiple headers or cookies with the given name, the last one will be returned.

Miscellaneous

Bugfixes

Version 2.10.0

Important Changes

The minimum supported Android version is now at 5.0 (Lollipop). Going forward, older versions of Android will no longer receive updates. You can still install older versions of the app by downloading the APK directly from Github.

Furthermore, this version introduces a breaking change to the Scripting feature, specifically to the built-in hmac and base64decode functions. The return type of these functions is now Uint8Array (i.e., an array of bytes) instead of a hex string. See the Scripting section below for more information.

Scripting

Miscellaneous

Bugfixes:

Version 2.9.0

Improvements

Miscellaneous

Bugfixes

Version 2.8.0

Improvements

Bugfixes

Version 2.7.0

Improvements

Bugfixes

Version 2.6.0

Improvements

Bugfixes

Version 2.5.0

Miscellaneous

Bugfixes

Version 2.4.0

Important: Tasker Integration Overhaul

The integration with Tasker has been updated. It should now work more reliably, in particular in terms of passing around variables. Unfortunately, this is a breaking change, so most likely you will need to re-configure your Tasker tasks, if you have any. Sorry for the inconvenience.

Miscellaneous

Bugfixes

Version 2.3.0

Client Certificate Authentication

There is now the option to configure a shortcut to use a client certificate for authentication. You'll find the option in the shortcut's Advanced Settings section.

Improved Import & Export

When exporting shortcuts and variables, the resulting file is now a ZIP file instead of a raw JSON file. This has the advantage that custom icons are now also exported and automatically become part of the exported bundle, and of course they can be imported again as well.

The Import and Export functionality was moved out of the general settings screen and into its own dedicated screen to make it easier to discover and use.

Miscellaneous

Bugfixes

Version 2.2.0

Miscellaneous

Bugfixes

Version 2.1.0

Miscellaneous

Bugfixes

Version 2.0.0

Response Handling

Scripting

Miscellaneous

Bugfixes

Version 1.39.0

Remote Editing

You can now edit your shortcuts and categories from the comfort of a desktop computer. Go to "Settings > Edit on Computer" to find out more.

Miscellaneous

Bugfixes

Version 1.38.0

Scripting Improvements

There is now a hash() action, which allows to apply MD5, SHA-1, SHA-256 and SHA-512.

Bugfixes

Version 1.37.0

Scripting Improvements

There is now a showSelection() action which allows showing a dialog of options to choose from, similar to the multiple-choice variable type.

Miscellaneous

Bugfixes

Version 1.36.0

Cookie Store

Shortcuts can now be configured to accept and store cookies via the "Advanced Technical Settings" section.

Miscellaneous

Version 1.35.0

Improved "Response Handling"

The "Response Handling" section of the shortcut editor was redesigned to allow for more fine-grained control over how the HTTP response should be handled and displayed when a shortcut is executed. For example, it is now possible to display a custom message instead of diff --git a/HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/activities/settings/settings/SettingsActivity.kt b/HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/activities/settings/settings/SettingsActivity.kt index aebfc2dd1..924a7cbfd 100644 --- a/HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/activities/settings/settings/SettingsActivity.kt +++ b/HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/activities/settings/settings/SettingsActivity.kt @@ -11,6 +11,7 @@ import androidx.preference.Preference import ch.rmy.android.framework.extensions.bindViewModel import ch.rmy.android.framework.extensions.createIntent import ch.rmy.android.framework.extensions.initialize +import ch.rmy.android.framework.extensions.isDarkThemeEnabled import ch.rmy.android.framework.extensions.observe import ch.rmy.android.framework.extensions.showSnackbar import ch.rmy.android.framework.extensions.startActivity @@ -68,6 +69,7 @@ class SettingsActivity : BaseActivity() { initListPreference("theme") { restartToApplyThemeChanges() } + .isEnabled = !requireContext().isDarkThemeEnabled() initListPreference("dark_theme") { newSetting -> DarkThemeHelper.applyDarkThemeSettings(newSetting as String)