Commit graph

64 commits

Author SHA1 Message Date
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
Michael Wiencek
4ef2502c07 Merge branch 'master' of bitbucket.org:mwiencek/userscripts
Conflicts:
	batch-add-recording-relationships.user.js
2014-12-29 00:58:47 -06:00
Michael Wiencek
b293e4b02f Use promises instead of callbacks in a few places 2014-12-29 00:54:55 -06:00
Jesse Weinstein
8e8763bdcd Simplify the logic of the date parsing func & other cleanup 2014-12-28 22:42:31 -08:00
Jesse Weinstein
e41a992a59 Handle the case where a single recording is returned 2014-12-28 22:40:12 -08:00
Michael Wiencek
f21aaaef11 Remove huge closure 2014-12-29 00:15:31 -06:00
Michael Wiencek
7176504a32 More misc. cleanups 2014-12-29 00:02:18 -06:00
Michael Wiencek
f3393fa00e s/foo/self/ 2014-12-28 23:52:47 -06:00
Michael Wiencek
60dfa47e86 Move RequestManager to the top 2014-12-28 23:51:11 -06:00
Michael Wiencek
6232fa9794 Remove unused variables 2014-12-28 23:43:37 -06:00
Michael Wiencek
887842a9e9 s/disambig/comment/g 2014-12-28 23:32:50 -06:00