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

Authorization PR #39

Open
wants to merge 75 commits into
base: authorization-implem
Choose a base branch
from
Open

Commits on May 21, 2017

  1. start branch authorization

    tobkle committed May 21, 2017
    Configuration menu
    Copy the full SHA
    11890e3 View commit details
    Browse the repository at this point in the history
  2. auth code in test/output-app

    tobkle committed May 21, 2017
    Configuration menu
    Copy the full SHA
    f422727 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2ba2f6c View commit details
    Browse the repository at this point in the history

Commits on May 28, 2017

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

Commits on Jun 3, 2017

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

Commits on Jun 4, 2017

  1. Configuration menu
    Copy the full SHA
    4cb3aa9 View commit details
    Browse the repository at this point in the history
  2. v0.1

    tobkle committed Jun 4, 2017
    Configuration menu
    Copy the full SHA
    95bc453 View commit details
    Browse the repository at this point in the history
  3. cleanup resolvers

    tobkle committed Jun 4, 2017
    Configuration menu
    Copy the full SHA
    392715d View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2017

  1. easy auth

    tobkle committed Jun 12, 2017
    Configuration menu
    Copy the full SHA
    087106b View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2017

  1. before simplification

    tobkle committed Jun 14, 2017
    Configuration menu
    Copy the full SHA
    cd760ae View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2017

  1. with authorization folder

    tobkle committed Jun 15, 2017
    Configuration menu
    Copy the full SHA
    8979a86 View commit details
    Browse the repository at this point in the history
  2. with authorization folder

    tobkle committed Jun 15, 2017
    Configuration menu
    Copy the full SHA
    95edb6f View commit details
    Browse the repository at this point in the history
  3. removed authorization folder

    tobkle committed Jun 15, 2017
    Configuration menu
    Copy the full SHA
    125617c View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2017

  1. easier authorization

    tobkle committed Jul 9, 2017
    Configuration menu
    Copy the full SHA
    bd45a2c View commit details
    Browse the repository at this point in the history
  2. logfile with end-to-end-test

    tobkle committed Jul 9, 2017
    Configuration menu
    Copy the full SHA
    884a8c5 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2017

  1. Pass the logger rather than all the bits it needs

    Tom Coleman authored Jul 13, 2017
    Configuration menu
    Copy the full SHA
    e98a412 View commit details
    Browse the repository at this point in the history
  2. Simplify authorized loader.

    Thoughts here:
    
    1. We only need one authorized loader (for the `readOne` case).
    2. We can determine the `authQuery` at initialization time, assuming that a single user will be used for all queries (this is the case).
    3. We can have the user at initialization time, although this will require refactoring the way the context is initialized here: https://github.com/tobkle/create-graphql-server/blob/master/skel/server/index.js
    
      i. We need to add the models to the context *after* the authentication, i.e. here: https://github.com/tobkle/create-graphql-server/blob/master/skel/server/index.js#L44
    
     ii. This will mean that we need a different reference to the mongo collection in the `passport.authenticate` call. But we can make that work I think, it doesn't really need the proper user collection.
    Tom Coleman authored Jul 13, 2017
    Configuration menu
    Copy the full SHA
    f621804 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2017

  1. Merge pull request #1 from tmeasday/patch-2

    Simplify authorized loader.
    tobkle authored Jul 16, 2017
    Configuration menu
    Copy the full SHA
    151b0b4 View commit details
    Browse the repository at this point in the history
  2. handle conflicts

    tobkle committed Jul 16, 2017
    Configuration menu
    Copy the full SHA
    0e4affa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    656c8bf View commit details
    Browse the repository at this point in the history
  4. applied changes

    tobkle committed Jul 16, 2017
    Configuration menu
    Copy the full SHA
    e0e6ea9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    957e743 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9dcdc22 View commit details
    Browse the repository at this point in the history
  7. merged

    tobkle committed Jul 16, 2017
    Configuration menu
    Copy the full SHA
    2e761b1 View commit details
    Browse the repository at this point in the history
  8. merge correction

    tobkle committed Jul 16, 2017
    Configuration menu
    Copy the full SHA
    69954ce View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2017

  1. authorization-simple

    tobkle committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    755b224 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2017

  1. authorization

    tobkle committed Aug 3, 2017
    Configuration menu
    Copy the full SHA
    49cee93 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d5a4c32 View commit details
    Browse the repository at this point in the history
  3. Revert "add-user and authorization prototype"

    This reverts commit d5a4c32.
    tobkle committed Aug 3, 2017
    Configuration menu
    Copy the full SHA
    5427807 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    487277a View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2017

  1. PR adjustments + npm package

    tobkle committed Aug 13, 2017
    Configuration menu
    Copy the full SHA
    dc4d1b3 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2017

  1. harden

    tobkle committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    a1f0e40 View commit details
    Browse the repository at this point in the history
  2. prepared for generator

    tobkle committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    2e00cc6 View commit details
    Browse the repository at this point in the history
  3. start branch authorization

    tobkle committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    fe51626 View commit details
    Browse the repository at this point in the history
  4. auth code in test/output-app

    tobkle committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    d3cc04c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2119d01 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    95c1f70 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    53a092e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    835c7db View commit details
    Browse the repository at this point in the history
  9. v0.1

    tobkle committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    770ad84 View commit details
    Browse the repository at this point in the history
  10. cleanup resolvers

    tobkle committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    614e17f View commit details
    Browse the repository at this point in the history
  11. easy auth

    tobkle committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    807224a View commit details
    Browse the repository at this point in the history
  12. before simplification

    tobkle committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    913aa91 View commit details
    Browse the repository at this point in the history
  13. with authorization folder

    tobkle committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    e458afc View commit details
    Browse the repository at this point in the history
  14. with authorization folder

    tobkle committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    e41e061 View commit details
    Browse the repository at this point in the history
  15. removed authorization folder

    tobkle committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    757fb43 View commit details
    Browse the repository at this point in the history
  16. easier authorization

    tobkle committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    aadbe9c View commit details
    Browse the repository at this point in the history
  17. logfile with end-to-end-test

    tobkle committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    f311afd View commit details
    Browse the repository at this point in the history
  18. Pass the logger rather than all the bits it needs

    Tom Coleman authored and tobkle committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    cf68cc4 View commit details
    Browse the repository at this point in the history
  19. Simplify authorized loader.

    Thoughts here:
    
    1. We only need one authorized loader (for the `readOne` case).
    2. We can determine the `authQuery` at initialization time, assuming that a single user will be used for all queries (this is the case).
    3. We can have the user at initialization time, although this will require refactoring the way the context is initialized here: https://github.com/tobkle/create-graphql-server/blob/master/skel/server/index.js
    
      i. We need to add the models to the context *after* the authentication, i.e. here: https://github.com/tobkle/create-graphql-server/blob/master/skel/server/index.js#L44
    
     ii. This will mean that we need a different reference to the mongo collection in the `passport.authenticate` call. But we can make that work I think, it doesn't really need the proper user collection.
    Tom Coleman authored and tobkle committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    3188144 View commit details
    Browse the repository at this point in the history
  20. handle conflicts

    tobkle committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    66cb5ce View commit details
    Browse the repository at this point in the history
  21. applied changes

    tobkle committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    06cfb9b View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    0a59e67 View commit details
    Browse the repository at this point in the history
  23. merge correction

    tobkle committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    720fbd3 View commit details
    Browse the repository at this point in the history
  24. authorization-simple

    tobkle committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    4f3856b View commit details
    Browse the repository at this point in the history
  25. authorization

    tobkle committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    a39a9ff View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    4179971 View commit details
    Browse the repository at this point in the history
  27. Revert "add-user and authorization prototype"

    This reverts commit d5a4c32.
    tobkle committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    c92f598 View commit details
    Browse the repository at this point in the history
  28. PR adjustments + npm package

    tobkle committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    ab3cb9a View commit details
    Browse the repository at this point in the history
  29. harden

    tobkle committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    df1defc View commit details
    Browse the repository at this point in the history
  30. prepared for generator

    tobkle committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    2e74271 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    b894088 View commit details
    Browse the repository at this point in the history
  32. merged

    tobkle committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    84ad0cd View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2017

  1. with generator

    tobkle committed Aug 20, 2017
    Configuration menu
    Copy the full SHA
    d12860b View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2017

  1. remove yarn.lock error

    tobkle committed Aug 25, 2017
    Configuration menu
    Copy the full SHA
    e14762b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5ab4acd View commit details
    Browse the repository at this point in the history
  3. README.md file had changed

    tobkle committed Aug 25, 2017
    Configuration menu
    Copy the full SHA
    21d10b1 View commit details
    Browse the repository at this point in the history
  4. without .DS_STORE

    tobkle committed Aug 25, 2017
    Configuration menu
    Copy the full SHA
    bf3dcae View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2017

  1. Configuration menu
    Copy the full SHA
    072171b View commit details
    Browse the repository at this point in the history
  2. modularize authorize

    tobkle committed Aug 26, 2017
    Configuration menu
    Copy the full SHA
    40fd007 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2017

  1. with user password hash

    tobkle committed Aug 27, 2017
    Configuration menu
    Copy the full SHA
    a69684f View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2017

  1. generator implanted

    tobkle committed Aug 31, 2017
    Configuration menu
    Copy the full SHA
    4323c5d View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2017

  1. with handlebars templating

    tobkle committed Sep 2, 2017
    Configuration menu
    Copy the full SHA
    9e2d358 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    073de89 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2017

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