Server update, 2018-02-09

This server release mainly introduces a confirmation request when adding a new release (or a new medium to a release) without setting a format, because entering this information is often skipped, yet the editor usually knows it. It also contains URL cleanup updates and localization bugfixes, and the instrument list template has been rewritten in React. The git tag is v-2018-02-09. Thanks to naiveaiguy and spellew for their contributions!

Sub-task

  • [MBS-9590] – Rewrite the instrument list in React/JSX

Bug

  • [MBS-9599] – Translations are not applied on the 404 page
  • [MBS-9600] – Work attribute type and value names are not translated on the work edit form
  • [MBS-9603] – Series ordering type descriptions are not translated on the series edit form

New Feature

  • [MBS-9368] – Ask for confirmation when leaving format empty

Task

  • [MBS-9587] – Add a few Japanese lyrics sites to the whitelist

Improvement

  • [MBS-9562] – Improve Deezer URL cleanup
  • [MBS-9597] – Update VGMdb URL cleanup to use https
  • [MBS-9612] – Remove locale from Last.fm URLs

Server update, 2018-01-24

This small server release brings a new report for recordings, updates URL cleanup, and provides enhancement for guessing letters’ case in French titles. It also features preliminary changes for further switch to live search, still available for test. The git tag is v-2018-01-24. Thanks again to naiveaiguy and haruute for their contributions!

New Feature

  • [MBS-9425] – New Report: “Recordings with same name by different artists with same name”

Task

  • [MBS-9582] – Add UtaTen to the lyrics whitelist
  • [MBS-9608] – Update Bandsintown URL cleanup to reflect new URL format

Improvement

  • [MBS-5345] – Guess Case > French mode > Le, La, Les, L’ or L’ followed by only one word. That word should be capitalized

Server update, 2018-01-10

Here’s the first release of 2018! Its main changes are listed below. It also brings a few additional small bug fixes and code refactoring, such as changing the sidebar rating and tag UI components to use React. The git tag is v-2018-01-10. Thanks to naiveaiguy and haruute for their contributions!

Bug

  • [MBS-9370] – Tests race condition triggers error “Couldn’t connect to the renderer”
  • [MBS-9578] – Editor private subscriptions/tags/ratings pages should not be linked to

New Feature

  • [MBS-8206] – New Report: Official/Promotional Releases supporting Disc IDs that don’t have an attached Disc ID

Task

  • [MBS-9561] – Add Anison Generation to the otherDBs whitelist
  • [MBS-9566] – Add Brahms IRCAM to the otherDBs whitelist
  • [MBS-9574] – Add patronage auto-select/cleanup for Drip URLs

Improvement

  • [MBS-8576] – Show work type description in work editing form

Server update, 2017-12-21

Winter has arrived! And so did the latest release of the MusicBrainz server, bringing updates (React 16.2.0 and Lodash 4.17.4), code refactoring, and a bunch of bug fixes. Thanks to navap for updating the documentation search and to reosarevok for adding La Boîte aux paroles to the Lyrics whitelist. The git tag is v-2017-12-21.

Bug

  • [MBS-9525] – Database dump sometimes fails to sync to FTP
  • [MBS-9540] – Release lookup does not return user ratings in json ws
  • [MBS-9542] – New default iTunes link format (without “id” characters) is denied
  • [MBS-9547] – ModBot leaves note with broken unicode
  • [MBS-9570] – Email header fields with non-ASCII characters are not correctly encoded
  • [MBS-9577] – Google custom search engine (WikiDocs) is out of date

Task

  • [MBS-9560] – Add http://laboiteauxparoles.com/ to the lyrics whitelist

Improvement

  • [MBS-9575] – Make “Enable vinyl track numbers” opt-in for new users

Server update, 2017-10-31

Boo! Release cycle was interrupted during the MetaBrainz Summit 17 and is now back to the usual period of two weeks. This release contains a lot of code refactoring, some admin tooling, and a few fixes. Optimizations were made to parts of the web service, particularly for JSON and browse requests. Anti-spam measures taken in July have been relaxed, as well as the period of time allowed for auto-editing newly added entities. The git tag is v-2017-10-31.

Bug

  • [MBS-9313] – Adding first release event should be an auto-edit
  • [MBS-9513] – User interface locales with country code are not working

Task

  • [MBS-9488] – Rename “limited user” to “new user”
  • [MBS-9519] – Hide biography, homepage, and collections description of limiter users from not-logged-in users

Improvement

  • [MBS-9496] – Modbot “ac being changed because of name change” edit note is confusing
  • [MBS-9505] – Extend time period to edit your own entries to 1 day
  • [MBS-9515] – Block adding Wikipedia relationships to anchors

Server update, 2017-09-18

This release enables relationship credits for areas and places, contains more URL cleanup & auto-select fixes, and changes the behavior of the artist-merge option to rename credits to only rename those that match the original artist names.

The git tag is v-2017-09-18.

Bug

  • [MBS-9380] – ReverbNation URLs are not correctly cleaned up
  • [MBS-9394] – Upper case CD Baby URLs are blocked as “not allowed or incorrectly formatted”
  • [MBS-9446] – PartialDate is missing a TO_JSON method
  • [MBS-9455] – “Performance of” attributes not showing if rel is orderable
  • [MBS-9471] – Relationship editor breaks if two link attribute types have the same name

New Feature

  • [MBS-9469] – Add autoselect for VIAF for places

Task

  • [MBS-9316] – Add Operabase to the otherDBs whitelist
  • [MBS-9353] – Do not show collections or user profiles to people not logged in

Improvement

  • [MBS-9019] – Extend relationship credits to places
  • [MBS-9303] – Add support for Facebook’s fb.com domain
  • [MBS-9334] – Enable URL cleanup for Recochoku artist URLs
  • [MBS-9435] – Update Rock.com.ar URL format
  • [MBS-9444] – Update the YouTube logo used in the sidebar
  • [MBS-9457] – Update the Patreon logo used in the sidebar
  • [MBS-9458] – “Rename artist and relationship credits” should only rename matching credits
  • [MBS-9459] – Enable relationship credits for Areas
  • [MBS-9467] – Add support for fallback Patreon user URLs with numeric ID

 

Server update, 2017-09-04

We’ve been focusing on finishing up some overdue schema change features (alternative tracklists, for one) and doing various refactorings/making some under-the-hood changes, which is why there hasn’t been a release in a while. But here’s a few small fixes that have accumulated.

The git tag is v-2017-09-04.

Bug

  • [MBS-9409] – Error merging mediums with and without pregap tracks

Task

  • [MBS-9416] – wikidata url format redirect addition

Improvement

  • [MBS-9434] – “stream for free” YouTube URL linked to a release should show as “stream on YouTube” instead of “watch on YouTube”

Server update, 2017-07-17

In order to deter spammers, bios and homepages can no longer be set by limited users (accounts less than 2 weeks old, or with less than 10 accepted edits).

Thanks to ferbncode, Sophist, and yvanzo for their work on the tickets below.

The git tag is v-2017-07-17.

Bug

  • [MBS-9342] – InitDb.pl fails to import data with DBD::Pg 3.6.0
  • [MBS-9372] – Revoking editing/voting editor rights also renders them unable to write edit notes
  • [MBS-9392] – JSON-LD schema.org structured data broken
  • [MBS-9401] – SQL generation fails for release groups (script/dump-entities-sql.pl)
  • [MBS-9403] – position attribute is missing in the json api output for media > track

Task

  • [MBS-9355] – Do not allow an editor to set bio/link if the user is limited
  • [MBS-9391] – Retry downloading dumps in docker container (for creating and importing dumps)

Improvement

  • [MBS-9323] – Artist web page with long wikipedia entry looks bad

Server update, 2017-06-19

This release mainly fixes some bugs around reorganized lyrics languages for work, and includes a few small improvements. Thanks to Zastai for fixing events browsing for area.

The git tag is v-2017-06-19.

Bug

  • [MBS-8757] – Error browsing events by area
  • [MBS-9338] – Can’t add languages to existing works that have none set
  • [MBS-9341] – “0 field is required” if work language is selected, then blanked
  • [MBS-9345] – Can’t batch-add works without a language set
  • [MBS-9347] – Regression: “- MusicBrainz” is appended to homepage title instead of others
  • [MBS-9362] – Work language edits preceding schema change are not applied

Task

  • [MBS-9354] – Block /collection as per robots.txt

Improvement

  • [MBS-8640] – Make adding work attributes auto-edits
  • [MBS-9311] – Add autoselect and validation of CD Baby Artist-URL relationship
  • [MBS-9348] – Update CD Baby URLs normalization and sidebar display
  • [MBS-9350] – Add autoselect/sidebar for Big Cartel URLs

Schema change release, 2017-05-15 (including upgrade instructions)

We’re happy to announce the release of our May 2017 schema change today! Thanks to all who were patient during today’s downtime as we released everything to our production servers.

This is a fairly minor release as far as schema changes go, but please do report any issues that you come across.

Currently, the only visible change for editors is the ability to add multiple lyrics languages to works. We’ve also modified the schema to support dynamic attributes for entities other than works, but the UI for that won’t be complete for another release or two.

Now, on to the instructions.

Schema Change Upgrade Instructions

Note: Importing the latest data dump is always a valid alternative to running ./upgrade.sh on an existing database, if you’d prefer to also get new data in one go. Just follow the relevant instructions in INSTALL.md. The rest of the instructions here assume an in-place upgrade.

  1. Make sure DB_SCHEMA_SEQUENCE is set to 23 in lib/DBDefs.pm.
  2. If you’re using the live data feed (your REPLICATION_TYPE is set to RT_SLAVE), ensure you’ve replicated up to the most recent replication packet available with the old schema. If you’re not sure, run ./admin/replication/LoadReplicationChanges and see what it tells you; if you’re ready to upgrade, it should say “This replication packet matches schema sequence #24, but the database is currently at #23.”
  3. Take down the web server running MusicBrainz, if you’re running a web server.
  4. Turn off cron jobs if you’re automatically updating the database via cron jobs.
  5. Switch to the new code with git fetch origin followed by git checkout v-2017-05-15-schema-change.
  6. Run cpanm --installdeps --notest . (note the dot at the end) to ensure your perl-based dependencies are up to date.
  7. Downgrade DBD::Pg by running cpanm TURNSTEP/DBD-Pg-3.5.3.tar.gz (version 3.6.0 breaks things currently).
  8. Run ./upgrade.sh (it may take a while to vacuum at the end).
  9. Set DB_SCHEMA_SEQUENCE to 24 in lib/DBDefs.pm as instructed by the output of ./upgrade.sh.
  10. Turn cron jobs back on, if applicable.
  11. Restart the MusicBrainz web server, if applicable. It’s also recommended you restart redis. If you’re accessing your MusicBrainz server in a web browser, run npm install followed by ./script/compile_resources.sh.

For those curious, here’s the list of resolved tickets (excluding MBS-8393):

Bug

New Feature

  • [MBS-9271] – Prevent usernames from being reused

Task

  • [MBS-9273] – Fix the a_ins_edit_note function in older setups to not populate edit_note_recipient for own notes
  • [MBS-9274] – Fix the edit_note_idx_post_time_edit index in older setups to handle NULL post_time

Improvement

  • [MBS-5452] – Support multiple lyric language values for works