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

ISSUE-106b:API builder/controller re-roll for 1.4.0 #394

Merged
merged 45 commits into from
Apr 22, 2024
Merged

Commits on Jun 3, 2022

  1. First public pass on Open API builder

    Entity Form still requires some work and a few extra options, but a good start to test APIs. Documentation need to follow and this can not be merged until that is a reality.
    DiegoPino committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    86901b1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    77787bf View commit details
    Browse the repository at this point in the history
  3. Ups. Wrong ISSUE!

    DiegoPino committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    5ff9bcf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0c9e6ed View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2022

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

Commits on Jul 18, 2022

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

Commits on Jul 21, 2022

  1. Fix requirement for API routing

    Only if a path type argument is passed this is needed. So this fixes it
    DiegoPino committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    2ddcdd5 View commit details
    Browse the repository at this point in the history
  2. Fix comment

    Silly me
    DiegoPino committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    9ec9e13 View commit details
    Browse the repository at this point in the history
  3. Allow the MetadataDisplaySelection autocomplete to use a filter

    For now this allows us to filter against mimetypes
    Any autocomplete element using this handler can add
    #selection_settings' => [
          'filter' => [
            'mimetype' => 'application/xml'
          ]
        ],
    DiegoPino committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    6a683ee View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    534cbf7 View commit details
    Browse the repository at this point in the history
  5. Small cleanups on the form

    Going to attempt now (after this)
    1.- better mapping for views exposed filters
    2.- Multiple Views so mapping can be against one or another
    3.- Multiple Twig templates, mapped to arguments
    4.- Validation and cleanup
    DiegoPino committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    68b2f90 View commit details
    Browse the repository at this point in the history
  6. WIP. Doing some fancy mime type/response checking

    And better logic.
    - Also fixes the case where two different arguments map to the same Views exposed property but on one is empty deleting the one that was set. If one is set and present that one wins
    DiegoPino committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    3209838 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2022

  1. Fix Ajax and add multi view UI. Never set IDs manually for Submit but…

    …tons that trigger AJAX
    
    I have repeated this to myself for the last 3 years and i always forget. I even have a sticky note
    Given that Sets and Items have to be handled by different views we need to enable Multiple Views that can be modal based on enumeration properties.
    I'm pretty sure i coded this for my birthday already but can't find it. Too many branches so here we go again
    DiegoPino committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    479f982 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2022

  1. Configuration menu
    Copy the full SHA
    8c5b87f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bae7814 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2022

  1. WIP API on API Controller/settings.

    Might have to re-roll this later
    DiegoPino committed Nov 1, 2022
    Configuration menu
    Copy the full SHA
    a3df3f8 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2023

  1. First pass on Usage tab for Metadata Display Tabs

    More to come, this is just glue so far
    DiegoPino committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    33e19e1 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2023

  1. Configuration menu
    Copy the full SHA
    ad05f1d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    59b3fc0 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. Configuration menu
    Copy the full SHA
    cb67fe3 View commit details
    Browse the repository at this point in the history
  2. Remove Usage for now

    DiegoPino committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    71811ae View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a5d472b View commit details
    Browse the repository at this point in the history
  4. Better handling of options for displays/views

    Also, actually save the entity. Gosh Diego
    DiegoPino committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    b89ef4e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dcf9dd0 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2023

  1. Configuration menu
    Copy the full SHA
    91b69d8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    094be1b View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2024

  1. Configuration menu
    Copy the full SHA
    8c59e02 View commit details
    Browse the repository at this point in the history
  2. Update composer.json

    DiegoPino authored Mar 7, 2024
    Configuration menu
    Copy the full SHA
    37f395c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5a743cb View commit details
    Browse the repository at this point in the history
  4. Expose the pager. Also comment that i need to pass more data to the t…

    …emplate
    
    Not that i have done that... but a todo is basically futuristic/wishful coding @alliomeria
    DiegoPino committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    e42571a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0428c8a View commit details
    Browse the repository at this point in the history
  6. Stupid views handler. Ok, now we can actually page entity_references

    What? @alliomeria well, drupal always gives me all with a min of 5 when using an entity reference view (which we need). This trick of first building it
     $executable->build(); // this will generate the query we need first, then setting the limit once all the non sense drupal did was already generated and override my pages allows me then to set a limit (and an offset which i can now calculate on a ?page or whatever argument)
    $executable->getQuery()->setLimit($limit);
    And then i can execute.. which was previously the default
                        $executable->execute();
    DiegoPino committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    84968e2 View commit details
    Browse the repository at this point in the history
  7. Ok. working pager!

    DiegoPino committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    07498bd View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

  1. Don't depend on the pager

    DiegoPino committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    99ea357 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    028707d View commit details
    Browse the repository at this point in the history
  3. fix being silly

    DiegoPino committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    5ff62ee View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2faeed6 View commit details
    Browse the repository at this point in the history
  5. More form improvements

    DiegoPino committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    4bc74a6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f0da27b View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2024

  1. Exposes cache option

    Still, need to think if we can use selective cache. We already have one for the items and we could allow just the wrapper to avoid caching?
    DiegoPino committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    3489ec4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fd75f11 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6d9698f View commit details
    Browse the repository at this point in the history
  4. You can rename arguments

    YEs you can
    DiegoPino committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    b5687dc View commit details
    Browse the repository at this point in the history
  5. Allows renaming of api arguments/parameters

    This time this works well
    DiegoPino committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    ca44a6a View commit details
    Browse the repository at this point in the history
  6. Scrolls up when needed

    DiegoPino committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    9c044f6 View commit details
    Browse the repository at this point in the history