Commit graph

205 commits

Author SHA1 Message Date
Juda Kaleta
bdb09043be Release 0.10 2014-05-24 09:32:05 +02:00
Juda Kaleta
9ef8a82020 Info about #24 to change log. 2014-05-24 09:29:11 +02:00
Juda Kaleta
c70708566b Closes #25. Add info about kwargs to change log 2014-05-24 09:27:32 +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
b4c94681c8 Fix spelling in docs 2014-05-07 22:44:17 +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
Juda Kaleta
5857d80281 Merge pull request #20 from bburan/bburan/embed-with-kwargs
Added `video_embed` tag that accepts kwargs
2014-05-02 14:23:02 +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
8fc5022dd1 Fix docs: versionadded 2014-04-05 16:14:08 +02: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
2aec06be3d Complete change log + prepare for 0.10 2014-04-04 20:26:33 +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
162d86ee7b python setup.py test 2014-04-04 19:51:15 +02:00
Juda Kaleta
9c0c65e1b4 Fixes #22. Include html templates. 2014-03-25 22:11:57 +01: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
67483c384b Add relative size to changelog. Closes #19. 2014-03-07 22:31:50 +01:00
Juda Kaleta
29e787b9ed Merge branch 'master' of github.com:yetty/django-embed-video 2014-03-07 22:30:16 +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
9f9d5749fc 0.8 has been released 2014-02-27 16:55:53 +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
cbc265d94d Upgrade Django version to 1.6 in documentation 2014-02-27 09:36:17 +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
fe11ac2f0c Docs: add info about installing coverage 2014-02-22 10:28:06 +01:00
Juda Kaleta
230f486a89 Minor codestyle improvements 2014-02-22 10:22:58 +01:00