Graham R. Cobb
341a0a0adf
Added documentation and changelog for bareasc.
...
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-15 15:34:58 +00:00
Graham R. Cobb
fab7a27e9f
Add a couple more tests and make lint happy.
...
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-15 12:43:58 +00:00
Graham R. Cobb
dcbe622b76
Oops, use in for matching! (It was late last night!)
...
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-15 10:25:19 +00:00
Graham R. Cobb
80048e7153
Specify unicode, for python2
...
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-15 09:11:17 +00:00
Graham R. Cobb
7dd1ee3fab
Remove debugging print.
...
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-15 01:09:50 +00:00
Graham R. Cobb
0c612f408b
Create plugin for "bare-ASCII" matching query
...
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-15 00:55:14 +00:00
Adrian Sampson
c4347960ea
Merge pull request #3877 from GrahamCobb/web-readonly
...
Web readonly
2021-03-12 17:51:57 -05:00
Graham R. Cobb
4ffe9a2c45
Fixed bug where readonly value was not being read from config file.
...
Also simplified the setup of the `readonly` value in the tests which
fixes a test ordering issue found using --random-order.
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-12 17:58:35 +00:00
Benedikt
feb305f8fc
Merge pull request #3873 from akshgpt7/chore-refactor-issues
...
Refactor code quality issues
2021-03-12 01:00:43 +01:00
Graham R. Cobb
680ccdcd96
Documentation and changelog for web `readonly` option fixing #3870 .
...
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-11 23:09:51 +00:00
Graham R. Cobb
23c8d61104
Add tests for patch operations
...
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-11 22:55:42 +00:00
Graham R. Cobb
51d22b765e
Add tests for delete operations
...
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-11 18:02:38 +00:00
Graham R. Cobb
4a9652a9e4
Only allow DELETE or PATCH operations if "readonly" is set to true.
...
Note: default is false which is a **NOT BACKWARDS COMPATIBLE** change.
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-11 18:02:38 +00:00
Graham R. Cobb
a74cc4b269
Merge remote-tracking branch 'upstream/master'
2021-03-11 17:59:52 +00:00
Aksh Gupta
79858975a9
chore: refactor code quality issues
2021-03-11 08:45:42 +05:30
Adrian Sampson
84f6d374c4
Merge pull request #3869 from GrahamCobb/web-regex-fix
...
Web regex fix
2021-03-10 20:36:03 -05:00
Benedikt
f872acebc6
Merge pull request #3875 from djdembeck/patch-1
...
remove LyricsWiki from default sources in docs
2021-03-10 20:10:41 +01:00
David Dembeck
374707bb7a
remove LyricsWiki from default sources in docs
...
https://github.com/beetbox/beets/pull/3766 missed removing this
2021-03-10 12:59:48 -06:00
Graham R. Cobb
0aa333cd7b
Merge remote-tracking branch 'upstream/master'
2021-03-10 18:32:13 +00:00
Graham R. Cobb
92c69a819c
Merge branch 'master' of github.com:GrahamCobb/beets
2021-03-09 19:52:52 +00:00
Graham R. Cobb
45cf9d00c7
Improve handling of paths for Windows tests
...
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-09 18:58:05 +00:00
Graham R. Cobb
ab2e858bce
Aaargh! Forgot to run lint again
...
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-09 12:10:40 +00:00
Graham R. Cobb
f19faae1dc
Attempt to make path-related tests portable to Windows
...
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-09 11:19:54 +00:00
Graham R. Cobb
4d5c5c02ae
Lint fixes
...
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-08 17:26:04 +00:00
Graham R. Cobb
75f331e64b
Update changelog with web regex query backslash fix for #3867 .
...
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-08 17:08:36 +00:00
Graham R. Cobb
38fb1b5f08
Add tests for several web queries, including the regex queries fixed in
...
bugfix #3867 .
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-08 17:00:41 +00:00
Graham R. Cobb
553e38fc11
Do not do backslash substitution on regex queries
...
As discussed in bug #3867 , backslash replacement in query strings is a bit of a
hack but it is useful (see #3566 and #3567 for more discussion). However,
it breaks many regular expressions so this patch stops the replacement if the
query term contains '::', indicating it is a regex match.
This commit fixes #3867 .
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-08 16:58:05 +00:00
govynnus
debd382837
Merge pull request #3758 from beetbox/aura
...
AURA: Add aura plugin and docs
2021-03-08 07:24:53 +00:00
Adrian Sampson
1a2724c327
More changelog editing
2021-03-07 21:30:32 -05:00
Adrian Sampson
8cf46bce6d
A little more changelog stuff
2021-03-07 21:14:53 -05:00
Adrian Sampson
39e5972407
A little changelog editing
2021-03-07 19:54:42 -05:00
Adrian Sampson
3d1b421b97
Cursory changelog summary
2021-03-07 19:50:31 -05:00
Callum Brown
a24a094562
AURA: Small updates to docs and set server version
2021-03-07 18:24:57 +00:00
Adrian Sampson
3e8261393d
Merge pull request #2988 from FichteForks/pr/item-album-fallback
...
Add fallback for item access to album's attributes
2021-03-07 09:29:37 -05:00
Callum Brown
a54ee43d57
AURA: Allow '-' character in filter attribute
2021-03-07 14:23:17 +00:00
Adrian Sampson
09a6ec4f74
Merge branch 'master' into pr/item-album-fallback
2021-03-07 09:20:50 -05:00
Adrian Sampson
66443169ad
Merge pull request #3868 from GrahamCobb/web-artpath-fix
...
Web artpath fix
2021-03-07 09:04:49 -05:00
Callum Brown
9b9ff46e7d
Merge branch 'master' into aura
...
Ensure aura branch has updated configuration to eliminate spurious
linter errors from the style checker.
2021-03-07 11:08:37 +00:00
Callum Brown
477eed3b25
AURA: Use py3_path rather than displayable_path
...
displayable_path may remove 'bad' characters, yielding a wrong path.
Also use track.path rather than track.destination() as that is where
the file is actually located rather than where it should be located
according to the beets path system.
2021-03-07 10:25:20 +00:00
Adrian Sampson
461fee45ec
Merge pull request #3865 from GrahamCobb/master
...
Improved test coverage for web plugin JSON API
2021-03-06 17:19:52 -05:00
Adrian Sampson
dd451365ef
Merge branch 'master' into GrahamCobb/master
2021-03-06 17:08:54 -05:00
Adrian Sampson
defe96b132
*Actually* use 3.9 for docs
2021-03-06 16:59:49 -05:00
Adrian Sampson
748e5318b4
Change "main" Python version to 3.9
2021-03-06 16:58:23 -05:00
Adrian Sampson
d329c70338
Use Python 3 for docs
2021-03-06 16:57:22 -05:00
Graham R. Cobb
c5556ff859
Changelog entry for fixing web include_paths artpath bug #3866
...
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-06 16:03:37 +00:00
Graham R. Cobb
9986b9892c
Fix bug where album artpath not returned when INCLUDE_PATHS is set
...
Track item paths and album artpaths should be removed from results unless
INCLUDE_PATHS is set. This works for items but for albums the artpath is always
removed.
This patch makes the artpath removal conditional on INCLUDE_PATHS not being set
and includes a regression test. Note: the default value for INCLUDE_PATHS is
False so no changes will be seen by users unless they already have
INCLUDE_PATHS set.
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-06 15:25:48 +00:00
Graham R. Cobb
49c747d144
Small documentation change to make GET /album/.../art clearer
...
Signed-off-by: Graham R. Cobb <g+beets@cobb.uk.net>
2021-03-06 15:14:41 +00:00
Callum Brown
2fe2f4f31e
AURA: Ensure CORS allowed origins are strings
2021-03-06 13:30:31 +00:00
Callum Brown
fbc76887ad
AURA: Fix styling when formatting error strings
2021-03-06 13:22:28 +00:00
Callum Brown
07cfaaa3b3
AURA: Simplify if statements
...
Get rid of ` is not None`
Change `len(x) == 0` to `not x`
Change `x is None` to `not x`
2021-03-06 12:44:32 +00:00