{"action":"created","issue":{"url":"https://api.github.com/repos/nethesis/dev/issues/5485","repository_url":"https://api.github.com/repos/nethesis/dev","labels_url":"https://api.github.com/repos/nethesis/dev/issues/5485/labels{/name}","comments_url":"https://api.github.com/repos/nethesis/dev/issues/5485/comments","events_url":"https://api.github.com/repos/nethesis/dev/issues/5485/events","html_url":"https://github.com/nethesis/dev/issues/5485","id":366683525,"node_id":"MDU6SXNzdWUzNjY2ODM1MjU=","number":5485,"title":"NethCTI 3: phonebook and history tech debt","user":{"login":"SebastianMB-IT","id":24255405,"node_id":"MDQ6VXNlcjI0MjU1NDA1","avatar_url":"https://avatars0.githubusercontent.com/u/24255405?v=4","gravatar_id":"","url":"https://api.github.com/users/SebastianMB-IT","html_url":"https://github.com/SebastianMB-IT","followers_url":"https://api.github.com/users/SebastianMB-IT/followers","following_url":"https://api.github.com/users/SebastianMB-IT/following{/other_user}","gists_url":"https://api.github.com/users/SebastianMB-IT/gists{/gist_id}","starred_url":"https://api.github.com/users/SebastianMB-IT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SebastianMB-IT/subscriptions","organizations_url":"https://api.github.com/users/SebastianMB-IT/orgs","repos_url":"https://api.github.com/users/SebastianMB-IT/repos","events_url":"https://api.github.com/users/SebastianMB-IT/events{/privacy}","received_events_url":"https://api.github.com/users/SebastianMB-IT/received_events","type":"User","site_admin":false},"labels":[{"id":639750795,"node_id":"MDU6TGFiZWw2Mzk3NTA3OTU=","url":"https://api.github.com/repos/nethesis/dev/labels/bug","name":"bug","color":"ee0701","default":true},{"id":640484849,"node_id":"MDU6TGFiZWw2NDA0ODQ4NDk=","url":"https://api.github.com/repos/nethesis/dev/labels/needs%20review","name":"needs review","color":"fbca04","default":false},{"id":646233429,"node_id":"MDU6TGFiZWw2NDYyMzM0Mjk=","url":"https://api.github.com/repos/nethesis/dev/labels/nethcti","name":"nethcti","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/nethesis/dev/milestones/1","html_url":"https://github.com/nethesis/dev/milestone/1","labels_url":"https://api.github.com/repos/nethesis/dev/milestones/1/labels","id":2622429,"node_id":"MDk6TWlsZXN0b25lMjYyMjQyOQ==","number":1,"title":"NethVoice 14","description":"Asterisk 13 + FreePBX 14 on NethServer 7","creator":{"login":"gsanchietti","id":804596,"node_id":"MDQ6VXNlcjgwNDU5Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/804596?v=4","gravatar_id":"","url":"https://api.github.com/users/gsanchietti","html_url":"https://github.com/gsanchietti","followers_url":"https://api.github.com/users/gsanchietti/followers","following_url":"https://api.github.com/users/gsanchietti/following{/other_user}","gists_url":"https://api.github.com/users/gsanchietti/gists{/gist_id}","starred_url":"https://api.github.com/users/gsanchietti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsanchietti/subscriptions","organizations_url":"https://api.github.com/users/gsanchietti/orgs","repos_url":"https://api.github.com/users/gsanchietti/repos","events_url":"https://api.github.com/users/gsanchietti/events{/privacy}","received_events_url":"https://api.github.com/users/gsanchietti/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":230,"state":"open","created_at":"2017-07-05T08:01:31Z","updated_at":"2018-10-11T15:29:32Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-10-04T08:48:27Z","updated_at":"2018-10-15T14:11:53Z","closed_at":null,"author_association":"NONE","body":"1. Phonebook modification button must be hidden if the users couldn't modify contact ( For example appears for contacts from centralized phonebook)\r\n1. Speed dial button must be shown only if a contact is mine (or create a new private cti contact and add it to speed dial)\r\n1. Phonebook choosing company as grouping order clicking on a letter expect that will be shown a list of companies starting with the letter selected but the list shows companies with contacts initiated with the same letter.\r\n\r\n**Steps to reproduce**\r\n\r\n1. Add user to phonebook and check that modify button is visible from the users without permission to modify the contact \r\n1. Modifying contacts that aren't users contacts there is the possibility to check the form checkbox to add contact to speed dial but it is possible only with users contacts\r\n1. In phonebook clicking a letter are shown contacts which name or company that starts with clicked letter\r\n\r\n**Expected behavior**\r\n\r\n1. [x] Modification button must be shown only if the users can modify contact\r\n1. [x] Hide add to speed dial button on contact modification if contact is not users contact\r\n1. [x] On letter click check if phonebook is filtered by users or by company and show only selected between company and name"},"comment":{"url":"https://api.github.com/repos/nethesis/dev/issues/comments/429868155","html_url":"https://github.com/nethesis/dev/issues/5485#issuecomment-429868155","issue_url":"https://api.github.com/repos/nethesis/dev/issues/5485","id":429868155,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTg2ODE1NQ==","user":{"login":"nethbot","id":33838927,"node_id":"MDQ6VXNlcjMzODM4OTI3","avatar_url":"https://avatars1.githubusercontent.com/u/33838927?v=4","gravatar_id":"","url":"https://api.github.com/users/nethbot","html_url":"https://github.com/nethbot","followers_url":"https://api.github.com/users/nethbot/followers","following_url":"https://api.github.com/users/nethbot/following{/other_user}","gists_url":"https://api.github.com/users/nethbot/gists{/gist_id}","starred_url":"https://api.github.com/users/nethbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nethbot/subscriptions","organizations_url":"https://api.github.com/users/nethbot/orgs","repos_url":"https://api.github.com/users/nethbot/repos","events_url":"https://api.github.com/users/nethbot/events{/privacy}","received_events_url":"https://api.github.com/users/nethbot/received_events","type":"User","site_admin":false},"created_at":"2018-10-15T14:11:53Z","updated_at":"2018-10-15T14:11:53Z","author_association":"MEMBER","body":"in `7.5.1804/nethesis-testing`:\n- [nethcti3-3.3.1-1.4.gd91f0af.ns7.noarch.rpm](http://packages.nethesis.it/nethserver/enterprise/7.5.1804/nethesis-testing/x86_64/Packages/nethcti3-3.3.1-1.4.gd91f0af.ns7.noarch.rpm)\n"}}
{"actor":{"display_login":"nethbot"}}