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

Support for InputField (used for new "Enjoy Life Forever!" brochure) #52

Merged
merged 11 commits into from
Mar 21, 2021

Commits on Mar 21, 2021

  1. New Model: InputField

    InputField is used for interactive publications
    like the new "Enjoy Life Forever!" book. It can
    contain arbitrary text values.
    AndreasSko committed Mar 21, 2021
    Configuration menu
    Copy the full SHA
    2c32b48 View commit details
    Browse the repository at this point in the history
  2. Database: SliceCapacity for mdls without ID

    The table `InputField` does not have an ID
    column, so we can't determine the slice
    capacity using that. As we at the same time
    don't need to have a proper order anymore,
    we can just use the number of entries.
    AndreasSko committed Mar 21, 2021
    Configuration menu
    Copy the full SHA
    935cadb View commit details
    Browse the repository at this point in the history
  3. Allow to ignore Model fields

    Some fields of a Model may not be represented
    in the actual database table. Adding the
    `ignore:"true"` tag will ignore those, so it is
    not tried to import/export them.
    AndreasSko committed Mar 21, 2021
    Configuration menu
    Copy the full SHA
    a7cd65f View commit details
    Browse the repository at this point in the history
  4. Import InputField

    This adds support to import the `InputField`
    table. Also updated the tests to incorporate
    this change.
    AndreasSko committed Mar 21, 2021
    Configuration menu
    Copy the full SHA
    2d23d77 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2314c39 View commit details
    Browse the repository at this point in the history
  6. Make Model.SortByUniqueKey public

    Sorting slices of Models by uniqueKey is
    something that is also useful in other packages.
    AndreasSko committed Mar 21, 2021
    Configuration menu
    Copy the full SHA
    b7abe64 View commit details
    Browse the repository at this point in the history
  7. Merge inputFields

    This adds the capability to the CMD and Gomobile
    to merge InputFields.
    AndreasSko committed Mar 21, 2021
    Configuration menu
    Copy the full SHA
    1617f28 View commit details
    Browse the repository at this point in the history
  8. Only use stretchr/testify

    Somehow `tj/assert` was used for some tests.
    Switching back to use `stretchr/testify` in testing.
    AndreasSko committed Mar 21, 2021
    Configuration menu
    Copy the full SHA
    9e8b9d7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c8365ed View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c0ef54d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d8fe5ab View commit details
    Browse the repository at this point in the history