Commit graph

1060 commits

Author SHA1 Message Date
jesus2099
a0e572975f
Merge branch 'master' into 189_make-votable-and-sign-edit-note 2023-07-04 01:51:20 +02:00
jesus2099
e46b51272a use a line with a dash to separate the signature from the body of the edit note
(applying @kellnerd suggestion)

Co-authored-by: David Kellner <52860029+kellnerd@users.noreply.github.com>
2023-07-04 01:44:12 +02:00
jesus2099
03b7279750 Englobe filters in same grey box 2023-07-04 01:44:12 +02:00
jesus2099
952137e403 Factorise edit note build in function
Harmonise post request data sets
2023-07-04 01:44:11 +02:00
jesus2099
edc79dffba Restore work language list #175
Load language list from /release/add page
as it is no longer available from /work/create page
Emphasise and order [No lyrics] equivalent No linguistic content
2023-07-04 01:44:11 +02:00
jesus2099
e54d39a1e5 Various fixes or improvements
Pass GM_info inside wrapper function (@kellnerd)
encodeURIComponent where needed (@kellnerd)
2023-07-04 01:25:43 +02:00
jesus2099
ac17654e85 Use consistent header style 2023-07-04 01:25:42 +02:00
jesus2099
a46310e861 Edit Note improvements
Use GM_info.script for Edit Note script signature
Show edit mode in Edit Note
Popular request: Remove software setup debug info from edit notes
2023-07-04 01:24:06 +02:00
jesus2099
b3f6758b2d Work-around for Tampermonkey match surprise behaviour
Tampermonkey takes the query string (not only path) in its path matching
2023-07-04 01:24:05 +02:00
jesus2099
66891fc01f Keep user-friendly display on narrower screens 2023-07-04 01:24:05 +02:00
jesus2099
b877d563ab Add edit note text area and make votable checkbox
Fixes #189

+ Append a script signature to the edit note
+ Clean-up downloadURL, includes and matches
2023-07-04 01:22:08 +02:00
jesus2099
cd16953228 Keep language list folders and emphasise [No lyrics] equivalent 2023-06-30 18:28:34 +02:00
jesus2099
998ea97cc6 Restore work language list #175
Load language list from /release/add page
as it is no longer available from /work/create page
2023-06-30 18:28:34 +02:00
zyoshoka
2c807a28bc beatport_importer: Fix minor error 2023-06-30 15:13:35 +02:00
zyoshoka
e4f369069d beatport_importer: Fix API redirect issue 2023-06-30 15:13:35 +02:00
zyoshoka
d583e184c6 beatport_importer: Use reliable track numbers 2023-06-30 15:13:35 +02:00
zyoshoka
fd02d953d2 beatport_importer: Bump version 2023-06-30 15:13:35 +02:00
zyoshoka
6368a92b06 beatport_importer: Add ISRC support 2023-06-30 15:13:35 +02:00
zyoshoka
f7b011cf9a beatport_importer: Add UPC support 2023-06-30 15:13:35 +02:00
David Logie
efca6fa621 mb_discids_detector: Bump version. 2023-06-25 09:57:01 +02:00
David Logie
8bfcdc69f6 mb_discids_detector: Fix artist/album detection on OPS again. 2023-06-25 09:57:01 +02:00
Luciano Paciornick
478ac7d1e2 Fix lint and formatting issues on existing code
I didn't change this part of the code, but since Prettier and ESLint decided to complain about it (and fix it on my local), might as well commit it. 😀
2023-04-24 00:03:15 +02:00
Luciano Paciornick
2b49a0faa6 Fix lint and formatting errors 2023-04-24 00:03:15 +02:00
Luciano Paciornick
7cb81736b3 Use CSS instead of JS for highlighting table rows
This improves performance significantly and reduces the incidence of bugs and undesireable side-effects when using this userscript in conjunction with other userscripts, userstyles and/or browser extensions that modify the look and feel of MB pages.
2023-04-24 00:03:15 +02:00
Luciano Paciornick
424b2c6937 Use HTTPS for retrieving top tracks from Last.fm 2023-04-24 00:03:15 +02:00
Luciano Paciornick
37178aab78 Add instructions for obtaining a Last.fm API key 2023-04-24 00:03:15 +02:00
Kai
a7139415ba SVG MB logo, more HTTPS + small changes 2023-03-02 21:52:02 +01:00
Ketan Arlulkar
a2c9d6c625 Using working website for a-tisket
Signed-off-by: Ketan Arlulkar <6256964+ketanarlulkar@users.noreply.github.com>
2023-03-02 21:48:01 +01:00
Jens
9b3d7c6a47
Fix for ISRC year highlighting. (#527)
* Update mb_ui_enhancements.user.js

Fix for ISRC year highlighting.
2023-03-02 21:47:17 +01:00
Bao Trinh
2cb8763139 deezer: wait for toolbar to appear 2023-02-21 06:39:50 +01:00
David Logie
6be127759f mb_discids_detector: Fix artist/album detection on OPS. 2023-01-20 12:46:08 +01:00
Mattia Schiano
b1da6eb48c Fixing toolbar query 2022-12-23 19:03:55 +01:00
David Kellner
d357764ee7 bandcamp_importer: Apply display style to all importer forms
Fixes a display regression introduced by 79d894538e.
2022-05-06 15:56:08 +02:00
Kai
2d2f43211a mb_relationship_shortcuts.user.js: update and reduce jquery, minor improvements 2022-04-26 14:53:29 +02:00
Kai
79d894538e bandcamp_importer.user.js: update and reduce jquery 2022-04-26 14:53:29 +02:00
Kai
6645a440f6 bandcamp_importer_helper.user.js & mbimportstyle.js: remove jquery 2022-04-26 14:53:29 +02:00
Kai
adcb23576e eslint: change from json to js and apply rules 2022-04-26 14:53:29 +02:00
dependabot[bot]
b9152b1b77 build(deps): bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-09 22:48:43 +02:00
David Kellner
cfbe1a5531 recording-comments: Fill input based on recording MBID instead of index
Otherwise the script always loads the disambiguation comments for the
first tracks on the release, independent of the currently expanded medium.
This lead to wrong initial comments for /disc URLs.
Edit submission is already based on MBIDs, so there is no problem with that.
2022-02-09 18:03:42 +01:00
jesus2099
41b34e57df
recording-comments: Delay script and match disc URL
* Delay script. Otherwise, React removes it.

* Enable script on disc URL (ulugabi workaround for big releases)
2022-02-03 18:45:49 +01:00
David Kellner
b91f40247d expand-rg: Open editing-related links in new tabs
Since these are less likely to be used to speed up browsing (from an
artist page down to e.g. a specific recording on a release, skipping the
RG and release page) but for batch editing, it makes sense to open these
in new tabs by default.
2022-01-27 13:14:45 +01:00
David Kellner
ada3d7fa99 expand-rg: Add direct link for 'add cover art' 2022-01-27 13:14:45 +01:00
David Kellner
1f2a5df0be mb_relationship_shortcuts: Exclude artists' recording overview pages
An MBS update brought a new column which shows the release groups each
recording is part of. While it's interesting to see these, the shortcut
icons for the RGs are not very appropriate as the page is about recordings.
2022-01-27 13:13:01 +01:00
David Kellner
bde76d9ee4 mb_relationship_shortcuts: Tweak display style of icons
Give the icons a bit of margin in all directions, this looks better if
there are many icons which float into the next line.
Remove the fixed width, this looks ugly for smaller viewports.
Often there are not even enough icons to justify such a wide column.
2022-01-27 13:13:01 +01:00
David Kellner
821818cae1 hdtracks: Fix an old typo in a comment 2022-01-27 12:52:45 +01:00
David Kellner
13f579a661 mb_relationship_shortcuts: Support "download for free" rels
Another relationship type which is possible e.g. for Bandcamp URLs.
2021-12-12 21:54:56 +01:00
David Kellner
a2ee0a3597 mb_relationship_shortcuts: Deduplicate rels by URL
Useful for websites like Bandcamp which have e.g. purchase and stream rels.
2021-12-12 21:54:56 +01:00
David Kellner
fba1e62c94 mb_relationship_shortcuts: Make icons of ended rels less visible 2021-12-12 21:54:56 +01:00
David Kellner
054f027f5b mb_relationship_shortcuts: Remove icons of deprecated rel types 2021-12-12 21:54:56 +01:00
David Kellner
3de18c75c5 mb_relationship_shortcuts: Add HDtracks icon 2021-12-12 21:54:56 +01:00