Commit graph

7983 commits

Author SHA1 Message Date
Adrian Sampson
4bbb05b009 Merge pull request #2303 from tweitzel/master
Decompose unicode paths and unidecode each component. Fixes #1087 #1159 #1541 #2286
2016-12-08 21:35:01 -05:00
tigranl
b65a7da8e2 Add SNI_SUPPORTED 2016-12-08 19:20:18 +03:00
tigranl
21208b8c39 Add SNI_SUPPORTED 2016-12-08 19:09:15 +03:00
tigranl
9bba178b5c Add tests for https 2016-12-08 18:44:17 +03:00
xarph
5adf053c01 another attempt at fixing windows path stuff 2016-12-07 21:26:10 -08:00
xarph
53a677b8fd * break the asciify-paths code out into the util.asciify_paths function
* make asciifying handle both os.sep and os.altsep (testing needed as I
  don't have a windows box handy)
* make %asciify{} use the same code path as the asciify_paths goop.
* added a discrete test to %asciify{} so my life acts as a warning to
  others
* changelog note now with 80% less antihistamine-induced runon sentences
2016-12-07 20:59:33 -08:00
Johnny Robeson
0e895c8b31 install/update requests to satisfy sphinx 2016-12-06 23:03:28 -05:00
tigranl
420c451928 Add SNI_SUPPORTED
Add SNI_SUPPORTED

Add SNI_SUPPORTED
2016-12-06 20:07:00 +03:00
tigranl
efa90416a0 Add SNI_SUPPORTED
Add SNI_SUPPORTED
2016-12-06 19:51:15 +03:00
tigranl
91819b2c80 Add SNI_SUPPORTED 2016-12-06 19:31:42 +03:00
tigranl
25ebf8948f Revert "Add SNI_SUPPORTED variable for https check"
This reverts commit f60c911ffc.
2016-12-06 19:27:43 +03:00
tigranl
5ae13764d8 Add SNI_SUPPORTED variable for https check 2016-12-06 18:52:00 +03:00
tigranl
d065b33a81 Add SNI_SUPPORTED variable for https check 2016-12-06 18:42:01 +03:00
tigranl
73a7a4ff67 Add SNI_SUPPORTED variable for https check 2016-12-06 18:38:26 +03:00
tigranl
f60c911ffc Add SNI_SUPPORTED variable for https check 2016-12-06 17:10:35 +03:00
tigranl
0fb19cfa10 Merge branch 'master' of github.com:beetbox/beets into https_fix 2016-12-06 16:20:54 +03:00
tigranl
6ba5099034 Python version check for lyrics.py 2016-12-06 16:17:25 +03:00
xarph
7546ea8676 Merge branch 'master' of github.com:tweitzel/beets 2016-12-05 22:09:16 -08:00
xarph
cb8e57536c remove unused unicode_path_sep.mp3 2016-12-05 22:04:07 -08:00
xarph
4461835cda sampsyo's better test of unicode path escaping
revert my lame test
2016-12-05 22:03:00 -08:00
tigranl
43fcb3d908 Check python version and enable https where it's possible 2016-12-05 22:01:33 +03:00
Adrian Sampson
ae5e55cad6 Always use syspath to construct MediaFile
Related to #1966. Previously, we used a `syspath` call inside MediaFile, which
probably wasn't right: the constructor should behave like `open` in that we
need to use pass an OS path.
2016-12-04 21:00:56 -05:00
tweitzel
7436f093fe clear trailing whitespace 2016-12-03 17:42:17 -08:00
xarph
87942af4c4 fix line wrapping for py34-flake8 2016-12-03 16:15:40 -08:00
xarph
16056ea6b2 In the changelog note, it should be asciify-paths, not asciify_paths. 2016-12-03 15:47:15 -08:00
xarph
fa9cc0ab5f changelog note for unidecode/asciify_paths path separator fixes. 2016-12-03 15:35:26 -08:00
xarph
edd34267c6 modify DestinationTest.test_asciify_and_replace to include unicode
titles that decode to path separator.

Added an empty .mp3 file with problematic characters for asciify_paths
in id3v2 tags for future tests if needed.
2016-12-03 15:29:27 -08:00
xarph
fcc6c6bc80 Merge branch 'master' of https://github.com/beetbox/beets 2016-12-03 14:53:02 -08:00
Adrian Sampson
991c9936fd Fix #2299: non-Unicode logging in badfiles 2016-12-03 11:20:06 -05:00
anshuman73
082f944ac6 Removed redundant backslash 2016-12-01 02:07:00 +05:30
anshuman73
1217efd2bd Changed comment to reflect current status 2016-11-30 20:44:12 +05:30
anshuman73
0c61e08d7f Added new Album types as logs 2016-11-30 20:34:40 +05:30
Adrian Sampson
957bfacf21 Fix Backbone.js link 2016-11-30 08:40:15 -05:00
anshuman73
a9d9d83660 Added support for type field and made code more elegant 2016-11-29 10:05:17 +05:30
Adrian Sampson
d08baa4c91 Merge pull request #2295 from musoke/patch-1
Fix rst syntax error in docs
2016-11-28 18:12:38 -05:00
Nathan Musoke
0701e66391 Fix rst syntax error in docs 2016-11-29 12:11:12 +13:00
anshuman73
318661b4a9 Added parsing of secondary album types. Fixes #2200 2016-11-29 01:53:59 +05:30
anshuman73
430369062b Fixed a small typo 2016-11-29 00:28:38 +05:30
xarph
c3e63084d2 fix for unidecode converting ¢ into C/, ruining paths. 2016-11-26 23:08:35 -08:00
Adrian Sampson
9de27c6b70 Sync up with separate MediaFile repository 2016-11-26 20:48:12 -05:00
Adrian Sampson
d8c0a42e6c Avoid TestHelper dependency in MediaFile tests
Part of #1966. This also introduces a nicer, more lightweight way to create and
destroy temporary directories, decoupling that functionality from the
giant morass that is TestHelper.
2016-11-26 18:55:58 -05:00
Adrian Sampson
a88682e7bb Undo from _common import unittest indirection
This was a vestige from when we used to need the unittest2 library for pre-2.7
compatibility. Now that we require Python 2.7, we aren't using that library
and this indirection wasn't doing any good.
2016-11-26 18:46:44 -05:00
Adrian Sampson
24940c0de7 In MediaFile tests, use simpler import path
This will make it easier to copy these tests into their own repository.
2016-11-26 18:27:20 -05:00
Adrian Sampson
788654736d Obviate the need for a beets utility in MF tests
Even more on #1966.
2016-11-26 18:26:18 -05:00
Adrian Sampson
47049e1ff1 Avoid one last beets utility in MediaFile tests
This is a little dirty, what with the hard-coded encoding, but I don't feel
too bad about it because we're only manipulating our test fixtures and
temporary directory that way.

More on #1966.
2016-11-26 18:23:46 -05:00
Adrian Sampson
54cb0b2a15 Separate beets-specific MediaFile tests
Part of the #1966 separation effort.
2016-11-26 18:08:00 -05:00
Adrian Sampson
2cc1a61ea4 MediaFile: Remove one last utility function (#1966) 2016-11-26 17:40:40 -05:00
Adrian Sampson
075a4b6b85 MediaFile: Avoid using some beets utilities
Modularization: #1966
2016-11-26 17:37:01 -05:00
Adrian Sampson
c70a9bb873 Enable Python 3 tests by default in Tox config
Now that we're supporting it, I plan to run the Python 3 tests as part of
my normal coding workflow.
2016-11-26 17:32:49 -05:00
Adrian Sampson
fc6658c110 Add a missing __future__ import 2016-11-26 17:31:54 -05:00