| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
Content-Length was using an underscore instead of a Hyphen. Android was throwing an exception because there was no "Content-Length" key supplied in the request header.
Fixed the way the Content-Length is calculated. Android removes the extra backslashes before sending the request to sdl server so I have Content-Length calculated first before "ParsePTString()" is called. Then contentLength is sent to ParsePtString to be adjusted if characters are removed from the parsed policy table string (ie '\n' the newline character).
Tested on android and ios.
|
|\
| |
| |
| |
| | |
smartdevicelink/hotfix/add_escape_characters_during_ptu_header_construction
Parse PT String for HTTP Request Body
|
| | |
|
| |
| |
| |
| |
| |
| | |
The "body" portion of the httprequest needs to be a valid string. Before this fix, the policy table content of the request did not have properly escaped double quotes and was causing the JSON received by the mobile side to be considered invalid.
The new method "ParsePtString()" adds an escaped backslash during every occurance of a double quote or other escaped backslash. This method also removes any newlines located in the policy table string.
|
|/ |
|
|\
| |
| | |
Stabilization of partial proprietary policy support on master
|
| |
| |
| |
| | |
This functionality is already present in develop and won't be moved to master hotfix.
|
| | |
|
| |
| |
| |
| |
| | |
Update must be triggered only in case of new application registered. Before
these changes update has been triggered every time on app registration.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There were several fields in policy unsupported by open source
implementation, which caused policy update/snapshot validation issues.
Originally changes fixes APPLINK-17753
Closes-bug: APPLINK-21553
|
| |
| |
| |
| |
| |
| | |
Adopts changes done originally regaring issue: [APPLINK-19543]
Closes-bug: APPLINK-24295
|
| |
| |
| |
| |
| |
| |
| | |
Also adds some extra logic to support proper update of ModuleConfigs field.
Originally changes resolved APPLINK-11891.
Closes-bug: APPLINK-24306
|
|/
|
|
|
|
|
|
|
| |
During registration default HMI level must be set before sending of any RPCs to
mobile side since every RPC must be validated by policy.
These changes have been taken from develop branch and were originally related to
APPLINK-20111.
Closes-bug: APPLINK-24294
|
|\
| |
| |
| |
| | |
smartdevicelink/hotfix/Add_isSDLAllowed_to_initializer_list_v2
Add is sdl allowed to initializer list, in proper order
|
| | |
|
|\ \
| | |
| | | |
Remove MongoDB reference from README
|
| |/
| |
| |
| |
| |
| | |
Correct me if I'm wrong, but the
[`sdl_server`](https://github.com/smartdevicelink/sdl_server) has
recently been updated and simplified to not use Mongo anymore.
|
|\ \
| | |
| | | |
Rewrite GenerateSnapshot()
|
| |/
| |
| |
| |
| |
| |
| |
| | |
This pr is to fix issue #461. SDL core was crashing due to the snapshot returned from CacheManager::GenerateSnapshot() was being ruled as invalid.
When generating a snapshot, instead of copying the entire contents of the policy table, I copy all contents except for the messages in consumer friendly messages. Policy table snapshot are not supposed to include the actual messages in consumer friendly messages, just the version number of the messages.
I also added an extra condition in ConsumerFriendlyMessages::Validate() that looks to see if messages is initialized. A pt snapshot can have a consumer friendly messages portion, just not the messages included in consumer fiendly messages.
|
|\ \
| | |
| | | |
Fixes #14 Wrap unused param (while logger is off) in ifdef
|
| | |
| | |
| | |
| | | |
Have to do this because compiler treating warnings as errors
|
|\ \ \
| |_|/
|/| | |
Adds partial support of proprietary policy flow
|
| | |
| | |
| | |
| | | |
Implements: APPLINK-22313
|
| | |
| | |
| | |
| | | |
Implements: APPLINK-24247, APPLINK-24248
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Parameter policyAppId should be replaced with appID and new parameter
type must be changed to integer.
Implements: APPLINK-24247. APPLINK-24248
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Implements: APPLINK-22313
Conflicts:
src/components/application_manager/src/commands/hmi/on_received_policy_update.cc
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
SDL must to add HTTP header which provides policy snapshot data within
that header along with timeouts and message size.
Implements: APPLINK-22313
Conflicts:
src/components/application_manager/src/commands/mobile/on_system_request_notification.cc
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
SDL must pick an application and send appropriate URL in GetURLs
response.
Implements: APPLINK-22313
Conflicts:
src/components/application_manager/src/commands/hmi/get_urls.cc
|
| | |
| | |
| | |
| | |
| | | |
Conflicts:
src/components/application_manager/src/commands/hmi/get_urls.cc
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In case of EXTENDED_POLICY enabled SDL must send BC.PolicyUpdate to
system instead of direct OnSystemRequest sending.
Implements: APPLINK-22313
Conflicts:
src/components/application_manager/src/policies/policy_handler.cc
|
| |/
| |
| |
| | |
Implements: APPLINK-22313
|
|\ \
| | |
| | |
| | |
| | | |
okoreniak/hotfix/Core_dump_caused_double_free_on_app_exit
SDL doesn't crash with Core dump caused by double free on app exit
|
| | | |
|
|/ /
| |
| |
| | |
Iterator increment operator was missed in map erase operation.
|
|\ \
| |/
|/| |
Remove redundant files
|
|/ |
|
|\
| |
| |
| |
| | |
dev-gh/hotfix/DialNumber_functionality_implementation
Adds implementation of DialNumber RPC
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
According to latest information number should be verified as:
"Phone number is a string, which can be up to 40 chars.
All characters shall be stripped from string except digits 0-9 and * # ,
; +"
Implements: APPLINK-11266
|
| |
| |
| |
| |
| |
| |
| | |
DialNumber allows to initiate call from user's device trough device
attached to the system.
Implements: APPLINK-11266
|
|\ \
| | |
| | |
| | |
| | | |
okoreniak/hotfix/Fixed_SDL_do_not_send_two_OnHMIStatus_notifications_to_LAUNCHED_App
Fixed SDL to do not send two OnHMIStatus notification to launched app…
|
| | |
| | |
| | |
| | |
| | | |
Updated processing of RegisterAppInterfaceRequest::SendRegisterAppInterfaceResponseToMobile().
Added test for the application hmilevel before assigning the default hmilevel and performing resumptions.
|
|\ \ \
| |_|/
|/| |
| | |
| | | |
okoreniak/hotfix/Fixed_Validator_In_SystemRequest_QUERY_APPS_processing
Hotfix/fixed validator in system request query apps processing
|
| | | |
|
| | |
| | |
| | |
| | | |
Added class QueryAppsDataValidatorTemplate<SmartObject> to validate request data.
|
| | | |
|
|\ \ \
| | | |
| | | | |
Add .travis.yml to trigger travis-ci build
|
| | | | |
|