summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_external/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | Removes 'country_consent_passengerRC' supportAndrey Oleynik2017-08-215-59/+9
| |
* | Implementation of Remote Control pluginAlexander Kutsan2017-08-168-50/+1407
| | | | | | | | | | | | Stype changes after integration Fix policy handler remote unit tests
* | Merge pull request #1623 from AKalinich-Luxoft/fix/fix_endpoints_validationJackLivio2017-08-081-0/+13
|\ \ | | | | | | Fixed Regular Policy endpoints validation
| * | Fixed Policy endpoints validationAKalinich-Luxoft2017-06-201-0/+13
| |/ | | | | | | | | | | | | | | | | For regular policies there was a wrong upper bound for endpoints which allows for each endpoint to have a list with more than 3 items. This issue was fixed for external policies. The second part of issue is that PM does not check endpoints for containing default group. This check was added for all policies flows.
* | Reivew changesJackLivio2017-08-011-0/+7
| |
* | Fix CID 171131jacobkeeler2017-06-221-1/+1
| | | | | | Initialize variables in empty constructor for ExternalConsentStatusItem
* | New fix for CID 171125, 171127, and 171128jacobkeeler2017-06-221-33/+31
| | | | | | Removed the rpc_hmi_permissions and rpc_parameter_permissions variables and used the rpc accessors instead. Otherwise comparisons were being made from iterators made from two different variables
* | Coverity Fixes in cache managerJackLivio2017-06-222-1/+4
| |
* | Fix for cov 171196JackLivio2017-06-211-2/+1
| | | | | | | | + style fixes
* | Fix coverity 171124JackLivio2017-06-191-1/+1
| | | | | | | | Fix copy paste error
* | Fix for 171126JackLivio2017-06-191-3/+0
| | | | | | | | out_ap_permissions_changed is always a valid pointer and it is set to false prior to the SetUserPemissionsForApp function call.
* | Fix for coverity issues 171128, 171127, 171125JackLivio2017-06-191-3/+3
| | | | | | | | Removed const iterator since the permissions it is compared to is not a const object.
* | Fix Coverity Issue 171129JackLivio2017-06-191-1/+1
|/ | | | Current is an unsigned int so it can never be less than 0. I removed the condition that looks for current < 0
* Merge pull request #1558 from ↵JackLivio2017-06-051-16/+35
|\ | | | | | | | | smartdevicelink/hotfix/consumer_friendly_message_fix ConsumerFriendlyMessages Null Fix
| * Formatting FixesJackLivio2017-06-051-15/+15
| |
| * Keep ConsumerFriendlyMessages Nullhotfix/consumer_friendly_message_fixJackLivio2017-05-241-11/+30
| |
* | Adds logic handling priorities of user/external consent based on timestampsAndrey Oleynik2017-06-022-26/+131
| | | | | | | | | | | | SDL has to preserve user consents in case they had been set after external consents and give more priority to user consents. In case external consents done afterwards - they must be prioritized over user consents.
* | Adds timestamps on last update for user and external consentsAndrey Oleynik2017-06-025-6/+29
| | | | | | | | | | | | | | | | In case user did his consent after external consents came or changed external consent settings his changes must be prioritized over external consent. Changes introduce timestamps for user and external consents in database and policy table structure (won't be considered during parsings of PTU or creating of PTS).
* | Add missing functionality fo policiesokozlovlux2017-05-173-28/+56
| | | | | | | | Fix failed UTs
* | Fix SDL does not send OnPermissionsChange after PTUIra Lytvynenko2017-05-171-1/+1
| |
* | Fix absent status updateHerasym Oleh2017-05-172-5/+18
| | | | | | | | | | | | | | Fix coding style Conflicts: src/components/policy/policy_external/src/policy_manager_impl.cc src/components/policy/policy_external/test/policy_manager_impl_test.cc
* | Fix policy unexpected PTUHerasym Oleh2017-05-174-7/+87
| |
* | Fix SDL ignores externalConsentStatusatimchenko2017-05-172-24/+84
| | | | | | | | | | | | Fixed SDL ignores externalConsentStatus when is sent together with consentedFunction in OnAppPermissionConsent notification. Fixed policy handler unit tests Fixed policy_manager_implementation unit tests
* | Add functionality for External UCSokozlovlux2017-05-176-202/+508
| | | | | | | | | | | | | | | | | | | | | | - added functionality for External UCS: ON by the User - added UTs for policices External UCS: ON by the User - added perstistence for external user consent status received from system Fix issuies for HTTP and PROPRIETARY mode in mock policy handler - fixed issues in mock policy handler - fix coding style
* | Adds draft business logic for 'CCS ON' case and unit testAndrey Oleynik2017-05-175-246/+281
| |
* | Add new external UCS-related params in PTU, PreloadedPT, SnapshotPTIvo Stoilov (GitHub)2017-05-178-46/+904
|/ | | | | - added perstistence for external user consent status - fixed failed UTs
* Fix UPDATE_NEEDED is sent if user requested PTU from HMIAlex Kutsan2017-05-153-2/+21
| | | | | | | | | Extended interface of policies: Added new state in update_status manager. In case if updated was trigered by HMI - no notifications should come to HMI during update fixup! Fix UPDATE_NEEDED is sent if user requested PTU from HMI
* Merge pull request #1474 from ↵JackLivio2017-05-121-4/+10
|\ | | | | | | | | LitvinenkoIra/fix/update_needed_in_case_of_unconsented_device Fix UPDATE_NEEDED is sent in case of unconsented device
| * Fix UPDATE_NEEDED is sent in case of unconsented deviceIra Lytvynenko2017-05-111-4/+10
| | | | | | | | Add check that pt_exchanged_x_days_after_epoch is initialized
* | Merge pull request #1478 from LitvinenkoIra/fix/cycling_urls_refactoringJackLivio2017-05-121-2/+43
|\ \ | | | | | | Fix SDL omits one of the URLs during retry sequence
| * | Fix codestyleIra Lytvynenko2017-05-111-4/+2
| | |
| * | Fix conflicts after rebasingTeodora Kireva2017-04-121-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts after rebasing to feature/extended_policy_functionality are fixed. Conflicts: src/components/include/policy/policy_regular/policy/policy_manager.h src/components/policy/policy_external/src/policy_manager_impl.cc src/components/policy/policy_regular/include/policy/policy_manager_impl.h
| * | Fix used int type to uint32_tTeodora Kireva2017-04-121-2/+1
| | | | | | | | | | | | Variables type is changed
| * | Fix add code commentsTeodora Kireva2017-04-121-1/+7
| | | | | | | | | | | | | | | Some comments are added for better understading of the statements.
| * | Fix omited URL in OnSystemRequest retryTeodora Kireva2017-04-121-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The URL is skipped because of a new application is registered and it is received the index of the default section in the Endpoints vector. Fix compares the policy application id of the application whose URL is about to be sent from the Endpoints vector and from the member variable in PolicyManager. If there is a difference, the URL index is set to 0, so that no URL will be omited.
| * | Fix missing check for empty URLsTeodora Kireva2017-04-121-12/+17
| | | | | | | | | | | | | | | Missing check for empty URLs vector is added and some code beautifying.
| * | Fix code optimization and beautifyingTeodora Kireva2017-04-121-11/+12
| | |
| * | Fix OnSystemRequest cycling urls refactoringTeodora Kireva2017-04-101-1/+24
| |/ | | | | | | | | | | | | | | | | | | | | Required refactoring of the functionality that is responsible for sending different application URL on each OnSystemRequest. The logic was placed in OnSnapshotCreated method. Now it is separated on two methods - GetNextUpdateUrl - returns pair of policy application id and url from the Endpoints vector that potentially will be sent, IsUrlAppIdValid - checks if given policy application id is assigned to a registered application or it is the default id.
* | Allow OnHMIStatus notification for revoked appdcherniev2017-04-271-11/+11
|/ | | | Fixed sending of OnHMIStatus after re-registration of revoked application, by moving check IsApplicationRevoked before the RPC permission check.
* Merge pull request #1180 from ↵Alexander Kutsan (GitHub)2017-01-171-2/+25
|\ | | | | | | | | LuxoftAKutsan/fix/send_on_status_update_after_other_notifications_during_app_registration Remove notification update_manager on AddApplication
| * Remove nitification update_manager on AddApplicationAlexander Kutsan2017-01-171-2/+25
| | | | | | | | | | | | AddApplication will return function that will sen d appropriate notifications on call Relates issue : APPLINK-31436
* | Merge pull request #1179 from LuxoftAKutsan/fix/pt_update_preloaded_pt_ommitedAlexander Kutsan (GitHub)2017-01-162-0/+8
|\ \ | |/ |/| pt_preloaded_date should be ommited for PT_UPDATE
| * pt_preloaded_date should be ommited for PT_UPDATEAlex Kutsan2017-01-132-0/+8
| | | | | | | | Related issue : APPLINK-31413
* | Use secconds against ms in RPCsAlex Kutsan2017-01-131-3/+3
| | | | | | | | Related issue : APPLINK-31433
* | Merge pull request #1156 from LitvinenkoIra/fix/OnUpdateSentOutAlexander Kutsan (GitHub)2017-01-114-8/+9
|\ \ | | | | | | Use miliseconds as parameter of OnUpdateSentOut function
| * | Use miliseconds as parameter of OnUpdateSentOut functionLitvinenkoIra2017-01-104-8/+9
| | | | | | | | | | | | Change returned value which is read from database in TimeoutResponse function to miliseconds, fix usages in code and unit tests.
* | | Update update_reuire in timeAlex Kutsan2017-01-111-4/+3
| |/ |/| | | | | | | | | update_requre should be store to cahche manager in the same time as UPDATE_NEEDED sent to HMI Related issue : APPLINK-30381
* | Update exchange_after_x_ignition_cycles db value on Policy UpdateAlex Kutsan2017-01-101-0/+1
|/ | | | Related issue : [APPLINK-31164](https://adc.luxoft.com/jira/browse/APPLINK-31164)
* Fix race condition in cache_managerAlexander Kutsan2016-12-301-2/+3
| | | | | | Make pulblic methods that can be called in parallel thread safe Related issue : APPLINK-31156
* Add validation preloaded_pt field in PT_UPDATE type of tableKozoriz2016-12-292-28/+56
| | | | Fixed defect : APPLINK-30866