summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-12-18Apply the result of English documentation reivewsubmit/tizen_3.0/20161220.015046submit/tizen_3.0/20161219.020755submit/tizen_3.0.m2/20170104.093752accepted/tizen/3.0/wearable/20161221.010101accepted/tizen/3.0/wearable/20161221.004849accepted/tizen/3.0/tv/20161221.010055accepted/tizen/3.0/tv/20161221.004747accepted/tizen/3.0/mobile/20161221.010300accepted/tizen/3.0/mobile/20161221.005058accepted/tizen/3.0/ivi/20161221.010107accepted/tizen/3.0/ivi/20161221.005009accepted/tizen/3.0/common/20161221.180347accepted/tizen/3.0.m2/wearable/20170105.024325accepted/tizen/3.0.m2/tv/20170105.024018accepted/tizen/3.0.m2/mobile/20170105.023656tizen_3.0.m2accepted/tizen_3.0.m2_wearableaccepted/tizen_3.0.m2_tvaccepted/tizen_3.0.m2_mobileDongsun Lee10-1033/+802
Change-Id: I67cb14c92c6b79720218f99bd80e4aa5b77b4002 Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
2016-12-05Merge branch 'tizen' into tizen_3.0submit/tizen_3.0/20161205.022357accepted/tizen/3.0/wearable/20161205.234359accepted/tizen/3.0/tv/20161205.234333accepted/tizen/3.0/mobile/20161205.234227accepted/tizen/3.0/ivi/20161205.234427accepted/tizen/3.0/common/20161206.125242Kyungwook Tak3-4/+4
Merge hotfix: numbering script name Change-Id: I3c2603e4e845112eb793e1ddd0b9c58720f686c1 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-12-05Merge branch 'devel/master' into tizenKyungwook Tak3-4/+4
Merge hotfix: numbering script name Change-Id: I038afb4ddeca3a16bd53fd57491d73796f1f3a4c Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-12-05Numbering upgrade scriptKyungwook Tak3-4/+4
csr-upgrade.sh.in -> 500.csr.sh.in Change-Id: I2ca4c397a9dcdb0119fac1306cc114c0582ca04b Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-11-28Release 2.2.1 to 3.0 tizensubmit/tizen_3.0/20161128.050643accepted/tizen/3.0/wearable/20161129.001957accepted/tizen/3.0/tv/20161129.001945accepted/tizen/3.0/mobile/20161129.001904accepted/tizen/3.0/ivi/20161129.002019accepted/tizen/3.0/common/20161129.102904Kyungwook Tak71-146/+477
Change-Id: Icf57eeb1e152daff45b88607e1c079b627aa3e2e Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-11-28Release 2.2.1Kyungwook Tak70-146/+469
Minor fixes - Fix button text ellipsis - Separate popup systemd configs - Fix doxygen warnings - Fix some rpmlint warnings Change-Id: I33dff96d35800341142afd986a298ef52410d00e Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-11-28Upgrade version to 2.2.1Kyungwook Tak1-1/+1
Change-Id: I9380402690c759dfeb1ab42c33672567b771fa0a Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-11-28Revert "Use ELM_MAIN macro for main function"Kyungwook Tak1-2/+21
This reverts commit 7308351ee6a153985f1903cfbcdc0d37463427b1. To use elm_shutdown which is in ELM_MACRO makes crash in some cases. It'll be restored after the issue resolved. Change-Id: Icf170a000065a99ae23634355647974a895b53ff Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-11-23Fix button text ellipsis bug on popupsangwan.kwon2-5/+15
Button's text was ellipsis like "Unins..." Change-Id: I570f2552b0d588dcb5acbc282df548c1d56d42ad Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-11-24Fix ctags/cscope related file scope in gitignoreKyungwook Tak1-3/+3
Change-Id: Id3897e482f1929e7fb3704aad5fda167a9e62e48 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-11-22Use ELM_MAIN macro for main functionKyungwook Tak1-21/+2
ELM_MAIN() macro is highly recommended instead of code main function manually Change-Id: I0a837302d56901e771d566b038a49b2c2f76d029 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-11-22Separate popup systemd configs by platform versionKyungwook Tak6-13/+47
Don't declare socket smack ip in/out label for platform version 3.0 because it's created by user session so no perm to smack label change and no need to do it at all because default label same to what we want to set. Change-Id: Ib1310cca2669105eb37579193f9ff1705b77bf8f Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-11-22Fix media path and app dir pathKyungwook Tak12-70/+189
Use app directory base path from tzplatform config macro. But for TZ_USER_APP which contains rw user app path for 3rd party is unusable on this position (for regex) because we csr server is not user service so not usable in compile time. - /opt/home -> /opt/usr/home - Add sdcard prefix additionally (TZ_SYS_STORAGE) - /home/<user>/content -> /home/<user>/media # it's for test program Change-Id: Icde1d8772686deb86953ae8a2272c7de3adda769 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-11-22Fix doxygen warningKyungwook Tak1-2/+2
Change-Id: Ic4f5a540ec82a29ffc3b673480e46cbd10383b19 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-11-15Add ContentType to po files to use find_langKyungwook Tak38-2/+152
language files which are not managed by %find_lang macro occurs rpm spec warning. And without ContenType:utf-8 definition in po file header, msgfmt prints warning message. Refer: http://pology.nedohodnik.net/doc/user/en_US/ch-poformat.html Change-Id: I9fd0a890c4061a18b26c680e47519b4826449aa8 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-11-15Fix rpm spec warningsKyungwook Tak14-50/+60
Change-Id: I469c3dd67e66fa53fb1bb05ca1e5f2c3d019930f Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-10-21Add signal handler on mainloopsangwan.kwon1-0/+8
Change-Id: I4bc541245d0df7be3060449824de96088d8f5c50 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-09-13Add libclient requirement to devel packagesubmit/tizen_3.0_wearable/20161015.000001submit/tizen_3.0_tv/20161015.000001submit/tizen_3.0_mobile/20161015.000001submit/tizen_3.0_ivi/20161010.000001submit/tizen_3.0_common/20161104.104000submit/tizen/20160926.005548accepted/tizen/wearable/20160927.020822accepted/tizen/tv/20160927.020645accepted/tizen/mobile/20160927.020839accepted/tizen/ivi/20160927.020857accepted/tizen/common/20160926.154055accepted/tizen/3.0/wearable/20161015.081734accepted/tizen/3.0/tv/20161016.003747accepted/tizen/3.0/mobile/20161015.032535accepted/tizen/3.0/ivi/20161011.043713accepted/tizen/3.0/common/20161114.110450sandbox/vbarinov/ubsanSlava Barinov1-0/+1
Without explicit dependency the case is possible when the -devel package is installed without client package and provides a broken symlink to /usr/lib/libcsr-client.so.0 Change-Id: I735e15c4424854a319534aad03014e936525ddc0 Signed-off-by: Slava Barinov <v.barinov@samsung.com>
2016-08-29Release version 2.2.0submit/tizen/20160829.005907accepted/tizen/wearable/20160830.060740accepted/tizen/tv/20160830.060717accepted/tizen/mobile/20160830.060637accepted/tizen/ivi/20160830.060809accepted/tizen/common/20160829.135645Kyungwook Tak44-591/+1366
Main changes Add db transaction Client-server conversation arch for async scan Upgrade db schema version for adding constraint Change-Id: I15914dd748aa78bc1eccac790a7411c1d2ef1e13 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-08-29Upgrade version to 2.2.0Kyungwook Tak1-1/+1
Change-Id: I19f77dc9d89559d07b5a09c0bfaaad09fb0e691f Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-08-26Add script to support platform upgrade scenarioKyungwook Tak3-0/+37
Change-Id: Id140e2877d8156019c715143f76947dbb4bb537c Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-07-06add TCs to raise TC coverageDongsun Lee2-0/+38
Change-Id: Ie02eb0800ea785a706b2e551dc7308e882500ffa Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
2016-07-06Upgrade db schema version for adding constraintKyungwook Tak3-3/+62
Change-Id: I3c2293741b9f8ada70f0aa3ec7668610c9a7d631 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-07-06Refactor cancel async scan architectureKyungwook Tak15-57/+214
Before: Check cancelled flag on both of client/server side in loop of file visitor. It's hard to control response latency consistently. After : Change client side connection to non-blocking to cancel it directly by sending signal to fd. Response latency is consistent because client just close connection. Change-Id: If181eb9984357939b2845b7d03a17dac57a0b9d0 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-07-05Refine scan app deltaKyungwook Tak2-63/+71
1) Logging more precisely 2) Add missing cases e.g., worse riskiest when history is exist and no new malware detected and worse case exists 3) Remove useless param on judge stage: jHistory jHistory is always same to history. 4) Insert worst when history riskiest case either because existing history(worst) needs to be updated when the file is modified and malware is detected samely. 5) Delete db row whenever the file is newly scanned regardless of new malware detection from the file. It's for refreshing db row when file is newly scanned. Change-Id: Iba88c3e0ed96bd8413a10fcd9aa556edc7129f60 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-07-05Merge branch 'sandbox/kwon/transaction' into develKyungwook Tak12-126/+403
Change-Id: I5207e7e1a33a00c0ea47582b6456e2e35a9b8a43 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-07-05Handle exception when open dir top dir in fs visitorKyungwook Tak1-3/+17
Change-Id: Ia9fc53a10ade30cfc64bf1c1ff861281c7d908d8 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-07-05Ignore permission related exception on async scanKyungwook Tak2-5/+36
Change-Id: Ia2d1cbab672bf8d40b352a523bd902d4372a28ce Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-07-04Handle cancel event not to be printed as errorKyungwook Tak2-6/+13
Change-Id: Iabc4fd9abf7ceb52ce04f00d6688599e29c92d1c Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-07-04Add cancel checker in scan app deltaKyungwook Tak2-11/+16
For canceling faster while big app scanning Change-Id: I935e2fa79c4ce213b2679aef4024c2bc0fc1109d Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-07-04client-server conversation arch for async scanKyungwook Tak22-444/+604
Async operation process AS-IS 1) getting scannable file list from server 2) dispatch scan file operation per item in list TO-BE 1) dispatch async scanning with files/dirs list by client 2) Client receives event only when malware detected by server unless file scanned callback is registered. IPC time is much more lower than before because IPC isn't needed for file scanned without malware when callback isn't registered. Memory usage on client side is much less than before because client doesn't receive a bunch of scannable file list. Client only receives event when callback call needed or operation completed. Change-Id: I0c913a2fbdf75c2abe99cdf6d757fdb0f264145d Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-07-01Add transacion on databasesandbox/kwon/transactionsangwan.kwon6-1/+99
Change-Id: Ie752f3cba3dd88d917a4f08b75cfa9b124533dcc Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-07-01Fix bug in file visitor target handlerKyungwook Tak1-4/+5
Continue for loop without call recursive for target Change-Id: Ibda767ddecfe6582cb02fbc9585cacc35f87894d Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-07-01Don't check malware history before scan single fileKyungwook Tak2-44/+23
Overhead to check db for all scan request is bigger than scan file. So we check history for getting ignored flag only when file scan finished and it has detected malware. Change-Id: Iac391e33069cbff46cd94588837d1f0ceb813c05 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-07-01Fix insert name query not to replaceKyungwook Tak2-1/+3
Change-Id: I546649837c647cda53ddab97904be5ebf8c43ae9 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-06-30Refactor scanAppDelta on cs-logicsangwan.kwon2-94/+119
Change-Id: Iacbc2504b763e754df8b6cff666e4677089a03bf Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-06-30Release version 2.1.1submit/tizen/20160705.005113submit/tizen/20160630.090859accepted/tizen/wearable/20160705.044920accepted/tizen/tv/20160705.044926accepted/tizen/mobile/20160705.045005accepted/tizen/ivi/20160705.044928accepted/tizen/common/20160630.153352Kyungwook Tak76-441/+1095
- Cancel async operation on both of server/client side - Fix svace defects - Checks service idle with client connection - Refactor file visitor class Change-Id: Id0ccc858961bd12ce64f521bbaca3ea1e49ffab5 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-06-30Upgrade version to 2.1.1Kyungwook Tak1-1/+1
Change-Id: I3ac0a00d2dd239101828bd10289e5d9372aca664 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-06-29Change file visitor to dfs style not to have queueKyungwook Tak4-86/+90
Change-Id: I2bb154ce573468cbaab8fb0d32aae8f0e746ef20 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-06-29Refactor file & file visitor classesKyungwook Tak5-198/+227
Remove duplicated call of checking file's status e.g., pkgmgr_is_preloaded, ::stat(), regex... And Make flag for file visitor to turn on and off of visiting inside of package path Change-Id: Ib80a2145f27d9951168951043ef600efcd2e1b87 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-06-28Add cache to database for consistentsangwan.kwon9-39/+200
Change-Id: I75e5ecb82d0165210e48e35825f3812426e57c0c Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-06-28Checks Service idle with client connectionKyungwook Tak5-20/+25
Change-Id: Iba6c0d725e98d5c5e8e81252873923278bd0d194 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-06-28Restore data_version usage from db schemaKyungwook Tak7-131/+189
Change-Id: I6677a821eb1ecf545b902f4f872790d76807e728 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-06-27Malware data deprecationKyungwook Tak15-120/+125
Data deprecation based on engine latest update time which is provided by engine API(csre_cs_engine_latest_update_time) Change-Id: I8f2b9a2118a2b575493b786c149e70bd93ba9e48 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-06-27Check dir exist before mkdirsangwan.kwon1-6/+8
Change-Id: I192598839997327d468d5285745aacd6f2f6da4b Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-06-24Fix svace defectsKyungwook Tak2-25/+21
dead code on db manager dereferencing nullable pointer on cs logic Change-Id: Iec1b9f9f9fb329566a4b6d96e4cd129e87c70087 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-06-24Turn on with_sample_engine build flagKyungwook Tak1-1/+1
On platform, test program is based on sample engine and it's included in test rpm so real binary isn't affected Change-Id: Icec4fcddb7270139ff3e42d4477f15c07eef2950 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-06-24Change assertion order in ASSERT_CALLBACKKyungwook Tak1-5/+7
Not to misunderstand callback counts mismatch. Order it on importance. Change-Id: I75c5756bf40a03a01f1bcb4c964837653fba834c Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2016-06-24Add did on popup-stringsangwan.kwon39-3/+389
Change-Id: Icbc7449981f46c1a535596625781ddb9f5cab491 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-06-24Additional cancel operation check on clientsangwan.kwon1-0/+2
Change-Id: Ia0525972e026ad0f0dc08a17872542982a43592d Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>