Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Termux:Tasker Plugin Various Improvements #36

Merged

Commits on Oct 7, 2020

  1. Parse arguments string passed to FireReceiver into a list of argument…

    …s like normally done on shells like bourne shell
    agnostic-apollo committed Oct 7, 2020
    Configuration menu
    Copy the full SHA
    e6e8123 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2020

  1. - Changed ResultsService service name to PluginResultsService.

    Make `PluginResultsService` a unified class and service to handle sending of plugin commands to the execution service, receiving the results of plugin commands back from the execution service and sending immediate or pending results back to the plugin host.
    agnostic-apollo committed Dec 6, 2020
    Configuration menu
    Copy the full SHA
    7cd77b3 View commit details
    Browse the repository at this point in the history
  2. - Added com.termux.permission.RUN_COMMAND permission to `FireReceiv…

    …er`.
    
    - Changed `ResultsService` service name to `PluginResultsService`.
    agnostic-apollo committed Dec 6, 2020
    Configuration menu
    Copy the full SHA
    0f66df3 View commit details
    Browse the repository at this point in the history
  3. - Added various plugin and termux constants.

    - Moved `getVersionCode()` function to `PluginUtils` class.
    agnostic-apollo committed Dec 6, 2020
    Configuration menu
    Copy the full SHA
    aa14fdf View commit details
    Browse the repository at this point in the history
  4. - Added various plugin and termux utils in FileUtils, PluginUtils

    … and `TermuxAppUtils` util classes.
    agnostic-apollo committed Dec 6, 2020
    Configuration menu
    Copy the full SHA
    fd72150 View commit details
    Browse the repository at this point in the history
  5. - Added logcat logging management for various log levels using `Log…

    …ger` util class.
    
    - Added support to store `log_level` persistently in android `QueryPreferences` using `QueryPreferences` util class.
    agnostic-apollo committed Dec 6, 2020
    Configuration menu
    Copy the full SHA
    cd190e7 View commit details
    Browse the repository at this point in the history
  6. Updated to v1.8.

    agnostic-apollo committed Dec 6, 2020
    Configuration menu
    Copy the full SHA
    b207409 View commit details
    Browse the repository at this point in the history
  7. - Added support for absolute paths outside ~/.termux/tasker/ direct…

    …ory, provided that `allow-external-apps` property is set to `true` by the user in `~/.termux/termux.properties` file.
    
    - Added support for working directory.
    - Adding support for users to set plugin `logcat` log levels to help with debugging through the configuration activity options menu.
    - Added support to automatically clear `%errmsg`, `%stdout`, `%stderr` and `%result` variables when plugin action is run.
    - Adding support for showing warnings in configuration activity and returning error messages via `%errmsg` to plugin host app on invalid plugin configuration or missing permissions or access failures.
    - Updated `FireReceiver` to use `PluginResultsService` for sending commands to execution service and to send error messages to plugin host app if required.
    - Updated default action timeout value to `10s` regardless of `inTerminal` value.
    - Removed requirement for `TASKER_DIR` to exist for plugin configuration since absolute paths are allowed.
    - Fixed `isBundleValid()` function.
    agnostic-apollo committed Dec 6, 2020
    Configuration menu
    Copy the full SHA
    ace018e View commit details
    Browse the repository at this point in the history
  8. - Switched to AndroidX.

    - Changed `case` statements to `if` since resource IDs are non-final from gradle plugin version `5`.
    agnostic-apollo committed Dec 6, 2020
    Configuration menu
    Copy the full SHA
    5e04981 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a535701 View commit details
    Browse the repository at this point in the history
  10. - Increased minSdkVersion to 24 as per termux-app.

    - Updated library versions and switched to `AndroidX`.
    agnostic-apollo committed Dec 6, 2020
    Configuration menu
    Copy the full SHA
    90b1a39 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f8a9957 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    54f4a20 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    9f04082 View commit details
    Browse the repository at this point in the history
  14. Updated README.md

    agnostic-apollo committed Dec 6, 2020
    Configuration menu
    Copy the full SHA
    aa13bb4 View commit details
    Browse the repository at this point in the history