Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MLIBZ-2316: Server Side Delta Set #270

Merged
merged 65 commits into from
May 18, 2018

Commits on Mar 14, 2018

  1. MLIBZ-2316: Delete deltaFetch.js

    Thomas Conner committed Mar 14, 2018
    Configuration menu
    Copy the full SHA
    0de2af8 View commit details
    Browse the repository at this point in the history
  2. MLIBZ-2316: Add deltaset.js

    Thomas Conner committed Mar 14, 2018
    Configuration menu
    Copy the full SHA
    4c94c27 View commit details
    Browse the repository at this point in the history
  3. MLIBZ-2316: Remove export of deltaFetch

    Thomas Conner committed Mar 14, 2018
    Configuration menu
    Copy the full SHA
    50c07d5 View commit details
    Browse the repository at this point in the history
  4. MLIBZ-2316: Use new deltaSet function in NetworkRepository

    Thomas Conner committed Mar 14, 2018
    Configuration menu
    Copy the full SHA
    4268547 View commit details
    Browse the repository at this point in the history
  5. Remove TODO comment

    Thomas Conner committed Mar 14, 2018
    Configuration menu
    Copy the full SHA
    5c52d42 View commit details
    Browse the repository at this point in the history
  6. MLIBZ-2316: Add clearDeltaSet function

    Thomas Conner committed Mar 14, 2018
    Configuration menu
    Copy the full SHA
    c8cbdee View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a968f77 View commit details
    Browse the repository at this point in the history
  8. MLIBZ-2316: Rename useDeltaFetch to useDeltaSet

    Thomas Conner committed Mar 14, 2018
    Configuration menu
    Copy the full SHA
    4df7ded View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2018

  1. MLIBZ-2316: Add delta set constants

    Thomas Conner committed Mar 16, 2018
    Configuration menu
    Copy the full SHA
    82084f6 View commit details
    Browse the repository at this point in the history
  2. MLIBZ-2316: Split delta set logic into smaller functions

    Thomas Conner committed Mar 16, 2018
    Configuration menu
    Copy the full SHA
    9c0c06b View commit details
    Browse the repository at this point in the history
  3. MLIBZ-2316: Add tests for delta set

    Thomas Conner committed Mar 16, 2018
    Configuration menu
    Copy the full SHA
    c0ab3cd View commit details
    Browse the repository at this point in the history
  4. Update package versions to 3.10.1-beta.1

    Thomas Conner committed Mar 16, 2018
    Configuration menu
    Copy the full SHA
    8d69573 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2018

  1. Make requested changes from code review for delta set

    Thomas Conner committed Mar 22, 2018
    Configuration menu
    Copy the full SHA
    e8ef15f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    873c2c1 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2018

  1. Fix typo and change name from xKinveyRequestStartHeader to kinveyRequ…

    …estStartHeader
    Thomas Conner committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    05a5957 View commit details
    Browse the repository at this point in the history
  2. Don't duplicate function calls in SyncManager.pull()

    Thomas Conner committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    e580555 View commit details
    Browse the repository at this point in the history
  3. Fix check for if statment for SyncManager.pull()

    Thomas Conner committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    1899e2d View commit details
    Browse the repository at this point in the history
  4. Only replace entities if useDeltaSet is not true

    Thomas Conner committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    27dc2a7 View commit details
    Browse the repository at this point in the history
  5. Default options to an empty object in SyncManager.pull()

    Thomas Conner committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    d3a3a01 View commit details
    Browse the repository at this point in the history
  6. Fix failing unit tests related to changes

    Thomas Conner committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    1f6f40f View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2018

  1. Merge branch 'master' into MLIBZ-2316_server_side_delta_set

    * master:
      Minor fixes for variable names, remove outdated comments, improve error messages.
      MLIBZ-2133 Use es6-promise promises in live-service-related files, instead of native ones.
      minor test and error handling improvements
      Use long form clientID in MIC endpoints
    
    # Conflicts:
    #	src/core/datastore/sync/sync-manager.js
    Thomas Conner committed Mar 26, 2018
    Configuration menu
    Copy the full SHA
    1ff68a1 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2018

  1. Add checks for skip amd limit modifiers to delta set

    Thomas Conner committed Mar 27, 2018
    Configuration menu
    Copy the full SHA
    89467e4 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2018

  1. MLIBZ-2316: Handle skip and limit for Delta Set

    We will log that the skip and limit modifiers will be ignored for a delta set request. These modifiers will be appliead to the cache after the delta set request has completed. A find() and pull() on a data store will now honor skip and limit modifiers preventing the user from keeping track of when they can and cannot use a specific query.
    Thomas Conner committed Mar 28, 2018
    Configuration menu
    Copy the full SHA
    c13d78a View commit details
    Browse the repository at this point in the history
  2. Update logged message for delta set

    Thomas Conner committed Mar 28, 2018
    Configuration menu
    Copy the full SHA
    fce6bf7 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2018

  1. Configuration menu
    Copy the full SHA
    8184843 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2018

  1. Merge branch 'master' into MLIBZ-2316_server_side_delta_set

    * master: (79 commits)
      Fix incorrect date in CHANGELOG
      Fix incorrect link for version in CHANGELOG
      Fix typo in CHANGELOG
      v3.10.2
      Update CHANGELOG
      Fix failing integration tests. Refactor error message code slightly.
      Update documentation comments for init a client
      Fixing failing unit tests
      MLIBZ-2131 Reformat error message for entities pending push.
      Add default entitlements plist file to nativescript sdk
      MLIBZ-2393: Override exported Files module with NativeScript version
      Removed a new line
      Added authServiceId in tests-config.js
      Revert "Temporary commit - executing the integration tests on push"
      Temporary commit - executing the integration tests on push
      Change the auth service id
      Added back all jobs in the travis.yml
      Pointed the HTML5 tests to the correct app
      MLIBZ-2332: Add support for instance id
      Added a resolveAfter function
      ...
    
    # Conflicts:
    #	packages/kinvey-angular-sdk/package.json
    #	packages/kinvey-angular2-sdk/package.json
    #	packages/kinvey-html5-sdk/package.json
    #	packages/kinvey-js-sdk/package.json
    #	packages/kinvey-nativescript-sdk/package.json
    #	packages/kinvey-node-sdk/package.json
    #	packages/kinvey-phonegap-sdk/package.json
    thomasconner committed Apr 3, 2018
    Configuration menu
    Copy the full SHA
    d57ff1e View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2018

  1. Configuration menu
    Copy the full SHA
    1af0d2d View commit details
    Browse the repository at this point in the history
  2. MLIBZ-2437: Send a regular GET request if a ParamaterValueOutOfRangeE…

    …rror is received from a delta set request
    thomasconner committed Apr 5, 2018
    Configuration menu
    Copy the full SHA
    9379afd View commit details
    Browse the repository at this point in the history
  3. Add missing curly brace

    thomasconner committed Apr 5, 2018
    Configuration menu
    Copy the full SHA
    68865da View commit details
    Browse the repository at this point in the history
  4. Fixing failing tests

    thomasconner committed Apr 5, 2018
    Configuration menu
    Copy the full SHA
    78476e2 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2018

  1. Configuration menu
    Copy the full SHA
    ed0bcf8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a12d70a View commit details
    Browse the repository at this point in the history
  3. Add querycache.js

    thomasconner committed Apr 20, 2018
    Configuration menu
    Copy the full SHA
    14e88be View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dff6376 View commit details
    Browse the repository at this point in the history
  5. Remove constants

    thomasconner committed Apr 20, 2018
    Configuration menu
    Copy the full SHA
    5024ce1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8a3f71e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6c4ed9b View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2018

  1. Fix failing unit tests

    thomasconner committed Apr 23, 2018
    Configuration menu
    Copy the full SHA
    d43c036 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2018

  1. Bug fixes for Delta Set

    thomasconner committed Apr 25, 2018
    Configuration menu
    Copy the full SHA
    dfe3a40 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f93a726 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cfce9ac View commit details
    Browse the repository at this point in the history

Commits on May 1, 2018

  1. Configuration menu
    Copy the full SHA
    7d35f64 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2018

  1. Configuration menu
    Copy the full SHA
    fdbe8ec View commit details
    Browse the repository at this point in the history
  2. Fix skipped unit tests

    thomasconner committed May 3, 2018
    Configuration menu
    Copy the full SHA
    cc466e9 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2018

  1. Configuration menu
    Copy the full SHA
    f5c58c8 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2018

  1. Configuration menu
    Copy the full SHA
    aa0e1ca View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ee18586 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'MLIBZ-2478' into MLIBZ-2316_server_side_delta_set

    * MLIBZ-2478:
      MLIBZ-2478: Return count of items changed when making a _deltaset request with pull()
    thomasconner committed May 8, 2018
    Configuration menu
    Copy the full SHA
    0ab65a7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    022dd26 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'MLIBZ-2477' into MLIBZ-2316_server_side_delta_set

    * MLIBZ-2477:
      MLIBZ-2477: Handle NotFoundError when deleting a cachedQuery
    thomasconner committed May 8, 2018
    Configuration menu
    Copy the full SHA
    86262f2 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2018

  1. Configuration menu
    Copy the full SHA
    16b5738 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'MLIBZ-2486' into MLIBZ-2316_server_side_delta_set

    * MLIBZ-2486:
      MLIBZ-2486: Ignore limit and skip for auto pagination and update tests
    thomasconner committed May 9, 2018
    Configuration menu
    Copy the full SHA
    270fe24 View commit details
    Browse the repository at this point in the history
  3. MLIBZ-2493: Perform delta set delete and then delta set changed seria…

    …lly instead of in parallel.
    thomasconner committed May 9, 2018
    Configuration menu
    Copy the full SHA
    25bd9ae View commit details
    Browse the repository at this point in the history
  4. Merge branch 'MLIBZ-2493' into MLIBZ-2316_server_side_delta_set

    * MLIBZ-2493:
      MLIBZ-2493: Perform delta set delete and then delta set changed serially instead of in parallel.
    thomasconner committed May 9, 2018
    Configuration menu
    Copy the full SHA
    c43d78c View commit details
    Browse the repository at this point in the history

Commits on May 10, 2018

  1. MLIBZ-2449: Do not filter out _QueryCache table or __testSupport__ ta…

    …ble when get all tables for WebSQL
    thomasconner committed May 10, 2018
    Configuration menu
    Copy the full SHA
    2e36219 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'MLIBZ-2449' into MLIBZ-2316_server_side_delta_set

    * MLIBZ-2449:
      MLIBZ-2449: Do not filter out _QueryCache table or __testSupport__ table when get all tables for WebSQL
    thomasconner committed May 10, 2018
    Configuration menu
    Copy the full SHA
    315e335 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2018

  1. Configuration menu
    Copy the full SHA
    e89ebc0 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'MLIBZ-2495' into MLIBZ-2316_server_side_delta_set

    * MLIBZ-2495:
      MLIBZ-2495: Ignore deleting entities when limit and skip are used to pull entities
    thomasconner committed May 11, 2018
    Configuration menu
    Copy the full SHA
    87c86fc View commit details
    Browse the repository at this point in the history

Commits on May 14, 2018

  1. Configuration menu
    Copy the full SHA
    bb358b8 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2018

  1. Configuration menu
    Copy the full SHA
    1d6775a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2fbc5f5 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'MLIBZ-2512' into MLIBZ-2316_server_side_delta_set

    * MLIBZ-2512:
      MLIBZ-2512: Ignore skip value of query for auto pagination
    thomasconner committed May 18, 2018
    Configuration menu
    Copy the full SHA
    26e52e3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8766cb6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    40318c7 View commit details
    Browse the repository at this point in the history
  6. Added deltaset tests (#294)

    * Added deltaset tests
    
    * added new tests for limit and skip and some unit tests
    
    * skipped tests that use websql to not run on other than html5 and removed a .only
    
    * removed another .only
    
    * did some refactoring and fixed tests failing for Nativescript and Phonegap
    
    * Fix status code set with nock for failing unit test
    
    * Added deltaset tests
    
    * added new tests for limit and skip and some unit tests
    
    * skipped tests that use websql to not run on other than html5 and removed a .only
    
    * removed another .only
    
    * did some refactoring and fixed tests failing for Nativescript and Phonegap
    
    * Fix status code set with nock for failing unit test
    
    * added a test for autopagination with skip and limit
    
    * fixing an expectation string and wrong expectation for deltaset test
    
    * Added deltaset tests
    
    * added new tests for limit and skip and some unit tests
    
    * skipped tests that use websql to not run on other than html5 and removed a .only
    
    * removed another .only
    
    * did some refactoring and fixed tests failing for Nativescript and Phonegap
    
    * Fix status code set with nock for failing unit test
    
    * removed .only again
    Martin-Hristov authored and thomasconner committed May 18, 2018
    Configuration menu
    Copy the full SHA
    5152da3 View commit details
    Browse the repository at this point in the history