platform/core/security/askuser.git
2 weeks agoAdjust coverage script after lcov upgrade 94/309194/2 tizen
Dariusz Michaluk [Fri, 5 Apr 2024 10:41:40 +0000 (12:41 +0200)]
Adjust coverage script after lcov upgrade

Change-Id: I2fb6420ac6bc2f8482e1a8b8980ce649c9957429

8 months agoFix SAM warning 38/296538/1 accepted/tizen_8.0_unified accepted/tizen_unified tizen_8.0 accepted/tizen/8.0/unified/20231005.093541 accepted/tizen/unified/20230801.174221 tizen_8.0_m2_release
Tomasz Swierczek [Mon, 31 Jul 2023 13:52:11 +0000 (15:52 +0200)]
Fix SAM warning

Change-Id: I7703e54a9e56011e07c268d0c04bac89bb1c54b9

9 months agoRelease version 0.6.3 33/295433/1 accepted/tizen_unified_dev accepted/tizen/unified/20230712.040719 accepted/tizen/unified/dev/20230726.115837
Tomasz Swierczek [Fri, 7 Jul 2023 06:29:00 +0000 (08:29 +0200)]
Release version 0.6.3

- Fix issues found by using new toolchain
- Fix static analysis issues

Change-Id: I7f84eeebdf4be2364764649d4c5c5055ec5c29cf

9 months agoFix issues found by using new toolchain 32/295432/2
Tomasz Swierczek [Fri, 7 Jul 2023 06:25:09 +0000 (08:25 +0200)]
Fix issues found by using new toolchain

Change-Id: I5f2acf2ed72659983d4664082f5758141cdd449a

9 months agoFix static analysis issues 04/295404/1
Tomasz Swierczek [Thu, 6 Jul 2023 09:52:54 +0000 (11:52 +0200)]
Fix static analysis issues

Change-Id: I7b2dc65e39e8da4c62c3396620dc502be839d611

11 months agoRelease version 0.6.2 36/292836/1 accepted/tizen/unified/20230606.140930
Dariusz Michaluk [Mon, 15 May 2023 13:00:52 +0000 (15:00 +0200)]
Release version 0.6.2

- Change platform version to 8.0
- Adjust tests to tizen-headed image

Change-Id: I56ad8f14adba3f4ce801850f5042c43ffbfec6dc

11 months agoChange platform version to 8.0 35/292835/1
Dariusz Michaluk [Mon, 15 May 2023 12:57:43 +0000 (14:57 +0200)]
Change platform version to 8.0

Change-Id: I84132978f62784335a5fb30ce8fec3ccf9cf17aa

12 months agoAdjust tests to tizen-headed image 72/291272/1
Dariusz Michaluk [Wed, 12 Apr 2023 12:29:50 +0000 (14:29 +0200)]
Adjust tests to tizen-headed image

Tizen mobile & wearable images are not supported anymore,
adjust tests to tizen-headed image, where some of the apps are not avaiable.

Change-Id: I31787889dffc91ab7ffac96155a8b91f5980cb8f

14 months agoRelease version 0.6.1 72/287472/1 accepted/tizen/unified/20230213.170714
Dariusz Michaluk [Mon, 30 Jan 2023 10:02:39 +0000 (11:02 +0100)]
Release version 0.6.1

- Mark PPM module as deprecated in Tizen documentation
- Mark all PPM APIs as deprecated since Tizen 7.5
- Remove unused sec_build_binary_debug_enable build macro
- Fix coverage generation in rpm 4.14.1
- Automate code coverage measurement

Change-Id: Iebfa7b16fcd33244645370b106488454552485b2

14 months agoMark PPM module as deprecated in Tizen documentation 71/287471/1
Dariusz Michaluk [Mon, 30 Jan 2023 09:57:05 +0000 (10:57 +0100)]
Mark PPM module as deprecated in Tizen documentation

Change-Id: Ia56d48047802fc37d9c2378a624b975bf548250f

14 months agoMark all PPM APIs as deprecated since Tizen 7.5 20/287320/2
Dariusz Michaluk [Wed, 25 Jan 2023 12:52:38 +0000 (13:52 +0100)]
Mark all PPM APIs as deprecated since Tizen 7.5

Change-Id: Iae5eee73438f31c0114dd8596c0236e39cbd8349

2 years agoRemove unused sec_build_binary_debug_enable build macro 98/267098/1
Dariusz Michaluk [Thu, 25 Nov 2021 10:42:10 +0000 (11:42 +0100)]
Remove unused sec_build_binary_debug_enable build macro

Change-Id: Ibf27e1dc8958caeb7f7760e0fc238e269e09fea6

3 years agoFix coverage generation in rpm 4.14.1 93/254493/1
Tomasz Swierczek [Wed, 3 Mar 2021 14:00:55 +0000 (15:00 +0100)]
Fix coverage generation in rpm 4.14.1

Debug source package directories now have different names.

Change-Id: Ia540669261fef184938b5b7cd8a436038b71eb05

3 years agoAutomate code coverage measurement 27/243027/6
Dariusz Michaluk [Wed, 2 Sep 2020 12:48:36 +0000 (14:48 +0200)]
Automate code coverage measurement

To gather unit tests coverage report:
- use COVERAGE build_type,
- instal askuser-notification-coverage rpm,
- run askuser-notification-coverage.sh script.

Change-Id: I64f5fc86391f432906532d2e0dcd216c085df4c7

3 years agoRelease version 0.6.0 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix accepted/tizen_6.5_unified accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix tizen_6.5 tizen_7.0 tizen_7.0_hotfix accepted/tizen/6.0/unified/20201030.114727 accepted/tizen/6.0/unified/hotfix/20201103.003712 accepted/tizen/6.5/unified/20211028.122859 accepted/tizen/7.0/unified/20221110.061429 accepted/tizen/7.0/unified/hotfix/20221116.105511 accepted/tizen/unified/20200904.154101 submit/tizen/20200903.115303 submit/tizen_6.0/20201029.205104 submit/tizen_6.0_hotfix/20201102.192504 submit/tizen_6.0_hotfix/20201103.114804 submit/tizen_6.5/20211028.162401 tizen_6.0.m2_release tizen_6.5.m2_release tizen_7.0_m2_release
Tomasz Swierczek [Thu, 3 Sep 2020 08:46:08 +0000 (10:46 +0200)]
Release version 0.6.0

- Fix retrieving app component type

This commit changes versionning on tizen branch because
of differences between Tizen 5.5 and 6.0 (ie. the compiler).

Change-Id: If07530a1ef7a26c45265a3bb9794b628ba504af5

3 years agoFix retrieving app component type 49/239649/6
Tomasz Swierczek [Tue, 28 Jul 2020 11:02:29 +0000 (13:02 +0200)]
Fix retrieving app component type

Change-Id: I08fba48c1e3fd34a4e3d57aa2c109104ff8a88b1

3 years agoRelease version 0.5.9 28/240328/1 accepted/tizen/unified/20200807.141036 submit/tizen/20200805.121506
Mateusz Cegielka [Wed, 5 Aug 2020 10:15:00 +0000 (12:15 +0200)]
Release version 0.5.9

- Merge changes Ie0d96e84,I8418a739,Ib5879a39,I29deb31f,Ie8f5b988, ... into tizen
- Remove unused PrivaciesSequence
- Test src/common/log/ module
- Test src/common/exception/ module
- Test src/common/policy/ module
- Add unit test macros prefixing test name with POSITIVE_ or NEGATIVE_
- Add unit test Boost-based binary
- Update language standard to C++17
- Remove unused CynaraException
- Fix missing null checks
- Remove deprecated GTest-based unit tests
- Change privilege mapping error to warning in some cases
- Remove unused util code to enhance line & function coverage

Change-Id: Id41cc0aeed033d4071fd5086f66ba6b90c98b983

3 years agoMerge changes Ie0d96e84,I8418a739,Ib5879a39,I29deb31f,Ie8f5b988, ... into tizen
Tomasz Swierczek [Wed, 5 Aug 2020 06:29:41 +0000 (06:29 +0000)]
Merge changes Ie0d96e84,I8418a739,Ib5879a39,I29deb31f,Ie8f5b988, ... into tizen

* changes:
  Test src/common/log/ module
  Test src/common/exception/ module
  Test src/common/policy/ module
  Add unit test macros prefixing test name with POSITIVE_ or NEGATIVE_
  Add unit test Boost-based binary
  Update language standard to C++17
  Remove unused CynaraException
  Fix missing null checks

3 years agoRemove unused PrivaciesSequence 89/239189/2
Yunjin Lee [Wed, 22 Jul 2020 10:24:59 +0000 (19:24 +0900)]
Remove unused PrivaciesSequence

- It seems that the PrivaciesSequence is called at nowhere and it
declines line coverage.

Change-Id: Id0b09db9d4a31c95d080f5a070853b0a47941db7
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
3 years agoTest src/common/log/ module 24/238024/14
Mateusz Cegielka [Tue, 7 Jul 2020 13:16:58 +0000 (15:16 +0200)]
Test src/common/log/ module

Change-Id: Ie0d96e84d8f2de246415e614a37e33c89b256191

3 years agoTest src/common/exception/ module 23/238023/14
Mateusz Cegielka [Tue, 7 Jul 2020 13:15:41 +0000 (15:15 +0200)]
Test src/common/exception/ module

Change-Id: I8418a7394c52deecc0dea456d7213f44f5b52161

3 years agoTest src/common/policy/ module 14/237914/15
Mateusz Cegielka [Tue, 7 Jul 2020 13:11:19 +0000 (15:11 +0200)]
Test src/common/policy/ module

Change-Id: Ib5879a39fadb52eaf02172e8af3e732368c6d265

3 years agoAdd unit test macros prefixing test name with POSITIVE_ or NEGATIVE_ 01/236601/8
Pawel Kowalski [Thu, 18 Jun 2020 11:17:13 +0000 (13:17 +0200)]
Add unit test macros prefixing test name with POSITIVE_ or NEGATIVE_

Change-Id: I29deb31f64785686c2f5b0e9625fd12d3ec32cca

3 years agoAdd unit test Boost-based binary 91/232291/15
Pawel Kowalski [Wed, 29 Apr 2020 17:56:08 +0000 (19:56 +0200)]
Add unit test Boost-based binary

Change-Id: Ie8f5b988f04aa1976fa697878f921fc22906ce0f

3 years agoUpdate language standard to C++17 90/238390/4
Mateusz Cegielka [Mon, 13 Jul 2020 09:36:48 +0000 (11:36 +0200)]
Update language standard to C++17

Change-Id: I9efd2b9cc5fb8e1cbc0908a274ba846e250f7d5f

3 years agoRemove unused CynaraException 95/238495/2
Mateusz Cegielka [Tue, 14 Jul 2020 10:05:40 +0000 (12:05 +0200)]
Remove unused CynaraException

Change-Id: Iad9f8cafc71fc8ecbbcf7e5517845bdd109c234c

3 years agoFix missing null checks 12/238112/4
Mateusz Cegielka [Wed, 8 Jul 2020 12:55:27 +0000 (14:55 +0200)]
Fix missing null checks

Change-Id: I2fcc2622e9f39e71a6a2078e1248c69d7754ad5e

3 years agoRemove deprecated GTest-based unit tests 90/232290/2
Pawel Kowalski [Wed, 29 Apr 2020 16:48:32 +0000 (18:48 +0200)]
Remove deprecated GTest-based unit tests

Change-Id: Ib4928a77aed577b35e78b224db68520c8359bdb2

3 years agoChange privilege mapping error to warning in some cases 06/232706/1
Tomasz Swierczek [Thu, 7 May 2020 07:54:05 +0000 (09:54 +0200)]
Change privilege mapping error to warning in some cases

Some privileges can be mapped to none privacy-related, such
behavior should not be logged as an error.

Change-Id: Ia73aafdb6c846d12b5c77a1265faeca8f0e1e06c

4 years agoRemove unused util code to enhance line & function coverage 77/231277/3
Yunjin Lee [Tue, 21 Apr 2020 03:36:11 +0000 (12:36 +0900)]
Remove unused util code to enhance line & function coverage

Change-Id: Ie4766c0fec29cec3f697eec604d54161654dc363
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
4 years agoRelease version 0.5.8 37/231237/1 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20200421.150449 accepted/tizen/5.5/unified/wearable/hotfix/20201027.113135 accepted/tizen/unified/20200421.051559 submit/tizen/20200420.103808 submit/tizen_5.5/20200421.012527 submit/tizen_5.5_wearable_hotfix/20201026.184304
Tomasz Swierczek [Mon, 20 Apr 2020 10:06:14 +0000 (12:06 +0200)]
Release version 0.5.8

- Remove unused EFL and traslations code
- Use real app ID when getting app component type
- Change locale for date generation
- Use more specific version regexp in release.sh

Change-Id: I7f22118331249afa98978faa041973d68a5b8cf0

4 years agoRemove unused EFL and traslations code 75/230875/5
Pawel Kowalski [Wed, 15 Apr 2020 10:03:24 +0000 (12:03 +0200)]
Remove unused EFL and traslations code

Change-Id: I9cfba0369c96f1ce3cbf9ba84655b487a0c6951d

4 years agoUse real app ID when getting app component type 01/231001/3
Yunjin Lee [Thu, 16 Apr 2020 11:51:46 +0000 (20:51 +0900)]
Use real app ID when getting app component type

- In current implementation, appid is application's main app ID not real
app ID for caller app pid. It can cause problem when getting app component
type of widget app that is included in the UI app package. It misguide
app component type as UI app and cause aul_app_forward() failure.

Change-Id: I248631661dfa73e5452021b7bf2cf9584499fcc0
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
4 years agoChange locale for date generation 23/229223/2
Zofia Abramowska [Mon, 30 Mar 2020 10:51:55 +0000 (12:51 +0200)]
Change locale for date generation

Change-Id: Ia7687f760ecc55460be95a31e14a7a49200992c4

4 years agoUse more specific version regexp in release.sh 89/225389/3
Konrad Lipinski [Wed, 19 Feb 2020 11:02:47 +0000 (12:02 +0100)]
Use more specific version regexp in release.sh

Change-Id: I651cc7e75153f0dcddbf6a77330c3094af028373

4 years agoRelease version 0.5.7 accepted/tizen/5.5/unified/20200331.051826 submit/tizen/20200330.095003 submit/tizen_5.5/20200330.095044
Tomasz Swierczek [Mon, 30 Mar 2020 06:28:41 +0000 (08:28 +0200)]
Release version 0.5.7

- Change popup app launch mode depending on app type

Change-Id: I1c1fb227209206311faa437b63a6e45e4482273b

4 years agoChange popup app launch mode depending on app type 29/228929/4
Tomasz Swierczek [Thu, 26 Mar 2020 11:02:58 +0000 (12:02 +0100)]
Change popup app launch mode depending on app type

Not all Tizen app types can be launched in a group.

Change-Id: I60e148fe06798a68dc049e112c12a1fe8631e62a

4 years agoRelease version 0.5.6 28/227028/1 accepted/tizen/5.5/unified/20200310.151216 accepted/tizen/unified/20200311.130745 submit/tizen/20200309.073354 submit/tizen/20200311.043751 submit/tizen_5.5/20200309.073500
Tomasz Swierczek [Mon, 9 Mar 2020 06:28:02 +0000 (07:28 +0100)]
Release version 0.5.6

- Modify ppm_popup_send_response to handle 0-length response
- Add cynara_check for ppm_popup_send_response
- Integration with new askuser UI apps
- Add ppm_popup_send_response stub API

Change-Id: I5b30f34e47e5127ddb33fcb82791670f9715c626

4 years agoModify ppm_popup_send_response to handle 0-length response 97/226897/7
Tomasz Swierczek [Fri, 6 Mar 2020 06:49:28 +0000 (07:49 +0100)]
Modify ppm_popup_send_response to handle 0-length response

Response sent with 0 as length of data will be treated
as DENY_ONCE for all privacies in original request.

Change-Id: I1e356ba1151507cb4cde5b61744c29c8ce0818e0

4 years agoAdd cynara_check for ppm_popup_send_response 14/226814/11
Tomasz Swierczek [Thu, 5 Mar 2020 13:01:34 +0000 (14:01 +0100)]
Add cynara_check for ppm_popup_send_response

The API is protected with privilege http://tizen.org/privilege/internal/default/platform

This patch modifies internal IPC classes to handle blocking
operations so popup app calling ppm_send_popup_response can
receive answer in-place, waiting on socket data, using synchronous API.

Change-Id: If6a08f4b1a88b7259d5b31def08247e9e2e306d0

4 years agoIntegration with new askuser UI apps 80/226180/25
Tomasz Swierczek [Thu, 27 Feb 2020 09:36:20 +0000 (10:36 +0100)]
Integration with new askuser UI apps

This patch adds implementation of ppm_popup_send_response API
as well as new implementation of requesting a popup, using
askuser-popup external application.

Internally the patch removes m_currentEvent usage, allowing
the popups to be processed, theoretically, in parallel
for many requests.

Patch does not:
* add security check to ppm_popup_send_response
* remove not-needed EFL code

Above things will be done in separate patches.

Change-Id: Iaeb1d797141b750b462d21bd619e92e0c647e235

4 years agoAdd ppm_popup_send_response stub API 43/225543/3
Zofia Grzelewska [Thu, 20 Feb 2020 17:15:32 +0000 (18:15 +0100)]
Add ppm_popup_send_response stub API

Change-Id: I232c9932fec00907409c2a11650467479d92fbb0

4 years agoRelease version 0.5.5 82/225382/2 accepted/tizen/5.5/unified/20200220.122620 accepted/tizen/unified/20200220.122424 submit/tizen/20200219.105614 submit/tizen_5.5/20200219.110318
Konrad Lipinski [Wed, 19 Feb 2020 10:19:13 +0000 (11:19 +0100)]
Release version 0.5.5

- Add missing include to stdlib.h

Change-Id: I9f8cfdaa5286ea22ccadbbe8eb33e31ebb07f562

4 years agoAdd missing include to stdlib.h 57/225357/2
Tomasz Swierczek [Wed, 19 Feb 2020 07:22:15 +0000 (08:22 +0100)]
Add missing include to stdlib.h

Change-Id: I7ae412901b8e0ab686533273c5070afef28fe28b

4 years agoRelease version 0.5.4 accepted/tizen/unified/20200116.101837 submit/tizen/20200115.060518
Tomasz Swierczek [Wed, 15 Jan 2020 06:04:29 +0000 (07:04 +0100)]
Release version 0.5.4

- Fix some more gcc 9 warning after adding Wall to build config

Change-Id: I91fa0aa24ad0df8399048bf2ba0ea02b2d958e74

4 years agoFix some more gcc 9 warning after adding Wall to build config
Tomasz Swierczek [Wed, 15 Jan 2020 05:55:58 +0000 (06:55 +0100)]
Fix some more gcc 9 warning after adding Wall to build config

Change-Id: I58ba59a277b97bd929d5967f15e59a8aaa2e5cf1

4 years agoRelease version 0.5.3 accepted/tizen/unified/20200113.130706 submit/tizen/20200109.083758
Tomasz Swierczek [Thu, 9 Jan 2020 08:37:37 +0000 (09:37 +0100)]
Release version 0.5.3

- Fix build for gcc 9

Change-Id: I9e8659c230982973ef95c7b36938f0e2422a447f

4 years agoFix build for gcc 9 08/221908/1
Tomasz Swierczek [Wed, 8 Jan 2020 07:51:13 +0000 (08:51 +0100)]
Fix build for gcc 9

Change-Id: I5fab58a89b9671bda5119104a6d0d4aca2d0e3b3

4 years agoRelease version 0.5.2 27/211827/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix tizen_5.5_tv accepted/tizen/5.5/unified/20191031.022730 accepted/tizen/5.5/unified/mobile/hotfix/20201027.090456 accepted/tizen/unified/20190812.235610 submit/tizen/20190809.090921 submit/tizen_5.5/20191031.000004 submit/tizen_5.5_mobile_hotfix/20201026.185104 tizen_5.5.m2_release
Tomasz Swierczek [Fri, 9 Aug 2019 09:04:09 +0000 (11:04 +0200)]
Release version 0.5.2

- Omit calling buttonAnswer when pointers are already reset
- Do not handle HW key event when screen is off

Change-Id: I3a4d0aaade2e886301f916e53faffb9780231412

4 years agoOmit calling buttonAnswer when pointers are already reset 26/211826/1
Tomasz Swierczek [Tue, 6 Aug 2019 06:33:38 +0000 (08:33 +0200)]
Omit calling buttonAnswer when pointers are already reset

Despite deleting entire popup with evas_object_del (which, I presume,
should also remove buttons with associated callbacks),
It looks like askuser is receiving delayed button-press events
from efl at the time when UI is already shut down, causing
segmentation fault on nonexistent object.

Change-Id: Id88f038eb3131912a3ee965b41608d09bed0d054

4 years agoDo not handle HW key event when screen is off 25/210225/3
Yunjin Lee [Tue, 16 Jul 2019 05:45:56 +0000 (14:45 +0900)]
Do not handle HW key event when screen is off

- Current askuser handles HW key events regardless of screen status so
it processes HW key input to wake up screen-offed device as 'deny once'
response. Hence modify it to distinguish focused and unfocused status
and handle HW key input accordingly.

Change-Id: I5b9073c557c19cdb01314783e154e44f5b4775c4
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
4 years agoRelease version 0.5.1 21/208121/2 accepted/tizen/unified/20190621.121836 submit/tizen/20190619.103358 submit/tizen/20190620.050628 submit/tizen_5.0/20190620.044723
Tomasz Swierczek [Tue, 18 Jun 2019 11:58:20 +0000 (13:58 +0200)]
Release version 0.5.1

- Fix memory leak caused by improper handling of GList
- Make policy changes affect always entire package

Change-Id: I79552787a4550bf614bae890a58e11e4b3a41316

4 years agoFix memory leak caused by improper handling of GList 20/208120/2
Tomasz Swierczek [Tue, 18 Jun 2019 10:56:02 +0000 (12:56 +0200)]
Fix  memory leak caused by improper handling of GList

New API from privilege-checker was used.

Change-Id: I77913b31e6d9b0e259dfae38d7c9a5c7ef0c7587

4 years agoMake policy changes affect always entire package 48/207948/5
Tomasz Swierczek [Fri, 14 Jun 2019 06:39:24 +0000 (08:39 +0200)]
Make policy changes affect always entire package

hybrid apps in a package don't share Smack label, so changes in policy
were done individually per each app. This has to be changed to be consistent
with entire platform's operation where each package, from end-user perspective,
is treated as one entity.

Change-Id: I456fe210f788f1fab39c619747bf57544193bae8

4 years agoRelease version 0.5.0 45/207545/2 accepted/tizen/unified/20190612.044536 submit/tizen/20190607.051000 submit/tizen/20190611.075140
Zofia Grzelewska [Thu, 6 Jun 2019 17:02:13 +0000 (19:02 +0200)]
Release version 0.5.0

- Add release script
- Manage callbacks lifetime to fix potential use after free
- Make spec compliant with gbs --incremental

Change-Id: Iadd3b5b847445cc0b5a159ba3e890197952ff306

4 years agoAdd release script 44/207544/2
Zofia Grzelewska [Thu, 6 Jun 2019 16:57:27 +0000 (18:57 +0200)]
Add release script

Change-Id: I1fdd8cef497a0d5dda517696ddeda0250975eedc

4 years agoManage callbacks lifetime to fix potential use after free 27/204827/4
Ernest Borowski [Fri, 26 Apr 2019 15:21:55 +0000 (17:21 +0200)]
Manage callbacks lifetime to fix potential use after free

Askuser notification has callbacks in:
a) timer for delaying exit when home button is pressed
b) transitions for changing popup message to next request

Change-Id: I0326e625a7b91115b67096682e355fc0444faf3e
Signed-off-by: Ernest Borowski <e.borowski@partner.samsung.com>
4 years agoMake spec compliant with gbs --incremental 17/206817/1
Konrad Lipinski [Mon, 27 May 2019 11:26:43 +0000 (13:26 +0200)]
Make spec compliant with gbs --incremental

According to [1], %prep section of the spec file should contain a single
%setup macro, nothing else. According to [2], manifest %files are best
copied to %{buildroot}%{_datadir} in the %install section.

Moved manifest copy operations from %prep to %install accordingly.

References
[1] https://source.tizen.org/documentation/reference/git-build-system/usage/gbs-build
[2] https://wiki.tizen.org/Security/Application_installation_and_Manifest

Change-Id: I07253db622da7274e79d2a30a6a077304b86127a

5 years agoRelease version 0.4.7 60/204760/1 accepted/tizen/unified/20190429.103720 submit/tizen/20190426.065101
Yunjin Lee [Fri, 26 Apr 2019 06:03:37 +0000 (15:03 +0900)]
Release version 0.4.7

- Converts a UTF-8 string into markup
- Fix circular dependency and crash

Change-Id: I30fc4713794df108d9eecb706a22255db3b2471d
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
5 years agoConverts a UTF-8 string into markup 74/199474/6
Yunjin Lee [Tue, 12 Feb 2019 02:05:12 +0000 (11:05 +0900)]
Converts a UTF-8 string into markup

- Converts a UTF-8 string into markup(HTML-like) to handle special
characters such as &, <, /,  and >/. (There was an issue that the
string composed with an app label contains '&' character couldn't
be displayed properly.)

Change-Id: Ie72f4919472ead9513cdc6d904e3e7fee860040f
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
5 years agoFix circular dependency and crash 83/204683/2
Yunjin Lee [Thu, 25 Apr 2019 11:54:10 +0000 (20:54 +0900)]
Fix circular dependency and crash

Change-Id: I3b25fca84551e94b270553839333a6f2ddb0e6ca
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
5 years agoRelease 0.4.6 76/200376/1 accepted/tizen/unified/20190307.231000 submit/tizen/20190227.150434 submit/tizen/20190228.055430
Tomasz Swierczek [Fri, 22 Feb 2019 10:19:34 +0000 (11:19 +0100)]
Release 0.4.6

* Remove checkbox from wearable popup UI, UI fixes
* Fix screen reader to read the contents when request popup launched

Change-Id: I61b745eada071069f522ba622a0705a1a5d476d1

5 years agoRemove checkbox from wearable popup UI 18/198718/3
Yunjin Lee [Tue, 29 Jan 2019 04:55:45 +0000 (13:55 +0900)]
Remove checkbox from wearable popup UI

- Remove checkbox from wearable popup UI according to the UX guide
changes. It makes all "deny" answers in the wearable profile
to be interpreted as DENY_ONCE.

Change-Id: Iec327d411d206846ed291a33a56e8a3fb8ee3393
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
5 years agoFix screen reader to read the contents when request popup launched 12/194612/2
Yunjin Lee [Fri, 20 Jul 2018 08:04:02 +0000 (17:04 +0900)]
Fix screen reader to read the contents when request popup launched

- According to the PLM issue, screen reader should read the message on
pop-up immediately.

Change-Id: I8814caa5c4687586abfe3ab576cc139beccda009
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
5 years agoUpdate popup text 03/194603/2
Yunjin Lee [Tue, 7 Aug 2018 04:14:45 +0000 (13:14 +0900)]
Update popup text

- Update popup text according to the UX guide changes

Change-Id: Ie67ae8108081cd2e18b1b4ab5c974c9d89c52942
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
5 years agoRelease version 0.4.5 10/193810/2 accepted/tizen/unified/20181127.133508 submit/tizen/20181127.060637 submit/tizen_5.0/20181127.060917
Ernest Borowski [Mon, 26 Nov 2018 13:16:16 +0000 (14:16 +0100)]
Release version 0.4.5

- Adjust wearable UI to UX guide
- Fix potential memory leak in popup transition
- Fix potential segfault after language change
- Fix documentation & improve PPMtester logging

Change-Id: I4d8f229d0a3dd5ab52beaab103f308b91b39b645
Signed-off-by: Ernest Borowski <e.borowski@partner.samsung.com>
5 years agoChange popup window priority to notification medium according to the UX guide 73/193573/2
Yunjin Lee [Thu, 22 Nov 2018 04:32:18 +0000 (13:32 +0900)]
Change popup window priority to notification medium according to the UX guide

Change-Id: I4cc977b31e0d25f6a40338174494edf7614a410d
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
5 years agoFix potential memory leak in PopupCheck transition. 98/193098/2
Ernest Borowski [Tue, 6 Nov 2018 13:49:08 +0000 (14:49 +0100)]
Fix potential memory leak in PopupCheck transition.

Change-Id: I60e9f18eb7c19ed3d5e481d82b76ae57c0addb7e
Signed-off-by: Ernest Borowski <e.borowski@partner.samsung.com>
5 years agoAdjust wearable popup UI 95/191295/11
Ernest Borowski [Mon, 15 Oct 2018 12:11:55 +0000 (14:11 +0200)]
Adjust wearable popup UI

Previously popup`s font size was calculated to fit 100% screen height.
Currently content will have constant font size.
Popup height will be variable and can be more than 100% screen height.

Change-Id: I553ef2f85535b403e0cd918a06751f16dfba7135
Signed-off-by: Ernest Borowski <e.borowski@partner.samsung.com>
5 years agoModify to handle rotary event using circle surface 92/184792/11
Yunjin Lee [Mon, 23 Jul 2018 06:31:11 +0000 (15:31 +0900)]
Modify to handle rotary event using circle surface

Change-Id: I978001e1a5c9461b81f9f631db1fda33f7ff56f0
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Signed-off-by: Tomasz Swierczek <t.swierczek@samsung.com>
5 years agoChange popup button image according to the GUI guide 96/184796/5
Yunjin Lee [Tue, 19 Jun 2018 05:11:30 +0000 (14:11 +0900)]
Change popup button image according to the GUI guide

Change-Id: If2d87b14c4bf3f82ed70739cec38217aa38ccf09
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
(cherry picked from commit 05df294706188ee9baf84d839548e688c7a992f5)

5 years agoWearable fix: 54/192554/3
Ernest Borowski [Mon, 5 Nov 2018 12:30:15 +0000 (13:30 +0100)]
Wearable fix:
Remove vconf language change callback in class destructor

Change-Id: Ie686883e9c5859ffe78c1fd1ae9211bb3b75e6b8
Signed-off-by: Ernest Borowski <e.borowski@partner.samsung.com>
5 years agoFix order of lines in documentation 46/192346/1
Pawel Kowalski [Fri, 2 Nov 2018 10:28:50 +0000 (11:28 +0100)]
Fix order of lines in documentation

Change-Id: I19606b88b595407f5ab01f34166756c672e09945

5 years ago[PPMTester] Unify and improve logging 00/190500/2
Pawel Kowalski [Tue, 2 Oct 2018 13:38:29 +0000 (15:38 +0200)]
[PPMTester] Unify and improve logging

Change-Id: Ic8c6be5a8b0afa9321152f88d7cb07e0abecc856

5 years agoRelease 0.4.4 accepted/tizen/5.0/unified/20181102.015714 accepted/tizen/unified/20180928.080624 submit/tizen/20180927.110544 submit/tizen_5.0/20181101.000003
Tomasz Swierczek [Thu, 27 Sep 2018 11:02:41 +0000 (13:02 +0200)]
Release 0.4.4

* New API: check permission of app with given app_id
* PPM Tester test for new API

Change-Id: I1bac608a954519df7ddad5344d6be584aa5118bc

5 years ago[PPMTester] Add checking other apps permissions 50/189950/4
Pawel Kowalski [Mon, 24 Sep 2018 12:19:32 +0000 (14:19 +0200)]
[PPMTester] Add checking other apps permissions

Added button for checking permissions of other apps. Few pairs of
apps and privileges of different types are tested. Also the
non-existing app is checked and multiple check of many privileges
for the org.tizen.camera-app is performed.

Change-Id: I785f5bf79dbafc42ae3e7a27591e17a69cf0094f

5 years agoNew API: check permission of app with given app_id (implementation) 52/187452/11
Pawel Kowalski [Thu, 23 Aug 2018 08:09:58 +0000 (10:09 +0200)]
New API: check permission of app with given app_id (implementation)

The new API provides a possibility of checking the privacy status of
the app with its app_id (the Smack label of the app may be different
than the caller's Smack label).

Required privilege:
- http://tizen.org/privilege/permission.check

Change-Id: I5a3897de40d285fb6066da96b81186af7e4e70ea

5 years agoNew API: check permission of app with given app_id (definitions) 42/188042/5
Pawel Kowalski [Thu, 30 Aug 2018 08:05:53 +0000 (10:05 +0200)]
New API: check permission of app with given app_id (definitions)

The new API provides a possibility of checking the privacy status of
the app with its app_id (the Smack label of the app may be different
than the caller's Smack label).

Required privilege:
- http://tizen.org/privilege/permission.check

Change-Id: I21ff5590dbcc30bd1bf38fdd2e06546f182c46a0

5 years agoRelease 0.4.3 50/189850/2 accepted/tizen/unified/20180921.143118 submit/tizen/20180921.071008
Tomasz Swierczek [Fri, 21 Sep 2018 06:43:43 +0000 (08:43 +0200)]
Release 0.4.3

* Don't try to read from closed connection socket

Change-Id: I96c7b7b710e39d8acc296a89e4338db90103543e

5 years agoDon't try to read from closed connection socket 42/189542/2
Piotr Sawicki [Tue, 18 Sep 2018 10:58:31 +0000 (12:58 +0200)]
Don't try to read from closed connection socket

After closing a connection, we should immeadiately return from
processing method, as the socket descriptor struct has already been
destroyed.

Change-Id: Ie8912941ad4b504f0e1cde0441fc1a3cdc14710e

5 years agoRelease version 0.4.2 12/188012/3 accepted/tizen/unified/20180903.063938 submit/tizen/20180831.110312
Ernest Borowski [Thu, 30 Aug 2018 09:13:12 +0000 (11:13 +0200)]
Release version 0.4.2

- Add new API for checking & requesting multiple privileges using single API call
- Add tests for new API to ppmtester
- Add language changed callback for wearable profile
- Remove popup title from wearable UI
- Update supported languages

Change-Id: I8eb9edeb4630d1de828b2a70ea5bd54ba205bfc7
Signed-off-by: Ernest Borowski <e.borowski@partner.samsung.com>
5 years ago[PPMTester] Add test for checking & requesting multiple privileges using 53/186453/6
Ernest Borowski [Thu, 9 Aug 2018 14:52:00 +0000 (16:52 +0200)]
[PPMTester] Add test for checking & requesting multiple privileges using
single api call.

Change-Id: If5b34458afe097da456d27dcd41fb4962aacccea
Signed-off-by: Ernest Borowski <e.borowski@partner.samsung.com>
5 years ago[PPMTester] Fix & improve documentation 52/186452/5
Ernest Borowski [Thu, 9 Aug 2018 11:31:29 +0000 (13:31 +0200)]
[PPMTester] Fix & improve documentation

Change-Id: I273ed5662ce732ae958be841b4fd99c957ca90a2
Signed-off-by: Ernest Borowski <e.borowski@partner.samsung.com>
5 years agoAdjust server-side logic to use one popup with many privileges 88/180388/31
Tomasz Swierczek [Tue, 29 May 2018 05:19:28 +0000 (07:19 +0200)]
Adjust server-side logic to use one popup with many privileges

Change-Id: Ie15a6affd059f9b48457e35722812774da23bb8a

5 years agoAdd multiple privacy privileges in single popup 34/180334/34
Ernest Borowski [Mon, 28 May 2018 10:59:09 +0000 (12:59 +0200)]
Add multiple privacy privileges in single popup

Change-Id: Iae82df5c47c91b7fa03c516b8352a7eb69aba6c8
Signed-off-by: Ernest Borowski <e.borowski@partner.samsung.com>
5 years agoAdjust server & client logic to handle many privileges in input 80/179780/31
Tomasz Swierczek [Tue, 22 May 2018 07:28:33 +0000 (09:28 +0200)]
Adjust server & client logic to handle many privileges in input

This commit is a preparation for new API with many privileges as input.

Change-Id: I9964bbdb1fa81211bdd0117e48a5462604407d17
Signed-off-by: Ernest Borowski <e.borowski@partner.samsung.com>
5 years agoSend & receive array of responses and privileges 70/179770/26
Tomasz Swierczek [Tue, 22 May 2018 06:39:33 +0000 (08:39 +0200)]
Send & receive array of responses and privileges

This commit is a preparation for new API with many privileges as input.

Change-Id: I611348de78fa6231eab52c9f8069c957c4aa14a3
Signed-off-by: Ernest Borowski <e.borowski@partner.samsung.com>
5 years agoAdd new API definitions - checking & requesting policy for many privileges at once. 69/179769/17
Tomasz Swierczek [Mon, 21 May 2018 06:45:43 +0000 (08:45 +0200)]
Add new API definitions - checking & requesting policy for many privileges at once.

Change-Id: I91a0a52204ecf045bcbfa8897570e714979aebbc
Signed-off-by: Ernest Borowski <e.borowski@partner.samsung.com>
5 years agoRemove title from wearable UI 83/184883/6
Yunjin Lee [Tue, 24 Jul 2018 05:51:58 +0000 (14:51 +0900)]
Remove title from wearable UI

- According to the platform UX changes, remove title from waearble UI.

Change-Id: I6b4e44d74072bdd2f796398e670251cb52ccff84
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
5 years agoUpdate supported lanugage set 95/184795/6
Yunjin Lee [Mon, 23 Jul 2018 07:02:42 +0000 (16:02 +0900)]
Update supported lanugage set

- Cover 82 languages in total

Change-Id: I9ca54ae1829fdec737d1b5f2fd08a0b7fc5a748a
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
5 years agoAdd timer for home key event handling 24/181324/8
Yunjin Lee [Tue, 12 Jun 2018 02:39:14 +0000 (11:39 +0900)]
Add timer for home key event handling

- According to the UX guide, the target should show its homescreen
when home key event occurs. It means that, when the event comes,
the caller application should be getting lower and pasued with askuser
popup close. For that reason, askuser shares home key events with
other processes.

And the problem is, some application takes much longer time than askuser
for making themslves invisible. In this situation, user can't avoid
seeing some other layers of the caller app before seeing target
homescreen and it harms UX.

So, added 0.5s of timer for home key event handling.
Maybe there can be a much slower one and 0.5s can be not enough for them
but for now 0.5s seems proper when testing on the target with preloaded applications.

Change-Id: Ibb3b09c7e34acb5ec26c7bfdfbfb11d7862a6da2
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
5 years agoAdd language changed callback for wearable profile 80/181280/8
Yunjin Lee [Mon, 11 Jun 2018 07:45:14 +0000 (16:45 +0900)]
Add language changed callback for wearable profile

- In case of wearable, language can be changed by connected mobile
device while popup is showing hence add language changed callback for
it.

Change-Id: I1624314471f10bda9b6bceeaf11bad8b909dc51e
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
(cherry picked from commit 5eee3a9a2ec91133b8052188fe64529aba4516b8)

5 years agoHandling H/W key event when key is released 97/180997/6
Yunjin Lee [Thu, 7 Jun 2018 06:35:10 +0000 (15:35 +0900)]
Handling H/W key event when key is released

- There is a function that is processed by a combination of several
inputs. For example, input combination of screen capture is swiping
the screen from side to side, keeping pressing the power key.

Askuser is processing key down event and it makes key
combination handling fail. To make keyrouter to handle input
combination, modify askuser to handle key release event instead of key
press event.

Change-Id: I184040594956abb59f7f921539d22cd5dcc1a41a
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
5 years agoAdd missing license headers for a C# test application 46/186946/1
Piotr Sawicki [Thu, 16 Aug 2018 12:39:14 +0000 (14:39 +0200)]
Add missing license headers for a C# test application

Change-Id: I792b88793f7f11e6934fa05751e87ae3d238fb92

5 years agoRemove duplicated code in Sock implementation 91/180891/1
Piotr Sawicki [Tue, 5 Jun 2018 08:18:55 +0000 (10:18 +0200)]
Remove duplicated code in Sock implementation

Change-Id: Ibf2e6465216880831bfb4b0457858ec1ec584245

5 years agoRelease version 0.4.1 35/179135/4 accepted/tizen/unified/20180611.015306 submit/tizen/20180604.095416 submit/tizen/20180607.013257
Yunjin Lee [Wed, 16 May 2018 04:18:30 +0000 (13:18 +0900)]
Release version 0.4.1

- Modify screen reader not to read role of contents
- Fix UX issues
- Fix scrollable range according to the UX
- Handling home key according to the profile
- Handling rotary event for wearable circle UI

Change-Id: Ide14e27faaa1cb03d278f684cd06609bebd5d5ae
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
5 years agoModify screen reader not to read role of contents 98/180798/2
Yunjin Lee [Mon, 4 Jun 2018 09:15:01 +0000 (18:15 +0900)]
Modify screen reader not to read role of contents

Change-Id: Ic6119e5ee90cc2e8b1a96aed6672ec6496990fcb
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
5 years agoFix UX issues 77/180177/1
Yunjin Lee [Fri, 25 May 2018 08:30:20 +0000 (17:30 +0900)]
Fix UX issues

- Fix wearable popup title for screen reader support (read/highlight)
- Give list_effect style to scroller to get scroll end effect

Change-Id: Ia45b1a0c415510f64aaec5480718d57bc0807a3d
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
5 years agoFix scrollable range according to the UX 99/178999/1
Yunjin Lee [Tue, 15 May 2018 07:37:37 +0000 (16:37 +0900)]
Fix scrollable range according to the UX

Change-Id: I1d94c9f2b45f895d317cb5d63d7b2002b1d30347
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
5 years agoHandling home key according to the profile 06/178306/3
Yunjin Lee [Wed, 9 May 2018 08:01:04 +0000 (17:01 +0900)]
Handling home key according to the profile

In wearable, use power key instead of home key

Change-Id: I68c271bff56563969aa2db0157450270172590ae
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>