Juda Kaleta
fad3236a4b
Fix tests.
2014-07-26 16:45:36 +02:00
Juda Kaleta
e89a82dac1
Settings options in embed tags
2014-07-26 16:19:10 +02:00
Juda Kaleta
6013055e4c
Tests for new functionality
2014-07-26 14:21:58 +02:00
Juda Kaleta
0055677b84
Clean up tests
2014-07-26 14:11:30 +02:00
Juda Kaleta
1b208b9c4f
Running on 1.0.0-dev
2014-07-26 13:01:54 +02:00
Juda Kaleta
7db89eb2d4
Change version numbering
2014-07-26 12:46:26 +02:00
Juda Kaleta
49b8429b2c
Release 0.11
2014-07-26 12:40:35 +02:00
Juda Kaleta
be87966173
Improve EmbedVideoFormField validation
2014-07-19 10:08:35 +02:00
Juda Kaleta
cf3104421c
Catch UnknownIdException, detect video_url in youtube
2014-07-19 09:48:00 +02:00
Rolo
1133071ed1
Change requests.get kwarg from data to params when calling SoundCloud API
2014-06-24 14:28:07 +01:00
Juda Kaleta
a451e148ec
Improve regex for YouTube mobile urls + cover with tests
2014-05-31 10:52:08 +02:00
Andrea de Marco
90ba3b0b53
for mobile urls
2014-05-31 10:00:42 +02:00
Juda Kaleta
8b1d2eb3e5
Running on 0.11.dev
2014-05-24 09:33:14 +02:00
Juda Kaleta
bdb09043be
Release 0.10
2014-05-24 09:32:05 +02:00
Juda Kaleta
73c4628366
Merge pull request #23 from szuliq/patch-1
...
Fix string formating
2014-05-24 09:23:59 +02:00
Juda Kaleta
e3f01b0c78
Fix formatting string
2014-05-07 23:10:26 +02:00
Juda Kaleta
2b7308e8ea
Clean up imports, codestyle
2014-05-07 22:53:46 +02:00
Juda Kaleta
db11b8c866
Fix sorting query dictionary.
...
In dict update method, results are ordered differently
in Python version 2 and version 3. Using SortedDict
to have the same behaviour.
2014-05-07 22:51:43 +02:00
Juda Kaleta
43a6f22b7a
Fixes #24 .
2014-05-07 22:29:19 +02:00
Krzysztof Szularz
a238306391
Fix string formating
...
There is a lot of spaces in this error message.
By the way: this is never raised in normal condition. The `detect_backend` doesn't try to `get_code()` at all.
2014-05-06 17:58:23 +02:00
Brad Buran
5ebea38220
Updated video template tag to accept kwargs
...
Some video backends support optional arguments embedded in the URL query
string that adjust how the video is displayed (e.g. Youtube supports
rel=0 which means don't show related videos). Updated the template tag
to accept optional KEY=VALUE pairs that will be added onto the embedded
URL as a query string. Also added support for specifying default query
strings on a per-backend basis (e.g. so that all YouTube urls have
?rel=0 added to the end).
Added appropriate tests and documentation.
2014-05-01 07:17:53 -04:00
Juda Kaleta
42e11aaba3
Running on 0.10.dev
2014-04-04 20:29:50 +02:00
Juda Kaleta
7794d6222b
Release 0.9
2014-04-04 20:27:07 +02:00
Juda Kaleta
820541cc15
Catch VideoDoesntExistException in admin widget
2014-04-04 20:10:32 +02:00
Juda Kaleta
73341e909c
Fix VimeoBackendTestCase.test_get_thumbnail_url
2014-04-04 19:51:48 +02:00
Juda Kaleta
25f88793e2
Add tests for embed_video.fields
2014-03-24 19:43:42 +01:00
Juda Kaleta
b549271d1a
Fixes #21 . Handle invalid SoundCloud urls
2014-03-24 17:25:33 +01:00
Juda Kaleta
c22c82a86a
Docs for get_backend method
2014-03-19 22:50:00 +01:00
Juda Kaleta
a1f5a392d5
Simplify validate method in FormField.
2014-03-19 22:42:06 +01:00
Juda Kaleta
d69edcb23e
Simplify render method in AdminVideoWidget
2014-03-19 22:39:19 +01:00
Juda Kaleta
783dc5c2a2
Improve docs
2014-03-13 09:39:53 +01:00
Juda Kaleta
9d3b9db37b
Add parental class for all Exceptions
2014-03-13 09:18:00 +01:00
Juda Kaleta
1251b75061
Fix tests.
2014-03-07 22:35:08 +01:00
Juda Kaleta
847be2d6d9
Merge branch 'relative-size'
...
Conflicts:
embed_video/backends.py
2014-03-07 22:30:01 +01:00
Juda Kaleta
86e2725bdb
Add example of relative size
2014-03-07 22:28:54 +01:00
Juda Kaleta
3c37fe16a0
Allow x surrounded by spaces
2014-03-07 22:27:40 +01:00
Juda Kaleta
2f59d8b05e
Simplify regex for relative size
2014-03-07 22:24:23 +01:00
Juda Kaleta
92f285cfc9
Add tests for relative size
2014-03-07 22:23:09 +01:00
Calzzetta
cebffa60da
Change the regex to allow only numbers
2014-03-07 22:17:02 +01:00
Calzzetta
765d1b2904
Update embed_video_tags.py
...
Now is possible set relative sizes in template tag. Ex: '100%x500' or '500x100%' or '100%x100%'
2014-03-07 22:17:02 +01:00
Juda Kaleta
aa83b9e125
Codestyle in imports
2014-02-27 09:48:47 +01:00
Juda Kaleta
80ebc9f330
Add info about `template_name` to docs.
2014-02-27 09:47:22 +01:00
Juda Kaleta
c462362356
Move embed code to template
2014-02-27 09:29:54 +01:00
Juda Kaleta
f09df0e752
Add test for SoundCloudBackend.get_url
2014-02-24 22:30:38 +01:00
Juda Kaleta
49839aac1c
Add test for VideoBackend.get_info
2014-02-24 22:23:49 +01:00
Juda Kaleta
e574f4cf2d
Simplify code
2014-02-24 22:08:49 +01:00
Juda Kaleta
0af959ea02
Fix spelling mistake
2014-02-22 11:27:18 +01:00
Juda Kaleta
aa5dce0329
Running on 0.9.dev
2014-02-22 10:34:53 +01:00
Juda Kaleta
b6e47c1d3b
Release 0.8
2014-02-22 10:31:37 +01:00
Juda Kaleta
230f486a89
Minor codestyle improvements
2014-02-22 10:22:58 +01:00