summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Yunjin Lee [Tue, 6 Dec 2016 10:38:29 +0000 (19:38 +0900)]
Set window level for the case several popups are launched at the same time
Change-Id: I4961c149e84ba369e3983326aeadd631d171ac4d
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Tue, 6 Dec 2016 06:00:08 +0000 (15:00 +0900)]
Apply layout on mobile ui
Change-Id: Ib7eb8769d3011008128d54920c0de6344164fd37
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Mon, 5 Dec 2016 07:01:25 +0000 (16:01 +0900)]
Modify identifyApp to get both appid and pkglabel for display
Change-Id: Id23279085b3df45587ad7d4b591949181187f78b
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Fri, 2 Dec 2016 07:38:05 +0000 (16:38 +0900)]
Modify ui and add language files
- modify to get package label and privacy name instead of appid and privilege name
- add language files to support multi lang
Change-Id: Iefc6169c42e8a2fae7140cedcfc358ef492aa926
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Zofia Abramowska [Thu, 1 Dec 2016 17:12:48 +0000 (18:12 +0100)]
Add ui for wearable
* Switch between mobile and wearable profiles
* Add icons and edc file
* Create different popup for wearable profile
* Display appId/main appId instead of smack label
Change-Id: I4fa609959525fc77f75d2b6fb7d5f39413e19006
Zofia Abramowska [Thu, 1 Dec 2016 14:51:38 +0000 (15:51 +0100)]
Fix askuser tools
Change-Id: I5095eb0bfd76912f86963a3f89b655b425119830
Krzysztof Jackiewicz [Thu, 1 Dec 2016 09:19:28 +0000 (10:19 +0100)]
Disable NoNewPrivileges due to lack of support in wearable kernel
Change-Id: Ifb70144cdc03a5c678b94df5f6334f9c7365275e
Krzysztof Jackiewicz [Thu, 1 Dec 2016 09:16:56 +0000 (10:16 +0100)]
Make "Allow" work as "AllowAlways"
This is what UX guideline requires.
Change-Id: I141a2f9a2c94b369ac3609eb517716c3c80802c1
Krzysztof Jackiewicz [Wed, 30 Nov 2016 22:12:22 +0000 (23:12 +0100)]
Align UI with guide
Change-Id: I445d29bee04fee8cd55773c1889551d18b987af2
Bartlomiej Grzelewski [Wed, 30 Nov 2016 15:37:49 +0000 (16:37 +0100)]
Add additional function to askuser-test
Change-Id: I5c80c5dbfa4ad9bcd5288f914cfdae32bed8398b
Bartlomiej Grzelewski [Wed, 30 Nov 2016 18:17:30 +0000 (19:17 +0100)]
Prevent from memory corruption
Change-Id: Ieb8312031d606cc02ef2637cfece19f48cb0ba82
Bartlomiej Grzelewski [Tue, 29 Nov 2016 17:32:28 +0000 (18:32 +0100)]
Use systemd to start askuser service
Change-Id: Idade3761e2affa9ea9d99384ed4a3d991d852b73
Bartlomiej Grzelewski [Tue, 29 Nov 2016 12:56:20 +0000 (13:56 +0100)]
Integration with Package Manager
Package Manager is required to translate
pkgId to appId for non-hybrid applications.
Change-Id: I2fe7abee6b3e2825f697ff5470bc9bed677b0be2
Zofia Abramowska [Fri, 25 Nov 2016 13:59:52 +0000 (14:59 +0100)]
Return deny once on error or timeout
Change-Id: I2de75ac49614bc840330ac8323ac978df1c96f4c
Zofia Abramowska [Wed, 16 Nov 2016 14:54:15 +0000 (15:54 +0100)]
Make notification backend sane again
Because notification backend used to be socket service
and backends were created per cynara request, many ugly
tricks had to be implemented. Now, thanks to notification
daemon being socket service, notification backend is back
to being proper socket client.
Change-Id: Iee61b79f16346844a2bc0d43c131bde0611ddfa6
Zofia Abramowska [Wed, 16 Nov 2016 10:38:50 +0000 (11:38 +0100)]
Switch askuser-notification to server from client
askuser-notification systemd services will work as socket servers
accepting requests to fetch user answer from popup.
New service is socket activated.
Socket and systemd unit are created per user instance.
This change is only partial. Switch of askuser notification
backend is required and will be provided with next commit.
Change-Id: I989312e36fd5aded2a8fdda52f4c72a745e35807
Zofia Abramowska [Tue, 8 Nov 2016 11:19:52 +0000 (12:19 +0100)]
Add systemd socket
Current design of askuser notification is too complicated.
This is a first change to move server to askuser-notification
services, so agent UI backend can be less complicated.
Change-Id: I9c14b555cbbd2701fc8c7195f4e196cdaf597ca4
Zofia Abramowska [Thu, 17 Nov 2016 16:55:43 +0000 (17:55 +0100)]
Fix pthread linkage
Usage of std::thread requires linking with pthread.
Change-Id: I1af16fb35b4356ecf005349c578d95a411e1001d
Zofia Abramowska [Thu, 17 Nov 2016 16:49:56 +0000 (17:49 +0100)]
Fix cynara talker
When cynara thread start fails with exception its destructor
unnecessarily calls join on thread (which blocks).
Change-Id: Ieb1d5727fecf09af7ae557aacf689d4b578e65e0
Zofia Abramowska [Thu, 10 Nov 2016 15:12:07 +0000 (16:12 +0100)]
Generate user socket path
Change-Id: I714c328fea776358e3d9feeef55e84474acdac8b
Zofia Abramowska [Thu, 10 Nov 2016 09:32:56 +0000 (10:32 +0100)]
Redo sockets
Add Socket class, remove SelectRead add Poll class
Change-Id: Ia28b49825808554874af3a033d9b3e727f848659
Zofia Abramowska [Mon, 7 Nov 2016 16:21:44 +0000 (17:21 +0100)]
Wrap privilege info and security-manager api
Change-Id: I33f5fd90828dbd6f58b54f56a4a195088b6a9aac
Zofia Abramowska [Mon, 18 Jul 2016 10:51:28 +0000 (12:51 +0200)]
Add spec/cmake define to enable/disable askuser service
Make usage of systemd daemon configurable.
Remove obsolete systemd libraries and use new one.
Change-Id: I4f4e29932fea3c2c39152094f64012b3245610f1
Oskar Świtalski [Wed, 29 Jun 2016 05:48:36 +0000 (07:48 +0200)]
Fix bugs in socket methods
Change-Id: Ibe8acd53fd61bef1e1255c17af27f802371d99d4
Signed-off-by: Oskar Świtalski <o.switalski@samsung.com>
Oskar Świtalski [Wed, 29 Jun 2016 05:35:35 +0000 (07:35 +0200)]
Fix memory leaks
Change-Id: I28a3c6b005996e972f2a1cfeb42f14ee82833777
Signed-off-by: Oskar Świtalski <o.switalski@samsung.com>
Tomasz Swierczek [Tue, 11 Oct 2016 12:41:09 +0000 (14:41 +0200)]
Reorganize systemd units
Even if enabled, askuser daemon didn't start after system reboot
Change-Id: I8d00db7543ba67b771fd709b858d54da884c07b7
Tomasz Swierczek [Tue, 11 Oct 2016 11:12:18 +0000 (13:12 +0200)]
Revert "Disable askuser service"
This reverts commit
f85398e494f1d345d03729788930335925b08467.
Change-Id: Ie678fde5d6a91caa16c8d294489aa3344650f79e
Zbigniew Jasinski [Fri, 30 Sep 2016 15:15:31 +0000 (17:15 +0200)]
Don't harcode smack labels
The module is adjusted to new, pkg-id based Smack label creation for applications
Change-Id: I179041fcc5c1828cda6f5a35df87685199a70417
Signed-off-by: Zbigniew Jasinski <z.jasinski@samsung.com>
Tomasz Swierczek [Mon, 22 Aug 2016 10:38:46 +0000 (12:38 +0200)]
Change UI and policy setup to use privilege groups instead of privileges
Concept of privilege groups was added to privilege-checker module.
Change-Id: I15c599372156ceb130f62248f7e12985d4521557
Zofia Abramowska [Tue, 16 Aug 2016 15:29:26 +0000 (17:29 +0200)]
Fix string formatting in logs
Logs using C++ formatting do not conform to -Wformat-string.
Add templates, which properly handle both C++ and C formatting.
Change-Id: I0e27ece67598a93adb2c6d4e44c04b5afe091457
jin-gyu.kim [Thu, 23 Jun 2016 07:50:58 +0000 (16:50 +0900)]
Update version to 0.1.4 for the release
Change-Id: Ifda6d527cd9b539255d0527f379847473492ebc2
jin-gyu.kim [Thu, 23 Jun 2016 05:17:15 +0000 (14:17 +0900)]
Disable askuser service
Change-Id: I744f134aaed47f92d83ea9a1aafbefaf09861c16
jin-gyu.kim [Tue, 21 Jun 2016 01:40:11 +0000 (10:40 +0900)]
Update version to 0.1.3 for the release
Change-Id: I34911494bf338708505e6104400919bb3aa1fe9e
Oskar Świtalski [Mon, 20 Jun 2016 12:35:46 +0000 (14:35 +0200)]
Fix memory leak and limit max string size
Change-Id: I5beb23123d9f29808106662158560639c27e99fc
Signed-off-by: Oskar Świtalski <o.switalski@samsung.com>
Yunjin Lee [Fri, 17 Jun 2016 01:20:06 +0000 (10:20 +0900)]
Update version to 0.1.2 to release
Change-Id: Id1ac1284b0edffc9d1028b0fb2ab101a92d77841
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Fri, 17 Jun 2016 01:05:37 +0000 (10:05 +0900)]
Apply ASLR on askuser
Change-Id: If542fadd78e52c98670f0a620608e20771a88543
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Zofia Abramowska [Thu, 16 Jun 2016 11:16:42 +0000 (13:16 +0200)]
Fix setting select timeout in NotificationTalker
Change-Id: I87f3c46dfc2d6ff2f0b468ecbbb5afbaba5cd418
jin-gyu.kim [Tue, 14 Jun 2016 10:44:33 +0000 (19:44 +0900)]
SVACE - return value of strdup is lost
Change-Id: I82195349caaa110085cc4b3c74874e6c3f5e4150
Oskar Świtalski [Wed, 1 Jun 2016 14:48:26 +0000 (16:48 +0200)]
Update tests
Change-Id: If155880d10c731417b9b9970513c01468ded2da3
Zofia Abramowska [Thu, 2 Jun 2016 10:42:46 +0000 (12:42 +0200)]
Adjust notification talker to work as backend
Change-Id: I5130aab7901c12944bb41e91a359965e318d23ce
Oskar Świtalski [Wed, 1 Jun 2016 14:45:36 +0000 (16:45 +0200)]
Add notification daemon
Change-Id: Icf5dc30074d5c538144da39e0d2b1c9c99bbdef3
Oskar Świtalski [Tue, 7 Jun 2016 05:35:29 +0000 (07:35 +0200)]
Add socket methods
Change-Id: I91b3566ec0abe2034e3a9dac29271ca5280f507a
Signed-off-by: Oskar Świtalski <o.switalski@samsung.com>
Oskar Świtalski [Thu, 2 Jun 2016 10:42:07 +0000 (12:42 +0200)]
Add notification request and response
Change-Id: I3130590540d118fec365176b95df2717a84e266a
Oskar Świtalski [Tue, 31 May 2016 16:24:17 +0000 (18:24 +0200)]
Add magic protocol codes
Change-Id: I9b7d1b1174f6fc467b77244012664d606693b5ae
Oskar Świtalski [Tue, 31 May 2016 14:36:52 +0000 (16:36 +0200)]
Add socket path description
Change-Id: I91769189f3034b10c1f9b5fe9725153f34c49013
Oskar Świtalski [Mon, 30 May 2016 17:08:40 +0000 (19:08 +0200)]
Add some exceptions
Change-Id: I349de0dc50dc289854d5ac039b6e638521a7485b
Zofia Abramowska [Thu, 2 Jun 2016 10:31:50 +0000 (12:31 +0200)]
Move requestid to separate file
Change-Id: I23ad9c1d006b7a9116f4d841dd9048ada32a9fcf
Oskar Świtalski [Wed, 1 Jun 2016 14:56:33 +0000 (16:56 +0200)]
Restart cynara on askuser install/uninstall
Change-Id: I37ec5df16a15edc2b6d2249e4fb4f809f226b98c
Oskar Świtalski [Wed, 1 Jun 2016 15:27:46 +0000 (17:27 +0200)]
Fix service and binary names
Change-Id: I59159eaafa0a408ccfa5c855f852793bcc4b0b30
Oskar Świtalski [Wed, 1 Jun 2016 14:49:04 +0000 (16:49 +0200)]
Fix spec summaries
Change-Id: I966eec43068f370fcb62bbacce0b3b9e7f92e1f6
Oskar Świtalski [Mon, 30 May 2016 16:53:30 +0000 (18:53 +0200)]
Move logs to common
Change-Id: I45de0d27fa55204ba02ff903e3281ef32960b412
Zofia Abramowska [Thu, 2 Jun 2016 14:30:02 +0000 (16:30 +0200)]
Remove unnecessary dependencies from spec
Change-Id: Ifa7f6a1818761f50500e52a4711098914d6f64b7
Zofia Abramowska [Mon, 30 May 2016 10:55:28 +0000 (12:55 +0200)]
Revert "Add internal popup implementation"
This reverts commit
6b2188f91bfadf58aa9dc852b08a209e4f970882.
Change-Id: I687e2617f4b573d20f52c9605906765224ed37f8
Yunjin Lee [Mon, 21 Mar 2016 06:03:32 +0000 (15:03 +0900)]
Update release version to 1.0.1
Change-Id: I4e69e64ee4df8968aadcca54948d58488adda562
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Mon, 14 Mar 2016 12:29:50 +0000 (21:29 +0900)]
Replace vulnerable functions: strerror and sprintf
Change-Id: Idf4630c96d97294739e875be14999a6f4d7ddae7
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Oskar Świtalski [Mon, 15 Feb 2016 10:15:04 +0000 (11:15 +0100)]
Remove notification dependency
Change-Id: Icfa9a8373e62e400837d3d39bb19da73becec032
Signed-off-by: Oskar Świtalski <o.switalski@samsung.com>
Oskar Świtalski [Wed, 17 Feb 2016 10:08:52 +0000 (11:08 +0100)]
Fix minor building issues
* added missing build requirement
* remove unused include
Change-Id: I68e95941f00efa4721866226fd6ff838cd8c711f
Signed-off-by: Oskar Świtalski <o.switalski@samsung.com>
Yunjin Lee [Tue, 26 Jan 2016 00:34:16 +0000 (09:34 +0900)]
Revise dependency to fix build fail
Change-Id: I0784ef3bb671ddfddb3ff89a0a1e09d049c60ac8
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Janusz Kozerski [Thu, 17 Dec 2015 14:56:23 +0000 (06:56 -0800)]
Merge "Add internal popup implementation" into tizen
Janusz Kozerski [Thu, 17 Dec 2015 14:55:52 +0000 (06:55 -0800)]
Merge "Change bundle_add() to bundle_add_str()" into tizen
Janusz Kozerski [Tue, 3 Nov 2015 13:22:51 +0000 (14:22 +0100)]
Add internal popup implementation
Add implementation of popups using separate EFL application.
The original askuser process forks, runs popup binary, pass
the data to the popup using pipe, and collect result from popup
(via pipe and exit code).
Verification: run "askuser-test.sh run". All test should pass.
Change-Id: I22b9d172d0a44a2ddb5a875334d9d79088c95cfc
Janusz Kozerski [Thu, 17 Dec 2015 14:07:52 +0000 (15:07 +0100)]
Change bundle_add() to bundle_add_str()
Function bundle_add has been removed from header.
Change-Id: Ibd8b1a893a0e466eae84a389dffde5c0c58f55b4
Hwankyu Jhun [Mon, 14 Dec 2015 12:00:07 +0000 (21:00 +0900)]
Include bundle_internal.h for internal bundle apis
Some bundle apis are platform internal apis
and we need to include bundle_internal.h to use them
Change-Id: I297e6ca578ab2aae9de3ab03f8b113e91a85e60d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Kyuho Jo [Thu, 4 Jun 2015 06:16:28 +0000 (15:16 +0900)]
Changes for using new notification API.
Change-Id: I9b31bbe1bdfdfd4be10a7405721a75373ddece9b
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
Adam Malinowski [Wed, 28 Jan 2015 12:14:21 +0000 (13:14 +0100)]
Add testing utility for askuser extensions
This patch adds simple client binary and script in order to make
testing/verifying askuser extension easier.
This must be built with cynara built from this patch:
https://review.tizen.org/gerrit/#/c/34388/
Change-Id: I084278afe5293eb7870906293d26b88c18539b8b
Adam Malinowski [Thu, 19 Feb 2015 11:10:23 +0000 (12:10 +0100)]
Add needed systemd-daemon linking dependency
Change-Id: If09fd8717af9628d04e902e297ce41b0868abb05
Adam Malinowski [Wed, 28 Jan 2015 13:55:58 +0000 (14:55 +0100)]
Release 0.1.0
Change-Id: Iea2a456b2d54840617cca92a8c247217ed75d448
Adam Malinowski [Tue, 30 Dec 2014 12:28:36 +0000 (13:28 +0100)]
Redo logging mechanism
Logging utility was moved from common to agent to allow plugins
use cynara logging mechanism. Agent uses its own logger separated from
cynara logs.
Change-Id: Id5d4065f25adc19056750e18aac04a6d9c3e0b67
Adam Malinowski [Wed, 17 Dec 2014 18:44:49 +0000 (19:44 +0100)]
Enhance allow and add deny types
Note: strings for buttons looks bad but there is no way to put
good looking captions because of limited size of window. Six buttons
with longer captions will not fit in window.
Change-Id: I71094d492fdf1163e06b974c837bf71d2f5435b2
Adam Malinowski [Wed, 10 Dec 2014 09:50:15 +0000 (10:50 +0100)]
Implement stopping daemon
This patch implements proper daemon stopping for correct handling
'systemd stop' procedure.
Change-Id: I6b0ad7d7978e5ffbe73383e5fcb27d3fe5717539
Adam Malinowski [Wed, 10 Dec 2014 09:17:06 +0000 (10:17 +0100)]
Add UI backend based on tizen notifications
Change-Id: Iec59517b8d5a55f54ca831394a12793c2ef2ae4c
Adam Malinowski [Wed, 10 Dec 2014 09:07:12 +0000 (10:07 +0100)]
Add internationalization and privilege translation
Change-Id: I9f903811c1ff348e430e126971d3f9cf8bb8e00d
Adam Malinowski [Tue, 2 Dec 2014 13:52:40 +0000 (14:52 +0100)]
Add UI handling
This patch introduces user interface related stuff, implements
creating UIs and handling responses from them.
Change-Id: I8899ead4d4b6222bf6c50bb51a2703502e2f7210
Adam Malinowski [Mon, 1 Dec 2014 11:14:35 +0000 (12:14 +0100)]
Add processing cynara requests
This patch introduces cynara requests handling without UI stuff.
Change-Id: I5fb2158f4089c28893f59d69218a5a447c774741
Adam Malinowski [Fri, 28 Nov 2014 22:18:13 +0000 (23:18 +0100)]
Add cynara talker
This patch introduces class for talking with cynara service.
Change-Id: Ic04b65bbfdfac920f036eab17a90c47be2dec983
Adam Malinowski [Fri, 28 Nov 2014 15:40:36 +0000 (16:40 +0100)]
Add Request class for representing cynara requests
Also prepare project to integration with cynara-agent library.
Change-Id: I14e8de8137ac9458f0b7eebacbebafeaba5ee788
Adam Malinowski [Tue, 16 Dec 2014 11:08:44 +0000 (12:08 +0100)]
Fix installing plugins
Directory %{_libdir}/cynara/plugin/ belongs to cynara so RPM gives
conflict error. Files must be installed in leaf directories.
Change-Id: I530235aa7da4f0be73ae1102a8b048e76efd505b
Adam Malinowski [Mon, 29 Dec 2014 17:19:26 +0000 (18:19 +0100)]
Adjust plugins to new plugin API
A change has been introduced in cynara plugin API.
getSupportedPolicyTypes was removed and getSupportedPolicyDescr
was added. This patch adapts ask user plugins to new API.
Change-Id: I4b2e7ee1b12f120f2e414b927620239ab0191c19
Zofia Abramowska [Mon, 8 Dec 2014 14:45:21 +0000 (15:45 +0100)]
Add deny types
Change-Id: Ife48273f31f8a07e719d9b8037ed52a1fc2f5b5e
Zofia Abramowska [Mon, 1 Dec 2014 17:47:14 +0000 (18:47 +0100)]
Add AskUser cynara client and server side plugins
Change-Id: Id6d30097eac100c5462c60b5bac7c41c3a39f6a7
Zofia Abramowska [Mon, 1 Dec 2014 15:58:10 +0000 (16:58 +0100)]
Add translation methods between agent<->cynara<->plugin
Change-Id: Ifd24baca36d9afed2b5201b44054d03584216f22
Adam Malinowski [Fri, 28 Nov 2014 13:00:01 +0000 (14:00 +0100)]
Add main agent class
Agent class has been added and its usage in main.cpp file.
Change-Id: Iaec77d164c966a389df97e415febdca6622dc082
Adam Malinowski [Fri, 7 Nov 2014 10:29:37 +0000 (11:29 +0100)]
Initial commit
Add basic structure of project
Change-Id: Idc98fcc1c194562c23b354986d190fb8f20fca75
Sriram Ramkrishna [Mon, 17 Nov 2014 21:53:05 +0000 (13:53 -0800)]
Initial empty repository