Commit graph

77 commits

Author SHA1 Message Date
Juda Kaleta
81f36d48d3 Omit redundant files in coverage 2013-08-22 14:59:06 +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
0052ffae18 Sphinx requirements 2013-08-22 14:40:25 +02:00
Juda Kaleta
b8611cdd50 Docs: nosetests 2013-08-22 14:33:24 +02:00
Juda Kaleta
efc5bf7f14 Docs: Running tests 2013-08-22 14:31:33 +02: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
1b9db71681 Merge commit '1040bb1a60b796885de5860e254d210fbacbed18' 2013-08-22 18:58:40 +08:00
techdragon
5b415c8ce4 Merge commit 'ef614d8bf038c4518b6869993e24981b81e67c36' 2013-08-22 18:58:02 +08:00
Juda Kaleta
1040bb1a60 --source is redundant 2013-08-22 12:55:50 +02:00
Juda Kaleta
9aff3bd210 --source option is redundant with .coveragerc 2013-08-22 12:53:22 +02:00
Juda Kaleta
aa4bcf571f Fix: coverage reporting 2013-08-22 12:52:34 +02: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
ef614d8bf0 Remove Py2.6 from Travis 2013-08-22 12:14:55 +02:00
Juda Kaleta
893818104d Old version of Django doesnt support Py3 2013-08-22 12:11:35 +02:00
Juda Kaleta
6df2442914 Ready for Python 3 2013-08-22 12:03:42 +02:00
Juda Kaleta
0479c3e563 Remove SSL from link to docs 2013-08-22 10:55:25 +02:00
Juda Kaleta
64127cdce5 Documentation link and Quick start 2013-08-22 10:53:31 +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
0fdc6a3df7 Sites using django-embed-video in README 2013-08-21 09:45:28 +02:00
Juda Kaleta
36e575b934 Add Django 1.5.2 to Travis 2013-08-20 12:14:12 +02:00
Juda Kaleta
445a51e3a7 Release 0.3 2013-08-20 11:34:09 +02: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
2a191b327f Ignore output of coverage html 2013-07-31 10:14:57 +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
Juda Kaleta
5f16a060f0 Split tests in multiple files 2013-07-31 08:41:16 +02:00
Juda Kaleta
b44bbd208f Refactoring, NoIdFound -> UnknownIdException 2013-07-31 08:33:07 +02:00
Juda Kaleta
5018183052 Add some fancy icons 2013-07-30 23:31:31 +02:00
Juda Kaleta
44889e882d README: Spelling corrections and Contribute section 2013-07-30 23:07:21 +02:00
techdragon
f8693c3c2e Fixed regex comparator to use search() not match() so it can match the new youtube detection regex.
- and rev bump
2013-07-27 21:26:00 +08:00
techdragon
bde468db68 Better youtube detection logic.
- rev bump
2013-07-27 20:58:11 +08:00
techdragon
63025f8f48 Regex for youtube now handles more youtube urls correctly
- rev bump
2013-07-27 19:09:17 +08:00
Juda Kaleta
7a2b67efaf Add test for issue #1 2013-06-27 10:13:55 +02:00
Juda Kaleta
e30101f85e Link to Travis 2013-06-27 10:12:00 +02:00
Juda Kaleta
99ff8e472f Simplified way to embed videos 2013-06-27 10:10:27 +02:00
Juda Kaleta
7368db578a Avoid confusion with identical vars 2013-06-27 10:01:06 +02:00
Juda Kaleta
e724cd32fe Info about Travic CI 2013-06-26 12:54:56 +02:00
Juda Kaleta
d65d9361fe Fix requirements in setup.py 2013-06-26 12:52:03 +02:00
Juda Kaleta
1d41a26071 Fix: allow empty field 2013-06-25 15:57:12 +02:00
Juda Kaleta
1a244eb75c Move to new version 2013-06-25 11:12:50 +02:00