Commit graph

1092 commits

Author SHA1 Message Date
David Kellner
4ad72e58d4 hdtracks: Use UTC to fix "one day off" timezone issue
Input string is in UTC, so the numbers should also be extracted as UTC.
2021-10-17 23:00:22 +02:00
David Kellner
1323c14d4f hdtracks: Update userscript metadata and README 2021-10-17 23:00:22 +02:00
David Kellner
b9714440a6 build: Explicitly read files as UTF-8
Otherwise the OS default encoding is used which leads to errors on Windows.
2021-10-17 23:00:22 +02:00
David Kellner
bed8eb27a8 hdtracks: Drop release credits from the annotation 2021-10-17 23:00:22 +02:00
David Kellner
17be011a33 hdtracks: Fix ESLint errors
Forgo optional chaining which is an ES2020 feature. It feels odd to
raise the ES version even further for such a minor improvement.
2021-10-17 23:00:22 +02:00
David Kellner
2531d25157 Set ES version to 2017 to support async functions 2021-10-17 23:00:22 +02:00
David Kellner
6906509170 hdtracks: Add a button to submit ISRCs with MagicISRC 2021-10-17 23:00:22 +02:00
David Kellner
ca260f721b Create importer script for HDtracks 2021-10-17 23:00:22 +02:00
David Kellner
6a201af3fa bandcamp_importer: Accept URLs with a trailing slash
Fixes #433
2021-10-17 22:07:02 +02:00
David Logie
fdc18225d0 bandcamp_importer: Update atisket URL. 2021-09-26 21:29:52 +02:00
11xx
af12c389c6 Fix line break in the "Import into MB" button 2021-09-22 16:05:07 +02:00
David Kellner
e84565918e recording-comments: Exclude "Add release" page
The script causes a type error on this page which is unintentionally matched.
`@exclude *musicbrainz.org/release/add*` will also match possible query
parameters while `@exclude-match *://*.musicbrainz.org/release/add` is
cleaner but unfortunately not compatible with Greasemonkey.

mbsandbox.org doesn't seem to be online anymore.
2021-08-22 23:27:26 +02:00
Laurent Monin
28851de32c
Merge pull request #412 from kellnerd/discogs-importer
Discogs importer: Adapt to new release page layout
2021-08-10 18:51:15 +02:00
David Kellner
48182be483 discogs_importer: Adapt to new release page layout
Discogs has rolled out a new layout for release pages on 2021-08-09:
https://www.discogs.com/forum/thread/828514?page=3#8916061

This breaks the injection of the import button and MB links on release
pages, other pages (artist, label, master) are not affected so far.
With this commit, the following changes are made to fix #411 and #354:

- Update selectors for the sections which should be enhanced with MB links
- Separate working and broken selectors but keep all of them for now
- Find a new selector to inject the import button into the sidebar
  (not sure why there were three alternative selectors previously)
- Duplicate some of Discogs' CSS to fix the layout because they seem to
  use dynamically generated class names now :(
2021-08-10 17:40:25 +02:00
dependabot[bot]
bb40b41e9e build(deps-dev): bump eslint-plugin-import from 2.22.1 to 2.23.4
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.22.1 to 2.23.4.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.22.1...v2.23.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-06 22:29:50 +02:00
dependabot[bot]
e5084bebbd build(deps-dev): bump eslint from 7.21.0 to 7.32.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.21.0 to 7.32.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.21.0...v7.32.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-06 22:19:09 +02:00
dependabot[bot]
3e03d695b2 build(deps): bump glob-parent from 5.1.1 to 5.1.2
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-06 22:18:46 +02:00
dependabot[bot]
801ae53556 build(deps): bump hosted-git-info from 2.8.8 to 2.8.9
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-06 22:18:26 +02:00
dependabot[bot]
75222c2f0c build(deps): bump actions/setup-node from 2.1.5 to 2.3.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.1.5 to 2.3.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.5...v2.3.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-06 22:17:36 +02:00
David Kellner
7bfd4a8977 mb_relationship_shortcuts: Recover missing icons
Luckily the missing 'lyrics' and 'single from' icons were captured by
the Wayback Machine.
I have Base64 encoded them since the image files are tiny and most of
the other icons are already stored as data URIs.
2021-08-06 22:16:21 +02:00
David Kellner
20eb57409f mb_relationship_shortcuts: Fix more eslint errors 2021-08-06 22:16:21 +02:00
David Kellner
dda9dcb6c1 Make the 'Edit recording comments' button appear again
The script will now run after the page and all resources are loaded and
page scripts have run. This will be later than before and (hopefully)
after any React redraws which undid the DOM changes done by the script.

Tested and working with Violentmonkey under Firefox, for Tampermonkey
document-idle is the default value anyway.

See https://community.metabrainz.org/t/541943
2021-08-06 22:14:06 +02:00
August Janse
2f0207340b vgmdb_importer: Bump version number 2021-07-14 20:47:35 +02:00
August Janse
37349742ee vgmdb_importer: Map commercial links better 2021-07-14 20:47:35 +02:00
August Janse
94ecc82e19 vgmdb_importer: Map store links better 2021-07-14 20:47:35 +02:00
August Janse
b8bf0f84b1 vgmdb_importer: Fix UTC date bug 2021-07-14 20:47:35 +02:00
August Janse
25971e6e73 vgmdb_importer: Fix day/date bug 2021-07-14 20:47:35 +02:00
August Janse
dfc731479c
mb_relationship_shortcuts: Add vgmdb (#372)
Co-authored-by: August Janse <august.janse@arkivit.se>
2021-05-24 23:21:35 +02:00
Frederik “Freso” S. Olesen
91e205e788
mb_1200px_caa: Remove "1200px" thumbnail link
This link has been added to MusicBrainz itself:
https://blog.metabrainz.org/2021/04/19/musicbrainz-server-update-2021-04-19/
https://tickets.metabrainz.org/browse/MBS-9631
2021-04-20 20:59:10 +02:00
Frederik “Freso” S. Olesen
a1cf6406a6
mb_ui_enhancements: Remove "Edit relationships" tab
MusicBrainz has a 'native' "Edit Relationships" tab on releases since
October 2019: https://tickets.metabrainz.org/browse/MBS-5479
( 5fe0b99292 )
2021-03-29 18:01:29 +02:00
Aurélien Mino
b4b9a1b31f
Update version 2021-03-08 09:25:48 +01:00
Christian Schendel
cba68f178d
Use base64 encoded images (#362)
* Use base64 encoded images

Musicbrainz removed the .png files that are linked in this script in favor of base64 encoded files.
This commit reflects this change
2021-03-08 09:24:47 +01:00
github-actions[bot]
e239d6939e
Merge pull request #360 from murdos/dependabot/github_actions/actions/setup-node-v2.1.5
build(deps): bump actions/setup-node from v2.1.4 to v2.1.5
2021-03-01 06:30:33 +00:00
dependabot[bot]
2881666a75
build(deps): bump actions/setup-node from v2.1.4 to v2.1.5
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v2.1.4 to v2.1.5.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.4...46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 06:29:52 +00:00
github-actions[bot]
47710c378f
Merge pull request #358 from murdos/dependabot/npm_and_yarn/eslint-7.21.0
build(deps-dev): bump eslint from 7.20.0 to 7.21.0
2021-03-01 06:08:31 +00:00
dependabot[bot]
997bc59de6
build(deps-dev): bump eslint from 7.20.0 to 7.21.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.20.0 to 7.21.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.20.0...v7.21.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 06:07:49 +00:00
github-actions[bot]
7728601944
Merge pull request #359 from murdos/dependabot/npm_and_yarn/eslint-config-prettier-8.1.0
build(deps-dev): bump eslint-config-prettier from 8.0.0 to 8.1.0
2021-03-01 05:01:49 +00:00
dependabot[bot]
60e8700cb0
build(deps-dev): bump eslint-config-prettier from 8.0.0 to 8.1.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.0.0 to 8.1.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.0.0...v8.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 05:01:10 +00:00
github-actions[bot]
b7455a369b
Merge pull request #357 from murdos/dependabot/npm_and_yarn/eslint-config-prettier-8.0.0
build(deps-dev): bump eslint-config-prettier from 7.2.0 to 8.0.0
2021-02-22 05:54:30 +00:00
dependabot[bot]
7d3b1621ef
build(deps-dev): bump eslint-config-prettier from 7.2.0 to 8.0.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 7.2.0 to 8.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v7.2.0...v8.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 05:53:53 +00:00
github-actions[bot]
accbe697cd
Merge pull request #356 from murdos/dependabot/npm_and_yarn/eslint-7.20.0
build(deps-dev): bump eslint from 7.19.0 to 7.20.0
2021-02-22 05:01:43 +00:00
dependabot[bot]
0bfe47a13d
build(deps-dev): bump eslint from 7.19.0 to 7.20.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.19.0 to 7.20.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.19.0...v7.20.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 05:01:09 +00:00
github-actions[bot]
016165fa33
Merge pull request #355 from murdos/dependabot/npm_and_yarn/eslint-7.19.0
build(deps-dev): bump eslint from 7.18.0 to 7.19.0
2021-02-01 05:01:44 +00:00
dependabot[bot]
12fe1d2693
build(deps-dev): bump eslint from 7.18.0 to 7.19.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.18.0 to 7.19.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.18.0...v7.19.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-01 05:01:08 +00:00
github-actions[bot]
687b88cf0d
Merge pull request #353 from murdos/dependabot/npm_and_yarn/eslint-config-prettier-7.2.0
build(deps-dev): bump eslint-config-prettier from 7.1.0 to 7.2.0
2021-01-25 05:01:58 +00:00
dependabot[bot]
f8ae4da0de
build(deps-dev): bump eslint-config-prettier from 7.1.0 to 7.2.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 7.1.0 to 7.2.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v7.1.0...v7.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 05:01:11 +00:00
github-actions[bot]
69e8affcdb
Merge pull request #352 from murdos/dependabot/npm_and_yarn/eslint-7.18.0
build(deps-dev): bump eslint from 7.17.0 to 7.18.0
2021-01-18 05:02:20 +00:00
dependabot[bot]
7af698bbc4
build(deps-dev): bump eslint from 7.17.0 to 7.18.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.17.0 to 7.18.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.17.0...v7.18.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-18 05:01:25 +00:00
github-actions[bot]
2ab50c79cf
Merge pull request #350 from murdos/dependabot/npm_and_yarn/eslint-plugin-prettier-3.3.1
build(deps-dev): bump eslint-plugin-prettier from 3.3.0 to 3.3.1
2021-01-11 05:01:47 +00:00
dependabot[bot]
cd6c97af0e
build(deps-dev): bump eslint-plugin-prettier from 3.3.0 to 3.3.1
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v3.3.0...v3.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-11 05:01:02 +00:00