| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| |
| |
| |
| |
| |
| | |
Stype changes after integration
Fix policy handler remote unit tests
|
|\ \
| | |
| | | |
Fixed Regular Policy endpoints validation
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| | |
Initialize variables in empty constructor for ExternalConsentStatusItem
|
| |
| |
| | |
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
|
| | |
|
| |
| |
| |
| | |
+ style fixes
|
| |
| |
| |
| | |
Fix copy paste error
|
| |
| |
| |
| | |
out_ap_permissions_changed is always a valid pointer and it is set to false prior to the SetUserPemissionsForApp function call.
|
| |
| |
| |
| | |
Removed const iterator since the permissions it is compared to is not a const object.
|
|/
|
|
| |
Current is an unsigned int so it can never be less than 0. I removed the condition that looks for current < 0
|
|\
| |
| |
| |
| | |
smartdevicelink/hotfix/consumer_friendly_message_fix
ConsumerFriendlyMessages Null Fix
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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).
|
| |
| |
| |
| | |
Fix failed UTs
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| |
| |
| |
| |
| |
| | |
Fixed SDL ignores externalConsentStatus when is sent together with consentedFunction in OnAppPermissionConsent notification.
Fixed policy handler unit tests
Fixed policy_manager_implementation unit tests
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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
|
| | |
|
|/
|
|
|
| |
- added perstistence for external user consent status
- fixed failed UTs
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| |
| | |
LitvinenkoIra/fix/update_needed_in_case_of_unconsented_device
Fix UPDATE_NEEDED is sent in case of unconsented device
|
| |
| |
| |
| | |
Add check that pt_exchanged_x_days_after_epoch is initialized
|
|\ \
| | |
| | | |
Fix SDL omits one of the URLs during retry sequence
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | | |
Variables type is changed
|
| | |
| | |
| | |
| | |
| | | |
Some comments are added for better understading
of the statements.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | | |
Missing check for empty URLs vector is added and
some code beautifying.
|
| | | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
| |
Fixed sending of OnHMIStatus after re-registration of revoked application, by moving check IsApplicationRevoked before the RPC permission check.
|
|\
| |
| |
| |
| | |
LuxoftAKutsan/fix/send_on_status_update_after_other_notifications_during_app_registration
Remove notification update_manager on AddApplication
|
| |
| |
| |
| |
| |
| | |
AddApplication will return function that will sen d appropriate notifications on call
Relates issue : APPLINK-31436
|
|\ \
| |/
|/| |
pt_preloaded_date should be ommited for PT_UPDATE
|
| |
| |
| |
| | |
Related issue : APPLINK-31413
|
| |
| |
| |
| | |
Related issue : APPLINK-31433
|
|\ \
| | |
| | | |
Use miliseconds as parameter of OnUpdateSentOut function
|
| | |
| | |
| | |
| | | |
Change returned value which is read from database in TimeoutResponse function to miliseconds, fix usages in code and unit tests.
|
| |/
|/|
| |
| |
| |
| | |
update_requre should be store to cahche manager in the same time as UPDATE_NEEDED sent to HMI
Related issue : APPLINK-30381
|
|/
|
|
| |
Related issue : [APPLINK-31164](https://adc.luxoft.com/jira/browse/APPLINK-31164)
|
|
|
|
|
|
| |
Make pulblic methods that can be called in parallel thread safe
Related issue : APPLINK-31156
|
|
|
|
| |
Fixed defect : APPLINK-30866
|