-
-
Notifications
You must be signed in to change notification settings - Fork 290
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
MBS-13781: Support browsing genres by collection in the API #3394
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We added the feature in the last schema change but I completely forgot the WS side of it. This implements it, plus some tests. I had to move genre_all to be the last one defined so that Catalyst would choose it first and avoid breaking genre lists, apparently; see https://metacpan.org/dist/Catalyst-Runtime/view/lib/Catalyst/RouteMatching.pod
mwiencek
approved these changes
Jan 8, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally, works for me.
reosarevok
added a commit
that referenced
this pull request
Jan 13, 2025
* master: Update POT files using the production database Merge pull request #3447 from reosarevok/MBS-13866 Convert Wikimedia classes to components (#3407) MBS-13897: Display "Account admin" under user types on profile Link to bot docs from user types list Link to beginner docs from user types list MBS-13896: Fix anchor links for editor types Merge pull request #3443 from reosarevok/MBS-13870 Merge pull request #3445 from reosarevok/MBS-13895 MBS-13857: Block unicode Tags block in usernames MBS-13893: Block invisible characters (Hangul, Braille) in usernames MBS-13886: Don't crash on wrong link_type for paged rels (#3434) MBS-13781: Support browsing genres by collection in the API (#3394) Preserve the selected AC filter in more cases Fix untranslatable statistics label Don't force new vote names to be translated twice Clean broken enter_votes code MBS-13770: Allow admins to auto-approve and auto-reject any edit MBS-13770: Add new Admin approval/rejection votes Keep filter when navigating with ArtistIndex footer MBS-11950: Allow filtering VA RGs for artist MBS-8186: Allow filtering unofficial RG list Split and document Data::Alias test MBS-13564: Correctly override primary on alias locale change
reosarevok
added a commit
that referenced
this pull request
Jan 27, 2025
* beta: Translated using Weblate (Albanian) Translated using Weblate (Italian) Translated using Weblate (Finnish) Translated using Weblate (Lithuanian) Update translation files Update POT files using the production database Update POT files using the production database Amend some l_statistics changes Translated using Weblate (Albanian) Translated using Weblate (Polish) Translated using Weblate (Chinese (Simplified Han script)) Translated using Weblate (Italian) Translated using Weblate (Chinese (Traditional Han script)) Update translation files MBS-13770: Don't show admin approval buttons on edit lists (#3449) MBS-13902: Add test for persistent (did:plc) Bluesky links (#3448) MBS-13907: Support Discogs label URLs for events (#3452) MBS-13903: Fix "CDTOC is already attached" error (#3451) Add providePluginConfig for `*l*_mb_server` functions Add missing `*l*_mb_server` function names to .eslintrc.unfixed.yaml Use more standard l_mb_server name Fix "Checking translation domain in statistics code" test Reuse server strings when possible in stats Update POT files using the production database Translated using Weblate (Italian) Merge pull request #3447 from reosarevok/MBS-13866 Add `Form::Role::OptionsTree` Make `Data::LinkType` consume `Data::Role::OptionsTree` MBS-12781: Avoid admin accidentally breaking options trees Ensure all entities have "table" in entities.mjs Convert Wikimedia classes to components (#3407) MBS-13897: Display "Account admin" under user types on profile Link to bot docs from user types list Link to beginner docs from user types list MBS-13896: Fix anchor links for editor types Merge pull request #3443 from reosarevok/MBS-13870 Merge pull request #3445 from reosarevok/MBS-13895 MBS-13857: Block unicode Tags block in usernames MBS-13893: Block invisible characters (Hangul, Braille) in usernames MBS-13886: Don't crash on wrong link_type for paged rels (#3434) MBS-13781: Support browsing genres by collection in the API (#3394) Preserve the selected AC filter in more cases Fix untranslatable statistics label Don't force new vote names to be translated twice Clean broken enter_votes code MBS-13770: Allow admins to auto-approve and auto-reject any edit MBS-13770: Add new Admin approval/rejection votes Keep filter when navigating with ArtistIndex footer MBS-11950: Allow filtering VA RGs for artist MBS-8186: Allow filtering unofficial RG list Split and document Data::Alias test MBS-13564: Correctly override primary on alias locale change
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implement MBS-13781
Description
We added the feature in the last schema change but I completely forgot the WS side of it. This implements it, plus some tests.
Testing
Manually, and I added
BrowseGenres
tests. AFAICT this is the only collection browse JSON test, too.