Commit graph

74 commits

Author SHA1 Message Date
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
David Kellner
fbdc28a6bf Fix some old linter issues 2020-09-13 17:30:54 +02:00
David Kellner
616fe19d64 Replace Lodash by built-in ES6 methods
Lodash has been dropped from MBS and this breaks some userscripts
2020-09-13 17:30:54 +02:00
Aurélien Mino
0e864d8c59 Reformat with prettier 2.0 2020-04-05 16:02:07 +02:00
Aurélien Mino
a7376b5336 Fix a few "no-useless-concat" warnings 2018-11-20 23:45:38 +01:00
Aurélien Mino
14d9606e2e Fix "no-empty" eslint rule 2018-11-20 23:28:53 +01:00
Aurélien Mino
14a32dab62 Applied prettier and eslint tools on existing code
None of these changes are manual changes made a human
2018-11-20 23:18:49 +01:00
Laurent Monin
6c5c083dba
Change version format on all scripts
Related to https://github.com/murdos/musicbrainz-userscripts/pull/171
2018-02-18 18:16:45 +01:00
loujine
9635943108 Adapt batch-add-recording-relationships.user.js script to lodash 4 (closes #163)
The MusicBrainz server upgraded from lodash 3.10 to lodash 4.17 (https://github.com/metabrainz/musicbrainz-server/pull/573) on 2017-12-21

Fix by replacing deprecated syntax
2018-01-02 21:05:52 +00:00
Frederik “Freso” S. Olesen
27edbeddc5
Merge in bitmap's userscripts
Merging from https://bitbucket.org/mwiencek/userscripts

Permission given at
https://chatlogs.metabrainz.org/brainzbot/musicbrainz/msg/3852183/
2017-03-10 19:57:54 +01:00
Frederik “Freso” S. Olesen
7c98f9d9c5
Add @descriptions based on README.md 2017-03-10 19:50:20 +01:00
Frederik “Freso” S. Olesen
bbed68d493
Move license into affected scripts
Preparation for merging the repository into
https://github.com/murdos/musicbrainz-userscripts

This retains the license blurb but also makes it one less file to juggle
for the merge commit.
2017-03-10 19:14:00 +01:00
loujine
f6e209651f Fix number of recordings by page
Since musicbrainz switched from 50 to 100 recordings per page, the script is not looking at the right recordings to check whether they already have a performance link
2016-05-29 17:56:11 +00:00
Jérôme Roy
41ab881797 Fix selector for recording rows 2016-05-23 21:35:20 +00:00
Michael Wiencek
00ef8e804d Bump batch-add-recording-relationships version 2015-08-21 17:57:01 -05:00
Michael Wiencek
6934521733 Fix #2 2015-08-21 17:56:42 -05:00
Michael Wiencek
1157876b46 Fix for undefined _.str.levenshtein function 2015-08-21 17:56:00 -05:00
Michael Wiencek
d0e637eb3d Merge branch 'master' of bitbucket.org:mwiencek/userscripts 2015-05-26 14:36:12 -05:00
Michael Wiencek
cd7813967c Copy date utils from mbserver 2015-05-26 14:35:51 -05:00
jesus2099
9a654bec5b Added HTTPS @downloadURL and @update@URL in metadata block to enable user script auto update in most greasmonkey engines. 2015-04-09 15:01:15 +02:00
murdos
7a2efc579e [batch-add-recording-relationships] Fix detection of current page. 2015-03-15 23:00:11 +00:00
Michael Wiencek
a67341a870 Consistent formatting 2015-01-04 14:37:55 -06:00
Jesse Weinstein
4113ffedf9 Reset date foreground color when blank 2015-01-01 20:34:21 -08:00
Jesse Weinstein
921b5eae49 Cleanup date parse code 2015-01-01 20:30:05 -08:00
Jesse Weinstein
3798ebe6fa Factor the $work_X_options variables into a dict 2015-01-01 18:29:39 -08:00
Jesse Weinstein
3c68c4af85 Add some new utility funcs to RequestManager 2015-01-01 18:01:34 -08:00
Jesse Weinstein
8720dbe579 Wrap work types/language loading in RequestManager 2015-01-01 17:44:18 -08:00
Jesse Weinstein
fed47e56e2 More bits of cleanup 2015-01-01 17:37:08 -08:00
Jesse Weinstein
86df8c7627 Convert some more loops to functional style 2015-01-01 17:22:43 -08:00
Jesse Weinstein
9880ef8baa Rewrite definition of RECORDING_TITLES to use underscore.js 2015-01-01 14:33:50 -08:00
Jesse Weinstein
867109d947 Merge branch 'master' into yet_more_cleanup
Conflicts:
	batch-add-recording-relationships.user.js
2014-12-31 16:34:47 -08:00
Michael Wiencek
73165734b1 Remove incorrect param 2014-12-29 13:00:19 -06:00
murdos
a1937d8b27 Fix the callback name for the relate to suggested work feature. 2014-12-29 08:38:40 +00:00
Jesse Weinstein
1ce6c8272d Remove some unused variables, various other cleanup 2014-12-29 00:27:37 -08:00
Michael Wiencek
91feecd7de More misc. cleanups 2014-12-29 02:05:25 -06:00
Michael Wiencek
5fba68c625 Set cookie options after types are loaded 2014-12-29 01:52:39 -06:00
Michael Wiencek
ec6e8cf82d Request work types/languages 2014-12-29 01:48:26 -06:00
Michael Wiencek
ccc352e3ca Use an actual placeholder 2014-12-29 01:34:38 -06:00
Michael Wiencek
dd6b62cca8 Use event delegation 2014-12-29 01:32:12 -06:00
Michael Wiencek
1cdddb625f Undefined variable 2014-12-29 01:21:59 -06:00
Michael Wiencek
a6b782003d Use MB.utility functions to simplify date parsing more 2014-12-29 01:21:30 -06:00