Commit graph

74 commits

Author SHA1 Message Date
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
Juda Kaleta
a8445750dc Embed video settings file 2013-08-22 15:44:11 +02:00
Juda Kaleta
733bf96a71 Remove blank lines 2013-08-22 14:59:21 +02:00
Juda Kaleta
cc2fbdea77 Merge pull request #6 from techdragon/master
Improvements to URL's and Tests
2013-08-22 05:47:49 -07:00
Juda Kaleta
40594146d1 Support of Py3 without py2to3 2013-08-22 14:29:08 +02:00
techdragon
085b65024a fixed a test thats failing due to inappropriate inputs.
- 13456 is an invalid video ID, its too short.
2013-08-22 20:20:57 +08:00
techdragon
2ddc2a0e04 fixed missing commas 2013-08-22 20:19:27 +08:00
techdragon
3f66fc3ef8 Added more test cases to the URLs for both youtube and vimeo 2013-08-22 20:07:19 +08:00
techdragon
abc8df0ea0 trimming the regex comment out since its superfluous and breaks PEP8 2013-08-22 20:05:39 +08:00
techdragon
5b415c8ce4 Merge commit 'ef614d8bf038c4518b6869993e24981b81e67c36' 2013-08-22 18:58:02 +08:00
techdragon
7abfb3e7d2 new regexes
- updated detection for youtube to detect ok without protocol
- updated detection for vimeo to detect ok without protocol
- updated vimeo video ID finding regex to handle embed video url format 'player.vimeo.com/video/ID'
- updated youtube url to match more of the multiple youtube url formats
2013-08-22 18:19:25 +08:00
Juda Kaleta
6df2442914 Ready for Python 3 2013-08-22 12:03:42 +02:00
Juda Kaleta
6f2314844f Sphinx doc 2013-08-22 10:34:29 +02:00
Juda Kaleta
ef31b4491f Rename embed_video.base to embed_video.backends 2013-08-22 09:26:43 +02:00
techdragon
319f8afbda Merge commit '0fdc6a3df75813235a4d6beafc250dcb3d3cfabd' 2013-08-22 11:52:24 +08:00
Juda Kaleta
654d7c9988 I haven't found any situation in which can be UnknownIdException raised, so I removed this lines. If anyone find such situation, please return it back and write appropriate test case. 2013-08-20 10:59:18 +02:00
Juda Kaleta
08641afae9 Closes #5.
Add {{ my_video.backend }} containing YoutubeBackend, VimeoBackend or SoundCloudBackend values.

- Fix: SoundClound --> SoundCloud
- added tests for template tags
2013-08-20 10:49:33 +02:00
Juda Kaleta
d0d357b767 Security fix: faked urls
Backend detection hasn't been resistant against faked urls like:

http://youtube.com.myurl.com/watch?v=abcde
http://vimeo.com.myurl.com/watch?v=abcde

It is fixed and added few tests to cover it.
2013-08-12 12:11:42 +02:00
techdragon
5032e0b930 Merge pull request #1 from yetty/master
Merging upstream
2013-08-03 02:50:26 -07:00
Juda Kaleta
231e3780ad Tests for templatetags 2013-07-31 10:35:07 +02:00
Juda Kaleta
5b85126f94 Remove redundant lines 2013-07-31 10:12:56 +02:00
Juda Kaleta
26bd78b9a9 Tests for embed_video.fields 2013-07-31 10:02:45 +02:00