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

FAL-3449 - Taxonomy view management apis [WIP] #4

Commits on Jul 20, 2023

  1. Allow custom Taxonomy, ObjectTag subclasses to customize tagging beha…

    …vior (openedx#62)
    
    Adds support for custom Taxonomy subclasses to be stored against a Taxonomy, to be used by the python API when instantiating and returning Taxonomies.
    
    Also adds minimal support for ObjectTag subclasses. However, these are not stored against the ObjectTag instances; they can be instantiated by the Taxonomy subclasses if and when needed.
    
    Related:
    * docs: updates decisions to reflect this change
    * feat: adds api.get_taxonomy, which returns a Taxonomy cast to its subclass, when set
    * refactor: adds _check_taxonomy, _check_tag, and _check_object methods to the Taxonomy class, which can be overridden by subclasses when validating ObjectTags
    
    Added to support system-defined Taxonomies:
    * feat: adds un-editable Taxonomy.system_defined field so that system taxonomies can store this field and ensure no one edits them. 
    * feat: adds Taxonomy.visible_to_authors, which is needed for fully automated tagging.
    
    Cleanup changes:
    * fix: updates Tag model to cascade delete if the Taxonomy or parent Tag is deleted.
    * style: adds missing type annotations to rules and python API
    pomegranited committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    f5164bb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    09a8fec View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2023

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