Skip to content
Snippets Groups Projects
This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git. Pull mirroring updated .
  1. Mar 07, 2022
  2. Mar 04, 2022
    • rhenck's avatar
      Refactor unit definition version and sanatization · 2b58b89a
      rhenck authored
      The unit definition now has 2 meta-fields: 'type' and 'version'.
      The former has the fixed value of 'aspect-unit-definition'.
      The latters contains the version without any prefixes, i.e. '1.2.3'.
      
      The sanatizer tries to read the versions of older formats as well and
      uses the found version. This is important since the handlePlusOne
      method must only run of a specific version (in the old format).
      
      The sanatizer no longer shows any messages and therefore does not need
      the MessageService anymore. The information about whether sanatization
      happened or not is returned as second parameter for those that are
      interested. The editor is, the player is not.
      
      The editor API service now constructs the 'unitDefinitionType'
      parameter from both values, resulting in something like
      'aspect-unit-definition@1.2.3'.
      2b58b89a
  3. Mar 03, 2022
  4. Mar 02, 2022
    • rhenck's avatar
      Refactor unit definition and sanatizer · 874c1af3
      rhenck authored
      - Units and element are now built via the factory. This ensures only the
        wanted properties are present. All others are discarded.
      - Since the sanatizer is supposed to check the unit defintion version
        it is used by player and editor and therefore put in common.
        This in turn makes it necessary to put the JSON resolver settings
        in the root-TSConfig file.
      - Renamed a couple of properties to have clearer names.
      874c1af3
    • jojohoch's avatar
      f6668bdd
  5. Feb 28, 2022
  6. Feb 24, 2022
  7. Feb 22, 2022
  8. Feb 21, 2022
  9. Feb 18, 2022
  10. Feb 17, 2022
  11. Feb 16, 2022
  12. Feb 14, 2022
  13. Feb 11, 2022
  14. Feb 09, 2022
    • rhenck's avatar
      Change all selector prefixes from "app" to "aspect" · a6bdf445
      rhenck authored
      This is done according to the Angular best practices and minimizes
      namespace collisions when using other packages which might use the same
      selectors.
      
      Technically the selectors are not even becessary since we use an Angular
      component factory to create element components but it is still useful
      for the DOM element naming, for debugging purposes for example.
      a6bdf445
Loading