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

feat: Add REST endpoints to update Components in a Collections (temp) #674

Commits on Aug 23, 2024

  1. Configuration menu
    Copy the full SHA
    f58bb67 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f490007 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    17933a1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    743291c View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. Configuration menu
    Copy the full SHA
    3da44d5 View commit details
    Browse the repository at this point in the history
  2. chore: fix pylint errors

    yusuf-musleh committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    59514cc View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. Configuration menu
    Copy the full SHA
    250434f View commit details
    Browse the repository at this point in the history
  2. feat: add/remove components to/from a collection

    Python API:
    * Converts UsageKeyV2 object keys into component keys for use with the oel_collections api.
    * Sends a CONTENT_OBJECT_TAGS_CHANGED for each component added/removed.
    
    REST API:
    * Calls the python API
    * Receives a collection PK + a list of UsageKeys to add to the collection.
    pomegranited committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    f4521b5 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. refactor: use "components" not "contents"

    Addresses PR reviews.
    
    * Collection contents -> Collection components
    * Add warning about unstable REST APIs
    * Wrap update_components view in convert_exceptions
    * Raise api exceptions in api.update_collection_components
    * Use usage_key in CONTENT_OBJECT_TAGS_CHANGED event
    pomegranited committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    129bcf2 View commit details
    Browse the repository at this point in the history
  2. refactor: use oel_collections.get_collections

    as oel_collections.get_learning_package_collections has been removed.
    pomegranited committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    e8013eb View commit details
    Browse the repository at this point in the history
  3. fix: pylint/type error

    pomegranited committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    94890db View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6ded8a9 View commit details
    Browse the repository at this point in the history
  5. test: fixes failing test

    pomegranited committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    0d8079c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fe43b72 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f5900be View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    97739c6 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2996a2e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    fbfd983 View commit details
    Browse the repository at this point in the history
  11. chore: fix pylint errors

    yusuf-musleh committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    cf9e906 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    5bf9422 View commit details
    Browse the repository at this point in the history
  13. Merge remote-tracking branch 'opencraft/yusuf-musleh/collections-crud…

    …-rest-api' into jill/collection-components-rest
    pomegranited committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    ea24e2f View commit details
    Browse the repository at this point in the history
  14. refactor: index collections within each library

    so we can use the updated oel_collections.get_collections method.
    pomegranited committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    8034861 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. test: fix flaky test

    pomegranited committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    55338e1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    23f5d5b View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. Merge branch 'yusuf-musleh/collections-crud-rest-api' into jill/colle…

    …ction-components-rest.pre-rebase
    pomegranited committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    0a1732e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    addde52 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. Configuration menu
    Copy the full SHA
    51f5c1a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7a8e4c6 View commit details
    Browse the repository at this point in the history