Commit graph

95 commits

Author SHA1 Message Date
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
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
Juda Kaleta
3c88819aa8 Fix template tag without specified size 2014-02-22 10:18:04 +01:00
Juda Kaleta
0331a0e030 Handling timeout in template tags 2014-02-22 10:17:58 +01:00
Juda Kaleta
84b2df8d4e Closes #18. 2014-02-22 09:42:15 +01:00
Juda Kaleta
0850b2385c EMBED_VIDEO_TIMEOUT 2014-02-21 23:31:41 +01:00
Juda Kaleta
078e5662a7 Test case for #17. 2014-02-21 20:55:16 +01:00
Juda Kaleta
1eecbf358d Code style improvements 2013-12-23 09:50:03 +01:00
Juda Kaleta
d44dcada58 Running on 0.8.dev 2013-12-21 17:36:39 +01:00
Juda Kaleta
9045b09027 Release 0.7 2013-12-21 17:35:56 +01:00
Juda Kaleta
1081c478a6 Replace iterkeys with keys 2013-12-21 17:24:10 +01:00
Juda Kaleta
07de8a3af8 Closes #11.
Major changes:

- filter ``embed`` is replaced by tag ``video``.
- removed caching for whole backend, caching properties instead.
- HTTP or HTTPS is set by context.is_secure() (just for ``video`` tag).
- backends can be HTTP only (``allow_https = False``).

Minor changes:

- changed theme of docs to RTD theme.
- help about testing HTTPS on development server.
- added and modified tests
2013-12-21 17:18:47 +01:00
Juda Kaleta
6e2750761f VideoNode.get_backend with is_secure 2013-12-18 09:40:19 +01:00
Juda Kaleta
d8964d6633 Fix testing urls for SoundCloud 2013-12-18 09:09:39 +01:00
Juda Kaleta
b998b5e624 Fix tests. Closes #14, #13. 2013-12-01 12:16:27 +01:00
Juda Kaleta
b8bbd985ee Detecting Vimeo without specified protocol 2013-12-01 12:15:23 +01:00
duy
3b24c96361 fixes #11 2013-11-30 23:17:01 +01:00
Juda Kaleta
070a05a02e Closes #10. 2013-10-23 23:01:10 +02:00
Juda Kaleta
68c0d300e7 New version 2013-10-04 11:11:09 +02:00
Juda Kaleta
c6b1284494 Release 0.6 2013-10-04 11:10:25 +02:00
Juda Kaleta
6cca79c281 Fix Vimeo thumbnails 2013-10-04 10:53:16 +02:00
Juda Kaleta
89ce012f36 Add tests for SoundCloud 2013-10-04 10:34:55 +02:00
Juda Kaleta
f08b4eef55 Simplify backend tests with mixin 2013-10-04 10:19:30 +02:00
Juda Kaleta
be7a53296b Split backends tests into multiple test cases 2013-10-04 10:19:30 +02:00
Juda Kaleta
70abaa7143 Fix line width 2013-10-04 10:19:30 +02:00
Juda Kaleta
6becccb5b2 Docs in admin.py 2013-10-04 10:19:30 +02:00
Juda Kaleta
ba923eba43 Admin mixin and widget 2013-10-04 10:19:21 +02:00
Alisson Patricio
a3e47765dc Merge branch 'master' of github.com:yetty/django-embed-video into remove-api-calls-on-init 2013-09-26 19:49:58 -03:00
Alisson Patricio
a4684c62db Prevent API calls on when backend intance is created 2013-09-26 19:46:59 -03:00
Juda Kaleta
e74cc96374 Fix tests after pull #8 2013-09-27 00:32:23 +02:00
Alisson Patricio
a2538a034e Remove unused imports 2013-09-26 19:07:24 -03:00
Alisson Patricio
fdfce70fbf Add hability to overwrite embed code on the backend 2013-09-26 19:01:18 -03:00
Juda Kaleta
bb370d8163 Release 0.5 2013-09-03 14:00:41 +02:00
Juda Kaleta
a31f4b976b Closes #7.
Return back raising UnknownIdException in Youtube backend to fix form validation.
2013-09-03 13:47:39 +02:00
Juda Kaleta
815e7e9698 Caching results 2013-08-23 14:16:01 +02:00
Juda Kaleta
0893916708 Tests 2013-08-23 13:37:44 +02:00
Juda Kaleta
088f3caf4e Vimeo thumbnails 2013-08-23 13:26:34 +02:00
Juda Kaleta
b5264f7a12 Simplify versioning 2013-08-23 12:25:32 +02:00
Juda Kaleta
5cb9019b31 Fix: template tag embed
Detect backend in template tag embed always if it isnt instance of VideoBackend
2013-08-23 10:21:58 +02:00
Juda Kaleta
2a4fe971b5 Tests for CustomBackend 2013-08-22 16:55:49 +02:00
Juda Kaleta
acd0dbf9c8 VideoBackend.is_valid replaced direct using of re_detect 2013-08-22 16:55:18 +02:00
Juda Kaleta
9c1149fe22 Move import by path to utils 2013-08-22 16:19:07 +02:00
Juda Kaleta
5efb213a9e Add tests for utils.import_by_path 2013-08-22 16:09:14 +02:00
Juda Kaleta
8e6ec1838f Dynamic loading backends from settings 2013-08-22 15:44:27 +02:00