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

Move Olm account to IndexedDB #579

Merged
merged 16 commits into from
Nov 27, 2017
Merged

Move Olm account to IndexedDB #579

merged 16 commits into from
Nov 27, 2017

Commits on Nov 21, 2017

  1. Move OLM account to IndexedDBd

    Wraps all access to the account in a transaction so any updates
    done to the account must be done in the same transaction, making the
    update atomic between tabs.
    
    Doesn't do any migration from localstorage yet.
    dbkr committed Nov 21, 2017
    Configuration menu
    Copy the full SHA
    fb99150 View commit details
    Browse the repository at this point in the history
  2. Add comment

    dbkr committed Nov 21, 2017
    Configuration menu
    Copy the full SHA
    313cfac View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2017

  1. Use a callback function at the store layer

    Rather than a promise which relies on the caller's promise handler
    code being run in the same tick which is not guaranteed.
    dbkr committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    7ecf313 View commit details
    Browse the repository at this point in the history
  2. Lint

    dbkr committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    a5c5da5 View commit details
    Browse the repository at this point in the history
  3. It's a heap, not a stack

    dbkr committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    bae3f5c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    59f228d View commit details
    Browse the repository at this point in the history
  5. Add comment on deprecation

    dbkr committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    a90f592 View commit details
    Browse the repository at this point in the history
  6. Remove unnecessary 'if'

    dbkr committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    4b7157b View commit details
    Browse the repository at this point in the history
  7. Add LocalStorageCryptoStore

    To avoid throwing away all the data for anyone running firefox in
    one of the modes where indexedDB is broken.
    dbkr committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    9218e51 View commit details
    Browse the repository at this point in the history
  8. Lint

    dbkr committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    44b35cd View commit details
    Browse the repository at this point in the history
  9. s/accountData/pickledAccount/

    dbkr committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    6024163 View commit details
    Browse the repository at this point in the history
  10. Make the save function not return a promise

    This was entirely unnecessary and hopefully make things a bit
    simpler to understand and has fewer asyncs flying around.
    dbkr committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    57d425f View commit details
    Browse the repository at this point in the history
  11. Better comment wording

    dbkr committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    c4e70be View commit details
    Browse the repository at this point in the history
  12. Remove unused function

    dbkr committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    defaa91 View commit details
    Browse the repository at this point in the history
  13. jsdoc clarifications

    dbkr committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    6ebfd17 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2017

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