Zofia Grzelewska [Thu, 20 Feb 2020 17:15:32 +0000 (18:15 +0100)]
Add ppm_popup_send_response stub API
Change-Id: I232c9932fec00907409c2a11650467479d92fbb0
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
Tomasz Swierczek [Wed, 19 Feb 2020 07:22:15 +0000 (08:22 +0100)]
Add missing include to stdlib.h
Change-Id: I7ae412901b8e0ab686533273c5070afef28fe28b
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
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
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
Tomasz Swierczek [Wed, 8 Jan 2020 07:51:13 +0000 (08:51 +0100)]
Fix build for gcc 9
Change-Id: I5fab58a89b9671bda5119104a6d0d4aca2d0e3b3
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
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
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>
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
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
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
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
Zofia Grzelewska [Thu, 6 Jun 2019 16:57:27 +0000 (18:57 +0200)]
Add release script
Change-Id: I1fdd8cef497a0d5dda517696ddeda0250975eedc
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>
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
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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)
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>
Pawel Kowalski [Fri, 2 Nov 2018 10:28:50 +0000 (11:28 +0100)]
Fix order of lines in documentation
Change-Id: I19606b88b595407f5ab01f34166756c672e09945
Pawel Kowalski [Tue, 2 Oct 2018 13:38:29 +0000 (15:38 +0200)]
[PPMTester] Unify and improve logging
Change-Id: Ic8c6be5a8b0afa9321152f88d7cb07e0abecc856
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
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
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
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
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
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
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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)
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>
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
Piotr Sawicki [Tue, 5 Jun 2018 08:18:55 +0000 (10:18 +0200)]
Remove duplicated code in Sock implementation
Change-Id: Ibf2e6465216880831bfb4b0457858ec1ec584245
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>
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>
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>
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>
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>
Yunjin Lee [Mon, 30 Apr 2018 08:17:02 +0000 (17:17 +0900)]
Handling rotary event for wearable circle UI
- To enable scrolling using wearable circle bazel, add scroller on
layout and make it scroll according to the rotary event direction.
Change-Id: Ic4dd17738a0f75f5126ec55204dcee9a7f9138f8
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Tomasz Swierczek [Fri, 20 Apr 2018 07:15:34 +0000 (09:15 +0200)]
Release version 0.4.0
* Removed unnecessary coregl dependency
* Fixed problem of UI hanging on elm_language_set()
* Removed unused agent code
* Minor fixes for UI layout & code
* Optimization of check API (using AUL data in client, using new privacy-checker API)
* Added caching of AppInfo/PkgInfo data in client
* Return ALLOW for non privacy privileges
* Fixes for identifying application id
This release changes numbering to differentiate older branches of code.
This branch will continue to use 0.4.X numbering while older versions
will contininue to use 0.3.X numbering (for bugfixes/maintenance).
Change-Id: Ia9d9fe97ddb286c6c6253110647ff12bd6a7351a
Tomasz Swierczek [Wed, 18 Apr 2018 08:17:40 +0000 (10:17 +0200)]
Optimize privilege-checker API usage
Use privilege_info_get_same_privacy_grouped_privileges() instead of
sequential calling:
* privilege_info_is_privacy
* privilege_info_get_privacy_by_privilege
* privilege_info_get_privilege_list_by_privacy
Change-Id: Ifc03361cab7b9457feaec8a3c99fbe832ee82b43
Tomasz Swierczek [Thu, 5 Apr 2018 08:44:40 +0000 (10:44 +0200)]
Add caching of App/Pkg data & use faster way to retrieve this data
In client side, this data needs to be retrieved only once for given client.
PkgMgr is checked only from askuser-notification daemon context, otherwise
AUL environment variables/AUL API is called to get data needed on client side.
This optimization should reduce API call time for ppm_check by ~60%
Change-Id: I5a9238113b062df551b73e3af7e52f6b13643c81
Zofia Grzelewska [Mon, 23 Apr 2018 14:43:33 +0000 (16:43 +0200)]
Handle exceptions in logic
Catch exceptions thrown when security-manager or efl
failes inside Logic class.
Change-Id: I0735f10e1f12e29dcf93da351890a43fdf68e4fc
Zofia Grzelewska [Fri, 20 Apr 2018 16:05:55 +0000 (18:05 +0200)]
Remove coregl dependency
Change-Id: I300ff54e8f4aefcd908f2fb53706e31d5eb39549
Tomasz Swierczek [Fri, 20 Apr 2018 12:46:20 +0000 (14:46 +0200)]
Fix UI: elm_language_set should be called after elm_init
Change-Id: I734c0657a348c9ad72a8188bc6f8d04f36cfb4bb
Tomasz Swierczek [Wed, 18 Apr 2018 08:58:22 +0000 (10:58 +0200)]
Fix return value check from privilege_db_manager_get_mapped_privilege_list
The API in its documentation returns PRIVILEGE_DB_MANAGER_ERR_NONE, not
PRVMGR_ERR_NONE
Change-Id: Ia8683f729747af2d75277ca2da8e7903189f9364
Zofia Grzelewska [Thu, 19 Apr 2018 13:23:00 +0000 (15:23 +0200)]
Removed unused files
Agent code is not used not built anymore. This commit deletes it.
Change-Id: I93d054707ced2622a9317a8e34620232a288e2a3
Tomasz Swierczek [Thu, 19 Apr 2018 07:01:35 +0000 (09:01 +0200)]
Fix includes in Po.cpp
This file uses logging, should explicitly include logging header.
Change-Id: I91182c2ed26e75592ee91316a4ff6b1181fa15ed
Zofia Grzelewska [Tue, 27 Feb 2018 15:27:14 +0000 (16:27 +0100)]
Return ALLOW for non privacy privileges
When application checks/requests permission for given privilege,
return ALLOW when this privilege is requested by application
in manifest, but isn't privacy for it.
Change-Id: Ia36478fce3b9737589c2c130b9247ee3e7a89143
Yunjin Lee [Wed, 4 Apr 2018 08:00:26 +0000 (17:00 +0900)]
Modify wearable layout
-Fixed that the text is displayed as shifted to the right side
Change-Id: I24d6a6cff8fc2447b3d1080aa643c28f4d92d546
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Zofia Grzelewska [Tue, 10 Apr 2018 12:20:29 +0000 (14:20 +0200)]
Fix identifying application id
Both identifyApp and getOwnAppId were incorrectly implemented
and return empty string for hybrid applications.
Change-Id: I80b214865df80cd56ebdcf416c1faeaeb74abb90
jin-gyu.kim [Wed, 21 Mar 2018 07:53:35 +0000 (16:53 +0900)]
Add text for screen reader to buttons.
There was no text for screen reader in buttons of wearable, because
those are implemented as picture.
But, screen reader should tell appropriate texts for each buttons.
So, add texts for screen reader using elementary API.
Change-Id: Id4f131f794007b72269410516578ffa888258422
Tomasz Swierczek [Fri, 9 Mar 2018 06:30:12 +0000 (07:30 +0100)]
Release 0.3.3
* Change of socket path to /run/user/<UID>
* Add timer to stop askuser-notification after being idle
* Let client create one connection per one request
Change-Id: I7a2b0853934881eba56eb615ef34faae5ea3d4dc
Tomasz Swierczek [Fri, 9 Mar 2018 06:18:26 +0000 (07:18 +0100)]
Change of socket path to /run/user/<UID>
/run/user is accessible to service daemons in Tizen platform.
This change is only for Tizen 5.0.
Change-Id: I32494b6e2c27dcf8dcbb7820debcd9341d505a9a
Zofia Grzelewska [Mon, 29 Jan 2018 17:37:40 +0000 (18:37 +0100)]
Add timer to stop askuser-notification after being idle
Timer is set for 1 seconds and if triggered and no event is
to process for askuser-notification, then whole service is shutdown.
Change-Id: I049e091494859d290232b6d10dc7f03a36442825
Piotr Sawicki [Wed, 31 Jan 2018 10:51:07 +0000 (11:51 +0100)]
Let client create one connection per one request
Change-Id: I220c399d125f3de70490855c3c4fe08a2958b3eb
Tomasz Swierczek [Mon, 26 Feb 2018 12:57:32 +0000 (13:57 +0100)]
Release version 0.3.2
Code cleanup & formatting fixes
Check if path isn't too long before copying to sock path
Return DENY when application has no policy for given privacy privilege
Update popup message according to the UX guide
Change-Id: I815884d1c29f56e5cd98cba1b653869a95270169
Zofia Grzelewska [Mon, 29 Jan 2018 17:32:02 +0000 (18:32 +0100)]
Code cleanup
* Move common code after branches
* Use alias
Change-Id: I7676c94c88b7fb3e1d206f937068b92138348896
Zofia Grzelewska [Wed, 21 Feb 2018 12:03:50 +0000 (13:03 +0100)]
Check if path isn't too long before copying to sock path
This fixes possible buffer overflow, when path is copied to sun_path
without size check.
Change-Id: Ib63d885d3eea3bc8441354d8143acba47276eb1b
Tomasz Swierczek [Fri, 23 Feb 2018 06:10:12 +0000 (06:10 +0000)]
Merge "Return DENY when application has no policy for given privacy privilege" into tizen
Zofia Grzelewska [Wed, 21 Feb 2018 13:26:34 +0000 (14:26 +0100)]
Fix missing spaces after keywords
Fix code style - missing spaces after 'switch','which'
and 'if' keywords.
Change-Id: I51449bdc574fa8f474974faeeb1f93d29b100c81
Zofia Grzelewska [Tue, 6 Feb 2018 09:01:04 +0000 (10:01 +0100)]
Return DENY when application has no policy for given privacy privilege
When application has no policy set in privacy bucket, return
DENY inside checkPermission. This will be also returned in case
of privileges declared in application manifests, because currently
askuser cannot differentiate these two cases.
Change-Id: I9a177bdd9cc2e107dff973c5328263f23c31a0a4
Yunjin Lee [Thu, 25 Jan 2018 06:50:47 +0000 (15:50 +0900)]
Update popup message according to the UX guide
Change-Id: I339af0848cdefd1ff5e4b08f93f1ea3f5e966612
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Dariusz Michaluk [Wed, 17 Jan 2018 20:26:28 +0000 (21:26 +0100)]
Release version 0.3.1
Change-Id: If40f2736a3f63a4b08f73c865b9a14d559430030
Zofia Grzelewska [Mon, 11 Dec 2017 12:16:51 +0000 (13:16 +0100)]
Fix changes file
Changes file wasn't updated with the last release.
Also fixed one missing entry in previous one.
Change-Id: If40239262335f0b55f477474255886de2fc6a718
Zofia Grzelewska [Mon, 4 Dec 2017 15:35:53 +0000 (16:35 +0100)]
Adjust to sm policy entries free function fix
New security-manager function signature changes parameter
type to proper policy_entry **.
Change-Id: I34d726b1c9cfdc3c8eafff9afe8993bf59a5246e
Zofia Grzelewska [Mon, 4 Dec 2017 15:35:07 +0000 (16:35 +0100)]
Remove notification dependency
Change-Id: I0f5d641320262b6817f4a325acee8520eeafc7ae
Zofia Grzelewska [Thu, 7 Dec 2017 09:31:47 +0000 (10:31 +0100)]
Release version 0.3.0
Add support for privileges mapping. Now one request
permission can trigger multiple privacy popups
connected with how given privilege maps to core privileges.
Add C# test application for manual PPM API tests.
Change-Id: I7e792a4c092800a6d736b589b2a87e3b6bab7b8d
Zofia Grzelewska [Thu, 30 Nov 2017 09:55:17 +0000 (10:55 +0100)]
Enhance logs
Change-Id: I2f92b9d1eae7c597fb1411b26f3be5393fb4c80c
Zofia Grzelewska [Tue, 28 Nov 2017 15:40:24 +0000 (16:40 +0100)]
Don't set policy for privileges not in application manifest
Policy is checked/set for those privacy privileges,
which had any policy in privacy bucket for given user
and application.
Change-Id: Ica8bf4a9b753418ab5517194e047b83343903686
Zofia Grzelewska [Tue, 28 Nov 2017 15:22:20 +0000 (16:22 +0100)]
Don't show popups to allowed priviacies
When one of privacies, to which privilege is mapped,
is already allowed, don't show popup for it. This may
lead to inconsistency - when user chooses deny once,
the policy is not set and user thinks that application
cannot use this privacy, but it is allowed.
Change-Id: Id3509c7b33e6f2e4bf47340e1a2e368946e96ca1
Zofia Abramowska [Thu, 16 Nov 2017 16:54:17 +0000 (17:54 +0100)]
Support privilege mapping to multiple privacies
Add different root types of application: EXTENDED and SKEL.
This is connected with new places, where application can put
its own files.
Change-Id: I9f3db1523d0121dc6d094713a992a71b490c1976
Yunjin Lee [Thu, 2 Nov 2017 11:44:12 +0000 (20:44 +0900)]
Fix UI issue : Set text after setting style
- Set text after setting object's style.
Otherwise, long text of wearable UI is displayed in 1 line
and it cuts head and tail of the string hence
the user could not see whole string.
Fix it to be displayed in multiline.
Change-Id: I749c04d6e1a7b49ebf4131adb3d39288ee907685
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Piotr Sawicki [Thu, 9 Nov 2017 14:15:18 +0000 (15:15 +0100)]
Add C# test app for PrivacyPrivilegeManager
Change-Id: I73480c06c35b061de2500ab4820e93972beb7d9c
Zofia Abramowska [Mon, 18 Sep 2017 14:21:11 +0000 (16:21 +0200)]
Release version 0.2.1
Fix SVACE defects and add test application for C API
Change-Id: If44840911678c6a4707b112f96c9494dc21ca678
Zofia Abramowska [Fri, 15 Sep 2017 16:06:35 +0000 (18:06 +0200)]
Fix displaying SM nullptr error
Change-Id: I9b7521adb8bbd1d0c5c67a9e4db29112bfa0c95d
Pawel Kowalski [Tue, 25 Jul 2017 11:34:23 +0000 (13:34 +0200)]
Add new application for testing the CAPI.
The app is written in Tizen Studio 4.0 and is based on the
example 'Account Manager' for profile mobile-4.0.
Change-Id: Id05dda75cde1a20e80d7a7743f3df8b3e148e571
Zofia Abramowska [Wed, 2 Aug 2017 09:02:03 +0000 (11:02 +0200)]
Change installation of plugins
Install *.so files instead of directory.
Change-Id: I15f691b9e26749b1d877b9e64bdbe740f400d8e4
Zofia Abramowska [Thu, 27 Jul 2017 14:08:55 +0000 (16:08 +0200)]
Release version 0.2.0
This release changes whole architecture of askuser.
Askuser is no longer a cynara agent, but a pair of client
and service providing API for privacy privilege permission
requests.
Change-Id: Id8e865e2558fb64b5f1752430c90155c1e0f09f0