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

[WIP] Support associations and embeds - cont. #60

Closed
wants to merge 27 commits into from

Commits on Sep 12, 2019

  1. Added tests for assoc changes

    narrowtux authored and paranojik committed Sep 12, 2019
    Configuration menu
    Copy the full SHA
    63c8749 View commit details
    Browse the repository at this point in the history
  2. fix migration module name

    narrowtux authored and paranojik committed Sep 12, 2019
    Configuration menu
    Copy the full SHA
    0ea226f View commit details
    Browse the repository at this point in the history
  3. Wrote a function that extracts versions for each association inside a…

    … changeset
    
    Plugged that into PaperTrail.insert - the test works now.
    narrowtux authored and paranojik committed Sep 12, 2019
    Configuration menu
    Copy the full SHA
    c527e9e View commit details
    Browse the repository at this point in the history
  4. Upgraded insert, insert!, update, update!

    non-bang functions now return a list of assoc_versions in the result map
    
    bang functions were upgraded to also insert assoc-related versions
    narrowtux authored and paranojik committed Sep 12, 2019
    Configuration menu
    Copy the full SHA
    a0ad3f6 View commit details
    Browse the repository at this point in the history
  5. Also log deleted assocs (+test)

    narrowtux authored and paranojik committed Sep 12, 2019
    Configuration menu
    Copy the full SHA
    a7267fd View commit details
    Browse the repository at this point in the history
  6. check for nilify_all

    narrowtux authored and paranojik committed Sep 12, 2019
    Configuration menu
    Copy the full SHA
    bb63552 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5551296 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    12ea748 View commit details
    Browse the repository at this point in the history
  9. moved level: :info from config.exs to test.exs

    so SQL query debug log won't pollute the test output
    narrowtux authored and paranojik committed Sep 12, 2019
    Configuration menu
    Copy the full SHA
    da352eb View commit details
    Browse the repository at this point in the history
  10. Fix unused variable warning

    narrowtux authored and paranojik committed Sep 12, 2019
    Configuration menu
    Copy the full SHA
    166ddda View commit details
    Browse the repository at this point in the history
  11. skip the broken test

    narrowtux authored and paranojik committed Sep 12, 2019
    Configuration menu
    Copy the full SHA
    5db651a View commit details
    Browse the repository at this point in the history
  12. delete() returns correctly

    use changeset.data when passing a changeset into get_all_children
    narrowtux authored and paranojik committed Sep 12, 2019
    Configuration menu
    Copy the full SHA
    f44c6a4 View commit details
    Browse the repository at this point in the history
  13. Test :nilify_all

    narrowtux authored and paranojik committed Sep 12, 2019
    Configuration menu
    Copy the full SHA
    dacee4d View commit details
    Browse the repository at this point in the history
  14. :embed_into_item_changes mode WIP

    narrowtux authored and paranojik committed Sep 12, 2019
    Configuration menu
    Copy the full SHA
    078869a View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    c8d1b38 View commit details
    Browse the repository at this point in the history
  16. extract_version mode -> update

    narrowtux authored and paranojik committed Sep 12, 2019
    Configuration menu
    Copy the full SHA
    cc50bd7 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2019

  1. Fixed merge errors.

    paranojik committed Sep 13, 2019
    Configuration menu
    Copy the full SHA
    89f57e4 View commit details
    Browse the repository at this point in the history
  2. Cleanup.

    paranojik committed Sep 13, 2019
    Configuration menu
    Copy the full SHA
    a0cd622 View commit details
    Browse the repository at this point in the history
  3. Cleanup.

    paranojik committed Sep 13, 2019
    Configuration menu
    Copy the full SHA
    ad27b4f View commit details
    Browse the repository at this point in the history
  4. Reverted file renames.

    paranojik committed Sep 13, 2019
    Configuration menu
    Copy the full SHA
    8e8c97d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    be4dc6b View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2019

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

Commits on Sep 19, 2019

  1. Configuration menu
    Copy the full SHA
    fdb8b12 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bac6508 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2989bb0 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2019

  1. Fixed item_type queries.

    paranojik committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    42c1881 View commit details
    Browse the repository at this point in the history
  2. Only make assoc versions if there are changes but always make a versi…

    …on of the parent entity:
    paranojik committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    979d648 View commit details
    Browse the repository at this point in the history