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

Add multi tenancy capabilities with ecto meta prefix #25

Commits on Jul 27, 2017

  1. Add new add_prefix function in paper_trail module

    This new function will allow the user to add information to the Ecto 
    meta :prefix in order to use a different tenant for the operation on
    the version struct.
    dreamingechoes committed Jul 27, 2017
    Configuration menu
    Copy the full SHA
    e9f28cb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c27bbc8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    61737dc View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2017

  1. Add defdelegate in PaperTrail module to PaperTrail.VersionQueries

    This allows to remove unnecessary functions from PaperTrail module
    dreamingechoes committed Jul 28, 2017
    Configuration menu
    Copy the full SHA
    d4d8e40 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    59f34c4 View commit details
    Browse the repository at this point in the history
  3. Add new definitions for all the functions in PaperTrail.VersionQueries

    Includes new definitions in order to be able to pass a list of options
    to the final query and be able to set data such as Ecto :prefix. This adds
    some basic documentation as well.
    dreamingechoes committed Jul 28, 2017
    Configuration menu
    Copy the full SHA
    e71b3d4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ad52cb4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    83a0d7a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4ef58a0 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2017

  1. Add new MultiTenantHelper module into example test support folder

    This module contains functions related with multi tenancy for test purposes
    dreamingechoes committed Aug 1, 2017
    Configuration menu
    Copy the full SHA
    696a6c3 View commit details
    Browse the repository at this point in the history
  2. Add new MultiTenantHelper module into lib test support folder

    This module contains functions related with multi tenancy for test purposes
    dreamingechoes committed Aug 1, 2017
    Configuration menu
    Copy the full SHA
    a50177a View commit details
    Browse the repository at this point in the history
  3. Add new QueryHelper module into example test support folder

    This module contains functions related with models queries for test purposes
    dreamingechoes committed Aug 1, 2017
    Configuration menu
    Copy the full SHA
    f2519db View commit details
    Browse the repository at this point in the history
  4. Add new ChangesetHelper module into example test support folder

    This module contains functions related with models changesets for test purposes
    dreamingechoes committed Aug 1, 2017
    Configuration menu
    Copy the full SHA
    c62150e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2c4aa4d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9bd355f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    77b669c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4975d2b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    96ecccd View commit details
    Browse the repository at this point in the history
  10. Add tests for multi tenant in bang_functions_simple_mode_test

    Includes some new functions as well with common behaviors
    dreamingechoes committed Aug 1, 2017
    Configuration menu
    Copy the full SHA
    d01fedf View commit details
    Browse the repository at this point in the history
  11. Add tests for multi tenant in bang_functions_strict_mode_test

    Includes some new functions as well with common behaviors
    dreamingechoes committed Aug 1, 2017
    Configuration menu
    Copy the full SHA
    95b3312 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    8a2dfb5 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    a1ffd44 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    8a42220 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    cf638d6 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    b914cfd View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    7414a66 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    5f51b7e View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    c50eef8 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2017

  1. Remove changeset_helper.exs and query_helper.exs from example/test/su…

    …pport
    
    Now the aux functions used on the example app tests are located in each
    test file in stead of in one separated module.
    dreamingechoes committed Aug 5, 2017
    Configuration menu
    Copy the full SHA
    0604631 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2017

  1. Add final refactor to example app test files

    Removes all the aux functions in order to make all the variables more
    explicit and easier to understand. Removes some typos in person_test 
    description.
    dreamingechoes committed Aug 6, 2017
    Configuration menu
    Copy the full SHA
    ead9cc6 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2017

  1. Propagate options to repo actions in delete functions

    This will allow us to delete records with on cascade relations in the
    same schema (it’s not possible at this moment).
    dreamingechoes committed Aug 9, 2017
    Configuration menu
    Copy the full SHA
    64231d7 View commit details
    Browse the repository at this point in the history
  2. Add some additional assertions in tests

    This additional assertions will allow us to compare results between regular
    behavior and the multi tenant one, and check if multi tenant generates some
    conflicts on the public schema/database.
    dreamingechoes committed Aug 9, 2017
    Configuration menu
    Copy the full SHA
    1359026 View commit details
    Browse the repository at this point in the history