platform/core/appfw/tizen-action.git
3 weeks agoFix api doxygen and error code 46/324646/3
Sangyoon Jang [Thu, 22 May 2025 06:52:39 +0000 (15:52 +0900)]
Fix api doxygen and error code

- Fix doxygen to match the actual error codes.
- Remove unused error code.
- Add ACTION_ERROR_CONNECTION_REFUSED.

Change-Id: Ic3e17c0a68c2301adab06a462a1cb31c2ced1183
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 weeks agoRelease version 1.0.2 38/324538/1 accepted/tizen_unified accepted/tizen_unified_x accepted/tizen/unified/20250520.140705 accepted/tizen/unified/20250520.164257 accepted/tizen/unified/x/20250520.211450
Sangyoon Jang [Tue, 20 May 2025 07:54:04 +0000 (16:54 +0900)]
Release version 1.0.2

Changes:
 - Remove pkg signing temporarily

Change-Id: I837dced9fc3fa043e23d5223a6e4ce417b1ab2f2
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 weeks agoRemove pkg signing temporarily 37/324537/1
Sangyoon Jang [Tue, 20 May 2025 07:47:00 +0000 (16:47 +0900)]
Remove pkg signing temporarily

The public signed pkg cannot be installed at non-public binary.

Change-Id: Idb07f5df274e73d01501dec25e846f0ac32b4478
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 weeks agoRelease version 1.0.1 07/324307/1 accepted/tizen/unified/20250516.055923 accepted/tizen/unified/x/20250516.065705
Sangyoon Jang [Thu, 15 May 2025 07:53:45 +0000 (16:53 +0900)]
Release version 1.0.1

Changes:
 - Change log tag to TIZEN_ACTION
 - Fix variable shadowing

Change-Id: Ib9ee73cb5334f07ae9a8e26e94d2fdcfd467e4c0
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 weeks agoFix variable shadowing 02/324302/2
Sangyoon Jang [Thu, 15 May 2025 07:47:20 +0000 (16:47 +0900)]
Fix variable shadowing

-Werror=shadow added.

Requies:
 - https://review.tizen.org/gerrit/c/platform/core/base/bundle/+/324305

Change-Id: I1642841b1b3499e1b23c521661286f89cfc60fb7
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 weeks agoChange log tag to TIZEN_ACTION 62/324262/1
Sangyoon Jang [Thu, 15 May 2025 00:53:16 +0000 (09:53 +0900)]
Change log tag to TIZEN_ACTION

Change to TIZEN_ACTION from TIZEN_ACTION_FRAMEWORK.

Change-Id: Ie64aaa35ebaed49e87fa25cc0999a053c06a8cdd
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 weeks agoRelease version 1.0.0 73/324173/3 accepted/tizen/unified/20250514.114137 accepted/tizen/unified/x/20250514.172611
Sangyoon Jang [Tue, 13 May 2025 23:53:53 +0000 (08:53 +0900)]
Release version 1.0.0

Change-Id: Iaca64a1785b2fb6875abe2c4ece9703096561ea8
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 weeks agoFix static analysis issues 36/324136/1
Sangyoon Jang [Tue, 13 May 2025 08:33:18 +0000 (17:33 +0900)]
Fix static analysis issues

Change-Id: I14ded937a8d108ed2842a8a3cd63c423de28a0b6
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 weeks agoRename spec files 07/324107/1
Sangyoon Jang [Tue, 13 May 2025 06:06:34 +0000 (15:06 +0900)]
Rename spec files

Change-Id: I9013abe4edae95de96aac64536414a8d13345b0f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 weeks agoFix return type of action_result_cb
Sangyoon Jang [Tue, 13 May 2025 05:47:36 +0000 (14:47 +0900)]
Fix return type of action_result_cb

Fix to void from bool.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 weeks agoRemove debug message of CMakeLists.txt
Sangyoon Jang [Tue, 13 May 2025 05:46:45 +0000 (14:46 +0900)]
Remove debug message of CMakeLists.txt

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 weeks agoSet execution id on action result
Sangyoon Jang [Mon, 12 May 2025 08:34:01 +0000 (17:34 +0900)]
Set execution id on action result

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 weeks agoRegister an internal callback for user callbacks
Sangyoon Jang [Tue, 13 May 2025 05:33:40 +0000 (14:33 +0900)]
Register an internal callback for user callbacks

Internal callback invokes user callbacks with user data.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 weeks agoFix api implementation
Sangyoon Jang [Mon, 12 May 2025 07:23:37 +0000 (16:23 +0900)]
Fix api implementation

- Use connector class as api handle.
- Pass execution id on user callback.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 weeks agoFix action-tool
Sangyoon Jang [Mon, 12 May 2025 08:20:08 +0000 (17:20 +0900)]
Fix action-tool

Execute() returns a positive integer on success.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 weeks agoFix use after move
Sangyoon Jang [Mon, 12 May 2025 05:47:32 +0000 (14:47 +0900)]
Fix use after move

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 weeks agoGenerate execution id on execute action
Sangyoon Jang [Mon, 12 May 2025 05:06:52 +0000 (14:06 +0900)]
Generate execution id on execute action

- ActionExecutorFactory generates execution id on each executors.
- Execute() of TIDL interface returns execution id.
- The execution id passed on ActionReplyCb.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 weeks agoMerge pull request #43 from appfw/changyu.choi/plugin_executor
최창규/Tizen Platform Lab(SR)/삼성전자 [Mon, 12 May 2025 05:12:05 +0000 (14:12 +0900)]
Merge pull request #43 from appfw/changyu.choi/plugin_executor

Implement plugin executor logic

4 weeks agoModify plugin path to relative path
Changgyu Choi [Wed, 30 Apr 2025 06:34:20 +0000 (15:34 +0900)]
Modify plugin path to relative path

The plugin is installed in rpk and modified to represent it as the relative path of the package root path.

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 weeks agoModify plugin path example
Changgyu Choi [Tue, 29 Apr 2025 08:46:26 +0000 (17:46 +0900)]
Modify plugin path example

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 weeks agoChange parameter type to const reference
Changgyu Choi [Tue, 29 Apr 2025 00:32:39 +0000 (09:32 +0900)]
Change parameter type to const reference

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 weeks agoAdd sample plugin so
Changgyu Choi [Mon, 28 Apr 2025 10:36:37 +0000 (19:36 +0900)]
Add sample plugin so

libaction-plugin-sample.so has been added.

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 weeks agoImplement plugin-daemon logic
Changgyu Choi [Sun, 27 Apr 2025 07:59:05 +0000 (16:59 +0900)]
Implement plugin-daemon logic

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 weeks agoModify Execute command to return an error
Changgyu Choi [Sun, 27 Apr 2025 05:46:45 +0000 (14:46 +0900)]
Modify Execute command to return an error

Change to return an error if it fails because an error may occur when executing Execute.

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 weeks agoGenerate action result json string for app control action
Sangyoon Jang [Tue, 29 Apr 2025 07:21:29 +0000 (16:21 +0900)]
Generate action result json string for app control action

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 weeks agoMerge pull request #49 from appfw/changyu.choi/update
최창규/Tizen Platform Lab(SR)/삼성전자 [Mon, 12 May 2025 03:37:53 +0000 (12:37 +0900)]
Merge pull request #49 from appfw/changyu.choi/update

Some trivial update

4 weeks agoSome trivial update
Changgyu Choi [Fri, 2 May 2025 09:06:27 +0000 (18:06 +0900)]
Some trivial update

Changes:
 - Adds to print return value into get_action command.
 - Adds a description parameter to Result struct.
 - Removes a value parameter from ActionParameter.

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
5 weeks agoMerge pull request #47 from shine-kang/make_changes
강석형/Tizen Platform Lab(SR)/삼성전자 [Thu, 8 May 2025 08:39:40 +0000 (17:39 +0900)]
Merge pull request #47 from shine-kang/make_changes

implement native capi

5 weeks agoChange file permission
SukhyungKang [Thu, 8 May 2025 08:04:02 +0000 (17:04 +0900)]
Change file permission

Signed-off-by: SukhyungKang <shine.kang@samsung.com>
5 weeks agoimplement native capi
SukhyungKang [Wed, 30 Apr 2025 03:29:30 +0000 (12:29 +0900)]
implement native capi

Signed-off-by: SukhyungKang <shine.kang@samsung.com>
6 weeks agoImport RapidJSON
Sangyoon Jang [Tue, 29 Apr 2025 08:29:54 +0000 (17:29 +0900)]
Import RapidJSON

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 weeks agoMerge pull request #42 from appfw/changyu.choi/schema
최창규/Tizen Platform Lab(SR)/삼성전자 [Mon, 28 Apr 2025 08:34:44 +0000 (17:34 +0900)]
Merge pull request #42 from appfw/changyu.choi/schema

Apply modified action schema

6 weeks agoChange requiredPrivileges members to optional
Changgyu Choi [Mon, 28 Apr 2025 08:31:07 +0000 (17:31 +0900)]
Change requiredPrivileges members to optional

Action schemas may not have requiredPrivileges.

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
6 weeks agoModify wrong requiredPrivileges key style
Changgyu Choi [Mon, 28 Apr 2025 07:31:32 +0000 (16:31 +0900)]
Modify wrong requiredPrivileges key style

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
6 weeks agoApply modified action schema
Changgyu Choi [Sun, 27 Apr 2025 08:43:59 +0000 (17:43 +0900)]
Apply modified action schema

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
6 weeks agoMerge pull request #41 from appfw/changyu.choi/rapidjson
최창규/Tizen Platform Lab(SR)/삼성전자 [Mon, 28 Apr 2025 06:54:35 +0000 (15:54 +0900)]
Merge pull request #41 from appfw/changyu.choi/rapidjson

Change json parser to rapidjson

6 weeks agoFix exception handling
Changgyu Choi [Mon, 28 Apr 2025 05:55:12 +0000 (14:55 +0900)]
Fix exception handling

Changes:
 - Adds a details for parser error.
 - Adds a exception handling block.

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
6 weeks agoImplement action model validator
Changgyu Choi [Sun, 27 Apr 2025 05:21:50 +0000 (14:21 +0900)]
Implement action model validator

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
6 weeks agoRemove jsoncpp dependency
Changgyu Choi [Fri, 25 Apr 2025 10:41:12 +0000 (19:41 +0900)]
Remove jsoncpp dependency

We use rapidjson instead of jsoncpp.

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
6 weeks agoMerge pull request #36 from appfw/changyu.choi/refactor
최창규/Tizen Platform Lab(SR)/삼성전자 [Mon, 28 Apr 2025 03:20:44 +0000 (12:20 +0900)]
Merge pull request #36 from appfw/changyu.choi/refactor

Change the interface to separate schema and model

6 weeks agoModify json schema
Changgyu Choi [Tue, 22 Apr 2025 05:54:39 +0000 (14:54 +0900)]
Modify json schema

packageid has been deleted.

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
6 weeks agoFix plugin executor usecase error
Changgyu Choi [Mon, 21 Apr 2025 10:04:31 +0000 (19:04 +0900)]
Fix plugin executor usecase error

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
6 weeks agoChange the interface to separate schema and model
Changgyu Choi [Mon, 21 Apr 2025 04:03:51 +0000 (13:03 +0900)]
Change the interface to separate schema and model

ActionSchema and ActionModel have different values.
So these two have to be separated.

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
6 weeks agoCheck required privileges
Sangyoon Jang [Thu, 24 Apr 2025 01:02:39 +0000 (10:02 +0900)]
Check required privileges

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
7 weeks agoFix CMakeLists.txt
Sangyoon Jang [Thu, 24 Apr 2025 08:30:49 +0000 (17:30 +0900)]
Fix CMakeLists.txt

- Add -ldl linker flag for action library
- Fix wrong target name

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
7 weeks agoRemove BSD license boilerplate
Sangyoon Jang [Wed, 23 Apr 2025 02:23:11 +0000 (11:23 +0900)]
Remove BSD license boilerplate

This project uses Apache-2.0 license.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
7 weeks agoAdd getting required-privileges at GetAction
Sangyoon Jang [Mon, 21 Apr 2025 00:49:52 +0000 (09:49 +0900)]
Add getting required-privileges at GetAction

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
8 weeks agoUsing move to avoid unnecessary copy
Sangyoon Jang [Fri, 18 Apr 2025 03:31:50 +0000 (12:31 +0900)]
Using move to avoid unnecessary copy

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
8 weeks agoAdd parsing required-privileges
Sangyoon Jang [Fri, 18 Apr 2025 02:04:38 +0000 (11:04 +0900)]
Add parsing required-privileges

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
8 weeks agoMerge pull request #33 from shine-kang/make_changes
강석형/Tizen Platform Lab(SR)/삼성전자 [Thu, 17 Apr 2025 06:35:21 +0000 (15:35 +0900)]
Merge pull request #33 from shine-kang/make_changes

Set parameter for on get action

8 weeks agoSet parameter for on get action
SukhyungKang [Thu, 17 Apr 2025 00:09:09 +0000 (09:09 +0900)]
Set parameter for on get action

Signed-off-by: SukhyungKang <shine.kang@samsung.com>
8 weeks agoAdd skeletons for action API
Sangyoon Jang [Mon, 14 Apr 2025 07:22:32 +0000 (16:22 +0900)]
Add skeletons for action API

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 months agoAdd category attribute to action
Sangyoon Jang [Mon, 14 Apr 2025 05:43:15 +0000 (14:43 +0900)]
Add category attribute to action

category is for enhancing efficiency of getting actions.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 months agoMerge pull request #30 from appfw/changyu.choi/fix
최창규/Tizen Platform Lab(SR)/삼성전자 [Fri, 11 Apr 2025 06:34:26 +0000 (15:34 +0900)]
Merge pull request #30 from appfw/changyu.choi/fix

Fix stub object scope

2 months agoFix stub object scope
Changgyu Choi [Fri, 11 Apr 2025 06:30:05 +0000 (15:30 +0900)]
Fix stub object scope

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 months agoMerge pull request #28 from appfw/changyu.choi/svace-issue
최창규/Tizen Platform Lab(SR)/삼성전자 [Fri, 11 Apr 2025 00:22:07 +0000 (09:22 +0900)]
Merge pull request #28 from appfw/changyu.choi/svace-issue

Fix static analysis issues

2 months agoFix static analysis issues
Changgyu Choi [Thu, 10 Apr 2025 09:54:56 +0000 (18:54 +0900)]
Fix static analysis issues

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 months agoRemove unused member variable
Sangyoon Jang [Tue, 8 Apr 2025 06:31:17 +0000 (15:31 +0900)]
Remove unused member variable

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 months agoRename some interface classes
Sangyoon Jang [Tue, 8 Apr 2025 05:31:45 +0000 (14:31 +0900)]
Rename some interface classes

Rename to clarify its purpose.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 months agoImplement action request reply
Sangyoon Jang [Tue, 8 Apr 2025 05:11:56 +0000 (14:11 +0900)]
Implement action request reply

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 months agoFix update action schema
Sangyoon Jang [Thu, 20 Mar 2025 06:18:54 +0000 (15:18 +0900)]
Fix update action schema

Fix lost schema when update action.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 months agoRename action_fw_tool to action-tool
Sangyoon Jang [Thu, 20 Mar 2025 02:15:24 +0000 (11:15 +0900)]
Rename action_fw_tool to action-tool

In general, use '-' instead of '_' on executables.
Names of subcommands are also changed.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 months agoMerge pull request #24 from changyu-choi/fix
최창규/Tizen Platform Lab(SR)/삼성전자 [Mon, 17 Mar 2025 09:08:10 +0000 (18:08 +0900)]
Merge pull request #24 from changyu-choi/fix

Fix plugin-deamon crash

2 months agoFix plugin-deamon crash
Changgyu Choi [Mon, 17 Mar 2025 08:31:04 +0000 (17:31 +0900)]
Fix plugin-deamon crash

result_cb must be invoked only once.

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 months agoMerge pull request #23 from changyu-choi/fix
최창규/Tizen Platform Lab(SR)/삼성전자 [Fri, 14 Mar 2025 06:18:25 +0000 (15:18 +0900)]
Merge pull request #23 from changyu-choi/fix

Fix ActionExcutorConverter wrong implementation

3 months agoAdd exception handling for database operations
Sangyoon Jang [Thu, 13 Mar 2025 07:42:07 +0000 (16:42 +0900)]
Add exception handling for database operations

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 months agoImplement GetList method
Sangyoon Jang [Thu, 13 Mar 2025 06:50:05 +0000 (15:50 +0900)]
Implement GetList method

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 months agoFix Execute failure issue
Changgyu Choi [Thu, 13 Mar 2025 07:31:20 +0000 (16:31 +0900)]
Fix Execute failure issue

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 months agoMerge pull request #20 from changyu-choi/unittest
최창규/Tizen Platform Lab(SR)/삼성전자 [Thu, 13 Mar 2025 07:50:20 +0000 (16:50 +0900)]
Merge pull request #20 from changyu-choi/unittest

Add unittests

3 months agoApply feedbacks
Changgyu Choi [Thu, 13 Mar 2025 07:25:26 +0000 (16:25 +0900)]
Apply feedbacks

Changes:
 - Removes unnecessary include directories.
 - Modify include path to full path.

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 months agoAdd unittests
Changgyu Choi [Thu, 13 Mar 2025 06:04:40 +0000 (15:04 +0900)]
Add unittests

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 months agoRemove some properties
Sangyoon Jang [Thu, 13 Mar 2025 01:22:10 +0000 (10:22 +0900)]
Remove some properties

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 months agoFix constructor parameter type
Sangyoon Jang [Wed, 12 Mar 2025 07:23:43 +0000 (16:23 +0900)]
Fix constructor parameter type

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 months agoRemove unused files
Sangyoon Jang [Wed, 12 Mar 2025 07:10:03 +0000 (16:10 +0900)]
Remove unused files

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 months agoMove business logic to ActionRequestHandler from Service
Sangyoon Jang [Wed, 12 Mar 2025 07:02:43 +0000 (16:02 +0900)]
Move business logic to ActionRequestHandler from Service

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 months agoMerge pull request #16 from changyu-choi/plugin-daemon
최창규/Tizen Platform Lab(SR)/삼성전자 [Tue, 11 Mar 2025 08:12:09 +0000 (17:12 +0900)]
Merge pull request #16 from changyu-choi/plugin-daemon

Draft tizen-action-plugin-daemon

3 months agoCreate DefaultExecutor for invalid type
Changgyu Choi [Tue, 11 Mar 2025 08:10:18 +0000 (17:10 +0900)]
Create DefaultExecutor for invalid type

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 months agoImplement missing CreateExecutor() method
Changgyu Choi [Tue, 11 Mar 2025 07:09:35 +0000 (16:09 +0900)]
Implement missing CreateExecutor() method

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 months agoFix static analysis issues
Changgyu Choi [Tue, 11 Mar 2025 05:28:51 +0000 (14:28 +0900)]
Fix static analysis issues

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 months agoRefactor PluginExecutor
Changgyu Choi [Tue, 11 Mar 2025 05:04:11 +0000 (14:04 +0900)]
Refactor PluginExecutor

To comply with OCP, we implemented PluginExecutor as an abstraction of AbstractActionExecutor.

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 months agoFix wrong modification
Changgyu Choi [Mon, 10 Mar 2025 11:04:05 +0000 (20:04 +0900)]
Fix wrong modification

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 months agoModify tidl connection logic
Changgyu Choi [Mon, 10 Mar 2025 08:09:15 +0000 (17:09 +0900)]
Modify tidl connection logic

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 months agoAdd PluginManager proxy into action framework
Changgyu Choi [Mon, 10 Mar 2025 01:17:48 +0000 (10:17 +0900)]
Add PluginManager proxy into action framework

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 months agoDraft tizen-action-plugin-daemon
Changgyu Choi [Wed, 5 Mar 2025 12:33:05 +0000 (21:33 +0900)]
Draft tizen-action-plugin-daemon

This is for plugin action handling.

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 months agoFix action_fw_tool
Sangyoon Jang [Mon, 10 Mar 2025 04:49:22 +0000 (13:49 +0900)]
Fix action_fw_tool

Using namespace alias.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 months agoFix miscellaneous
Sangyoon Jang [Thu, 6 Mar 2025 02:17:35 +0000 (11:17 +0900)]
Fix miscellaneous

- Rename and move result handler interface.
- Fix namespace for rpc_port(tidl).
- Fix some parameter types.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 months agoFix register, unregister action reply callback
Sangyoon Jang [Thu, 6 Mar 2025 01:28:45 +0000 (10:28 +0900)]
Fix register, unregister action reply callback

Use sequence id of TIDL CallbackBase.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 months agoAdd base for ActionReply
Sangyoon Jang [Wed, 5 Mar 2025 08:08:17 +0000 (17:08 +0900)]
Add base for ActionReply

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 months agoFix executor
Sangyoon Jang [Tue, 4 Mar 2025 10:16:54 +0000 (19:16 +0900)]
Fix executor

- Move logic of AppControlSender into AppControlExectutor
- Add ActionResultHandler

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 months agoFix db creation in spec file
Sangyoon Jang [Wed, 26 Feb 2025 05:38:48 +0000 (14:38 +0900)]
Fix db creation in spec file

The db file is removed every time when rpm package installed.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 months agoMerge pull request #13 from shine-kang/make_changes
강석형/Tizen Platform Lab(SR)/삼성전자 [Tue, 25 Feb 2025 09:03:25 +0000 (18:03 +0900)]
Merge pull request #13 from shine-kang/make_changes

Add ActionModel and execute sequence

3 months agoAdd ActionModel and execute sequence
SukhyungKang [Tue, 25 Feb 2025 04:54:22 +0000 (13:54 +0900)]
Add ActionModel and execute sequence

- [usage] execute <action id> <app_control/plugin> <parameter1:value> ...

- ex) # action_fw_tool execute show-toast app_control text:test timeout:300 type:toast

Signed-off-by: SukhyungKang <shine.kang@samsung.com>
3 months agoAdd a reply handler
Sangyoon Jang [Mon, 17 Feb 2025 06:57:04 +0000 (15:57 +0900)]
Add a reply handler

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 months agoMerge pull request #11 from shine-kang/make_changes
강석형/Tizen Platform Lab(SR)/삼성전자 [Mon, 17 Feb 2025 00:24:30 +0000 (09:24 +0900)]
Merge pull request #11 from shine-kang/make_changes

change smack label for db file

3 months agochange smack label for db file
SukhyungKang [Fri, 14 Feb 2025 06:52:24 +0000 (15:52 +0900)]
change smack label for db file

Signed-off-by: SukhyungKang <shine.kang@samsung.com>
3 months agoAdd base code for app_control executor
Sangyoon Jang [Thu, 13 Feb 2025 06:45:14 +0000 (15:45 +0900)]
Add base code for app_control executor

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 months agoFix action_model.hh, action_parameter.hh
Sangyoon Jang [Thu, 13 Feb 2025 06:17:44 +0000 (15:17 +0900)]
Fix action_model.hh, action_parameter.hh

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 months agoFix get action query
Sangyoon Jang [Tue, 11 Feb 2025 00:31:20 +0000 (09:31 +0900)]
Fix get action query

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 months agoAdd so version property
Sangyoon Jang [Mon, 10 Feb 2025 06:37:02 +0000 (15:37 +0900)]
Add so version property

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 months agoAdjust files to new directory structure
Sangyoon Jang [Mon, 10 Feb 2025 02:41:48 +0000 (11:41 +0900)]
Adjust files to new directory structure

- Use header file extension as 'hh'.
- Fix namespaces.
- Remove duplicated files.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>