Skip to content
Snippets Groups Projects
  1. Apr 06, 2018
  2. Apr 02, 2018
  3. Mar 30, 2018
  4. Oct 12, 2017
  5. Oct 06, 2017
  6. Sep 11, 2017
  7. Jul 31, 2017
  8. Jun 20, 2017
  9. Jun 13, 2017
  10. May 30, 2017
  11. May 16, 2017
  12. May 02, 2017
  13. May 01, 2017
  14. Apr 19, 2017
  15. Apr 13, 2017
  16. Mar 29, 2017
  17. Mar 28, 2017
  18. Mar 27, 2017
  19. Mar 08, 2017
    • Alexander Rhodes's avatar
      Fixes the RestClient constructors fixes · 792da6f0
      Alexander Rhodes authored
      All references to salesforce_encrypt.client service removed
      salesforce_encrypt.client service definition removed
      Unused use statements removed from EncryptedRestClientInterface andRestCientInterface
      Constructors removed from EncryptedRestClientInterface and RestClientInterface
      Salesforce_encrypt\RestClient constructor cleaned up
      Adds Json mock to salesforce_encrypt\RestClientTest
      Fixes service name error in PullBase
      Fixes property visibility settings in RestClient so child salesforce_encrypt\RestClient may
      inherit them.
      792da6f0
    • Alexander Rhodes's avatar
      Unravels the inheritance problems in encrypted version of RestClient · 4706b02d
      Alexander Rhodes authored
      Normalizes RestClientInterface injection in DeleteHandler and QueueHandler
      All unit tests passing
      4706b02d
  20. Mar 07, 2017
  21. Mar 01, 2017
    • Alexander Rhodes's avatar
      Adds force_update flag to MappedObject with methods to set the flag and return the flag · 80928222
      Alexander Rhodes authored
      Add check on results return in QueueHandler to avoid error of calling $results->records on non-
      existant object.
      Updates RestClient::apiCall to throw RestExceptions in all error cases
      Updates PullBase to detect RestExceptions from RestClient.
      
      Includes test code in PullBase to force exceptions to test new logic. SuspendQueueException may
      not be the proper Queue Exception to throw - it seems to delete/‘release’ the problematic item when
      it should be kept so it can be processed fully.
      80928222
  22. Feb 28, 2017
  23. Feb 23, 2017
  24. Feb 17, 2017
  25. Feb 09, 2017
  26. Feb 08, 2017
  27. Feb 07, 2017
  28. Feb 03, 2017
    • git's avatar
      End of week commit · d13572d8
      git authored
      Adds DeleteHandlerTest (not quite working yet)
      Removes injected Url object in RestClient. There is no @url service in core.services.yml and we’re
      not supposed to use UrlGenerator. Since Url is only used once in RestClient::getAuthCallbackUrl(),
      Url is used directly and that method can be easily mocked under test.
      Cleans up salesforce_pull_cron()
      Cleans up DeleteHandler’s use statements
      Adds Request object to DeleteHandler’s constructor to handle REQUEST_TIME server global
      Adds boolean returns to DeleteHandler methods for unit testing purposes
      Fixes camel casing in MappedObjectStorage::loadBySfid() call in DeleteHandler
      Converts try/catch pairs in DeleteHandler to non-exception based conditional logic to make logic
      testable
      Cleans up PullBase’s use statements
      Adds event dispatcher service to PullBase’s constructor
      Removes some property reference discrepancies in PullBase
      Removes unnecessary code from PullBaseTest
      Removes unnecessary code from QueueHandlerTest
      Adds back in missing properties in a loadByProperties call in salesforce_push.module
      Adds logger.factory service to PushQueue’s service definition in salesforce_push.services.yml
      Changes logger service injection in PushQueue’s constructor to logger.factory service (there is
      no logger service defined in core.services.yml)
      Fixes all logger service references in PushQueue
      Cleans up SalesforcePushQueueProcessor/Rest’s use statements
      Removes EntityManager service injection in SalesforcePushQueueProcessor/Rest’s
      constructor in favor of already existing EntityTypeManager service
      
      Still to do:
      DeletehandlerTest needs to pass - A deep property call is not working, causing the test to
      error out.
      Fix DeleteHandler’s call to property so it’s easier to mock under test
      Address Warning: array_flip(): Can only flip STRING and INTEGER values! error in or around
      SalesForcePullEvent
      Fix PullBase’s multiple creation of same new Drupal entity (was fixed, now showing up again).
      d13572d8
  29. Feb 01, 2017
  30. Jan 31, 2017
  31. Jan 30, 2017
  32. Jan 10, 2017
  33. Jan 09, 2017
  34. Dec 30, 2016
Loading