platform/core/pim/contacts-service.git
10 years agoAdd user space access control 49/9849/3
Donghee Ye [Sat, 7 Sep 2013 12:09:43 +0000 (21:09 +0900)]
Add user space access control
Check resource access permission
Fix contacts_connect_on_thread
 - without calling contacts_connect2 module can use contacts APIs

Change-Id: I592ec0c9c0096e1e6ad57f687c24f0042ba89b41

10 years agoInsert/Update contact/my_profile error 48/9848/3
Donghee Ye [Sat, 7 Sep 2013 11:19:07 +0000 (20:19 +0900)]
Insert/Update contact/my_profile error
- Check is_default of address
- Check is_default of image
- Update number/email record if number/email is empty
- Return error when insert/update invalid group relation

Change-Id: I9d1a74250e5e41e52b33573490af761023d20914

10 years agoImprove search API 47/9847/2
Donghee Ye [Sat, 7 Sep 2013 10:57:53 +0000 (19:57 +0900)]
Improve search API
- Add contacts_db_search_records_with_range API (range: name, number, data)
- Fix search query for special character (sqlite keyword '_', '%', '\')
- Fix search contact (diacritical case)
- Change keyword : full-width -> half-width number

Change-Id: Iccb3b3f51b547683a320fa7fe4bd1abe1a330894

10 years agoAdd API to subscribe setting name dirplay/sorting order changes 46/9846/3
Donghee Ye [Sat, 7 Sep 2013 10:15:44 +0000 (19:15 +0900)]
Add API to subscribe setting name dirplay/sorting order changes

contacts_setting_add_name_display_order_changed_cb
contacts_setting_remove_name_display_order_changed_cb
contacts_setting_add_name_sorting_order_changed_cb
contacts_setting_remove_name_sorting_order_changed_cb

Change-Id: I8efe818af7e4864b99a690a0267aba24401e666b

10 years agoRemove unused code 45/9845/2
Donghee Ye [Sat, 7 Sep 2013 09:56:29 +0000 (18:56 +0900)]
Remove unused code
Remove duplicated notification

Change-Id: I7c1ea017269b1dcc3e959b6878142bbd30b3275e

10 years agoRemove unused debian files 44/9844/2
Donghee Ye [Sat, 7 Sep 2013 09:27:07 +0000 (18:27 +0900)]
Remove unused debian files

Change-Id: I98d8bb49eff8c378659badaa5c0ec04e17f6957d

10 years agoFix image add/update/delete logic, check image location under contacts-svc data 43/9843/2
Donghee Ye [Sat, 7 Sep 2013 09:22:27 +0000 (18:22 +0900)]
Fix image add/update/delete logic, check image location under contacts-svc data
Delete group image when deleting group
(contact/my_profile image, company logo, group image)

Change-Id: I7b38cea0e38bd324513adabc88dd6878dd50dcae

10 years agoFix make display name (contact, my_profile, vcard) 42/9842/2
Donghee Ye [Sat, 7 Sep 2013 08:42:52 +0000 (17:42 +0900)]
Fix make display name (contact, my_profile, vcard)
Make reverse display name (Last name first)
- Default         : Prefix Last, First Middle(addition), Suffix
- Korean, Chinese : Prefix LastFirstMiddleSuffix
- Japanese        : Prefix Last Middle First Suffix
- reverse sort name does not include prefix
   But, if there is only prefix, reverse sort_name is prefix

Make display name (First name first)
- Default         : Prefix First Middle Last, Suffix
- Korean, Chinese : Prefix LastFirstMiddleSuffix (Same as reverse display name)
- Japanese        : Prefix First Middle Last Suffix
- sort name does not include prefix
   But, if there is only prefix, sort_name is prefix

Change-Id: I59a52104630a3cecf7a83297c3aa6976eec91aa4

10 years agoFix memory leak : filter destroy 41/9841/2
Donghee Ye [Sat, 7 Sep 2013 08:23:43 +0000 (17:23 +0900)]
Fix memory leak : filter destroy

Change-Id: I394cd9d6a5d115b9cd3e9c7480ff154b47991774

10 years agoFix bugs : Parse vcard 40/9840/2
Donghee Ye [Sat, 7 Sep 2013 08:13:00 +0000 (17:13 +0900)]
Fix bugs : Parse vcard
  - Memory leak : get note(g_strcompress)
  - BS in __ctsvc_vcard_translate_charset (buffer overflow)
  - Ignore invalid photo if g_base64_decode size is 0
  - Decode quoted-printable with special character (':', ';', '\' , ',')
  - Remove vcard LABLE parsing (use ADR)
Fix bugs : Make vcard
  - Fix Multi-octet character handling (folding)
  - Set default image extension to jpeg

- Handle diverse image type
- Handle special char on address/name field(CTS_GET_MULTIPLE_COMPONENT)

Change-Id: I73e91f3cb9e76d0776b008837c061ca9eb21883a

10 years agoFix memory leak related to vconf_get_str 39/9839/2
Donghee Ye [Sat, 7 Sep 2013 07:14:58 +0000 (16:14 +0900)]
Fix memory leak related to vconf_get_str

Change-Id: I66728b5f06bef5eff2a7a062fba46e9dc4984eae

10 years agoFix NULL pointer reference 38/9838/1
Donghee Ye [Sat, 7 Sep 2013 07:06:30 +0000 (16:06 +0900)]
Fix NULL pointer reference

Change-Id: Iecebf2652c5e24186d47ea24629089dde3e69aa3

10 years agoFix image orientation check logic 37/9837/1
Donghee Ye [Sat, 7 Sep 2013 07:04:48 +0000 (16:04 +0900)]
Fix image orientation check logic

Change-Id: Iccb40c878f4d97a06a7d16318bb3c19a44b3e6ff

10 years agoAdd retry logic to ctsvc_stmt_get_first_int_result 36/9836/1
Donghee Ye [Sat, 7 Sep 2013 06:56:25 +0000 (15:56 +0900)]
Add retry logic to ctsvc_stmt_get_first_int_result

Change-Id: Id4940c062d688f48e42ad499ee03e615f49b34cb

10 years agopackaging: remove explicit requires on sys-assert 76/5476/3
Patrick McCarty [Fri, 28 Jun 2013 23:29:26 +0000 (16:29 -0700)]
packaging: remove explicit requires on sys-assert

The contacts-service package does not require sys-assert, so remove the
explicit dependency in the spec file.

Change-Id: I62c5141c3510304f9537279a88c1b27255049867
Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
10 years agosystemd: can not set negative OOMScoreAdjust for user service 75/5975/1 accepted/tizen/ivi/genivi tizen_ivi_genivi accepted/tizen/20130724.121814 accepted/tizen/20131010.000039 accepted/tizen/20131010.233331 accepted/tizen/20131010.233426 accepted/tizen/ivi/genivi/20140131.060315 ivi_oct_m2 submit/tizen/20130724.052111 submit/tizen/20131008.204237 submit/tizen/20131010.234208 submit/tizen_ivi_genivi/20140131.060436
Chengwei Yang [Tue, 23 Jul 2013 06:55:24 +0000 (14:55 +0800)]
systemd: can not set negative OOMScoreAdjust for user service

systemd will put the service into failure state if set OOMScoreAdjust
failed. So do not set a negative OOMScoreAdjust for user service.

Bug: https://bugs.tizen.org/jira/browse/TDIST-274
Change-Id: I6c046fedaf245f097d67e3ea491a506977b81462
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
10 years agoMerge "resetting manifest requested domain to floor" into tizen accepted/tizen/20130710.221346 submit/tizen/20130710.124426
Ryan Ware [Mon, 8 Jul 2013 17:07:28 +0000 (10:07 -0700)]
Merge "resetting manifest requested domain to floor" into tizen

11 years agoresetting manifest requested domain to floor 68/4468/1
Alexandru Cornea [Fri, 28 Jun 2013 12:47:30 +0000 (15:47 +0300)]
resetting manifest requested domain to floor

11 years agoresetting manifest requested domain to floor 63/4463/1
Alexandru Cornea [Fri, 28 Jun 2013 12:09:47 +0000 (15:09 +0300)]
resetting manifest requested domain to floor

11 years agoAdd Changelog 54/4054/1 submit/tizen/20130628.142303
Baptiste DURAND [Tue, 18 Jun 2013 10:02:14 +0000 (12:02 +0200)]
Add Changelog

11 years agoFix spec file according to rpmlint rules 53/4053/1
Baptiste DURAND [Tue, 18 Jun 2013 10:00:57 +0000 (12:00 +0200)]
Fix spec file according to rpmlint rules

11 years agoReplace manifest with default floor 52/4052/1
Baptiste DURAND [Tue, 18 Jun 2013 09:48:44 +0000 (11:48 +0200)]
Replace manifest with default floor

11 years agoAdd retry logic to all DB query exec tizen_2.1 accepted/tizen/20130520.101201 submit/tizen/20130517.045116 submit/tizen/20130619.101242 submit/tizen_2.1/20130516.133656
Donghee Ye [Wed, 15 May 2013 15:27:18 +0000 (00:27 +0900)]
Add retry logic to all DB query exec

Change-Id: I450aa2f1e5b368da634753ca046a542f13c4e884

11 years agoUpdate version 0.9.84.1 submit/tizen_2.1/20130515.030506
Donghee Ye [Tue, 14 May 2013 09:38:21 +0000 (18:38 +0900)]
Update version 0.9.84.1

- Fix : update display_name when setting default property of person
- Fix contact_utils_strstr : find searched text
- Fix search query with keyword which has space
- Change to make display name : set last-first in korean, japanese
- DO NOT auto link when two contacts have the same address book id

Change-Id: If50a3e59a5090bf1557866d4fc36afe55b749fcd

11 years agoUpdate version 0.9.82.2
Donghee Ye [Fri, 10 May 2013 12:18:30 +0000 (21:18 +0900)]
Update version 0.9.82.2

Fix : image rotated when inserting contact

Change-Id: Idc90889cfbbe66e6f76d3c9deeff763e8c5d0e0d

11 years agoUpdate version 0.9.82.1 submit/tizen_2.1/20130514.052143
Donghee Ye [Thu, 9 May 2013 09:02:09 +0000 (18:02 +0900)]
Update version 0.9.82.1

- Remove sorting customization
- Remove example code of doxygen
- Buffer overflow occurred on __ctsvc_normalize_str
- Fix NULL check in vcard_get_company
- Change version of contact when deleting group relation by deleting group
- Fix vcard image import
- Fix vcard export
- Fix BS : myprofile display name

Change-Id: I3df65a1e19337e07efa8349551b9c62d5ba2fae9

11 years agoUpdate version 0.9.77.1
Donghee Ye [Mon, 6 May 2013 11:01:41 +0000 (20:01 +0900)]
Update version 0.9.77.1

- Change socket file path to /tmp
- Disable native library build
- Fix : parse vcard with company value
- Fix : parse vcard image
- Fix inotify : subscribe samce callback

Change-Id: Ie8548111bbd71e31e567e6d18ca840ed031ce3df

11 years agoUpdate version 0.9.75.1
Donghee Ye [Thu, 2 May 2013 09:22:43 +0000 (18:22 +0900)]
Update version 0.9.75.1

- Do not parse LABEL. It has same info with ADR
- Parse vcard which has special character
- Change log

Change-Id: Ibab41a9aed2c4e1165eff7fd4c350b05fac1b432

11 years agoUpdate version 0.9.73.1
Donghee Ye [Mon, 29 Apr 2013 05:26:19 +0000 (14:26 +0900)]
Update version 0.9.73.1
- Fix memory leak : when unmarshaling records with child list
- Fix : can not get the phonetic name of company

Change-Id: I867b89698284fe240eed53d9b4391d99e8ee225e

11 years agoUpdate version 0.9.72.2
Sunggoo Kim [Sat, 27 Apr 2013 03:57:34 +0000 (12:57 +0900)]
Update version 0.9.72.2
- Fix N_SE-36268

11 years agoUpdate version 0.9.72.1 2.1b_release accepted/tizen_2.1/20130426.150342 submit/tizen_2.1/20130426.142346
Donghee Ye [Fri, 26 Apr 2013 04:35:59 +0000 (13:35 +0900)]
Update version 0.9.72.1

- Fix vcard charset translation
- Fix image decoding quality
- Fix special character sorting

Change-Id: I2e87846535b2c0b4420c9af1db35f71b6fed2330

11 years agoUpdate version 0.9.70.1 accepted/tizen_2.1/20130425.033130 submit/tizen_2.1/20130424.232831
Donghee Ye [Tue, 23 Apr 2013 08:49:09 +0000 (17:49 +0900)]
Update version 0.9.70.1

- Fix BS
- Fix N_SE-35416
- Fix prevent : memory leak, unused code
- Fix search : fullwidth, halfwidth character
- Fix sorting contact
- Fix vcard creation : custom type

Change-Id: Iae9621d2ad812ae64d827038bab93c28b980e4ed

11 years agoUpdate version 0.9.68.1
Donghee Ye [Thu, 18 Apr 2013 10:29:40 +0000 (19:29 +0900)]
Update version 0.9.68.1
- Fix : vcard createion which contact data has new line (Base64 encoding)
- Fix : get contact/my_profile record which has not child record
- Change : private vconf value setting (default language)

Change-Id: Idd4842745afb5da64953a3bb1672f86fdb8a65fe

11 years agoRemove sync_data of activity
Donghee Ye [Wed, 17 Apr 2013 12:18:15 +0000 (21:18 +0900)]
Remove sync_data of activity

Change-Id: Ibae87352a13b02da3f82a5fb8d7668f85788a774

11 years agoUpdate version 0.9.67
Donghee Ye [Wed, 17 Apr 2013 11:59:11 +0000 (20:59 +0900)]
Update version 0.9.67

- Remove system_id property of group
- Remove ctsvc_ipc_macros.h file
- Remove unused struct member : sync_data of contact
- Remove type, label property of profile
- Change : vconf value getting/setting in Server side
- Fix prevent
- Fix error message

Change-Id: Iac052e04bacf735d56fd228bd6d2f4cb3d5aaf21

11 years agoUpdate version 0.9.66
Donghee Ye [Tue, 16 Apr 2013 14:06:46 +0000 (23:06 +0900)]
Update version 0.9.66
- Fix : set default value of out- param value
- Fix search query by keyword
- Fix sorting order for japanese
- Fix : special char on __ctsvc_contact_refresh_lookup_data
- Fix : person changed info when changing default property
- Fix make_vcard error
- Add link_mode of contact

Change-Id: I29cc6e952efbcfb1ffbd81e0531fa273be424ec3

11 years agoUpload package
Donghee Ye [Thu, 11 Apr 2013 11:19:31 +0000 (20:19 +0900)]
Upload package

Change-Id: I9e5372bf651295c6966ae48893e2d57e57ee3071

11 years agoUpdate version 0.9.64
Donghee Ye [Thu, 11 Apr 2013 10:16:15 +0000 (19:16 +0900)]
Update version 0.9.64
- Fix memory leak
- Remove unnecessary noti
- Fix bug - wrong reverse display name
- Change sorting order : special character will be display first
                      Add reverse_display_name_language
- Remove account_id 1/2/3 from persons table
- Fix update group without group image change
- Fix unlink contact bug

Change-Id: I6fcf1ce8ce109330700d05a94c813c8f3b1e3e97

11 years agoAdd runtime requires needed by manifest.
Junfeng Dong [Sun, 7 Apr 2013 09:17:13 +0000 (17:17 +0800)]
Add runtime requires needed by manifest.

Change-Id: Ifcd689baebd685d8b9359b71dc7c5c2f59d502b6

11 years agoUpdate version 0.9.61
Donghee Ye [Thu, 4 Apr 2013 09:56:24 +0000 (18:56 +0900)]
Update version 0.9.61

- Change display order
- Support unlimited vcard size
- Change _contacts_profile property
- Change _contacts_activity property
- Remove unused property : account_id 1/2/3 property of person
- Fix : getting group relation with query

Change-Id: I1efb4c17ace95ad8a02d9d9cf11e6ee099afb7fd

11 years agoFix for 64 bit compatibility.
Junfeng Dong [Mon, 25 Mar 2013 09:54:35 +0000 (17:54 +0800)]
Fix for 64 bit compatibility.

- Fix hardcoding path.
- Use %cmake to set default paths.

Change-Id: I7dc4dff90a7d8ea2c97b529e98ba11ace84ba69a

11 years agoFix for 64 bit compatibility.
Junfeng Dong [Thu, 28 Mar 2013 10:30:58 +0000 (18:30 +0800)]
Fix for 64 bit compatibility.

- systemd content uses /usr/lib on both 32 and 64 platform.

Change-Id: I8a4929d0527ff79397d0fdaa5fa792314080c0ea

11 years agoUpdate 0.9.59
Donghee Ye [Thu, 28 Mar 2013 13:20:38 +0000 (22:20 +0900)]
Update 0.9.59
- Fix : update contact/person image, sort_name(for display_name_index)
- Fix ctsvc_strstr function for japanese halfwidth and fullwidth forms match
- Fix : get contact/person list order, get_sort_name_column and get_sort_column
- Fix record update : fix to copy base info(property_flag) of record
- Update parent record when changed child record
- Use dirty bit instead of XXX_changed of record member. Remove it
- Add a phonetic name to searchable data

Change-Id: I1a47b76ae623e21f8f8e2a0dceef6ded5f8a6455

11 years agoUpdate 0.9.56.1
Donghee Ye [Fri, 22 Mar 2013 11:44:21 +0000 (20:44 +0900)]
Update 0.9.56.1
- Change group name
- Fix : can not update group name if the group is_read_only property is set
- Fix favorite person unlink
- Fix contact_id, my_profile_id check logic when updating
- Fix comment
- Fix memory leak
- Fix BS when searching with keyword

Change-Id: Ief33e73a356e44e2a9783b91784e45edd3145559

11 years agoMerge from Master
Donghee Ye [Thu, 21 Mar 2013 13:33:06 +0000 (22:33 +0900)]
Merge from Master

Update 0.9.55
- Set my_profile image_thumbnail_path as read-only property
- Remove groups table join of view_person_contact_grouprel
- Fix error : Update contact which has only additional name
- Subscribe account change noti : addressbook deletes when account is deleted
- Check account_id validation when inserting addressbook
- Allow to insert one addressbook with same account_id
- Fix bug - image resize
- Change group property name : system_id -> extra_data

Change-Id: Id11400adfa588c5524cf8c5c518d78569a103306

11 years agoMerge with master
Donghee Ye [Mon, 18 Mar 2013 10:45:52 +0000 (19:45 +0900)]
Merge with master

Change-Id: I4c88b2ed860bc97729ccf79952e16e2960db3555

11 years agomerge with master
Jinkun Jang [Fri, 15 Mar 2013 16:17:42 +0000 (01:17 +0900)]
merge with master

11 years agosync
Jinkun Jang [Wed, 13 Mar 2013 03:23:03 +0000 (12:23 +0900)]
sync

11 years agoTizen 2.1 base
Jinkun Jang [Tue, 12 Mar 2013 16:51:18 +0000 (01:51 +0900)]
Tizen 2.1 base

12 years agotizen beta release
Kibum Kim [Mon, 27 Feb 2012 12:15:50 +0000 (21:15 +0900)]
tizen beta release