platform/core/system/modes.git
4 years agorevise boilerplate
Youngjae Shin [Mon, 24 Aug 2020 06:08:21 +0000 (15:08 +0900)]
revise boilerplate

Change-Id: I4bd9ad280a6f6340477a4cd43719be90a367cdc9

4 years agoImprove coverage of test
Youngjae Shin [Fri, 17 Jul 2020 02:33:20 +0000 (11:33 +0900)]
Improve coverage of test

Change-Id: I61bf8fea355d87b3380a88a51e07147441b1797a

4 years agochange the name of Plugin header files accepted/tizen/unified/20200715.115516 submit/tizen/20200715.082746
Youngjae Shin [Mon, 6 Jul 2020 08:49:02 +0000 (17:49 +0900)]
change the name of Plugin header files

Plugin.h => ModesPlugin.h
PluginAction.h => ModesPIAction.h

Change-Id: I55765297f2a4f932a75f3405f9e40610057f87db

4 years agofix client memory leak accepted/tizen/unified/20200706.064224 submit/tizen/20200706.012610
Youngjae Shin [Tue, 30 Jun 2020 04:53:09 +0000 (13:53 +0900)]
fix client memory leak

Change-Id: Ie9eee6ac96e2028703cb10d93edd727ac57d3afb

4 years agofix memory leak
Youngjae Shin [Fri, 26 Jun 2020 05:19:48 +0000 (14:19 +0900)]
fix memory leak

Change-Id: I0e7b71dc1ec14e9cd12e9af618cd2e91ff1dc1d4

4 years agoadd dlopen option explicitly(RTLD_LOCAL) accepted/tizen/unified/20200617.055851 submit/tizen/20200615.073011 submit/tizen/20200616.105347
Youngjae Shin [Mon, 15 Jun 2020 07:18:39 +0000 (16:18 +0900)]
add dlopen option explicitly(RTLD_LOCAL)

Change-Id: I0569fbe5b86d0322029bb3eac8fad12d17a4b159

4 years agorevise generator and its tests
Youngjae Shin [Mon, 15 Jun 2020 07:07:16 +0000 (16:07 +0900)]
revise generator and its tests

Change-Id: Icc8114b9e516c159946a60dda8058f5a1ff95c2a

4 years agoAdd mode ID
JinWang An [Fri, 12 Jun 2020 07:29:24 +0000 (16:29 +0900)]
Add mode ID

Change-Id: Iecf198e21ce8b17bb8c2d4958e58aa0cf629f6cd

4 years agominor cleanup
Youngjae Shin [Thu, 11 Jun 2020 01:04:22 +0000 (10:04 +0900)]
minor cleanup

fix some typo and remove unused code

Change-Id: Id97004d4ade1f317894af7db6c6466b639094c92

4 years agorevise security logic and code quality
Youngjae Shin [Wed, 20 May 2020 07:58:33 +0000 (16:58 +0900)]
revise security logic and code quality

Change-Id: I7bd4b2069041ab8a0c5fe62fe1ed7d26578615f5

4 years agoAdd check essential action value while restore
JinWang An [Tue, 19 May 2020 09:05:04 +0000 (18:05 +0900)]
Add check essential action value while restore

Change-Id: If1754e880c34646d12a8f4e0e8cf5d690e572160

4 years agoremove existing file before writing mode accepted/tizen/unified/20200514.050644 submit/tizen/20200513.090930
Youngjae Shin [Wed, 13 May 2020 09:02:45 +0000 (18:02 +0900)]
remove existing file before writing mode

4 years agoapply xdg env by using systemd
Youngjae Shin [Wed, 13 May 2020 07:38:31 +0000 (16:38 +0900)]
apply xdg env by using systemd

4 years agoremove ModeParser
Youngjae Shin [Tue, 12 May 2020 06:35:59 +0000 (15:35 +0900)]
remove ModeParser

The ModeParser is not useful because the mode description is fixed on XML.

4 years agorevise file names for readability
Youngjae Shin [Mon, 11 May 2020 05:18:32 +0000 (14:18 +0900)]
revise file names for readability

4 years agoRemove getModeName()
JinWang An [Mon, 11 May 2020 03:37:32 +0000 (12:37 +0900)]
Remove getModeName()

4 years agoAdd action value check while validating mode
JinWang An [Mon, 11 May 2020 01:29:02 +0000 (10:29 +0900)]
Add action value check while validating mode

4 years agorevise Undo Info
Youngjae Shin [Thu, 7 May 2020 10:38:58 +0000 (19:38 +0900)]
revise Undo Info

handle the ignoreUndo value

4 years agoremove unused parameter of unSetChangedCallback
Youngjae Shin [Mon, 4 May 2020 06:12:12 +0000 (15:12 +0900)]
remove unused parameter of unSetChangedCallback

remove userData parameter

4 years agoInsert delete mode
JinWang An [Wed, 29 Apr 2020 03:55:11 +0000 (12:55 +0900)]
Insert delete mode

4 years agosupport multi privileges accepted/tizen/unified/20200428.125848 submit/tizen/20200428.090338
Youngjae Shin [Tue, 28 Apr 2020 05:51:44 +0000 (14:51 +0900)]
support multi privileges

4 years agorevise code of getting coverage
Youngjae Shin [Fri, 24 Apr 2020 01:16:48 +0000 (10:16 +0900)]
revise code of getting coverage

4 years agoadd unittest for managing policy accepted/tizen/unified/20200422.032227 submit/tizen/20200421.092050
Youngjae Shin [Tue, 21 Apr 2020 09:19:08 +0000 (18:19 +0900)]
add unittest for managing policy

It includes fixing bug of policy

4 years agorevise handling plugin in Action
Youngjae Shin [Tue, 21 Apr 2020 01:33:52 +0000 (10:33 +0900)]
revise handling plugin in Action

4 years agorevise API headers
Youngjae Shin [Thu, 16 Apr 2020 09:20:45 +0000 (18:20 +0900)]
revise API headers

4 years agofix error of changing owner/group accepted/tizen/unified/20200414.041542 submit/tizen/20200414.014257
Youngjae Shin [Tue, 14 Apr 2020 01:39:46 +0000 (10:39 +0900)]
fix error of changing owner/group

4 years agorevise test case names accepted/tizen/unified/20200413.070950 submit/tizen/20200413.033843
Youngjae Shin [Mon, 13 Apr 2020 03:35:21 +0000 (12:35 +0900)]
revise test case names

4 years agorevise privilege of APIs submit/tizen/20200413.011939
Youngjae Shin [Mon, 13 Apr 2020 01:15:57 +0000 (10:15 +0900)]
revise privilege of APIs

4 years agofix coverity errors submit/tizen/20200410.031404
Youngjae Shin [Fri, 10 Apr 2020 03:11:38 +0000 (12:11 +0900)]
fix coverity errors

4 years agoremove conflictManager accepted/tizen/unified/20200409.083701 submit/tizen/20200409.052214
Youngjae Shin [Thu, 9 Apr 2020 04:58:34 +0000 (13:58 +0900)]
remove conflictManager

4 years agoreorder rule schema elementary
Youngjae Shin [Wed, 8 Apr 2020 01:12:24 +0000 (10:12 +0900)]
reorder rule schema elementary

4 years agorevise client test case accepted/tizen/unified/20200406.074345 submit/tizen/20200406.072047
Youngjae Shin [Thu, 2 Apr 2020 04:30:22 +0000 (13:30 +0900)]
revise client test case

4 years agocleanup unused arguments
Youngjae Shin [Wed, 1 Apr 2020 06:57:23 +0000 (15:57 +0900)]
cleanup unused arguments

4 years agoapply life option in Rule
Youngjae Shin [Tue, 31 Mar 2020 03:36:54 +0000 (12:36 +0900)]
apply life option in Rule

4 years agochange plugin to optional
Youngjae Shin [Mon, 30 Mar 2020 08:06:51 +0000 (17:06 +0900)]
change plugin to optional

4 years agofix gdbus error message
Youngjae Shin [Fri, 27 Mar 2020 06:34:37 +0000 (15:34 +0900)]
fix gdbus error message

4 years agoFix mode change notification errors accepted/tizen/unified/20200324.101516 submit/tizen/20200324.035544
JinWang An [Tue, 24 Mar 2020 03:52:38 +0000 (12:52 +0900)]
Fix mode change notification errors

4 years agofix memory leak
Youngjae Shin [Tue, 24 Mar 2020 03:14:25 +0000 (12:14 +0900)]
fix memory leak

4 years agoremove unused api:modes_action_set_id() accepted/tizen/unified/20200323.172918 submit/tizen/20200323.081203
Youngjae Shin [Mon, 23 Mar 2020 08:04:49 +0000 (17:04 +0900)]
remove unused api:modes_action_set_id()

4 years agofix coverity issues
Youngjae Shin [Mon, 23 Mar 2020 06:19:03 +0000 (15:19 +0900)]
fix coverity issues

4 years agofix build error on 64bit architect accepted/tizen/unified/20200319.232144 submit/tizen/20200319.054737
Youngjae Shin [Thu, 19 Mar 2020 05:42:30 +0000 (14:42 +0900)]
fix build error on 64bit architect

4 years agoremove unused files submit/tizen/20200319.043412
Youngjae Shin [Tue, 17 Mar 2020 05:47:35 +0000 (14:47 +0900)]
remove unused files

4 years agorevise subscribe changes functions with ID
Youngjae Shin [Mon, 16 Mar 2020 10:55:36 +0000 (19:55 +0900)]
revise subscribe changes functions with ID

4 years agorevise spec file for analyzing coverage
Youngjae Shin [Thu, 12 Mar 2020 08:33:05 +0000 (17:33 +0900)]
revise spec file for analyzing coverage

4 years agorevise plugin interface(remove getter)
Youngjae Shin [Wed, 4 Mar 2020 03:11:37 +0000 (12:11 +0900)]
revise plugin interface(remove getter)

4 years agorevise essential map
Youngjae Shin [Tue, 25 Feb 2020 06:24:12 +0000 (15:24 +0900)]
revise essential map

4 years agoremove vulnerable function 'strerror'
Youngjae Shin [Mon, 24 Feb 2020 05:47:29 +0000 (14:47 +0900)]
remove vulnerable function 'strerror'

4 years agoRemove exclusive type
JinWang An [Mon, 24 Feb 2020 01:38:07 +0000 (10:38 +0900)]
Remove exclusive type

4 years agofix svace error
Youngjae Shin [Thu, 20 Feb 2020 05:46:36 +0000 (14:46 +0900)]
fix svace error

4 years agoExtend get mode list
JinWang An [Thu, 20 Feb 2020 05:46:08 +0000 (14:46 +0900)]
Extend get mode list

4 years agorevise apis for multi notification callback
JinWang An [Fri, 14 Feb 2020 05:48:31 +0000 (14:48 +0900)]
revise apis for multi notification callback

4 years agoremove depedency between devel packages
Youngjae Shin [Tue, 11 Feb 2020 05:00:40 +0000 (14:00 +0900)]
remove depedency between devel packages

4 years agoadd essential unittest
Youngjae Shin [Tue, 4 Feb 2020 08:09:51 +0000 (17:09 +0900)]
add essential unittest

4 years agorevise Mode/Rule Files name
Youngjae Shin [Tue, 4 Feb 2020 06:22:39 +0000 (15:22 +0900)]
revise Mode/Rule Files name

4 years agodebugging notification API
Youngjae Shin [Tue, 4 Feb 2020 05:54:52 +0000 (14:54 +0900)]
debugging notification API

4 years agoapply essential handler
Youngjae Shin [Tue, 4 Feb 2020 05:02:46 +0000 (14:02 +0900)]
apply essential handler

4 years agoadd validation for async action
JinWang An [Mon, 3 Feb 2020 06:29:50 +0000 (15:29 +0900)]
add validation for async action

4 years agoadd unit test cases
Youngjae Shin [Thu, 30 Jan 2020 04:07:02 +0000 (13:07 +0900)]
add unit test cases

4 years agoFix client API for handle
JinWang An [Wed, 15 Jan 2020 07:41:22 +0000 (16:41 +0900)]
Fix client API for handle

4 years agoadd observers for essential action
Youngjae Shin [Wed, 15 Jan 2020 07:34:56 +0000 (16:34 +0900)]
add observers for essential action

4 years agoupdate copyright year
Youngjae Shin [Wed, 8 Jan 2020 05:23:31 +0000 (14:23 +0900)]
update copyright year

4 years agorevise arch between actionRule and action
Youngjae Shin [Tue, 7 Jan 2020 23:25:35 +0000 (08:25 +0900)]
revise arch between actionRule and action

4 years agoRevise check restrict
Youngjae Shin [Mon, 6 Jan 2020 04:55:43 +0000 (13:55 +0900)]
Revise check restrict

4 years agoFix value check class for minus char
JinWang An [Thu, 2 Jan 2020 05:01:08 +0000 (14:01 +0900)]
Fix value check class for minus char

4 years agominor revise
Youngjae Shin [Fri, 27 Dec 2019 00:41:20 +0000 (09:41 +0900)]
minor revise

4 years agoAdd hidden argument at modes_create_mode API
JinWang An [Thu, 26 Dec 2019 01:53:15 +0000 (10:53 +0900)]
Add hidden argument at modes_create_mode API

4 years agoAdd hidden attribute in mode element
JinWang An [Fri, 20 Dec 2019 04:38:48 +0000 (13:38 +0900)]
Add hidden attribute in mode element

4 years agoAdd modes_can_apply()
JinWang An [Fri, 13 Dec 2019 01:21:03 +0000 (10:21 +0900)]
Add  modes_can_apply()

4 years agoFix return value from result to MODES_ERROR_SYSTEM of _mdsc_dbus_ functions
JinWang An [Wed, 11 Dec 2019 09:57:39 +0000 (18:57 +0900)]
Fix return value from result to MODES_ERROR_SYSTEM of _mdsc_dbus_ functions

4 years agoAdd privilege checker when it's applied mode
JinWang An [Thu, 5 Dec 2019 02:32:13 +0000 (11:32 +0900)]
Add privilege checker when it's applied mode

4 years agorevise the logic of handling async action
Youngjae Shin [Tue, 26 Nov 2019 04:03:41 +0000 (13:03 +0900)]
revise the logic of handling async action

4 years agofix bug related with custom mode
Youngjae Shin [Thu, 21 Nov 2019 06:51:00 +0000 (15:51 +0900)]
fix bug related with custom mode

4 years agoAdd async apply logic at action
Donghoon Kwak [Fri, 15 Nov 2019 06:00:15 +0000 (15:00 +0900)]
Add async apply logic at action

4 years agoEnable modes.path systemd service for undo.xml files
JinWang An [Fri, 15 Nov 2019 05:44:23 +0000 (14:44 +0900)]
Enable modes.path systemd service for undo.xml files

4 years agorevise piAction life cycle and returng undo()
Youngjae Shin [Wed, 13 Nov 2019 01:29:08 +0000 (10:29 +0900)]
revise piAction life cycle and returng undo()

4 years agoadd error on parsing mode
Youngjae Shin [Fri, 8 Nov 2019 03:53:34 +0000 (12:53 +0900)]
add error on parsing mode

4 years agorevise change cb architecture
Youngjae Shin [Tue, 5 Nov 2019 07:28:18 +0000 (16:28 +0900)]
revise change cb architecture

4 years agoclean up dbus conf file and log
Youngjae Shin [Mon, 4 Nov 2019 00:04:48 +0000 (09:04 +0900)]
clean up dbus conf file and log

4 years agofix bug that can't receive signal of dbus from plugin
Youngjae Shin [Thu, 31 Oct 2019 04:49:58 +0000 (13:49 +0900)]
fix bug that can't receive signal of dbus from plugin

4 years agoclean up code and revise example
Youngjae Shin [Tue, 29 Oct 2019 09:49:37 +0000 (18:49 +0900)]
clean up code and revise example

4 years agorevise xml schema(xsd)
Youngjae Shin [Tue, 29 Oct 2019 03:57:31 +0000 (12:57 +0900)]
revise xml schema(xsd)

4 years agocode cleanup and revise test program
Youngjae Shin [Thu, 24 Oct 2019 23:52:23 +0000 (08:52 +0900)]
code cleanup and revise test program

4 years agoAdd policy group for modes app
Hyunjee Kim [Thu, 24 Oct 2019 01:18:28 +0000 (10:18 +0900)]
Add policy group for modes app

4 years agofix bug of changed notification
Youngjae Shin [Wed, 23 Oct 2019 01:54:57 +0000 (10:54 +0900)]
fix bug of changed notification

4 years agofix undoInfoParser parsing error
Youngjae Shin [Tue, 22 Oct 2019 01:43:28 +0000 (10:43 +0900)]
fix undoInfoParser parsing error

4 years agorevise prototype of serialization function
Youngjae Shin [Mon, 21 Oct 2019 08:17:58 +0000 (17:17 +0900)]
revise prototype of serialization function

4 years agorevise handling pluginAction
Youngjae Shin [Mon, 21 Oct 2019 07:57:15 +0000 (16:57 +0900)]
revise handling pluginAction

force to set pluginAction name
remove piAction when action is changed

4 years agorevise parameter name for readability
Youngjae Shin [Mon, 21 Oct 2019 07:52:39 +0000 (16:52 +0900)]
revise parameter name for readability

4 years agoapply permanent caretaker
Youngjae Shin [Mon, 21 Oct 2019 00:00:18 +0000 (09:00 +0900)]
apply permanent caretaker

4 years agoadd get_modes API
Youngjae Shin [Fri, 11 Oct 2019 07:41:10 +0000 (16:41 +0900)]
add get_modes API

4 years agoadd notification API
Youngjae Shin [Fri, 11 Oct 2019 01:58:41 +0000 (10:58 +0900)]
add notification API

4 years agoalign release version
Youngjae Shin [Mon, 7 Oct 2019 01:26:31 +0000 (10:26 +0900)]
align release version

4 years agoapply atomicity logic for ActionRule
Youngjae Shin [Fri, 4 Oct 2019 07:53:28 +0000 (16:53 +0900)]
apply atomicity logic for ActionRule

4 years agoSeparate unittests (to modes-plugin)
Youngjae Shin [Wed, 2 Oct 2019 06:53:05 +0000 (15:53 +0900)]
Separate unittests (to modes-plugin)

4 years agoadd value validation checker
Youngjae Shin [Thu, 26 Sep 2019 01:49:25 +0000 (10:49 +0900)]
add value validation checker

4 years agoAdd action after undo mode.
JinWang An [Fri, 20 Sep 2019 05:57:28 +0000 (14:57 +0900)]
Add action after undo mode.

4 years agohandle action failure
Youngjae Shin [Thu, 19 Sep 2019 04:25:35 +0000 (13:25 +0900)]
handle action failure

4 years agorevise architecture of handling plugin Action
Youngjae Shin [Tue, 10 Sep 2019 07:39:35 +0000 (16:39 +0900)]
revise architecture of handling plugin Action

4 years agoAdd void* userData argument at unSetChangedCallback for plugin
JinWang An [Fri, 23 Aug 2019 03:58:34 +0000 (12:58 +0900)]
Add void* userData argument at unSetChangedCallback for plugin

4 years agoAdd changed cb at plugin
JinWang An [Thu, 22 Aug 2019 05:27:06 +0000 (14:27 +0900)]
Add changed cb at plugin