Skip to content

Commit

Permalink
Merge branch 'beta' into production
Browse files Browse the repository at this point in the history
* beta:
  Translated using Weblate (Chinese (Simplified Han script))
  Translated using Weblate (Chinese (Simplified Han script))
  Translated using Weblate (Chinese (Simplified Han script))
  Translated using Weblate (Chinese (Simplified Han script))
  Translated using Weblate (Chinese (Simplified Han script))
  Update translation files
  Update POT files using the production database
  Update translation files
  Merge pull request #3466 from dvirtz/MBS-13908
  Update POT files using the production database
  MBS-13913: Add SteamDB to the other databases whitelist (#3460)
  MBS-13912: Show just "Bluesky" on sidebar for did:plc links (#3458)
  MBS-13911: Add 7digital links to the sidebar (#3459)
  MBS-13918: Link to docs from primary alias checkbox label (#3461)
  MBS-13921: Add Genie links to sidebar (#3462)
  Translated using Weblate (Russian)
  Translated using Weblate (Russian)
  Translated using Weblate (Chinese (Simplified Han script))
  Translated using Weblate (Polish)
  MBS-13908: isolate artist credentials in edit diff (#3455)
  MBS-13035: Better "no results" message for CDTOC release search (#2916)
  MBS-12708: Report for lonely pseudo-releases (#2734)
  Remove left-behind console.log
  MBS-13804: Also show where the review is on sidebar
  Remove unneeded regexes
  Move getFaviconClass out of render and simplify
  Sort special icons before per-site when editing links
  MBS-13804: Show review links as such on sidebar
  Change the blog icon to a more writing related one
  • Loading branch information
reosarevok committed Feb 10, 2025
2 parents 013b62b + 4403dc4 commit cb1c5d8
Show file tree
Hide file tree
Showing 167 changed files with 14,204 additions and 8,110 deletions.
3 changes: 3 additions & 0 deletions lib/MusicBrainz/Server/Data/URL.pm
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ sub _type { 'url' }
my %URL_SPECIALIZATIONS = (

# External links section
'7digital' => qr{^https?://([^/]+\.)?7digital\.com/}i,
'45cat' => qr{^https?://(?:www\.)?45cat\.com/}i,
'45worlds' => qr{^https?://(?:www\.)?45worlds\.com/}i,
'Allmusic' => qr{^https?://(?:www\.)?allmusic\.com/}i,
Expand Down Expand Up @@ -77,6 +78,7 @@ my %URL_SPECIALIZATIONS = (
'FonoFi' => qr{^https?://(?:www\.)?fono\.fi/}i,
'Gakki' => qr{^https?://(?:www\.)?saisaibatake\.ame-zaiku\.com/(?:gakki|musical|musical_instrument)/}i,
'Generasia' => qr{^https?://(?:www\.)?generasia\.com/wiki/}i,
'Genie' => qr{^https?://(?:www\.)?genie\.co\.kr/}i,
'Genius' => qr{^https?://(?:[^/]+\.)?genius\.com/}i,
'GeoNames' => qr{^http://sws\.geonames\.org/}i,
'Goodreads' => qr{^https?://(?:www\.)?goodreads\.com/}i,
Expand Down Expand Up @@ -184,6 +186,7 @@ my %URL_SPECIALIZATIONS = (
'SpiritOfMetal' => qr{^https?://(?:www\.)?spirit-of-metal\.com/}i,
'SpiritOfRock' => qr{^https?://(?:www\.)?spirit-of-rock\.com/}i,
'Stage48' => qr{^https?://(?:www\.)?stage48\.net/}i,
'SteamDB' => qr{^https?://([^/]+\.)?steamdb\.info/}i,
'Target' => qr{^https?://(?:(?:intl|www)\.)?target\.com/}i,
'Theatricalia' => qr{^https?://(?:www\.)?theatricalia\.com/}i,
'TheDanceGypsy' => qr{^https?://(?:www\.)?thedancegypsy\.com/}i,
Expand Down
22 changes: 22 additions & 0 deletions lib/MusicBrainz/Server/Entity/URL/7digital.pm
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package MusicBrainz::Server::Entity::URL::7digital;

use Moose;

extends 'MusicBrainz::Server::Entity::URL';
with 'MusicBrainz::Server::Entity::URL::Sidebar';

sub sidebar_name { '7digital' }

__PACKAGE__->meta->make_immutable;
no Moose;
1;

=head1 COPYRIGHT AND LICENSE
Copyright (C) 2025 MetaBrainz Foundation
This file is part of MusicBrainz, the open internet music database,
and is licensed under the GPL version 2, or (at your option) any
later version: http://www.gnu.org/licenses/gpl-2.0.txt
=cut
2 changes: 1 addition & 1 deletion lib/MusicBrainz/Server/Entity/URL/Bluesky.pm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ with 'MusicBrainz::Server::Entity::URL::Sidebar';
sub sidebar_name {
my $self = shift;

if ($self->url =~ m{^https?://(?:www\.)?bsky\.app/profile/([^/]+)/?$}i) {
if ($self->url =~ m{^https?://(?:www\.)?bsky\.app/profile/((?!did:plc)[^/]+)/?$}i) {
return '@' . $1;
}
else {
Expand Down
23 changes: 23 additions & 0 deletions lib/MusicBrainz/Server/Entity/URL/Genie.pm
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package MusicBrainz::Server::Entity::URL::Genie;

use Moose;
use utf8;

extends 'MusicBrainz::Server::Entity::URL';
with 'MusicBrainz::Server::Entity::URL::Sidebar';

sub sidebar_name { 'Genie' }

__PACKAGE__->meta->make_immutable;
no Moose;
1;

=head1 COPYRIGHT AND LICENSE
Copyright (C) 2025 MetaBrainz Foundation
This file is part of MusicBrainz, the open internet music database,
and is licensed under the GPL version 2, or (at your option) any
later version: http://www.gnu.org/licenses/gpl-2.0.txt
=cut
22 changes: 22 additions & 0 deletions lib/MusicBrainz/Server/Entity/URL/SteamDB.pm
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package MusicBrainz::Server::Entity::URL::SteamDB;

use Moose;

extends 'MusicBrainz::Server::Entity::URL';
with 'MusicBrainz::Server::Entity::URL::Sidebar';

sub sidebar_name { 'SteamDB' }

__PACKAGE__->meta->make_immutable;
no Moose;
1;

=head1 COPYRIGHT AND LICENSE
Copyright (C) 2025 MetaBrainz Foundation
This file is part of MusicBrainz, the open internet music database,
and is licensed under the GPL version 2, or (at your option) any
later version: http://www.gnu.org/licenses/gpl-2.0.txt
=cut
36 changes: 36 additions & 0 deletions lib/MusicBrainz/Server/Report/LonelyPseudoReleases.pm
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
package MusicBrainz::Server::Report::LonelyPseudoReleases;
use Moose;

with 'MusicBrainz::Server::Report::ReleaseReport',
'MusicBrainz::Server::Report::FilterForEditor::ReleaseID';

sub query {<<~'SQL'}
SELECT r.id AS release_id,
row_number() OVER (
ORDER BY ac.name COLLATE musicbrainz,
r.name COLLATE musicbrainz
)
FROM release r
JOIN artist_credit ac ON r.artist_credit = ac.id
WHERE r.status = 4 --pseudo-release
AND NOT EXISTS (
SELECT 1
FROM release r2
WHERE r2.release_group = r.release_group
AND r2.status != 4
)
SQL

__PACKAGE__->meta->make_immutable;
no Moose;
1;

=head1 COPYRIGHT AND LICENSE
Copyright (C) 2022 MetaBrainz Foundation
This file is part of MusicBrainz, the open internet music database,
and is licensed under the GPL version 2, or (at your option) any
later version: http://www.gnu.org/licenses/gpl-2.0.txt
=cut
2 changes: 2 additions & 0 deletions lib/MusicBrainz/Server/ReportFactory.pm
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ my @all = qw(
LabelsDisambiguationSameName
LimitedEditors
LinksWithMultipleEntities
LonelyPseudoReleases
LowDataQualityReleases
MediumsWithOrderInTitle
MediumsWithSequenceIssues
Expand Down Expand Up @@ -168,6 +169,7 @@ use MusicBrainz::Server::Report::ISWCsWithManyWorks;
use MusicBrainz::Server::Report::LabelsDisambiguationSameName;
use MusicBrainz::Server::Report::LimitedEditors;
use MusicBrainz::Server::Report::LinksWithMultipleEntities;
use MusicBrainz::Server::Report::LonelyPseudoReleases;
use MusicBrainz::Server::Report::LowDataQualityReleases;
use MusicBrainz::Server::Report::MediumsWithOrderInTitle;
use MusicBrainz::Server::Report::MediumsWithSequenceIssues;
Expand Down
11 changes: 11 additions & 0 deletions po/attributes.ar.po
Original file line number Diff line number Diff line change
Expand Up @@ -3971,6 +3971,12 @@ msgctxt "work_attribute_type"
msgid "ID for the British rights society PRS for Music"
msgstr ""

#. name:MUSICAUTOR ID
#: DB:work_attribute_type/description:212
msgctxt "work_attribute_type"
msgid "ID for the Bulgarian rights society MUSICAUTOR"
msgstr ""

#. name:SOCAN ID
#: DB:work_attribute_type/description:10
msgctxt "work_attribute_type"
Expand Down Expand Up @@ -5189,6 +5195,11 @@ msgctxt "work_attribute_type"
msgid "MCT ID"
msgstr ""

#: DB:work_attribute_type/name:212
msgctxt "work_attribute_type"
msgid "MUSICAUTOR ID"
msgstr ""

#: DB:work_attribute_type_allowed_value/value:963
msgctxt "work_attribute_type_allowed_value"
msgid "Madhmad sāraṅg"
Expand Down
11 changes: 11 additions & 0 deletions po/attributes.bg.po
Original file line number Diff line number Diff line change
Expand Up @@ -3974,6 +3974,12 @@ msgctxt "work_attribute_type"
msgid "ID for the British rights society PRS for Music"
msgstr ""

#. name:MUSICAUTOR ID
#: DB:work_attribute_type/description:212
msgctxt "work_attribute_type"
msgid "ID for the Bulgarian rights society MUSICAUTOR"
msgstr ""

#. name:SOCAN ID
#: DB:work_attribute_type/description:10
msgctxt "work_attribute_type"
Expand Down Expand Up @@ -5192,6 +5198,11 @@ msgctxt "work_attribute_type"
msgid "MCT ID"
msgstr ""

#: DB:work_attribute_type/name:212
msgctxt "work_attribute_type"
msgid "MUSICAUTOR ID"
msgstr ""

#: DB:work_attribute_type_allowed_value/value:963
msgctxt "work_attribute_type_allowed_value"
msgid "Madhmad sāraṅg"
Expand Down
11 changes: 11 additions & 0 deletions po/attributes.bn.po
Original file line number Diff line number Diff line change
Expand Up @@ -3982,6 +3982,12 @@ msgctxt "work_attribute_type"
msgid "ID for the British rights society PRS for Music"
msgstr ""

#. name:MUSICAUTOR ID
#: DB:work_attribute_type/description:212
msgctxt "work_attribute_type"
msgid "ID for the Bulgarian rights society MUSICAUTOR"
msgstr ""

#. name:SOCAN ID
#: DB:work_attribute_type/description:10
msgctxt "work_attribute_type"
Expand Down Expand Up @@ -5200,6 +5206,11 @@ msgctxt "work_attribute_type"
msgid "MCT ID"
msgstr ""

#: DB:work_attribute_type/name:212
msgctxt "work_attribute_type"
msgid "MUSICAUTOR ID"
msgstr ""

#: DB:work_attribute_type_allowed_value/value:963
msgctxt "work_attribute_type_allowed_value"
msgid "Madhmad sāraṅg"
Expand Down
11 changes: 11 additions & 0 deletions po/attributes.ca.po
Original file line number Diff line number Diff line change
Expand Up @@ -3989,6 +3989,12 @@ msgctxt "work_attribute_type"
msgid "ID for the British rights society PRS for Music"
msgstr ""

#. name:MUSICAUTOR ID
#: DB:work_attribute_type/description:212
msgctxt "work_attribute_type"
msgid "ID for the Bulgarian rights society MUSICAUTOR"
msgstr ""

#. name:SOCAN ID
#: DB:work_attribute_type/description:10
msgctxt "work_attribute_type"
Expand Down Expand Up @@ -5207,6 +5213,11 @@ msgctxt "work_attribute_type"
msgid "MCT ID"
msgstr ""

#: DB:work_attribute_type/name:212
msgctxt "work_attribute_type"
msgid "MUSICAUTOR ID"
msgstr ""

#: DB:work_attribute_type_allowed_value/value:963
msgctxt "work_attribute_type_allowed_value"
msgid "Madhmad sāraṅg"
Expand Down
11 changes: 11 additions & 0 deletions po/attributes.cs.po
Original file line number Diff line number Diff line change
Expand Up @@ -3993,6 +3993,12 @@ msgctxt "work_attribute_type"
msgid "ID for the British rights society PRS for Music"
msgstr ""

#. name:MUSICAUTOR ID
#: DB:work_attribute_type/description:212
msgctxt "work_attribute_type"
msgid "ID for the Bulgarian rights society MUSICAUTOR"
msgstr ""

#. name:SOCAN ID
#: DB:work_attribute_type/description:10
msgctxt "work_attribute_type"
Expand Down Expand Up @@ -5211,6 +5217,11 @@ msgctxt "work_attribute_type"
msgid "MCT ID"
msgstr ""

#: DB:work_attribute_type/name:212
msgctxt "work_attribute_type"
msgid "MUSICAUTOR ID"
msgstr ""

#: DB:work_attribute_type_allowed_value/value:963
msgctxt "work_attribute_type_allowed_value"
msgid "Madhmad sāraṅg"
Expand Down
11 changes: 11 additions & 0 deletions po/attributes.cy.po
Original file line number Diff line number Diff line change
Expand Up @@ -3981,6 +3981,12 @@ msgctxt "work_attribute_type"
msgid "ID for the British rights society PRS for Music"
msgstr ""

#. name:MUSICAUTOR ID
#: DB:work_attribute_type/description:212
msgctxt "work_attribute_type"
msgid "ID for the Bulgarian rights society MUSICAUTOR"
msgstr ""

#. name:SOCAN ID
#: DB:work_attribute_type/description:10
msgctxt "work_attribute_type"
Expand Down Expand Up @@ -5199,6 +5205,11 @@ msgctxt "work_attribute_type"
msgid "MCT ID"
msgstr ""

#: DB:work_attribute_type/name:212
msgctxt "work_attribute_type"
msgid "MUSICAUTOR ID"
msgstr ""

#: DB:work_attribute_type_allowed_value/value:963
msgctxt "work_attribute_type_allowed_value"
msgid "Madhmad sāraṅg"
Expand Down
14 changes: 14 additions & 0 deletions po/attributes.da.po
Original file line number Diff line number Diff line change
Expand Up @@ -3989,6 +3989,12 @@ msgctxt "work_attribute_type"
msgid "ID for the British rights society PRS for Music"
msgstr ""

#. name:MUSICAUTOR ID
#: DB:work_attribute_type/description:212
msgctxt "work_attribute_type"
msgid "ID for the Bulgarian rights society MUSICAUTOR"
msgstr ""

#. name:SOCAN ID
#: DB:work_attribute_type/description:10
msgctxt "work_attribute_type"
Expand Down Expand Up @@ -5210,6 +5216,14 @@ msgctxt "work_attribute_type"
msgid "MCT ID"
msgstr ""

#: DB:work_attribute_type/name:212
#, fuzzy
#| msgctxt "work_attribute_type"
#| msgid "APRA ID"
msgctxt "work_attribute_type"
msgid "MUSICAUTOR ID"
msgstr "APRA‐id"

#: DB:work_attribute_type_allowed_value/value:963
msgctxt "work_attribute_type_allowed_value"
msgid "Madhmad sāraṅg"
Expand Down
17 changes: 17 additions & 0 deletions po/attributes.de.po
Original file line number Diff line number Diff line change
Expand Up @@ -4235,6 +4235,15 @@ msgctxt "work_attribute_type"
msgid "ID for the British rights society PRS for Music"
msgstr "Id für die britische Verwertungsgesellschaft PRS for Music"

#. name:MUSICAUTOR ID
#: DB:work_attribute_type/description:212
#, fuzzy
#| msgctxt "work_attribute_type"
#| msgid "ID for the Belgian rights society SABAM"
msgctxt "work_attribute_type"
msgid "ID for the Bulgarian rights society MUSICAUTOR"
msgstr "ID für die belgische Verwertungsgesellschaft SABAM"

#. name:SOCAN ID
#: DB:work_attribute_type/description:10
msgctxt "work_attribute_type"
Expand Down Expand Up @@ -5485,6 +5494,14 @@ msgctxt "work_attribute_type"
msgid "MCT ID"
msgstr "MCT-ID"

#: DB:work_attribute_type/name:212
#, fuzzy
#| msgctxt "work_attribute_type"
#| msgid "NICAUTOR ID"
msgctxt "work_attribute_type"
msgid "MUSICAUTOR ID"
msgstr "NICAUTOR-ID"

#: DB:work_attribute_type_allowed_value/value:963
msgctxt "work_attribute_type_allowed_value"
msgid "Madhmad sāraṅg"
Expand Down
11 changes: 11 additions & 0 deletions po/attributes.el.po
Original file line number Diff line number Diff line change
Expand Up @@ -3993,6 +3993,12 @@ msgctxt "work_attribute_type"
msgid "ID for the British rights society PRS for Music"
msgstr ""

#. name:MUSICAUTOR ID
#: DB:work_attribute_type/description:212
msgctxt "work_attribute_type"
msgid "ID for the Bulgarian rights society MUSICAUTOR"
msgstr ""

#. name:SOCAN ID
#: DB:work_attribute_type/description:10
msgctxt "work_attribute_type"
Expand Down Expand Up @@ -5211,6 +5217,11 @@ msgctxt "work_attribute_type"
msgid "MCT ID"
msgstr ""

#: DB:work_attribute_type/name:212
msgctxt "work_attribute_type"
msgid "MUSICAUTOR ID"
msgstr ""

#: DB:work_attribute_type_allowed_value/value:963
msgctxt "work_attribute_type_allowed_value"
msgid "Madhmad sāraṅg"
Expand Down
Loading

0 comments on commit cb1c5d8

Please sign in to comment.