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

Implement schema-intent concept #6001

Merged
merged 12 commits into from
Nov 4, 2019
Merged

Implement schema-intent concept #6001

merged 12 commits into from
Nov 4, 2019

Commits on Nov 4, 2019

  1. Configuration menu
    Copy the full SHA
    2abd38d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1147f7c View commit details
    Browse the repository at this point in the history
  3. Remove unnecessary comments

    Niklaus Johner authored and lukasgraf committed Nov 4, 2019
    Configuration menu
    Copy the full SHA
    8f562dc View commit details
    Browse the repository at this point in the history
  4. Remove unused local variable in GEVERVocabulariesGet.

    Niklaus Johner authored and lukasgraf committed Nov 4, 2019
    Configuration menu
    Copy the full SHA
    a0032db View commit details
    Browse the repository at this point in the history
  5. Add IDuringContentCreation when getting vocabularies for content crea…

    …tion.
    Niklaus Johner authored and lukasgraf committed Nov 4, 2019
    Configuration menu
    Copy the full SHA
    297c932 View commit details
    Browse the repository at this point in the history
  6. Add tests for vocabularies, sources and querysources endpoints.

    Niklaus Johner authored and lukasgraf committed Nov 4, 2019
    Configuration menu
    Copy the full SHA
    5e8cc9d View commit details
    Browse the repository at this point in the history
  7. Add failing test for querysources endpoint.

    Niklaus Johner authored and lukasgraf committed Nov 4, 2019
    Configuration menu
    Copy the full SHA
    d749ab5 View commit details
    Browse the repository at this point in the history
  8. Fix queryources and sources endpoint for keywords vocabulary.

    Niklaus Johner authored and lukasgraf committed Nov 4, 2019
    Configuration menu
    Copy the full SHA
    f4d5661 View commit details
    Browse the repository at this point in the history
  9. Use api_headers from IntegrationTestCase for vocabularies tests.

    Niklaus Johner authored and lukasgraf committed Nov 4, 2019
    Configuration menu
    Copy the full SHA
    efc6e10 View commit details
    Browse the repository at this point in the history
  10. Add tests for the schema endpoint.

    Niklaus Johner authored and lukasgraf committed Nov 4, 2019
    Configuration menu
    Copy the full SHA
    b66585b View commit details
    Browse the repository at this point in the history
  11. Handle (query)sources for multivalued zope.schema fields:

    Multivalued fields don't directly have sources themselves, but
    their items do.
    
    We therefore need to handle that case in the @sources and
    @querysources endpoints, and look for a source on the Choice
    field used as the value_type for the multivalued field.
    
    Similarly we need to construct appropriate URLs during
    schema serialization for these types of fields: The Choice
    fields used as the value_type for multivalued fields don't
    usually have a name. We therefore omit their empty string
    name from the URL, and instead construct URLs that look
    like the source was actually on the multivalued fields
    themselves.
    lukasgraf committed Nov 4, 2019
    Configuration menu
    Copy the full SHA
    aeb3b06 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3c929e6 View commit details
    Browse the repository at this point in the history