summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Changed ParsePTString() to return the calculated content lengthhotfix/fix_request_header_typo_and_content_length_calculationJackLivio2016-07-012-7/+8
|
* Fix "Content-Length" Spelling and CalculationJackLivio2016-06-232-10/+21
| | | | | | | | 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.
* Merge pull request #583 from ↵AGaliuzov2016-06-222-2/+19
|\ | | | | | | | | smartdevicelink/hotfix/add_escape_characters_during_ptu_header_construction Parse PT String for HTTP Request Body
| * ParsePTString to Modify string, instead of returning a copyhotfix/add_escape_characters_during_ptu_header_constructionJackLivio2016-06-202-7/+7
| |
| * Parse PT String for HTTP Request BodyJackLivio2016-06-082-2/+19
| | | | | | | | | | | | 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.
* | Update README.mdCorey Maylone2016-06-091-1/+1
|/
* Merge pull request #544 from dev-gh/hotfix/Partial_proprietary_policy_support4.0.12AGaliuzov2016-05-1820-5942/+5916
|\ | | | | Stabilization of partial proprietary policy support on master
| * Reverts device certificate support.Andrey Oleynik2016-05-175-27/+4
| | | | | | | | This functionality is already present in develop and won't be moved to master hotfix.
| * Fixes policy update triggering on exceedeed kilometers.Andrey Oleynik2016-05-141-0/+1
| |
| * Fixes policy update triggering on application registrationAndrey Oleynik2016-05-141-3/+5
| | | | | | | | | | Update must be triggered only in case of new application registered. Before these changes update has been triggered every time on app registration.
| * Removes non-open-source fields support from policyAndrey Oleynik2016-05-134-112/+21
| | | | | | | | | | | | | | | | | | 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
| * Fixes retry sequence implementationAnton Hrytsevich2016-05-138-167/+235
| | | | | | | | | | | | Adopts changes done originally regaring issue: [APPLINK-19543] Closes-bug: APPLINK-24295
| * Updates PolicyManager in order to properly support certificate fieldAleksandr Galiuzov2016-05-135-1596/+1611
| | | | | | | | | | | | | | Also adds some extra logic to support proper update of ModuleConfigs field. Originally changes resolved APPLINK-11891. Closes-bug: APPLINK-24306
| * Fixes setting of default HMI level during application registrationAndrey Oleynik2016-05-1312-4149/+4151
|/ | | | | | | | | 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
* Merge pull request #524 from ↵4.0.11AGaliuzov2016-05-101-0/+1
|\ | | | | | | | | smartdevicelink/hotfix/Add_isSDLAllowed_to_initializer_list_v2 Add is sdl allowed to initializer list, in proper order
| * Add is sdl allowed to initializer list, in proper orderhotfix/Add_isSDLAllowed_to_initializer_list_v2JackLivio2016-05-021-0/+1
| |
* | Merge pull request #520 from mokagio/mokagio/readme-updateAGaliuzov2016-05-101-1/+1
|\ \ | | | | | | Remove MongoDB reference from README
| * | Remove MongoDB reference from READMEGiovanni Lodi2016-04-291-1/+1
| |/ | | | | | | | | | | 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.
* | Merge pull request #514 from smartdevicelink/hotfix/generate_snapshot_fix_#461AGaliuzov2016-05-102-2/+17
|\ \ | | | | | | Rewrite GenerateSnapshot()
| * | Rewrite GenerateSnapshot()hotfix/generate_snapshot_fix_#461JackLivio2016-04-262-2/+17
| |/ | | | | | | | | | | | | | | 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.
* | Merge pull request #483 from smartdevicelink/hotfix/14AGaliuzov2016-05-101-1/+2
|\ \ | | | | | | Fixes #14 Wrap unused param (while logger is off) in ifdef
| * | Wrap unused param (while logger is off) in ifdefhotfix/14Justin Dickow2016-04-121-1/+2
| | | | | | | | | | | | Have to do this because compiler treating warnings as errors
* | | Merge pull request #471 from dev-gh/hotfix/Partial_proprietary_policy_supportAGaliuzov2016-05-1015-147/+345
|\ \ \ | |_|/ |/| | Adds partial support of proprietary policy flow
| * | Fixes build warning for 32-bit UbuntuAndrey Oleynik2016-04-281-1/+1
| | | | | | | | | | | | Implements: APPLINK-22313
| * | Changes logic of GetURLs and OnSystemRequest according to new APIAndrey Oleynik2016-04-282-9/+14
| | | | | | | | | | | | Implements: APPLINK-24247, APPLINK-24248
| * | Changes HMI API for SystemRequest, OnSystemRequestAndrey Oleynik2016-04-281-4/+4
| | | | | | | | | | | | | | | | | | | | | Parameter policyAppId should be replaced with appID and new parameter type must be changed to integer. Implements: APPLINK-24247. APPLINK-24248
| * | Wrapped extended policy logic with ifdef, code beautified.Andrey Oleynik2016-04-114-40/+54
| | | | | | | | | | | | | | | | | | | | | Implements: APPLINK-22313 Conflicts: src/components/application_manager/src/commands/hmi/on_received_policy_update.cc
| * | Adds HTTP header to message being sent with OnSystemRequestAndrey Oleynik2016-04-112-26/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Adds new logic of GetURLs processing for extended policy modeAndrey Oleynik2016-04-112-16/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Beatufies GetURL command code, no logic changedAndrey Oleynik2016-04-111-40/+41
| | | | | | | | | | | | | | | Conflicts: src/components/application_manager/src/commands/hmi/get_urls.cc
| * | Adds sending of BC.PolicyUpdate to systemAndrey Oleynik2016-04-114-21/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Adds extended policy flag to CMakeAndrey Oleynik2016-04-111-0/+5
| |/ | | | | | | Implements: APPLINK-22313
* | Merge pull request #490 from ↵AGaliuzov2016-04-192-2/+2
|\ \ | | | | | | | | | | | | okoreniak/hotfix/Core_dump_caused_double_free_on_app_exit SDL doesn't crash with Core dump caused by double free on app exit
| * | Updated utils cmake file to build static libraryOleksandr Koreniak2016-04-141-1/+1
| | |
| * | SDL doesn't crash with Core dump caused by double free on app exitOleksandr Koreniak2016-04-141-1/+1
|/ / | | | | | | Iterator increment operator was missed in map erase operation.
* | Merge pull request #484 from AGaliuzov/hotfix/remove-excessive-filesAGaliuzov2016-04-121-177/+0
|\ \ | |/ |/| Remove redundant files
| * Remove redundant filesagaliuzov2016-04-121-177/+0
|/
* Merge pull request #456 from ↵4.0.10AGaliuzov2016-04-0613-10/+541
|\ | | | | | | | | dev-gh/hotfix/DialNumber_functionality_implementation Adds implementation of DialNumber RPC
| * More style changesAndrey Oleynik2016-04-064-7/+7
| |
| * Code style changesAndrey Oleynik2016-04-052-2/+2
| |
| * Adds latest number validation changesAndrey Oleynik2016-04-042-2/+4
| | | | | | | | | | | | | | | | | | | | 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
| * Adds implementation of DialNumber RPCAndrey Oleynik2016-04-0413-8/+537
| | | | | | | | | | | | | | DialNumber allows to initiate call from user's device trough device attached to the system. Implements: APPLINK-11266
* | Merge pull request #449 from ↵AGaliuzov2016-04-041-8/+13
|\ \ | | | | | | | | | | | | 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…
| * | Fixed SDL to do not send two OnHMIStatus notification to launched applicationOleksandr Koreniak2016-03-301-8/+13
| | | | | | | | | | | | | | | Updated processing of RegisterAppInterfaceRequest::SendRegisterAppInterfaceResponseToMobile(). Added test for the application hmilevel before assigning the default hmilevel and performing resumptions.
* | | Merge pull request #433 from ↵AGaliuzov2016-04-041-73/+416
|\ \ \ | |_|/ |/| | | | | | | | okoreniak/hotfix/Fixed_Validator_In_SystemRequest_QUERY_APPS_processing Hotfix/fixed validator in system request query apps processing
| * | Code for synonyms validation moved to functionOleksandr Koreniak2016-04-041-103/+127
| | |
| * | Added validator in processing of SystemRequest(QUERY_APPS)Oleksandr Koreniak2016-04-011-77/+396
| | | | | | | | | | | | Added class QueryAppsDataValidatorTemplate<SmartObject> to validate request data.
* | | Added travis-ci build status4.0.94.0.8Justin Dickow2016-03-301-1/+3
| | |
* | | Merge pull request #448 from smartdevicelink/hotfix/445AGaliuzov2016-03-301-0/+15
|\ \ \ | | | | | | | | Add .travis.yml to trigger travis-ci build
| * | | Add .travis.yml to trigger travis-ci buildhotfix/445Justin Dickow2016-03-291-0/+15
| | | |